Mirror's Edge Guide

Discussion in 'Guides' started by booman, Aug 19, 2013.

  • by booman, Aug 19, 2013 at 1:50 AM
  • booman

    booman Grand High Exalted Mystic Emperor of Linux Gaming Staff Member

    Joined:
    Dec 17, 2012
    Messages:
    8,347
    Likes Received:
    627
    Trophy Points:
    113
    Location:
    Linux, Virginia
    Home page:
    Jump across the elaborate rooftops performing death-defying stunts as Grace in Mirrors Edge. Reaction and timing plays a huge role as you jump, slide, climb and scale buildings running from swat teams. Reveal the complex plot as you help your sister in a murder mystery.

    mirrors50a.png

    Follow my step-by-step guide on installing, configuring and optimizing Mirror's Edge in Linux with PlayOnLinux.

    Note: This guide applies to the Steam version of Mirror's Edge. Other versions may require additional steps.

    Tips & Specs:

    Try SteamPlay before using this guide as Valve now uses a fork of Wine called Proton and should run most Windows games.


    To learn more about PlayOnLinux and Wine configuration, see the online manual:
    PlayOnLinux Explained


    Mint 14 32-bit
    PlayOnLinux: 4.2.1
    Wine: 1.7.8

    Installing Wine

    Click Tools
    Select "Manage Wine Versions"
    wine01.png

    Look for the Wine Version: 1.7.8
    Note: Try using stable Wine 1.8 and 1.8-staging

    Select it
    Click the arrow pointing to the right
    wine02.png

    Click Next

    PlayOnLinux will automatically download it and save it in this directory:
    /home/username/.PlayOnLinux/wine/linux-x86
    wine03.png

    Note: username is where you put your login name

    Its a good idea to backup this directory to another computer because you won't have to keep downloading wine versions when you need them.

    Extracting

    Downloading Gecko
    wine05.png

    Installed
    wine06.png

    Wine 1.7.8 is installed and you can close this window

    Downloading Steam

    Go To: http://www.steampowered.com
    Click Install Steam
    mirrors01.png

    Do not click "Install Steam Now" it will automatically install Linux Steam.
    Since Mirrors Edge isn't made for Linux, we will download the Windows Steam instead.
    click "Windows" under the green button
    mirrors02.png

    Navigate to your desktop
    Click Save
    mirrors03.png

    Setup PlayOnLinux

    Launch PlayOnLinux
    Click Install
    mirrors04.png

    Click "install a non-listed program"
    mirrors05.png

    Click Next

    Select "Install a program in a new virtual drive"
    Click Next
    mirrors07.png

    Name you virtual drive: mirrorsedge
    No spaces
    Click Next
    mirrors08.png

    Select all three options:
    • Use another version of Wine
    • Configure Wine
    • Install some libraries
    Click Next
    mirrors09.png

    Select Wine 1.7.8
    Click Next
    mirrors10.png

    Note: If you are running a 64-bit system, PlayOnLinux will prompt if you want to use a 64-bit or 32-bit virtual drive.
    Always select 32-bit virtual drive.

    Configure Wine

    Applications Tab
    Windows Version: Windows XP
    Click Apply
    mirrors11.png

    Graphics Tab
    Check: Automatically capture the mouse in full-screen windows
    Check: Emulate a virtual desktop
    Desktop size: 1024x768
    Click Ok
    mirrors12.png

    Install Libraries

    Check the following libraries:
    • POL_Install_corefonts
    • POL_Install_d3dx9
    • POL_Install_Physx
    • POL_Install_registeredfonts
    • POL_Install_tahoma
    • POL_Install_vcrun2005
    Click Next
    mirrors13.png

    Installing Steam

    Click Browse
    mirrors15.png

    Navigate to your desktop
    Select: SteamInstall.msi
    Click Open
    mirrors16.png

    Click Next

    Click Next

    Check: I accept the license...
    Click Next

    Click Next

    Click Next

    Click Install

    Click Finish

    Updating Steam
    mirrors24.png

    More updating, extracting and installing
    mirrors25.png

    When Steam is done installing the login screen will pop up. You probably won't see any text because there is a font bug.
    Click the "X" to close Steam login

    PlayOnLinux Shortcut

    Select Steam.exe
    Click Next
    mirrors31.png

    Name your shortcut: Steam
    Click Next
    mirrors32.png

    Select "I don't want to make another shortcut"
    Click Next
    mirrors33.png

    More PlayOnLinux Configuration

    Back to PlayOnLinux
    Click Configure
    Select Steam virtual drive

    General Tab
    Arguments: -no-dwrite -no-cef-sandbox
    This fixes the missing font and store problem
    mirrors34.png

    Note: -no-dwrite only works if you launch Steam from PlayOnLinux. Steam is automatically set to launch when Windows starts, which means if you do a "Windows Reboot" from the Wine tab -no-dwrite won't execute. Just close Steam and try again.

    Display Tab
    Direct Draw Renderer: opengl
    Video Memory Size: size of memory on your video card
    Offscreen rendering mode: fbo
    mirrors35.png

    Wine Tab
    Click "Windows reboot"
    Close Steam because it will automatically launch when Windows reboots and won't execute -no-dwrite.
    mirrors36.png

    Close Configure

    Installing Mirrors Edge

    Select Steam
    Click Run
    mirrors38.png

    When you select the Steam icon you will probably get this pop-up error
    Just click OK and continue
    mirrors37.png

    Login with your Steam account

    Select Mirror's Edge
    Click Install
    mirrors39.png

    Click Next

    Click "I agree"

    Uncheck: Create start menu...
    Uncheck: Create desktop shortcut...
    Click Next

    Click Finish

    Mirror's Edge will begin downloading

    Launching Mirror's Edge

    Select Mirror's Edge
    Click Play
    mirrors45.png

    Click Play
    mirrors46.png

    Optimizing

    Click Options
    mirrors47.png

    Click Video
    mirrors48.png

    Mirror's Edge automatically set my graphics setting according to my GeForce 550 Ti performance capabilities.
    If you game runs slow, try lowering the Resolution, Texture Detail and Graphics Quality.
    Vertical sync can remove screen tearing, but lowers your frames per second
    Physx can also slow down frame per second (specially when lots of glass breaks) so make sure to turn it off.
    Depending on your video card and memory, you will need to adjust these settings and then try playing the game.

    Click Save Settings
    mirrors49.png

    Conclusion:
    WineHQ test results will tell you that Mirror's Edge runs slow and has to be set on the low settings, but I was able to run it at 1680x1050 resolution and all the settings on high.
    The game performed perfectly and frame rates were very smooth. Don't forget to turn off Physx otherwise you will get some extremely low frame rates when glass is broken.
    I recommend at least a GeForce 550 Ti or newer to get good performance.

    Not to mention Mirror's Edge is pretty intense and fun! Reminds me of Assasin's Creed as you run, jump and climb around the skyscrapers.

    Screenshots:

    mirrors51a.png

    mirrors52a.png

    mirrors53a.png

    mirrors54a.png

    mirrors55a.png


    mirrors56a.png

    mirrors57a.png

    mirrors58a.png

    mirrors59a.png

    mirrors60a.png
    Last edited: Dec 12, 2019
    ILDPRUT and danrok like this.

