XIII

From PCGamingWiki, the wiki about fixing PC games
XIII
XIII cover
Developers
Ubisoft Paris
macOS (OS X) Zonic Limited
Publishers
Ubisoft
OS X Feral Interactive
Engines
Unreal Engine 2
Release dates
Windows November 18, 2003
macOS (OS X) June 5, 2004
XIII guide at StrategyWiki
XIII at Wikipedia

Key points

Official master server for online multiplayer shut down in 2012[1][2]alternative master server is available.

General information

GOG.com Community Discussions
GOG.com Support Page
InsideXIII - A fan site for the game

Availability[edit]

Source DRM Notes Keys OS
Retail
Disc check (requires the CD/DVD in the drive to play)
TAGES DRM
Released on multiple CDs, later editions on 1 DVD.
Patch 1.3 removes the copy protection.
Windows
macOS (OS X)
This game is no longer available digitally.[3]

Essential improvements[edit]

Patches[edit]

All patches include previous patch updates (except for patch 1.5).

Official patches[edit]

Patch 1.3

Unofficial patches[edit]

Patch 1.4 by Opaquit
Patch 1.4.2 by Arthur (recommended)
Patch 1.5 by icE.MaN & Andrejsky

Skip intro videos[edit]

Download and install unofficial patch 1.4.2[4]
Replace video files[5]
  1. Go to <path-to-game>\Video\
  2. Delete or rename the files alien.bik, nvidia.bik and ubi.bik
  3. Download the blank video file
  4. Move the file to <path-to-game>\Video\
  5. Create two copies of this file in the same location.
  6. Rename all three blank video files respectively to alien.bik, nvidia.bik and ubi.bik

Game data[edit]

Configuration file(s) location[edit]

System Location
Windows <path-to-game>\system\
macOS (OS X)

Save game data location[edit]

System Location
Windows <path-to-game>\save\
macOS (OS X)

Save game cloud syncing[edit]

System Native Notes
GOG Galaxy

Video settings[edit]

In-game video settings.
In-game video settings.

Widescreen resolution[edit]

Download and install unofficial patch 1.4.2[4]
Modify XIII.ini[5][6]
  1. Go to the configuration file(s) location.
  2. Open the XIII.ini file with Notepad or other text editor.
  3. Change the values of FullscreenViewportX=800 and FullscreenViewportY=600 to your desired resolution.
  4. Save the changes.
  5. For perfect Hor+ behavior, set the field of view (FOV) according to the given aspect ratio or resolution:
  • 16:9 - 101.4
  • 16:10 - 95.43
  • 2560x1080 - 116.91
  • 1366x768 - 101.43
  • 1360x768 - 101.18

Notes

Cursor is upscaled.

Field of view (FOV)[edit]

Requires starting a new profile.
Modify DefUser.ini[6]
  1. Go to the configuration file(s) location.
  2. Open the DefUser.ini file with Notepad or other text editor.
  3. Change the values of DesiredFOV=85.000000 and DefaultFOV=85.000000 to your desired FOV.
  4. Save the changes.

Windowed[edit]

Use unofficial patch 1.4.2[4]
  1. Download and install unofficial patch 1.4.2
  2. Toggle with F11
Use DxWnd[7]
  1. Download and run DxWnd
  2. Click on Edit, then Add.
  3. Set the name and executable path.
  4. Set Do not notify on task switch.
  5. Set the window position and size.
  6. Set Desktop for borderless fullscreen windowed.
  7. Click on Input tab, set Cursor clipper to Locked.
  8. Click OK, then File and Save.

Vertical sync (Vsync)[edit]

Modify XIII.ini[7]
  1. Go to the configuration file(s) location.
  2. Open the XIII.ini file with Notepad or other text editor.
  3. Change the value of UseVSync=True to False
  4. Save the changes.
Enabled by default, poorly implemented, causes issues with frame rate pacing, stuttering, as well as with severe input lag. Enable in control panel for best results.

Input settings[edit]

Keyboard and mouse Native Notes
Remapping
Mouse acceleration
Mouse smoothing is enabled by default
Mouse sensitivity
See Mouse sensitivity.
Mouse input in menus
Mouse is barely usable unless you use 125 Hz polling rate. A high DPI also helps.
Mouse Y-axis inversion
Controller
Controller support
See the glossary page for potential workarounds.

