Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.

Difference between revisions of "Prince of Persia: Warrior Within"

From PCGamingWiki, the wiki about fixing PC games
(13 intermediate revisions by 4 users not shown)
Line 48: Line 48:
 
{{Availability/row| Humble | prince-of-persia-warrior-within | Uplay | | | Windows }}
 
{{Availability/row| Humble | prince-of-persia-warrior-within | Uplay | | | Windows }}
 
{{Availability/row| Steam | 13500 | Steam | | | Windows }}
 
{{Availability/row| Steam | 13500 | Steam | | | Windows }}
{{Availability/row| Uplay | 575ffda7a3be1633568b4e08 | Uplay | Included with {{Store feature|Uplay+}}. | | Windows }}
+
{{Availability/row| Uplay | 575ffda7a3be1633568b4e08 | Uplay | Included with {{Store feature|Uplay+}}| | Windows }}
 
}}
 
}}
 
{{++}} There are two demos available: [https://www.fileplanet.com/archive/p-59325/Prince-of-Persia-Warrior-Within-Demo 1] and [https://www.fileplanet.com/archive/p-60305/Prince-of-Persia-Warrior-Within-Demo-2 2].
 
{{++}} There are two demos available: [https://www.fileplanet.com/archive/p-59325/Prince-of-Persia-Warrior-Within-Demo 1] and [https://www.fileplanet.com/archive/p-60305/Prince-of-Persia-Warrior-Within-Demo-2 2].
Line 144: Line 144:
 
|vsync notes                =  
 
|vsync notes                =  
 
|60 fps                    = true
 
|60 fps                    = true
|60 fps notes              = Playing at 60FPS desyncs cutscene lipsync and audio, manually capping to 59FPS fixes this.
+
|60 fps notes              = Playing at 60 FPS desyncs cutscenes lipsync and audio. <br>Manually capping at 59 FPS fixes this.
 
|120 fps                    = limited
 
|120 fps                    = limited
|120 fps notes              = Audio becomes slightly desynchronized in in-game cutscenes and parkour might behave unexpectedly if the frame rate is above 60. See [[#Falling_off_Ropes_during_Wallruns_in_certain_sections_of_the_game|Falling off Ropes during Wallruns in certain sections of the game]].
+
|120 fps notes              = Audio becomes slightly desynchronized; cutscenes and parkour might behave unexpectedly if the frame rate is above 60. <br>See [[#Falling_off_Ropes_during_Wallruns_in_certain_sections_of_the_game|Falling off Ropes during Wallruns in certain sections of the game]].
 
|hdr                        = unknown
 
|hdr                        = unknown
 
|hdr notes                  =  
 
|hdr notes                  =  
Line 162: Line 162:
 
'''Notes'''
 
'''Notes'''
 
{{ii}} Supported exe size: 5 533 696 bytes.
 
{{ii}} Supported exe size: 5 533 696 bytes.
{{ii}} When using any other language than English, hud_glitch_fix must be disabled in .ini file.
+
{{ii}} When using any other language than English, hud_glitch_fix must be disabled in INI file.
 
}}
 
}}
  
Line 359: Line 359:
 
}}
 
}}
 