Comments

Discussion in 'Guides' started by booman, Aug 19, 2013.

  1. booman
    High Res Screenshots:

    mirrors50.png mirrors51.png mirrors52.png mirrors53.png mirrors54.png mirrors55.png mirrors56.png mirrors57.png mirrors58.png mirrors59.png mirrors60.png
  2. booman
    I'm still playing Mirror's Edge. Fantastic game! Very intense...
    I'm in the middle of chapter 7 and have to fight hand-to-hand with another runner.
  3. booman
    I finished Mirror's Edge! Amazing game!
    No big boss at the end, which made me very happy. I'm tired of the big bosses where I die so many time that I eventually give up and consider the game "done"

    Its was shorter than expected, but still a great game in my book!
    And works great in PlayOnLinux. I give it a 10 for sure
  4. danrok
    I like the visual look of this game.
  5. booman
    Me too! At first when I saw screenshots I thought "a bunch of white buildings is going to get really boring" but after playing it, there is a lot of detail in the white buildings and areas with color really stand out.
    There are also color cues to help you too.
    Amazing game and very action packed!
  6. ILDPRUT
    It isn't working for me :/
    I did everything what the guide said, but still no luck. It just crashes when it tries to load the main menu of the game. I have also tried to use the newest version of wine. I use Ubuntu 12.10 64-bit (Virtual drive is 32-bit. Not sure if it's because the 32-bit virtual drive and my 64-bit computer don't work very well together). Maybe it's because I need some other packages, but I wouldn't know which ones to get. I tried to disable the in-game overlay too. Any help would be nice :)
  7. allenskd
    Please post debug logs if you have them, it's really hard to know what's wrong without output logs :[
  8. ILDPRUT
    http://pastebin.com/ktVrs363
    It doesn't seem to actually crash, but instead it becomes blank. The debugger only outputted for Steam when it was launching, not sure if it will be of any help to solve the problem. I'm pretty new to using PlayOnLinux/Wine for this kind of stuff.
  9. ILDPRUT
    (↑Forgot to use reply, oops↑)
    http://pastebin.com/ktVrs363
    It doesn't seem to actually crash, but instead it becomes blank. The debugger only outputted for Steam when it was launching, not sure if it will be of any help to solve the problem. I'm pretty new to using PlayOnLinux/Wine for this kind of stuff.
  10. ILDPRUT
    Saw something about Mirror's Edge in the logs when I had force closed the Wine instance. Not sure if it's just because it was force closed.
    http://pastebin.com/0HM24ND8
  11. booman
    Nothing major in your output.
    Have you tried Disabling the In-Game Community overlay?
    This is known to crash all kinds of games...

    Overlay
    Steam update also broke the In-Game Community overlay for some games. If your game won't launch, crashes or just won't play after installing, try disabling it:

    Click Steam menu
    Click Settings
    [​IMG]

    Select "In-game"
    Uncheck "Enable Steam Commuinty In-Game"
    Click OK
    [​IMG]
  12. ILDPRUT
    Already tried that.
    But what I think might cause the crash is this:
    err:d3d:wined3d_debug_callback 0x1acfe678: "glPointSize parameter <size> has an invalid value 'nan': must be greater than 0.000000 (GL_INVALID_VALUE)".
    err:d3d:state_pscale >>>>>>>>>>>>>>>>> GL_INVALID_VALUE (0x501) from glPointSize(...); @ state.c / 1572

    But then again, I'm not enteriely sure.
    And another weird thing is that it doesn't show all the logoes when the game starts, it immediately starts loading the main menu, which could cause some problems.
  13. booman
    Are you using an AMD or Intel video chip?
    I've seen those produce GL errors in the past. Also make sure you are using Wine 1.6.2 or 1.7.8 or newer
  14. ILDPRUT
    I'm using AMD (Radeon HD 6400M/7400M Series). I have searched around and seen it has been a problem, but I never found a solution. I have tried both Wine 1.7.8 and 1.7.13, but none of them worked.
  15. booman
    Dang, that is what I feared. Chances are... it is related to a driver problem. I can't verify that because all of my computer has Nvidia.
  16. tsester
    Thnx a lot for the guide! getting 20~21 FPS in the first run part of the practice.
  17. booman
    Thanks for the confirmation. Are you using the version of Wine in the guide, or did you try a newer version?
  18. tsester
    I'm using 1.7.55. I also tried 1.9.19 but i got ½-1FPS less so i stuck with the former.
  19. booman
    Try the Wine 1.9.19-staging and you will probably see some improvement in performance

Share This Page