WineHQ
Category: Main Games Role Playing Games Deus Ex Steam 1.x

Deus Ex

No Screenshot

Submit Screenshot
Deus Ex's release on the Steam platform.

Application Details:

Version: Steam 1.x
License: Retail
URL: http://mirror.deusexnetwork.co...
Votes: Marked as obsolete
Latest Rating: Silver
Latest Wine Version Tested: 1.3.26

Maintainers: About Maintainership

Test Results

Old test results
The test results you have selected are very old and may not represent the current state of Wine.
Selected Test Results

What works

Main Menu

Gameplay

Changing Settings

Conversations

Multiplayer

What does not

Changing Resolution is Iffy

Workarounds

What was not tested

Gameplay past the first mission

Hardware tested

Graphics:

  • GPU:
  • Driver:

Additional Comments

The game usually needs a couple of restarts to get all the settings applied properly, and once it's all set up it runs perfectly. The anomaly of choppy graphics still happens for me on my dual core laptop, but installing schedtool and running Deus Ex on one processor gets rid this.

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
ShowUbuntu 11.04 "Natty" i386 (+ variants like Kubuntu)Aug 21 20111.3.26Yes Yes NoSilverJack Herbert 
ShowUbuntu 10.04 "Lucid" amd64 (+ variants like Kubuntu)Mar 12 20111.3.15Yes No NoGarbageMark Hamik 
ShowUbuntu 10.04 "Lucid" i386 (+ variants like Kubuntu)Jul 07 20101.2-rc6Yes Yes NoGoldAdam Smith 
ShowUbuntu 10.04 "Lucid" i386 (+ variants like Kubuntu)Jul 06 20101.2-rc4Yes Yes NoGoldAdam Smith 
CurrentUbuntu 8.04 "Hardy" i386 (+ variants like Kubuntu)May 12 20091.1.21N/A Yes NoPlatinumJames Stone 

Known Bugs

Bug # Description Status Resolution Other apps affected

Show all bugs

HowTo / Notes

Fix CPU Speed Step Issues: Sebastian 'Hanfling' Kaufel's Custom Launcher

Unreal Engine 1 Games (including Deus Ex 1) won't run correctly on (mobile) hardware with speed-stepping enabled. They will tend run too fast/slow and the game speed will constantly change. If you experience these issues - then try this launcher.

Please note this solution is obsolete and you should use the (still maintained) Kentie Launcher instead.

A modified Launcher can solve this issue. Only two lines of code must be changed and another two lines must be added. Multiple CPU cores are also a cause of issues, but this can be fixed, for example by setting a CPU affinity mask.

Download a custom launcher for Deus Ex.

Extract the launcher executable:

unzip Launch-DeusEx1112fm-1.0.zip -d "${WINEPREFIX}/drive_c/Program Files/Steam/steamapps/common/Deus Ex/System"

( for a 32-bit Wineprefix )

To use this launcher simply add a Non-Steam Game short in the Steam client...
  1. Games (menu)
  2. Add a Non-Steam Game to My Library
  3. BROWSE... to Launch.exe ("C:\Program Files\Steam\SteamApps/common\Deus Ex\System\Launcher.exe"
  4. ADD SELECTED GAMES
  5. RHS (mouse) click on new launcher
  6. Properties
  7. Rename the new Steam Library entry to "Deus Ex 1 Launcher" (or whatever)
Using the Stock OpenGL Renderer

Out-of-the box the stock OpenGL renderer will generate a segmentation fault:

double free or corruption (!prev)

This BASH script will fix the DeusEx.ini file settings to correct this. Note it is recommended to use the newer OpenGL renderer (which is significantly better)

  1. Create this script (credit to Morgawr, his original script was used as a basis for this):
  2. #!/bin/bash


    #export WINEPREFIX="❚❚❚❚❚❚"

    export DEUS_EX_PATH

    # Read install path for Deus Ex, from the Wine Registry.
    # Note: this requires a first run, when DeusEx is installed under Steam.

    DEUS_EX_PATH="$(
         wine reg query 'HKEY_LOCAL_MACHINE\Software\Unreal Technology\Installed Apps\Deus Ex' /v Folder 2>/dev/null \
            | awk '{ if (sub("^[[:blank:]]*Folder[[:blank:]]*REG_SZ[[:blank:]]*","")) print $0 }' \
            | dos2unix
    )"

    # Fallback to 'C:\DeusEx'

    DEUS_EX_PATH="${DEUS_EX_PATH:-C:\\DeusEx}"

    printf "Using DeusEx (Windows) install path: '%s'\\n" "${DEUS_EX_PATH}"

    # Convert path from Windows to Unix format

    DEUS_EX_PATH="$(winepath -u "${DEUS_EX_PATH}" 2>/dev/null)"

    if [[ ! -d "${DEUS_EX_PATH}" ]]; then
         printf "DeusEx install path: '%s' ; does not exist\\n" "${DEUS_EX_PATH}" >&2
         exit 1
    fi

    # Patch settings to make the game work properly on OpenGL devices
    # Uses the default DeusEx install path (for the current WINEPREFIX)
    if ! sed -i -e '/FrameRateLimit=60/d' \
                  -e 's/^GameRenderDevice=.*$/GameRenderDevice=OpenGLDrv.OpenGLRenderDevice/g' \
                  -e '/^GameRenderDevice=OpenGLDrv.OpenGLRenderDevice$/a\FrameRateLimit=60' \
                  -e 's/FirstRun=.*$/FirstRun=1100/g' \
             "${DEUS_EX_PATH}/System/DeusEx.ini"
    then
         printf "Unable to update DeusEx.ini file: '%s'\\n" "${DEUS_EX_PATH}/System/DeusEx.ini" >&2
    exit 1
    fi

    printf "Successfully updated DeusEx.ini file: '%s'\\n" "${DEUS_EX_PATH}/System/DeusEx.ini"

  3. Make the script executable & run it:
    chmod +x fix_deus_ex_opengl.sh
    ./fix_deus_ex_opengl.sh
    (ensure your WINEPREFIX env variable is set)