{{L10n/switch
 
{{L10n/switch
  |language  = Spanish
+
  |language  = Spanish - Spain
 
  |interface = true
 
  |interface = true
 
  |audio    = true
 
  |audio    = true
 
  |subtitles = true
 
  |subtitles = true
  |notes    = Retail and GOG only. Patch for other digital releases [http://www.clandlan.net/foros/topic/71079-traducciones-para-prince-of-persia-warrior-within-y-prince-of-persia-the-two-thrones-disponibles/ here].
+
  |notes    =  
 
  |fan      =  
 
  |fan      =  
 
}}
 
}}
Line 378: Line 378:
 
|native 3d notes            =  
 
|native 3d notes            =  
 
|nvidia 3d vision            = hackable
 
|nvidia 3d vision            = hackable
|nvidia 3d vision notes      = See [https://helixmod.blogspot.com/2018/06/prince-of-persia-warrior-within.html Helix Mod: Prince of Persia: Warrior Within].
+
|nvidia 3d vision notes      = See [https://helixmod.blogspot.com/2018/06/prince-of-persia-warrior-within.html Helix Mod: Prince of Persia: Warrior Within]
 
|tridef 3d                  = unknown
 
|tridef 3d                  = unknown
 
|tridef 3d notes            =  
 
|tridef 3d notes            =  
Line 434: Line 434:
 
{{Fixbox|fix=
 
{{Fixbox|fix=
 
# Download [https://stefansundin.github.io/superf4/ SuperF4], Install and open it.
 
# Download [https://stefansundin.github.io/superf4/ SuperF4], Install and open it.
# Press Ctrl+Alt+F4 keys simultaneously to exit the game during the game.
+
# Press Ctrl+Alt+F4 keys simultaneously to exit the game.
 
}}
 
}}
  
 
===Alt+Tab not working===
 
===Alt+Tab not working===
 
{{ii}} After opening the game, pressing alt + tab does not return to the desktop
 
{{ii}} After opening the game, pressing alt + tab does not return to the desktop
{{Fixbox|description=Before entering the game, open a folder or txt file and then enter into the game.}}
+
{{Fixbox|description=Before entering the game, open a folder or a txt file and then enter the game.}}
  
 
===Game fails to start===
 
===Game fails to start===
 
{{ii}} Error: "The game cannot be launched.  The filename, directory name, or volume label syntax is incorrect."
 
{{ii}} Error: "The game cannot be launched.  The filename, directory name, or volume label syntax is incorrect."
{{Fixbox|description=Run as administrator|ref={{cn|date=May 2018}}|fix=Mark <code>PrinceOfPersia.exe</code> to run as administrator.}}
+
{{Fixbox|description=Run "PrinceOfPersia.exe" as administrator}}
  
 
===Cutscenes are de-synchronised===
 
===Cutscenes are de-synchronised===
{{ii}} Running the game at 60FPS or above causes cutscenes to speed up while audio lags behind.
+
{{ii}} Running the game at 60 FPS or above causes cutscenes to speed up while audio lags behind.
 
{{Fixbox|description=Cap the framerate to any number under 60|ref=<ref>{{Refcheck|user=Sidspyker|date=2020-09-22|comment=Comment (optional)}}</ref>|fix=
 
{{Fixbox|description=Cap the framerate to any number under 60|ref=<ref>{{Refcheck|user=Sidspyker|date=2020-09-22|comment=Comment (optional)}}</ref>|fix=
 
# Nvidia users can use <code>Nvidia Control Panel</code> or <code>Nvidia Inspector</code> to cap the framerate to <code>59 or 58</code> FPS in the game specific profile.
 
# Nvidia users can use <code>Nvidia Control Panel</code> or <code>Nvidia Inspector</code> to cap the framerate to <code>59 or 58</code> FPS in the game specific profile.
Line 471: Line 471:
 
# Set the Target Program by browsing to the <code>{{p|game}}</code> and selecting {{file|pop2.exe}}.
 
# Set the Target Program by browsing to the <code>{{p|game}}</code> and selecting {{file|pop2.exe}}.
 
# Go to <code>DirectInput</code> tab and check <code>Enable DirectInput Output</code>.
 
# Go to <code>DirectInput</code> tab and check <code>Enable DirectInput Output</code>.
# In the same tab click on <code>LT/RT</code> and select <code>Button 12/13</code> from the dropdown menu.
+
# In the same tab, click on <code>LT/RT</code> and select <code>Button 12/13</code> from the drop-down menu.
# Click Apply, this will install a DLL file to your game folder that will automatically be used when you start the game.
+
# Click Apply; this will install a DLL file to your game folder that will automatically be used when you start the game.
 
# Start the game and rebind the triggers in Options.
 
# Start the game and rebind the triggers in Options.
 
}}
 
}}

Revision as of 01:32, 17 January 2022

Prince of Persia: Warrior Within
Prince of Persia: Warrior Within cover
Developers
Ubisoft Montreal
Publishers
Ubisoft
Engines
Jade
Release dates
Windows December 2, 2004
Reception
Metacritic 83
IGDB 80
Taxonomy
Series Prince of Persia
Prince of Persia: Warrior Within on HowLongToBeat
Prince of Persia: Warrior Within on IGDB
Prince of Persia: Warrior Within guide on StrategyWiki
Prince of Persia: Warrior Within on MobyGames
Prince of Persia: Warrior Within on Wikipedia
Prince of Persia
Prince of Persia 1989
Prince of Persia 2: The Shadow and the Flame 1993
Prince of Persia 3D 1999
Prince of Persia: The Sands of Time 2003
Prince of Persia: Warrior Within 2004
Prince of Persia: The Two Thrones 2005
Prince of Persia (2008) 2008
Prince of Persia: The Forgotten Sands 2010
Prince of Persia: The Lost Crown 2024
Prince of Persia: The Sands of Time Remake TBA

General information

Ubisoft game page
Ubisoft Forums for game series
GOG.com Community Discussions for game series
GOG.com Support Page
Steam Community Discussions

Availability

Source DRM Notes Keys OS
Retail
Disc check (requires the CD/DVD in the drive to play)
SafeDisc v4 DRM[Note 1].
Russian copies use StarForce 3 DRM[Note 2].
Windows
GOG.com
DRM-free
Windows
Green Man Gaming
Icon overlay.png
Windows
Humble Store
Icon overlay.png
Windows
Steam
Icon overlay.png
Windows
Ubisoft Store
Icon overlay.png
Included with Ubisoft+
Windows
SafeDisc retail DRM does not work on Windows Vista and later (see above for affected versions).
StarForce DRM for this game does not work on modern versions of Windows (see above for affected versions).
There are two demos available: 1 and 2.

Essential improvements

Skip intro videos

Delete or Rename
  1. Go to <path-to-game>\Video.
  2. Delete or rename LOGORP.BIK, UBIMTL.BIK and UBISOFT.BIK.

Skip loading screens

Delete or Rename[citation needed]
  1. Go to <path-to-game>\Video.
  2. Delete or rename GO_BOSS.bik, GO_CLAW.bik, GO_GEN.bik, GO_SLASH.bik, GO_TRAP.bik, LOADIN0.BIK, LOADLOP0.BIK and LOADOUT0.BIK.

0 stands for the English version. 5 is Dutch for example.

Loading screens, intro videos and FMVs will be skipped automatically.

Remove launcher requirement

Instructions
  • Download from here and copy to the game directory.

Extract all Voice, SFX & Music files

Instructions
  1. Download from official site or direct link or mirror.
  2. Extract all files to <path-to-game>\Sound and run ww_extract_and_convert_all.bat.
  3. As soon as it's finished, check the newly created !audio folder.

Note

For more information, you can check the README.txt file inside the archive.

Game data

In-game general settings
In-game general settings

Configuration file(s) location

System Location
Windows <path-to-game>\[Note 3]
Steam Play (Linux) <Steam-folder>/steamapps/compatdata/13500/pfx/[Note 4]

Save game data location

System Location
Windows <path-to-game>\GameProfiles\POPWWPROFILES[Note 3]
Steam Play (Linux) <Steam-folder>/steamapps/compatdata/13500/pfx/[Note 4]

Save game cloud syncing

System Native Notes
GOG Galaxy
Steam Cloud
Ubisoft Connect

Video

In-game general video settings
In-game general video settings
In-game advanced video settings
In-game advanced video settings

Graphics feature State WSGF Notes
Widescreen resolution
See Widescreen resolution.
Multi-monitor
See Widescreen resolution.
Ultra-widescreen
See Widescreen resolution.
4K Ultra HD
See Widescreen resolution.
Field of view (FOV)
See Widescreen resolution.
Windowed
See Windowed.
Borderless fullscreen windowed
See Windowed.
Anisotropic filtering (AF)
See the glossary page for potential workarounds.
Anti-aliasing (AA)
See the glossary page for potential workarounds.
Vertical sync (Vsync)
60 FPS
Playing at 60 FPS desyncs cutscenes lipsync and audio.
Manually capping at 59 FPS fixes this.
120+ FPS
Audio becomes slightly desynchronized; cutscenes and parkour might behave unexpectedly if the frame rate is above 60.
See Falling off Ropes during Wallruns in certain sections of the game.
High dynamic range display (HDR)
See the glossary page for potential alternatives.

Widescreen resolution

Widescreen fix (Hor+)[7]
  1. Download Widescreen fix by nemesis 2000 from Here or from PCGW Mirror
  2. Extract pop2.7z files to <path-to-game> (password: pop2).
  3. If you have the GOG.com version of the game, you will need to run upx.bat once.
  4. Edit pop2.ini with a text editor and set your desired resolution and FOV multiplier.

Notes

Supported exe size: 5 533 696 bytes.
When using any other language than English, hud_glitch_fix must be disabled in INI file.

Windowed

Force windowed[citation needed]
  1. Download and run DxWnd as administrator.
  2. Click on Edit, then Add.
  3. Set name to Prince of Persia - Warrior Within.
  4. Set path to <path-to-game>\pop2.exe.
  5. Set launch to <path-to-game>\PrinceOfPersia.exe.
  6. Set Acquire admin caps.
  7. Set Desktop for borderless fullscreen windowed.
  8. Click on DirectX tab, set DirectX9.
  9. Click OK, then File and Save.
  10. Run the game directly from DxWnd.

Notes

Make sure that PrinceOfPersia.exe and pop2.exe have no compatibility mode enabled.

Post-processing

Disable post-processing effects[citation needed]

Use 3D Vision fix to toggle the blur, bloom, and heat distortion effects.

Input

In-game control settings
In-game control settings

Button prompts

Works for the entire trilogy.
Instructions[8]
  1. Go to the installation folder.
  2. Open POPDATA.BF with a text editor such as Notepad ++.
  3. Press Ctrl+F and find the line Input event names.
  4. Under it go to Gamepads then change the buttons to what you want.

Notes

Make sure you don't increase or decrease the file size as it will make the game crash.
Xbox 360 and DualShock 4 replacement files can be used (only for Warrior Within).

Audio

In-game audio settings
In-game audio settings

Audio feature State Notes
Separate volume controls
Surround sound
Up to 7.0 output.[9]
Subtitles
Closed captions
Mute on focus lost
EAX support
EAX Unified (compatible with EAX 1.0, 2.0, and 3.0)
May require DirectSound3D restoration software to enable EAX and surround sound functionality on Windows Vista and later.

Localizations

Language UI Audio Sub Notes
English
Czech
Retail only. Patch for digital release here
French
German
Hungarian
Fan translation, download.
Italian
Retail, steam and ubisoft connect only. Patch for the GOG release here.
Japanese
Retail version only.
Polish
Retail version only. Patch for digital release here.
Russian
Retail and GOG only. Patch for other digital release here.
Spanish

VR support

3D modes State Notes
Nvidia 3D Vision
See Helix Mod: Prince of Persia: Warrior Within
vorpX
G3D
User created game profile, see vorpx forum profile introduction.

Issues unresolved

Muted dialogue with Kaileena in the hourglass room

Voices become inaudible during dialogue with Kaileena; this will force players to enable the subtitles to understand what they are saying. There is no fix so far.

Issues fixed

Launcher not working

Registry edit method 1
  1. Download this and open with text according to your operating system.
  2. Change Product_Path and Profiles_Path with your own game location.
  3. Save reg file and use it. Finally launch the game.
Registry edit method 2
  1. Press Win+R, type regedit, then click OK.
  2. Go to
    • For x86: HKEY_LOCAL_MACHINE\SOFTWARE\Ubisoft\Prince of Persia Warrior Within\1.00.999
    • For x64: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Ubisoft\Prince of Persia Warrior Within\1.00.999
  3. Change Product_Path and Profiles_Path with your own game location. Finally launch the game.

Enable Alt+F4

Instructions
  1. Download SuperF4, Install and open it.
  2. Press Ctrl+Alt+F4 keys simultaneously to exit the game.

Alt+Tab not working

After opening the game, pressing alt + tab does not return to the desktop
Before entering the game, open a folder or a txt file and then enter the game.

Game fails to start

Error: "The game cannot be launched. The filename, directory name, or volume label syntax is incorrect."
Run "PrinceOfPersia.exe" as administrator

Cutscenes are de-synchronised

Running the game at 60 FPS or above causes cutscenes to speed up while audio lags behind.
Cap the framerate to any number under 60[10]
  1. Nvidia users can use Nvidia Control Panel or Nvidia Inspector to cap the framerate to 59 or 58 FPS in the game specific profile.
  2. AMD users can use AMD Chill or Framerate Target Control option to do the same.
RTSS framerate limit does not seem to work on this game.

Falling off Ropes during Wallruns in certain sections of the game

This usually happens in the Garden level and to users of High Framerate and Variable Sync Displays that turn off V-Sync.
Limit the frame rate to 60 FPS[citation needed]
Enable V-Sync and set the refresh rate to 60hz

Unable to use Sand Powers besides Rewind/Recall when playing with a Controller

This is a limitation of XInput Controllers when playing older DirectInput games. LT and RT are bound to the Z-Axis and do not register when held simultaneously.
If using a Controller that supports multiple modes, switch it from XInput to DirectInput then rebind all Gamepad buttons in game options.[11]
For XInput Controllers:
Add an XInput to DirectInput translation layer and configure triggers as buttons[12]
  1. Download XInput Plus and extract it to any folder.
  2. Launch XInput Plus.
  3. Set the Target Program by browsing to the <path-to-game> and selecting pop2.exe.
  4. Go to DirectInput tab and check Enable DirectInput Output.
  5. In the same tab, click on LT/RT and select Button 12/13 from the drop-down menu.
  6. Click Apply; this will install a DLL file to your game folder that will automatically be used when you start the game.
  7. Start the game and rebind the triggers in Options.

Other information

API

Technical specs Supported Notes
Direct3D 9
Executable 32-bit 64-bit Notes
Windows

System requirements

Windows
Minimum Recommended
Operating system (OS) 98 SE
Processor (CPU) Intel Pentium III 1.0 GHz
AMD Athlon 1.0 GHz
System memory (RAM) 256 MB
Hard disk drive (HDD) 1.5 GB
Video card (GPU) Nvidia GeForce 3
ATI Radeon 7500
Intel 915G
DirectX 9.0c compatible


Notes

  1. SafeDisc retail DRM does not work on Windows 10[1] or Windows 11 and is disabled by default on Windows Vista, Windows 7, Windows 8, and Windows 8.1 when the KB3086255 update is installed.[2]
  2. This version of StarForce DRM does not work on Windows Vista or later.[3][4][5][6] For supported versions of Windows the StarForce driver may need to be updated manually using SFUPDATE.
  3. 3.0 3.1 When running this game without elevated privileges (Run as administrator option), write operations against a location below %PROGRAMFILES%, %PROGRAMDATA%, or %WINDIR% might be redirected to %LOCALAPPDATA%\VirtualStore on Windows Vista and later (more details).
  4. 4.0 4.1 File/folder structure within this directory reflects the path(s) listed for Windows and/or Steam game data (use Wine regedit to access Windows registry paths). Games with Steam Cloud support may store data in ~/.steam/steam/userdata/<user-id>/13500/ in addition to or instead of this directory. The app ID (13500) may differ in some cases. Treat backslashes as forward slashes. See the glossary page for details.

References