Mouse smoothing[edit]

Requires starting a new profile.
Modify DefUser.ini[8]
  1. Go to the configuration file(s) location.
  2. Open the DefUser.ini file with Notepad or other text editor.
  3. Change the value of bMaxMouseSmoothing=True to False
  4. Save the changes.

Mouse sensitivity[edit]

Requires starting a new profile.
Modify DefUser.ini[8]
  1. Go to the configuration file(s) location.
  2. Open the DefUser.ini file with Notepad or other text editor.
  3. Change the values of MouseX=Axis aMouseX Speed=6.0, MouseY=Axis aMouseY Speed=6.0 and MouseSensitivity=3.00000 to fine-tune your sensitivity.
  4. Save the changes.

Notes

It's not recommended to adjust MouseSensitivity as the in-game slider may override it.

Audio settings[edit]

In-game audio settings.
In-game audio settings.
Audio options Native Notes
Separate volume controls
music (toggle only), sound volume
Surround sound
Subtitles
Closed captions
Mute on focus lost

Localizations

Language UI Audio Sub Notes
English
Choose when installing unofficial patch 1.4.2.
Czech
Choose when installing unofficial patch 1.4.2.
French
Choose when installing unofficial patch 1.4.2.
German
Choose when installing unofficial patch 1.4.2.
Italian
Choose when installing unofficial patch 1.4.2.
Polish
Local retail release only.
Spanish
Choose when installing unofficial patch 1.4.2.

Network[edit]

Multiplayer types

Type Native Players Notes
LAN play
8 Versus
Online play
8 Versus
Download and install XIII+[4] A list of running game servers can be found here

Connection types

Type Native Notes
Matchmaking
Peer-to-peer
Dedicated
See Issues with dedicated server.
Self-hosting
Use <path-to-game>\system\ServerLauncher.exe
Alternatively, you can host the server from the command line
Direct IP
Open the console (F2) and use SWITCHLEVEL followed by the IP and port.[9]
Alternatively, you can use XIII IP Join

Ports

Protocol Port(s) and/or port range(s)[10]
UDP 7099, 7777
Universal Plug and Play (UPnP) support status is unknown.

Issues fixed[edit]

4-CD installation problem[edit]

Only for the 4-CD retail version: This is to fix the pop-up that appears on CD 2, which says: "Delete all configuration and saved games files? (Answering YES will delete the XIII installation folder and all of its content)". Answering Yes or No stops the installation and constantly reappears if you start the installation again.
4-CD installation problem[11]
  1. Create a folder on Desktop named XIII
  2. Inside XIII folder, create folders named CD 1, CD 2, CD 3, and CD 4
  3. Copy the entire CD to each of their respective folders, e.g. CD 1 to the CD 1 folder, and so on.
  4. Open the Task Manager (Ctrl+ Shift+Esc) and go to Processes.
  5. Start setup.exe in the CD 1 folder.
  6. In the Task Manager you'll notice a bunch of new processes start up, when this happens change the name of the setup.exe to something else, e.g. to abc.exe
  7. Installation of CD 1 will continue.
  8. When it asks for CD 2, change whatever you named the setup.exe back to setup.exe
  9. Follow the rest of the installation instructions.

Notes

Putting XIII in compatibility mode for "Windows XP (Service Pack 2)" crashes less and helps performance while running the game.

Game crashes and starting problems[edit]

Set CPU affinity[12]
  1. Launch the game.
  2. While in main menu minimize the game (Alt+Tab ).
  3. Open the Task Manager (Ctrl+ Shift+Esc) and click on the Processes tab.
  4. Right click xiii.exe and click on Set Affinity.
  5. Make sure only CPU 0 is selected.

Notes

The game now runs only on one processor and should work without any crashes.

Game will not start in fullscreen[edit]

Modify XIII.ini[13][14]
  1. Go to the configuration file(s) location.
  2. Open the XIII.ini file with Notepad or other text editor.
  3. Change the value of ReduceMouseLag=True to False
  4. Save the changes.

