VOGONS


First post, by bwright

User metadata
Rank Newbie
Rank
Newbie

I have the latest version of DOSBox v0.74 installed and am trying to get my joystick working with the Heretic game. When I started Heretic 1.2 the first time I did not have the joystick attached. I changed the options in Heretic to use the joystick and keyboard. I then ended Heretic and shutdown DOSBox. I then attached a USB Thrustmaster Top Gun Fox 2 Pro. I calibrated it in Windows 7 and everything was working fine. I’ve tried using the joystick with Heretic using the DOSBox joysticktype setting of auto and fcs. Heretic recognizes there is a joystick and asks to “Center the joystick and press button 1:”. When I try pressing button 1 or any other button on the joystick, nothing happens. I’ve tried restarting DOSBox and Heretic multiple times and I get the same thing.

I have a Dell Studio XPS 9100 with 9GB of RAM. I am running Windows 7 and I downloaded Heretic from the http://www.dosgamesarchive.com site yesterday.

Reply 1 of 3, by bwright

User metadata
Rank Newbie
Rank
Newbie

I figured it out from an earlier post. The mapper file joystick settings somehow got changed. I'm assuming DOSBox did this when I had remapped a key when the joystick was not attached. Anyway, the joystick section of the mapper file should look like the following:

jbutton_0_0 "stick_0 button 0"
jbutton_0_1 "stick_0 button 1"
jaxis_0_1- "stick_0 axis 1 0"
jaxis_0_1+ "stick_0 axis 1 1"
jaxis_0_0- "stick_0 axis 0 0"
jaxis_0_0+ "stick_0 axis 0 1"
jbutton_0_2 "stick_0 button 2"
jbutton_0_3 "stick_0 button 3"
jbutton_1_0
jbutton_1_1
jaxis_0_2- "stick_0 axis 2 0"
jaxis_0_2+ "stick_0 axis 2 1"
jaxis_0_3- "stick_0 axis 3 0"
jaxis_0_3+ "stick_0 axis 3 1"
jaxis_1_0-
jaxis_1_0+
jaxis_1_1-
jaxis_1_1+
jbutton_0_4 "stick_0 button 4"
jbutton_0_5 "stick_0 button 5"
jhat_0_0_0 "stick_0 hat 0 1"
jhat_0_0_3 "stick_0 hat 0 8"
jhat_0_0_2 "stick_0 hat 0 4"
jhat_0_0_1 "stick_0 hat 0 2"
mod_1 "key 306" "key 305"
mod_2 "key 308" "key 307"

This file is located in the DOSBox directory with the name mapper-0.74.map. For me the DOSBox directory was in C:\Users\XXX\AppData\Local where XXX is the user name for the logged on user.

Reply 2 of 3, by NY00123

User metadata
Rank Member
Rank
Member

Good to solve the problem is solved.

For reference, the mapper can also be loaded from DOSBox itself using the Ctrl+F1 key combo (or maybe even some shortcut on Windows - don't remember now). Of course it *is* possible to use the mapper for replacing Ctrl+F1 with something else (if at all)...

Reply 3 of 3, by Jorpho

User metadata
Rank l33t++
Rank
l33t++

And of course, if you want to run Heretic on a modern machine, you might be better off with a source port instead of DOSBox. (Apparently there's a branch of Chocolate Doom that should do the trick.)