Comments

The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

Real Fix that works 100% of the time
by Adam Smith on Thursday June 24th 2010, 14:57
First you head over to coding.hanfling.de/launch/ and download launch for Deus Ex. Extract all files (without a directory tree) to ~/.wine/drive_c/Program Files/Steam/steamapps/common/deus ex/System

Make a script that does:

cd ~/.wine/drive_c/Program Files/Steam/steamapps/common/deus ex/System
wine Launch.exe

Save it as de1. Then in a terminal you can make it executable then send it to /usr/local/bin for easy launch:

chmod +x de1 && sudo cp de1 /usr/local/bin

Then you may run it in it's full glory at any time with the command:

de1

Tested on 6/24/2010 on steam.
RE: Real Fix that works 100% of the time
by Adam Smith on Thursday June 24th 2010, 15:03
Actually that cd line for the script is:
cd ~/.wine/drive_c/Program\ Files/Steam/steamapps/common/deus\ ex/System/
New OpenGL renderer
by Pierce on Wednesday December 9th 2009, 19:05
Would the new opengl renderer at www.cwdohnal.com/utglr/ help the game run better with wine?
Twin view issue
by Bjørn Arild Mæland on Monday December 15th 2008, 8:19
With twin view, running the game from Steam forces the fullscreen resolution to 3360x1050, overwriting any changes I've done to the ini files. It works well in windowed mode, though.
Speed issue
by Heath on Sunday July 27th 2008, 7:41
To fix the speed issue (game running too fast/inconsistent speeds/audio queues wrong) I needed to have both:

Vsync enabled (nvidia-settings)
-and-
Processor scaling off off (sudo /etc/init.d/powernowd stop)

This is on an amd64 6000+ with an 8800GT card.

Either one by itself does not do the trick. I do not need to set processor affinity once this is done - and using -cpuspeed=XXXX is not an adequate fix either.
processors
by Jason W on Saturday May 10th 2008, 2:05
I run this game in wine on a dual core processor all the time. I've never bothered with setting affinity.

The problem this game has on newer processors is their sheer speed (or rather, the sheer speed of the computers containing them). I don't mean the dynamic clockspeed (which one has to work around by ensuring the clockspeed is the same when playing as it was when the game was launched).

I simply mean that Deus Ex is rendered too fast. When the FPS get too high, it flips out. Same with Unreal Tournament (even with the native client). This is a cross platform issue. It is easily worked around by turning on vsync.

For nVidia: run nvidia-settings. OpenGL Settings -> check "Sync to VBlank".

I think this issue is somehow confused as an affinity issue, since dual core processors tend to be newer and in machines with faster cards etc etc thus are more likely to run this game with high enough FPS to cause a problem. AFAICS though numer of cores is irrelevant. Just keep your clockspeed constant, and your FPS limited (to 60, or 75, or whatever your monitor refresh rate is - with vsync).

Of course, part of me wonders why so many people report success after setting affinity. It is a mystery. The above works for me at any rate.
RE: processors
by Jason W on Saturday May 10th 2008, 2:11
So yeah, obviously the affinity thing could be a third issue, and one that I've never encountered for whatever reason. Whether 2 or 3 issues, there are easy workarounds for all of them.

Re: the clockspeed thing - on my core 2 duo, Deus Ex doesn't tax the processor enough to cause it to bump up to full speed, so I don't have to worry about manually setting clockspeed to be constant. It was an issue on older dynamic speed processors though.

Now, if someone was running something in the background and it was fully occupying a core, and that core was running at a faster speed than the one running DX (possible) I can see how not having the process not nailed to a specific core could be weird. If running something in the BG, some combo of affinity setting and clockspeed constant setting would probably be good ;)
Back