Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Maybe a proper mod could fix things, but otherwise third-party software works ok:
Remapping triggers: XInput Plus[sites.google.com]
Extract and run XInputPlus.exe. Under "Target Program", click Select and select the game executable. For this game it's PrinceOfPersia.exe in the "Prince of Persia The Two Thrones" game directory (default location: C:\Program Files (x86)\Steam\steamapps\common).
KeyAssign tab: The left columns are the buttons presented to the game, and the right columns with the dropdowns let you select alternative buttons on your controller. So for example you could swap the bumpers and triggers by setting LB/RB to Left Trigger/Right Trigger and vice versa. Or you could swap around the face buttons to match a Nintendo layout, whatever. You can preview the results with the "Total Test" button in the lower-left.
Sticks tab: Here you can change analog stick deadzones and saturation. I'd recommend setting them while you're here. Old games like this don't seem to have built-in deadzones, so the slightest wobble of a stick will cause a character to move - stick drift, input when you're not touching it. Or in some games if the stick can't get all the way to 100%, a character won't run (Bully).
The tab shows the live data of your selected stick's input, very helpful to visualize and dial things in. "Wobble" the stick - move it around slightly, without actually tilting it. Turn up the Dead Zone percentage in notches until the wobbling doesn't create any Output percentage. | For Saturation, move the stick all the way up, down, left, right. If needed, move the Saturation slider down until you can get 100%/-100% Output percentages for all four directions. In a game you probably won't be hitting the cardinal directions exactly, so if you still have issues come back and knock down Saturation another notch. | For my old 360 controller I use 25% dead zone/90% saturation on left stick, 20% dead zone/95% saturation on right stick.
Setting tab (essential): In the Dll Files sub-tab, tick XInput9_1_0.dll. This is the XInput version needed for The Two Thrones. | I also like to go to the Others tab and tick "Enable Init Beep", so I know that XInput Plus is working when I start the game.
Click "Apply" when done! You can close the XInput Plus app now, you don't need to have it running while playing the game. The app is just used to apply your settings to the INI and add the files to the game directory. Your controller will work normally in other games, this is all localized in the game directory. To reconfigure your settings, open XInput Plus, select the game exe again, and the app will offer to load your previous INI.
Stick buttons (LS/RS): JoyToKey[joytokey.net]
LS/RS don't work in the game at all. Remapping in XInput Plus doesn't help, which makes sense, A or whatever mapped to RS is still sending RS, and the game is ignoring it. XInputPlus has a DirectInput mode that would maybe let you bypass XInput, but I couldn't get it working properly with this game, and you would get prompts like "Press Button 2 to jump".
But -- In the game's "Controls - Gamepad" remapping screen, you can still map keyboard buttons to functions, which we can exploit with JoyToKey. Run JoyToKey.exe. Hold the stick button to highlight what Button in the app it corresponds to. For me RS is Button 10. Double-click the Button, and assign a key (I used M). You can test that the mapping works in Notepad or whatever. Now when I press RS in the game's remapping screen, it shows [M], and it works. JoyToKey needs to be open to be active, it's a system-wide temporary tweak.
Button prompts: https://www.pcgamingwiki.com/wiki/Prince_of_Persia:_The_Two_Thrones#Button_prompts
Remapping your controller externally with XInput Plus won't change the in-game prompts, so you'll still see "Press R-Shoulder to wall run". If you reaaaally want you can edit a game file to tweak this. POPData.bf holds a lot of the text used for the game. The PCGamingWiki instructions say to search for the line "Input event names". Specifically you'll want to scroll until you find "Microsoft XInput-style controller". It's somewhat intuitive, e.g. you can see that IOD_2_61 is the "R-Shoulder" prompt, so you could swap that around with "R Trigger".
After this, continue scrolling for "Input event names - Long version for the tutorial", which also has a "Microsoft XInput-style controller" sub-section. And then "Input event names - Super short versions for Combo pages", same thing.
The tricky part of this editing is you can't change the size of the file, it has to be 22,437 bytes for the game to run. If you swap around the buttons names as they are, you should be ok. If you end up short of the length somehow, you could add a comment line with a semicolon and some spaces. One time I just put a line with "ffffffff" and that worked, heh.
Widesceen fix[ps2wide.net]
Unrelated to input, but I would also recommend adding this. The game does allow you to set widescreen resolutions, but the videos are stretched, and the FOV feels kinda low. You set the resolution in the pop3.ini file, this overrides the in-game setting.