The Elder Scrolls IV: Oblivion
Version 1.2.x (GOTY, with Shivering Islands downloadable content or official 1.2 patch)
Everything in single-player mode.
What does not
Water does not render properly (purple).
What was not tested
I used Wine 1.1.33 as sound effects don't work for me in later versions (and I tried toggling between OSS and Alsa). I have an Nvidia graphics card with the proprietary driver 195.36.15 installed. Steps to install: 1) Setup wine with winecfg. I use a separate WINEPREFIX for each game to keep the environments separate for each application I install. For the graphics tab I have "Allow window manager to decorate windows" and "Allow window manager to control windows" checked, and "Allow DirectX apps to stop mouse leaving window" and "Emulate a virtual desktop" unchecked . For the audio I only have Alsa checked. Other settings should be your normal preferences. 2) Mount the cdrom and run the installer on the first disk with wine /setup.exe. Allow installer to create a shortcut on your desktop (nice to have for a later step). Then run the installer on the second disk to install the add-ons. 3) To get music functioning install the quartz dll with winetricks directx9. The d3dx9 package doesn't give you the quartz library and you need to override the wine implementation (winetricks does this for you automatically so you don't have to in winecfg). 4) Run regedit. Create a key under HKEY_CURRENT_USER\Software\Wine\Direct3D. Right click on the key and select "new String value". Create these name-value pairs: DirectDrawRenderer->opengl, Multisampling->enabled, VideoMemorySize->512. These values worked for me, but if you have problems delete the DirectDrawRenderer and Multisampling string values (these are to enhance performance). See http://wiki.winehq.org/UsefulRegistryKeys for more details. 5) Find the Oblivion.ini file (under ~/Documents/My Games/Oblivion) and make these changes: SIntroSequence= bUse Joystick=0 bUseWaterShader=0 bForce1XShaders=0 bSaveOnTravel=0 bSaveOnWait=0 bSaveOnRest=0 bSaveOnInteriorExteriorSwitch=0 for more info see here: http://www.uesp.net/wiki/Oblivion:Linux 6) Run the game from the command line with wine "C:\Program Files\Bethesda Softworks\Oblivion\OblivionLauncher.exe". My video settings are as follows, feel free to change them however you want. Distant Land: off, Shadows: off, HDR Lighting: off, Bloom Lighting: on, Water Detail: normal, Water Reflections: off, Water Ripples: off, Window Reflections: off, Anti-Aliasing: off. 7) Edit the Oblivion.desktop file under (~/Desktop/Oblivion.desktop). For the line starting with Exec=, change it to this: Exec=env WINEDEBUG=-all wine "C:\\Program Files\\Bethesda Softworks\\Oblivion\\OblivionLauncher.exe". This turns off debugging which should help performance. 8) If you don't already have a menu item to launch Oblivion, here's how I created one in KDE 4.3.5. Right click on the K menu launcher and select the Menu Editor. Open up dolphin, navigate to the Oblivion.desktop in step 6 and drag it into the menu launcher. Enjoy.
|Operating system||Test date||Wine version||Installs?||Runs?||Used|
|Show||Arch Linux x86_64||Jan 02 2018||3.0-rc4||Yes||Yes||No||Platinum||Heinrich Bormann|
|Show||Debian GNU/Linux 8.x "Jessie" x86_64||Jun 06 2017||2.9||Yes||Yes||Gold||Centrino|
|Show||Debian GNU/Linux 8.x "Jessie" x86_64||Mar 16 2017||2.3||Yes||Yes||Platinum||Arthur Nismo|
|Show||Arch Linux x86_64||Jan 24 2017||2.0-rc6||Yes||Yes||Gold||Justin Kinnaird|
|Show||Arch Linux x86_64||Apr 19 2016||1.9.8||Yes||Yes||Platinum||llde|
If you're using WINE version 1.3.x or above, you can launch the game without any native DirectX DLLs, but bug #20074 is still actual for now, therefore installing DirectX9 or just placing d3dx9_27.dll to your drive_c/windows/system32 directory would be preferable.
Since stable release 1.2.1 Oblivion Game of the year works stable on many popular distros.
Although, if you're running older WINE or have some regression issues, you can use some tips listed below.
Prior running the game,you will need to obtain d3dx9_27.dll. You can obtain it using winetricks
Or you can get this from the DirectX supplied with Oblivion like this (guide adapted from http://uesp.net/wiki/Oblivion:Linux):
Âcp d3dx9_27.dll ~/.wine/drive_c/windows/system32/
If the game fails to start, try renaming the Video folder in the Data directory. The videos should work since Wine 0.9.45.
Alternatively you can enter the Video directory and remove some specific files that could cause a crash. my Video folder currently contains these files: 'bethesda softworks HD720p.bik', ' Map loop.bik', 'OblivionOutro.bik' ,'CreditsMenu.bik' and 'Oblivion iv logo.bik'; and works fine with an unaltered main menu screen.
Currently it's needed to enter some additional registry entries into Wine manually prior running the game. VideoMemorysize to the memory size your video card has. Optional key is OffscreenRenderingMode, where value 'fbo' is recommended and value 'pbuffer' has best results. See the example .reg file below:
pbuffer is only recommended if you are using 0.9.38. Should you choose to use pbuffer instead of fbo, you may have to switch off refraction shader in game's Oblivion.ini file to workaround bug 8184.
Users of ATI cards may have to set the following in Oblivion.ini to prevent it from producing solid colors on the screen.
If you experience game freezes on combat start or combat end, these are related to music change. Try loading native quartz.dll instead of Wine one. Or workaround by setting the following in Oblivion.ini
If you are having problems, or would like more info on running The Elder Scrolls IV: Oblivion more smoothly, please see the Oblivion Linux Wiki.
When you paste the comment about game graphic lag or other issue, please write your system information within the comment text!
For example, under GNU/Linux you can use following commands:
$ uname -a
$ wine --version
$ lspci | grep -i vga
And paste the output with system hardware info to the comment text. Nobody can help you without this essential information!
If you have tested newer version of WINE, you can process some next lines to test bug #20074 presence:
$ mkdir /tmp/mywinejail
$ export WINEPREFIX="/tmp/mywinejail"
$ wine "C:\MyProgram.exe"
This lines creates EMPTY directory in /tmp and your program starts without any overrides, in a FULLY CLEAR WINE PREFIX.
For our OBLIVION you can process something like that:
[assume that Oblivion prefix is "~/.wine"]
$ cp -PR ~/.wine /tmp/mywinejail
$ rm -rf /tmp/mywinejail/drive_c/windows*
$ export WINEPREFIX="/tmp/mywinejail"
$ wine "C:\Program Files\Oblivion\OblivionLauncher.exe"