Redoing controls in Dark Forces!

Talk about your favorite PC games, Steam and building awesome custom rigs!

Moderator: Moderators

Post Reply
Dr. KillGood
Senior Member
Posts: 2209
Joined: Sat Jan 21, 2006 1:03 am
Location: Earth

Redoing controls in Dark Forces!

Post by Dr. KillGood »

So I am playing this game again and it is still fun, but you can not sidestep, or change the jump key to ctrl, or change crouch key or anything!

So you have to use X for jump C for crouch and it is lame!

So I found a guide on how to fix this but, I can not find what keys I want to change the buttons to are in HEX!?

This is how I want to make it.

Numpad 0 = jump
Right CTRL = crouch
End = use
Mouse 2 = secondary fire (not in the chart?)
Mouse 5 = Center view
Left arrow = sidestep left
Right arrow = sidestep right

Can you tell me what those keys are in HEX!? I know about Google and I have been looking for 2 hours now and can not find it! I tried a hex to text thing for "0" on the numpad and it tole me 38 but it makes the up arrow into jump!?




DF allows you to customize all controls in the game, except "view center."
The default for "view center" is keypad-5, which has a scan code of 4C. To
change the keyboard control, use a hex editor on the file JEDI.CFG and modify
offset D8 from 4C to whatever key you wish. You must use the scan code of
the key, which you can find using programs like Norton Diagnostics, PC-Tools'
DiskEdit, or other.

Control Hex offset(s)
------- -------------
Turn right C9,D3,E1
Turn left CA,D4,E0
Forward CB,DD
Backward CC,DC
Crouch D5
Jump D7
Nudge D6
Speed mode CD
Slow mode CE
Primary fire CF
Secondary fire D0
Strafe mode D9
Strafe right D1
Strafe left D2
View up DE
View down DF
View center D8
According to Werner Spahl <spahl>, you can use the
mouse buttons to slide by changing hex offset F6 to 03.

Here are some scan codes for keyboard keys in hexadecimal:

Q W E R T Y U I O P [ ] [Enter] left[Ctrl]
10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D

A S D F G H J K L ; ' ` left[Shift]
1E 1F 20 21 22 23 24 25 26 27 28 29 2A

\ Z X C V B N M , . / right[Shift] keypad *
2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37

left[Alt] [space] [caps]
38 39 3A

To customize the controls, replace the data at the proper offset with the key
code indicated above.
From this guide
http://www.gamefaqs.com/computer/doswin/file/3397/2031

It says you can customize the controls in-game or something but I have yet to find a way to do that! Maybe I am reading it wrong...


EDIT: *facepalm.gif*

Of course I find what I am looking for 5 minutes after I post asking for help...
http://api.farmanager.com/en/winapi/vir ... codes.html
Image
Post Reply