


WINEDLLOVERRIDES="dinput8.dll=n,b" %command%
After tinkering I made some improvements but havent fully tested it out yet. I enabled EAX again using these links, but swap Tomb Raider for Prince of Persia https://www.tombraiderforums.com/showthread.php?t=225900 https://www.reddit.com/r/wine_gaming/comments/lqtqpg/using_eax_20_on_wine_version_59/?sort=new https://www.indirectsound.com/registryIssues.html i also used the unoffical patch for 16:10 resolution https://www.nexusmods.com/princeofpersiawarriorwithin/mods/10/?tab=description and i got the xbox buttons to work with this although the file might need to be modified to personal preference https://community.pcgamingwiki.com/files/file/1115-prince-of-persia-warrior-within-button-prompts/ First download the TRAOD zip, unzip to a folder on the desktop(or somewhere you know) and run EAX and oalinst with protontricks under Warrior within, or open protontricks, click the game, OK, select default wineprefix, run uninstaller, click install and navigate to the folder, click on the arrow for Files of type and click (*.exe), the 2 programs will be available to install, after that click OK to go back in protontricks, click Install Windows DLL and install dsound, go back and go to Run winecfg, click Libraries and click dsound and edit, make sure it says Native then Builtin, go back to the selection menu and click Run regedit, use the Alternative Method for registry issues link and modify the 2 CLSID files and the 2 Wow6232Node CLSID files, after this then you can copy the other files in the TRAOD_DSOAL_EAX zip/folder to your Warrior Within directory next to your other game files. load the game up and EAX will no longer be a greyed out option in sound settings. ENJOY!

Problem: No widescreen Solution: download Nemesis fix from pcgamingwiki, move to game_root, add resolution to pop2.ini, execute upx.bat in wineprefix
Problem: No gamepad and wrong defaults Solution: Manual inputs (note Z-axis on triggers may break some abilities)
Movement [LS] Walk Toggle Roll/Jump/Eject/Accept [A] Walling/Block [RT] Sword Attack [X] Grab/2nd Weapon Attack [Y] Pickup/Throw/Climb down/Cancel [B] Rewind/Slowdown [LT] Camera Look [RB] Alternate View [LB] Reset Camera [RS click] Navigation Map [Back] Menu [Start] Camera [RS] Menu Up [D-Pad Up] Menu Down [D-Pad Down] Menu Left [D-Pad Left] Menu Right [D-pad Right]
Audio/video syncing errors and delays in cutscenes when speaking

Game requires a bit of tinkering. I'll try to write down everything here.
For both the Deck controller and DualShock, use the most upvoted community layouts - the game doesn't have native gamepad support. Menus require using the trackpad for mouse, but otherwise work fine. You also might require inverting the horizontal axis in Controller layout as the game has multiple "cameras", so YMMV (might require disabling Menu mode action set too).
To use widescreen and 16:10 properly, download the Resolution Fix from https://www.gamepressure.com/download.asp?ID=62046 (thanks to the other comment for the link, if not working, check PCGW). Extract it into the game folder, open "pop2.ini", change resolution height to 800 (for 1280x800), HUD posX auto to 0 and HUD_posX to the one indicated for 16:10 (glitch fix also to 1, if not already).
You can always check PCGW for other tweaks, like getting rid of the intro videos or gamepad buttons. If you connect an external display and have problems booting the game, either try forcing the display resolution from Game Properties on Steam, or re-edit "pop2.ini", as with the afformentioned changes, game will force a 16:10 ratio.
After tinkering, the game ran 90 fps on Deck OLED without any issues, doesn't use much TDP, battery lasts quite a lot. Also tried it on OLED TV at 120fps, worked well enough, albeit the camera breaks down and stutters after an hour or so, and there was a jump in the gardens that required locking to 60 fps. Overall, quite enjoyable experience after some tinkering.

Amazing game and amazing experience on linux....even better than windows i have to say....
By default the launch game button will be greyed out. In order to lauch the game you need to follow the instructions from pcgamingwiki
https://www.pcgamingwiki.com/wiki/Prince_of_Persia:_Warrior_Within#Launcher_not_working
Follow last guide in the section i.e., use Widescreen Launcher v2

