I Could Use A Very Simple Program, If Someone Has The Time.


idjit626

Member
Joined
Feb 18, 2007
Messages
138
So I am trying to redo the controls for a old DOS game called Star Wars: Dark Forces, the ONLY way to change the controls is with a hex editor.

So I got sidestepping and most things to the buttons I want but I still can not get the fallowing things...

1: In HEX is "00" null?
2:What is HEX for "move mouse up" and "move mouse back"?
3:What is HEX for "Numpad 0"?

So anyway I looked all over the internet and can not find a chart that has %100 accurate information, and it is probably because all keyboards are different or something? So I would like a program that will tell me what I just did is in hexadecimal!

EX:If I move the mouse up, the program will output the HEX "b7" (just a example I dunno what that is) so that I can find out what all the keys HEX digits are!

If anyone knows of such program or can make me one it would be much appreciated!
 
00 is zero or nop in asm...
I don't think you will be able to assign a mouse button or movement like this though as there are no ascii equivalents to that as there are to key presses. numpad 0 would probably be the ascii hex code for "insert" as you would probably want the keypad to work as cursors and not as numbers right? look it up in a dos ascii table...

http://www.jimprice.com/ascii-0-127.gif

http://www.neurophys.wisc.edu/comp/docs/ascii/
 
xnopasaranx said:
00 is zero or nop in asm...
I don't think you will be able to assign a mouse button or movement like this though as there are no ascii equivalents to that as there are to key presses. numpad 0 would probably be the ascii hex code for "insert" as you would probably want the keypad to work as cursors and not as numbers right? look it up in a dos ascii table...

http://www.jimprice.com/ascii-0-127.gif

http://www.neurophys.wisc.edu/comp/docs/ascii/



OMG THANK YOU!

I had found a chart that got everything except numpad 0 to work! (I couldn't jump cus that is my jump key)

Well I tried looking for "insert" and now it works! :lol:

So you sure about the mouse thing, because some guns have a secondary fire and mouse 2 makes me walk forward!?
Mouse 1 makes the gun do primary fire tho.
10 points awarded to you Sr.
 
Last edited by a moderator:
There are no defined ASCII equivalents to mouse button clicks. The mouse buttons are accessed either by probing the mouse device directly or using a library which does the same. If you knew how the mouse button presses were obtained, you could change their behaviour. Mouse movement, in the same way, does not have a hex value.

And 00 is NULL, yes.
 
Back
Top