Deus Exe Readme
Installation
Place the contents of the DeusExe zip file in your Deus Ex 'System' directory. Examples of this are 'C:\Deus Ex\System' and 'D:\Steam\steamapps\common\Deus Ex\System'.
New command-line options
- -skipdialog
- Skips the launcher dialog and immediately starts the game.
- -localdata
- Uses the game directory, instead of 'Documents', for configuration data, save games, etc. Please make sure you have write permissions.
Known issues / left to fix / todo. Unless marked as [Deus Exe], this is an issue with the original game.
- [Deus Exe] If you start using the -localdata command-line option and then click the button to change renderers in the in-game options screen, Deus Exe will restart without using -localdata.
- In full-screen mode, when opening a menu for the first time after a level switch, the mouse cursor will be positioned in the top-left corner.
- Keyboard unresponsive after alt+tab in windowed mode
Changelog
Version 8.1 (februari 20, 2016)
- Fixed alt+enter behavior in borderless windowed full-screen mode.
- Added option to span borderless windowed full-screen mode over all monitors.
Version 8 (februari 18, 2016)
- Game window is now shown on the monitor where the launcher window was closed.
- Added borderless full-screen window mode.
- When raw input is enabled, mouse buttons 4/5 work. In the key bindings screen they're shown as 'Unknown05'/'Unknown06'.
Version 7 (august 29, 2015)
- Resolution shown in configuration dialog upon opening it now matches windowed/fullscreen selection.
- Thanks Sebastian Kaufel for discovering and sharing how to replace native script functions.
- Added free disk space fix that doesn't require detoured.dll.
- Added native UI scaling fix that no longer requires OTP patch. Has a manual scaling setting, and properly deals with resizing of the game window.
- Added option to fix subtitles during cinematics for wider-than-16:9 resolutions.
- Fixed issue with FPS limiter not being applied correctly.
- Changed enable/disable behavior of configuration dialog options.
- Switched to Visual Studio 2015, make sure to update your runtimes.
Version 6.2 (june 29, 2014)
- The FPS limiter is now stored under the [Deus Exe] heading in the .ini file. It is also now set to 120 by default.
- Since the first version, Deus Exe has forced the game to run on a single CPU (core). However, being that the game is generally CPU bound, and that OS/driver support for multiple CPUs has improved since then, the game now uses all processors by default. The launcher options still allow the game to be forced to run on a single CPU.
- Fixed raw input mouse locking/unlocking for menus, which tripped up on cutscenes and dialogue sequences.
Version 6.1 (may 31, 2014)
- Fixed rapidly clicking in full-screen mode with raw input enabled minimizing game.
Version 6 (may 18, 2014)
- Switched to Visual Studio 2013, make sure to update your runtimes.
- Dropped Windows XP support.
- Executable marked as High DPI aware.
- The INI file names in the launcher dialog are now clickable to easily edit the files. Note that any changes made will not be picked up by the game until next launch; changes made in the Deus Exe GUI will be visible in the files, though.
-
Instead of the various separate FOV settings, the choices are now 'Default', 'Automatic' and 'Custom'.
- Default
- Uses game game default (75 for Deus Ex).
- Automatic
- Calculates optimal FOV depending on the game's resolution.
- Custom
- Custom FOV.
Note that automatic mode sets the FOV for the selected resolution, it will not change the FOV upon in-game resolution changes.
- The resolution drop-down box is now populated with the resolutions supported by the primary monitor.
- User.ini changes (FOV) now take the
USERINI
command-line option into account.
- When starting the game for the first time, the desktop resolution is chosen for full-screen mode.
- Instead of using a mix of DirectInput and raw input to combat mouse acceleration, raw input is now a dedicated mode. In this mode, standard Windows input is used for the menu mouse cursor, while the player camera uses the raw input API to be acceleration free.
- Duplicate mouse cursor when playing in windowed mode now also removed in standard input mode.
- Added LARGEADDRESSAWARE linker flag and set stack size to 2MB for Revision support.
- Data Directories dialog is now tree-based.
-
Localization file override support. Mods such as Shifter and its derivatives replace some game strings by overwriting DeusEx.int.
These .int files can now be stored in a mod's subdirectory and will be used if the user adds this directory in the 'Data Directories' dialog.
Three matters complicate all this:
- The user running a localized version of the game, e.g. the language set to something other than 'int', such as 'det' for German. In that case, the game uses 'DeusEx.det' for its strings, with the original 'int' file as a fallback for when a string is not found in the 'det' file.
- The ability to rename the game's executable; if DeusEx.exe is renamed to 'bla.exe', the executable will use 'bla.int' for its strings.
- The fact that DeusEx.int also contains strings for the 'DeusEx.u' package, such as main menu text items. When DeusEx.exe is renamed, 'DeusEx.int' (or .det, etc.) will still be used for those.
In the end I settled on the following behavior:
- The 'Data Directories' dialog only looks for .int files, so it won't recognize mods that for some odd reason do not include English strings.
-
The replacement mechanism itself will reroute access to any localization file the game tries to access. This means the 'DeusEx.u' package will still use the 'DeusEx' localization file for its strings no matter the .exe name, just like before.
-
When the language is something other than 'int', access to both that language's localization file (e.g. 'DeusEx.det') and the '.int' file is rerouted, so localized mods work fine. If a string is not found in the mod's language-specific file, its .int file is used.
- Combining the above two rules, if Deus Exe is renamed to 'bla.exe' and the language is 'det', it reroutes access from 'System\bla.det' to 'Shifter\bla.det' and from 'System\bla.int' to 'Shifter\bla.int'. But explicit access to 'System\DeusEx.int' by the 'DeusEx.u' package is unchanged.
- As a result of the localization file fallback mechanism, with the language set to e.g. 'det', if a mod only includes an .int file, and not a .det file, the .int file will be used for all its strings, which turns the game English but does allow the mod to use its text.
-
There's NO fallback for individual entries; if 'Shifter\DeusEx.int' does not contain a string, the original 'System\DeusEx.int' file is not queried; but then, the new file needs to include all strings anyway to be compatible with the original DeusEx.exe, which has no override mechanism for localization files at all.
Version 5.3 (august 11, 2013)
- If a custom RootWindow is found (installed by a mod), the configurator's GUI setting is disabled to preserve this.
Version 5.2 (april 13 2013)
- Fixed the application failing to start when installed to the same drive as the 'Documents' directory (e.g. C:\).
Version 5.1 (march 29, 2013)
- Fixed a directory creation issue if 'Documents\Deus Ex' did not already exist.
Version 5 (march 26, 2013)
- Switched to Visual Studio 2012.
- Fixed dedicated server mode / preferences / console.
- Fixed ability to add corrupted item to 'Data Directories' listbox.
- Server max tickrate is now taken into account.
- Added some new prefab resolutions / FOVs.
- Restored 'EditActor' command.
- Completely cleaned up code, so who knows what's broken.
Version 4.3 (july 28, 2012)
- Fixed data directories window not showing paths, only extensions, on Windows XP.
Version 4.2 (june 27, 2012)
- Fixed a dumb mistake in the hard disk free space fix code. Negative free space when trying to save should be fixed now. (Thanks Myk)
Version 4.1 (january 29, 2012)
- Fixed inability to overwrite/delete savegames.
- Fixed data dir dialog not picking up .uax files.
Version 4 (january 11, 2012)
- Added
-localdata
command-line option to disable usage of the 'My Documents' directory for files.
- Game now uses original (default or existing) ini files instead of custom ones; fixes non-English versions of the game being turned English.
- Added data directory dialog so mods can be more easily enabled/disabled and combined.
- Mod support improved when using
INI/USERINI
command line options.
- Fixed 'Preferences' dialog only being able to be summoned once.
Version 3 (august 2, 2011)
- Added '-skipdialog' command-line option to skip the launcher dialog.
- (Re) added dedicated server support ('-server' command-line option).
- Removed admin-rights fix applier; packaged OTPUIFix dlls seperately as DeusEx.exe now itself uses Detoured.dll.
- Fooled the game into thinking there's a max of 4GB free hard drive space; this prevents negative free space values in the save/load screens when running on an extremely large (TB+ partition). More importantly, this fixes an inability to save with the game compaining about too little free space.
- Got rid of the original Windows mouse cursor in DirectInput (i.e. no mouse acceleration) mode. The two cursors ran at different speeds, making clicking outside of windowed games' areas a frequent occurrence. To get the cursor back, just alt+tab.
Version 2 (december 13, 2010)
- Made FPS limit user configurable.
Version 1 (may 25, 2010)