Very Minor Artifacts While Killing An Enemy . Likely due to the fact that I am on a rolling release distro with bleeding edge latest software and drivers.
1.Must use Proton 6.3-8 or else Prince clips through walls and traps make it impossible to progress in the game . It may work well with Proton 7.0-6 (didn't test with it lol) but Proton 8.0-5 is a BIG NO NO .
2.On some systems, the launcher's play button greys out and shows unknown amd processor , etc. Making the game impossible to even open.To fix these issues, follow the guide which mentions Widescreen Launcher V2 from here:
https://www.pcgamingwiki.com/wiki/Prince_of_Persia:_Warrior_Within#Launcher_not_working
For me ,everything worked perfectly out of the box apart from the clipping through walls and stuff.

"Unknown AMD processor."
Unplayable.

Resolution Fix v.1.0.0.188 https://www.gamepressure.com/download.asp?ID=62046
Just 3 files:
- 3d9.dll
- pop2.ini
- pop2w.dll
Edit pop2.ini. Edit 720 to 800
If using mouse + keyboard as input, then this works flawlessly. Controllers might need mapping.
Followed this guide to get 1080p 16:9 resolution working. Uniws program runs fine in wine, but had to create a symlink to my SteamApps folder because Uniws can't find hidden files/folders.
Disabled fog as others have suggested and menu appeared fine. Game itself unaffected.
I'm using a wired stadia controller so might just have been that, but I had to manually map the whole thing.

Fog is bugged, just hit to options and disable it. And after you will have no white blur in main menu.
Works well
Only works on 3.7. Needs a really minor tweak to make gamepad work perfectly.
Xinput works perfectly here, but you can't run diagonally just as it was on Sands of Time. To fix this, max out gamepad sensity on the game's options.
To play in widescreen:
- Start UniWS with Wine
- Select Warrior Within
- Select where the game's installed
- Put your monitor's resolution and click patch
Also, you can open hardware.ini after having started the game at least once, and change CanStretchRect from 1 to 0, that way everything except for menus will not be stretched.
Since the game relies on timing, having stuff go off faster or slower makes this impossible to properly play.
The fog effects are broken and are obscuring the view.
This game came out before xinput, the controls needed to be rebound, but after that, they worked.
some animations are too quick. this may make the game impossible to complete.

seems to work great, except that traps are impossible to handle, so gameplay becomes impossible.
fog must be disabled
Clouds of dust behave strangely
Proton experimental -> spike traps go off too quickly, so gameplay is affected
Going back to proton 6.3 fixes the spike traps -- though they still seem a bit faster than in windows, but that's just an impression.
Clouds of dust behave strangely, but that's just a graphical glitch.
Works fine with proton experimental

Performs quite well
Second conversation with empress
Thick fog on screen. Turning off smoke effects fixed this
Runs great, other than that minor artifacting I can say it runs 10/10. I did have the fog off via menu.
It was just during the water seen at the boat there was a little tiny artifacting about a half inch until you went through the water leaking into the boat. Other than that I haven't noticed anything.


You need to use an older version of Proton to play the game, otherwise the game will crash after the main menu.



Works fine out of the box on Proton. I installed D9VK and it worked great too, even when testing it with the new ACO compiler.


Works perfect. I had to disable fog (like in Win10).


After turning off the fog, everything works perfectly. I've played for about 4 hours without any issues.


Disable fog


Must disable fog, otherwise can't see anything. Other than that, flawless.



Runs great with Fog disabled (if enabled, you can't see anything but a white mist everywhere). If not for the fog, would be Platinum.



Tested it for 30 minutes. Cutscenes, audio and gameplay all working correctly.



Menu has weird inverted white colors. Video playback seems fine but the game itself is almost entirely black, can't see anything.



PLAYED TO FIRST BOSS. GAMEPAD WORKS BUT GAME ASSUMES MOUSE AND KEYBOARD PROMPTS ARE WRONG AND ACTUAL CONTROL IS NOT GREAT WITH PAD, STEAM CONTROLLER PROBABLY WAY FORWARD.
