The Elder Scrolls IV: Oblivion
Version 1.2.x (GOTY, with Shivering Islands downloadable content or official 1.2 patch)
Everything, even alt-tabbing!
What does not
What was not tested
Well you absolutely need to perform some tweaks before the game can run on Debian. You need to override the quartz DLL to native and disable winegstreamer. If you do this then the game will run as it should. Otherwise you won't even be able to get into the main menu. The first time I booted up the game (After the tweaks) the characters' skin was black. After reinstalling my system the skin was colorful as it should be. No idea why. Bug report 20074 in the "Known bugs" section discusses this. Their fix of overriding that DX DLL renders the game unusable for me, so don't do that! Perhaps it may be useful to say that the game ran without any tweaks on Xubuntu 16.04 with the same Wine 2.9. Debian's version of Wine seems to be compiled with different options.
|Operating system||Test date||Wine version||Installs?||Runs?||Used|
|Show||Debian 10.x "Buster"||May 19 2020||5.0||Yes||Yes||No||Silver||Alexander|
|Show||Arch Linux x86_64||Jan 02 2018||3.0-rc4||Yes||Yes||No||Platinum||Heinrich Bormann|
|Current||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|
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"