Or

  1. Go to the configuration file(s) location.
  2. Open the XIII.ini file with Notepad or other text editor.
  3. Find the section D3DDrv.D3DRenderDevice and replace the contents with the following:
DetailTextures=False
HighDetailActors=False
SuperHighDetailActors=False
UsePrecaching=True
UseTrilinear=False
AdapterNumber=-1
ReduceMouseLag=False
UseTripleBuffering=False
UseHardwareTL=True
UseHardwareVS=True
UseCubemaps=False
DesiredRefreshRate=75
UseCompressedLightmaps=True
UseStencil=True
Use16bit=False
Use16bitTextures=False
MaxPixelShaderVersion=255
UseVSync=False
LevelOfAnisotropy=1
DetailTexMipBias=0.800000
DefaultTexMipBias=-0.500000
UseNPatches=False
TesselationFactor=1.000000
CheckForOverflow=False
AvoidHitches=True
OverrideDesktopRefreshRate=True
ReportUnusedTextures=False
DecompressTextures=False
TerrainLOD=0
SkyboxHack=False
LowQualityTerrain=True
  1. Save the changes.

Game runs in slow motion[edit]

The game runs with a blurred, slow frame rate.
Download and install unofficial patch 1.4.2[4]
Use UnrealEngine Custom Launcher[15]
  1. Go to the configuration file(s) location.
  2. Open the XIII.ini file with Notepad or other text editor.
  3. Change the value of UseVSync=True to False
  4. Save the changes.
  5. Rename the XIII.int file.
  6. Download the file
  7. Extract the Launch.int file from the download to <path-to-game>\system\
  8. Rename the Launch.int file to XIII.int

Notes

Vsync can be re-enabled manually in the graphics adapter settings (Nvidia or AMD Catalyst Control Panel).

Left click leaves game[edit]

Left mouse click causes focus change away from the fullscreen window back to your desktop.

Checkpoints are not saved permanently[edit]

Checkpoint save only applies when you die during your current play through and does not save your game. You need to quick/manually save it. Loading any level manually can be done if needed.
Use SWITCHLEVEL followed by the internal level identifier in the in-game console (F2)[17]

Run the game at screen refresh rate[edit]

Fullscreen mode defaults to 60 Hz, even if the screen refresh rate is set higher than that.
Use dgVoodoo 2[12]
  1. Download and extract dgVoodoo 2
  2. Open the MS folder and copy the contents to <path-to-game>\system\
  3. Run dgVoodooCpl.exe
  4. Click on Add and select <path-to-game>\system\
  5. Enable Enumerate refresh rates.
  6. Go to the DirectX tab.
  7. Set the resolution from the list (e.g. 1920x1080, 119Hz).
  8. Uncheck Disable Alt-Enter to toggle screen state and dgVoodoo Watermark and click OK.

Issues with dedicated server[edit]

Server launcher doesn't work[edit]

Patch 1.3 causes many problems with the dedicated server launcher.
Download and install unofficial patch 1.4[18]

Failed to register the game server[edit]

When hosting a dedicated server, it tries to connect to an inactive master server.
Modify XIII.ini[5]
  1. Go to the configuration file(s) location; <path-to-game>\Server\ when using unofficial patch 1.4.
  2. Open the XIII.ini file with Notepad or other text editor.
  3. Delete the ServerActors=IpDrv.RegisterServerToUbiCom line or insert a semicolon (;) before it.
  4. Save the changes.

Other information[edit]

API[edit]

Technical specs Supported Notes
Direct3D 8
64-bit executable

Middleware[edit]

Middleware Notes
Cutscenes Bink Video 1.5v

System requirements[edit]

Windows
Minimum Recommended
Operating system (OS) 98 ME, 2000, XP
Processor (CPU) Intel Pentium III 700 MHz Intel Pentium III 1.0 GHz
System memory (RAM) 128 MB 256 MB
Hard disk drive (HDD) 1.2 GB 2.5 GB
Video card (GPU) 32 MB of VRAM
DirectX 8.1 compatible
64 MB of VRAM
Sound (audio device) DirectX compatible 16-bit sound card

References