Page 1 of 1

Prince of Persia working only with gamepad on DOSBox

Posted: October 15th, 2018, 2:10 am
by Elia1995
I'm having a weird issue with Prince of Persia mods and DOSBox: I can move the character only with the gamepad, arrow keys on keyboard don't do anything, but ESC still pauses the game and space shows the remaining time, so the keyboard still gets detected.
I'm having this glitch with the original game and with mods too, only on DOSBox, the mods play fine with the keyboard on my Pentium.

Now, even starting DOSBox with the gamepad unplugged still does the glitch, because it detects the SCP Driver I use for my PS3 controller and automatically loads the XInput.

Re: Prince of Persia working only with gamepad on DOSBox

Posted: October 18th, 2018, 7:40 am
by MrFlibble
You can turn off the joystick in dosbox.conf (joysticktype=none).

Re: Prince of Persia working only with gamepad on DOSBox

Posted: October 19th, 2018, 3:58 pm
by K1n9_Duk3
You should also be able to use CTRL + K to switch to keyboard mode and CTRL + J to switch to joystick mode (if a joystick is detected) in the game itself.

Re: Prince of Persia working only with gamepad on DOSBox

Posted: October 23rd, 2018, 7:32 am
by Elia1995
Thanks guys, using the shortcuts K1n9_Duk3 said worked fine.
I prefer to not disable the joystick completely in the conf file, because I want to use the controller with other games (like One Must Fall 2097, for example).

Re: Prince of Persia working only with gamepad on DOSBox

Posted: October 24th, 2018, 5:52 am
by MrFlibble
You can always create individual conf files custom-tailored for each game, but then again if you can disable the joystick in options then of course why not use this solution.

BTW, are you aware of SDLPoP? This was produced by reverse engineering and should be as accurate to the DOS version as it gets.

Re: Prince of Persia working only with gamepad on DOSBox

Posted: October 24th, 2018, 4:58 pm
by Elia1995
MrFlibble wrote: October 24th, 2018, 5:52 am BTW, are you aware of SDLPoP? This was produced by reverse engineering and should be as accurate to the DOS version as it gets.
Now that you told me, yes, thanks :D