Oblivion talk:Linux

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search

Main menu movie causing crash?[edit]

I've had a couple of people mention to me that after removing the intro movie lines from their oblivion.ini that they still can't the game to launch without crashing. After removing/renaming the video folder, it's worked fine.

I'm pretty sure that there's an entry in the ini that specifies what to play at the main menu. Perhaps changing that should be a part of the howto?

Cheeseness 21:50, 4 May 2007 (EDT)

Certain in game sound effects render static during audio mixing.[edit]

Text says "Turn down the Audio 'Effects' slider to 25% and all other Audio sliders to 100%, and set 'Master' to desired level. This will enable you to still hear hits/attacks/magic/etc and the static will be unaudiable if you're using speakers. Voice and footsteps are not affected by the mixing bug."

I have sent a fix for this, seems it will be integrated in 0.9.38 of wine (http://source.winehq.org/git/wine.git/?a=commit;h=236035894407181e75d149aae71eda56c4936841).

Music ON and "savegames diseapears"[edit]

My savegames were still disapearing with wine 0.9.37 and Obblivion 1.2. I did trace it down to Music being ON (which causes zillions of open files). Can you ask people to turn music off oblivion.ini if they experience this issue ? thanks.

More Music Issues[edit]

In any of the non-non-free distro versions of Wine (Fedora, etc.), there is no mp3 support. Even with later versions of Wine, music will still not play. There's two options: remove Wine and install it from WineHQ rather than the supported repos, or use something like ffmpeg to convert all the mp3s to wavs (some of them, such as success and death, need to be renamed back to mp3 to be picked up properly).

I'm not sure how to integrate this information into the howto, but I think it's important for people to know.

- Cheeseness 05:01, 9 October 2007 (EDT)

Fixed black screen with HDR, other notes on graphics and such[edit]

I'm using a 8800GTS and wanted to use HDR, but regardless of wine version, it didn't work. I found this, though:

http://www.planetoblivion.de/NIBLEwiki/en/index.php/Black_Screen

With that, HDR worked! Except, I can't force HDR+FSAA, even though I'm using an 8800. People tell me getting this working is finally possible on the 8XXX series nv cards, but I haven't managed it, so I'm sticking to bloom+FSAA because the AA is more important to me than HDR. (Actually, when I force FSAA, it does work, but it applies to very few things: the UI and the character model that appears when you hit tab are the only two, I think.)

Other notes:

  • I'm using wine 0.9.38. All of the other versions gave me problems--but the latest
  • Bloom gave me no problems.
  • The refraction shader also does not cause problems for me.
  • I couldn't enable FSAA in the menus, so I tried forcing it in nvidia-settings; this turned it on in a couple contexts (character view when you hit tab) but not most. Then I set iMultiSample=4 in the ini, set it u-w so Oblivion wouldn't overwrite that setting, *and* forced it in nvidia-settings. This enabled FSAA in most contexts, including actors, water, objects, buildings, and grass. There's still no AA on hair or trees, notably, but it looks very nice. 4x seems to have very little performance penalty, while 8x and 16x have *huge* drops in frame rate--I have no idea why that is, but even on this new video card I'm sticking to 4x.
  • I also force 16x anistropic filtering in nvidia-settings, which looks nice, and doesn't drop frame rate at all (I gather it just takes more video RAM?).
  • I have to use pbuffer if I disable HDR; fbo gives me black skies without it. I have to use fbo if I enable HDR, obviously.

So, it's really pretty! Here are the remaining problems as far as I can tell:

  • Water. Without HDR, it looks flat, but pretty; it has no ripples unless you make some! With HDR, it looks almost perfect, but it has huge straight lines going through it here and there.
  • No HDR+FSAA. (I gather this is a pain under Windows when it works at all!)
  • Trees still look funny part of the time. They look especially . . . horizontal, sometimes.

(Hmm, I need to sign up for an account or something. I'm new to wikis. Hope I'm not out of place putting this blob of text here! Hi!) -xtal

The huge straight lines are a bug that occurs with pbuffer and backbuffer. --71.229.85.207 16:57, 3 July 2008 (EDT)

OBSE[edit]

Is it possible to get the Oblivion Script Extender (http://obse.silverlock.org) working under Linux? It page faults for me:


OBSE: initialize (version = 13 010201A0)
plugin directory = C:\Oblivion\Data\OBSE\Plugins\
patched
wine: Unhandled page fault on read access to 0x00000010 at address 0x7ec98b1d (thread 000b), starting debugger...
Unhandled exception: page fault on read access to 0x00000010 in 32-bit code (0x7ec98b1d).
Register dump:
{snip}
Stack dump:
{snip}
Backtrace:
=>1 0x7ec98b1d CreateMenu+0x3d() [/build/buildd/wine-0.9.46/dlls/user32/user_private.h:39] in user32 (0x0034efb4)
  2 0x7eca028b MENU_GetSysMenu+0x2b(hWnd=0x10024, hPopupMenu=<register EDI not in topmost frame>) [/build/buildd/wine-0.9.46/dlls/user32/menu.c:448] in user32 (0x0034eff4)
  3 0x7eca05aa SetSystemMenu+0x4a(hwnd=<register EDI not in topmost frame>, hMenu=0x0) [/build/buildd/wine-0.9.46/dlls/user32/menu.c:4081] in user32 (0x0034f014)
  4 0x7eccf75b WIN_CreateWindowEx+0x12fb(cs=0x34f498, classAtom=0x8002, flags=0x20) [/build/buildd/wine-0.9.46/dlls/user32/win.c:1007] in user32 (0x0034f274)
{snip}
  10 0x7ecabb3c MessageBoxIndirectA+0xac(msgbox=<register ESI not in topmost frame>) [/build/buildd/wine-0.9.46/dlls/user32/msgbox.c:454] in user32 (0x0034f744)
  11 0x7ecabc3f MessageBoxExA+0x5f(hWnd=0x0, text=0x18112f3d, title=0x18112eef, type=0x40010, langid=0x0) [/build/buildd/wine-0.9.46/dlls/user32/msgbox.c:391] in user32 (0x0034f784)
  12 0x7ecabc8a MessageBoxA+0x3a(hWnd=0x0, text=0x18112f3d, title=0x18112eef, type=0x40010) [/build/buildd/wine-0.9.46/dlls/user32/msgbox.c:359] in user32 (0x0034f7a4)
  13 0x0040e2c6 in oblivion (+0xe2c6) (0x00000000)
0x7ec98b1d CreateMenu+0x3d [/build/buildd/wine-0.9.46/dlls/user32/user_private.h:39] in user32: movzwl  0x10(%esi),%edi
Unable to open file '/build/buildd/wine-0.9.46/dlls/user32/user_private.h'
Modules:
{snip}
Threads:
{snip}
OBSE: deinitialize

I'd love some help; I really want to install Deadly Reflex and Stealth Arsenal! Thanks! 121.45.203.71 07:01, 3 January 2008 (EST)


I once emailed the developer of OBSE, Ian Patterson, about this issue. He said the following in his response:


This appears to be a discrepancy between the Windows implementation of the DLL dependency handler/loader and the Wine implementation. Unfortunately I don't have a linux install to test this on, but my first guess would be that calling CreateProcess with the CREATE_SUSPENDED flag set leaves the new process' loader critical section locked until the main thread is resumed.

The loader works in a pretty straightforward way:

- create the new process with CREATE_SUSPENDED
- VirtualAllocEx some executable memory in the new process to store enough code for "jmp LoadLibraryA" and a null-terminated string pointing to our DLL (in a perfect world we would just point the thread entry point straight at LoadLibraryA, but this makes some virus scanners explode, literally)
- use CreateRemoteThread to create a thread in the new process pointing to the injected code, setting the parameter to the thread function to the DLL path in the new process (conveniently the calling convention and signature of thread entry points and LoadLibrary are exactly the same)
- wait for the thread to terminate, signifying that the DLL has been loaded
- clean up

This sequence requires that processes not be holding the loader lock immediately after creation.

I've also reported this on the Wine Application Database, although whether or not the issue will be fixed remains to be seen. --71.229.85.207 11:58, 1 July 2008 (EDT)

Works with wine 1.1.33, Tested with Streamline 3.1 beta
Streamline initializes
but obse cannot detect key presses.
so streamline hotkeys dont work. any mod that has hotkeys wont be detected — Unsigned comment by 203.218.153.24 (talk) on 2 December 2009
Old question, but for anyone that comes here in search of answers: I've found OBSE to be working flawlessly since 1.1.32, which is the version I'm currently using. Every OBSE mod I've tried has had no problems at all. The only other version I've tested is 1.2, in which it also works without a hitch. I believe there were some regressions with Oblivion from 1.1.38 to something around 1.1.44 though, so I'd be wary with those versions. --Takark 23:43, 13 September 2010 (UTC)

Crashes on the first movie with Uriel[edit]

I have an Asus Laptop with 2GB RAM, 2.12GHz Intel Centrino Duo, and an ATI Radeon 256MB x1600 card.

I have tried a lot of different things to get Oblivion working but it keeps crashing after loading from hitting the "New" button. At first it was stuttering through the Emperor's movie/speech at the beginning before you get to choose your character and then crashing once it had finished. I tried lowering the screen res to 640x480 and removing all rendering etc. but that hasn't helped. I also tried removing the speech from Oblivion.ini but then it just crashes as soon as it finishes loading rather than stuttering through the movie and then crashing.

I have played the game on Windows on this same machine but it kept (not just crashing, but actually) causing my machine to shutdown instantly even at the lowest possible performance levels. The only difference it makes lowering the performance is that it takes longer to crash.

I would love it if someone can tell me if they know what I'm doing wrong.

Your answer is in the wiki -- ATi cards are known to not work due to poor graphics drivers. Oblivion on Linux is pretty much only going to work on an Nvidia card. If ATi were to fix their drivers it would likely run fine. - Mongoose

Thanks for maintaining the wiki[edit]

I enjoy peeking in and seeing how things are going ever so often. Keep up the good work. =) - Mongoose

Fixing resolution after crash-on-exit[edit]

Thanks to the great instructions on this page, I was able to get Oblivion running on Linux. Yay! It actually runs BETTER under Wine than it does in native Vista... I honestly didn't know that there was in-game speech, because I never heard it before today.

One small annoyance I had was that, while the game itself ran great, it always crashes when I exit, which messes up my desktop resolution. I found that adding the following line to the very bottom of Oblivion.sh will fix the problem: xrandr -s 0 This is on Ubuntu Gutsy; hopefully it works on other distros as well.

One small suggestion: when creating the startup script, it's good to comment out the WINEDEBUG variable until you get things working. I was confused for a while because the game would crash after I clicked "Start" and the only thing in the console was a complaint about AMD64, which turned out to be a red herring. After I turned debugging back on, I found out that it was because I had copied over the wrong DX DLL (x64 instead of 32), and could get up and running quickly.

Thanks again for the awesome resource... back to playing! —The preceding unsigned comment was added by 64.32.189.30 (talkcontribs).

Another way to approach the resolution problem is to just enable the virtual desktop in WINE settings. There's far enough Windows games that have the potential to mess up the resolution setting, but if they can only mess up the virtual desktop window, no harm gets done =) And yes, not disabling the debug output is pretty smart before the thing runs reliably. --Wwwwolf 13:30, 22 April 2008 (EDT)

More Control Issues[edit]

First I cannot use Shift+w+d to run forwards and move right at the same time, however, Shift+w+a does work. Especially annoying when riding a horse and I cannot make right turns without stopping running or moving forward (also stopping running).

Second, Caps Lock to always run does not work.

At least these two control issues show up on my system 65.41.115.64 16:15, 22 May 2008 (EDT)Jarrod

This is a keyboard problem with the key combination signal path called "masking". Certain simultaneous key presses will "ghost" or "mask" the output due to the circuitry design. You can fix the problem by investing in a better keyboard. Pretty much any USB keyboard will do, but I recommend the G15 from Logitech or some similarly over-the-top typing device. Alternatively, remap the movement keys to something different.
Caps Lock could have a conflict with wine's DirectX, or if you cannot use it completely it might be something else. I would upgrade wine first, and Compiz if you are using that. Lukish_ Tlk Cnt 02:19, 25 October 2008 (EDT)
For me, running in a virtual desktop and alt-tabbing out, Caps Lock sometimes doesn't work but pressing it repeatedly eventually works. 69.166.47.137 20:18, 15 November 2009 (UTC)

More Magic Issues[edit]

Could not get detect life to work, I ended up downloading a Mod to use different shaders and now can use the spell. (I used [Kasdar's Detect Life Shader] http://www.tesnexus.com/downloads/file.php?id=3529) in case anyone was wondering or had the same issue, other mods may fix this too)

Duration effects, such as fireball spells that show the opponent burning while the spell is active, do not have any indication (besides health bar decreasing) that the spell is still active. Poisoned characters do show dark green shading while poisoned.

Again, at least on my system, perhaps someone can confirm that this is or is not common? 65.41.115.64 16:23, 22 May 2008 (EDT) Jarrod

Fassscinating. Because I don't, on a stock game, get any effect at all on Detect Life either. I'll test it one day. If you want, this definitely should go in the article somehow... --Wwwwolf 07:37, 5 June 2008 (EDT)

Horse Armor crash[edit]

Okay, I made the mistake of getting the horse armour and now I'm crashing like hell. The tip on the page tells to disable animation threading; I'm dumb (or just blind or just lacking grep-fu) and can't find the exact Oblivion.ini setting to do this. What is it? Also, someone in Wine Bugzilla is asking if this is still an issue in 1.0rc3; I can't confirm or deny it myself because it hasn't yet hit Debian and I have rc2. --Wwwwolf 07:37, 5 June 2008 (EDT)

Addendum: Tested, and still crashes with 1.0rc3. --Wwwwolf 13:29, 10 June 2008 (EDT)
Just done a quick check and horse armour no longer seems to crash in Wine 1.2. I'd assume it'd be the same for later versions too, though I can't be sure. The only other version I've used is 1.1.32, in which it still causes a crash, so whether it was a version between 1.1.32 and 1.2 that fixed it, I do not know. --Takark 12:46, 14 September 2010 (UTC)

Mounting Oblivion ISO Under Ubuntu Hardy[edit]

How do I mount the Oblivion ISO I ripped from the CD in Ubuntu Hardy? I tried cdrom1, but it said "No such mount point". I tried

sudo mount -o loop -t iso9660 /home/sam/Oblivion.iso /media/cdrom

and it seemed to work, but when I put in a different CD and opened the newly created drive (cdrom0) it had the contents of the inserted CD. The default mount script didn't work.

You must'nt use cdrom0. You can mount it on ANY folder. Then open WineCfg and on "Drives" tab create new drive. Write path to your folder. Then press "Advanced" button and select device type "CDROM". Now it will work. (Tested on Hardy 8.04.1) --92.113.159.79 16:21, 16 August 2008 (EDT)

Moved: CD-ROM[edit]

how do i get elder scrolls 4 oblivion to work with a CD-ROM--unknown

It already does work, just insert the disc and load Oblivion.--Sam324 17:31, 15 August 2008 (EDT)

Advice[edit]

(comment moved from the Installation and Setup Considerations section)
(Hiding TransGaming advertisement, adding external links to Wine forked products.) Lukish_ Tlk Cnt 22:40, 7 November 2008 (EST)

Alternatively, you can try your luck on openmw (which is still mostly alpha), the native open-source Unix reimplementation of the Morrowind core engine. Both variants are much easier than to fuss around with the stuff stated below. 84.144.12.42 03:35, 6 November 2008 (EST)

Moved due to an overly-chatty style (and even a siguature) inappropriate to an article –RpehTCE 04:47, 6 November 2008 (EST)

Does anyone want to start an OpenMW article? http://openmw.snaptoad.com/ looks promising. Lukish_ Tlk Cnt 22:40, 7 November 2008 (EST)

Installing under Wine 1.0.1[edit]

I was not able to install Oblivion under Wine version 1.0.1, but I was successful using version 1.1.11. Using the terminal, Wine returned a large number of memory pointers ad halted. I hope this helps someone else in their installation.

-Bizzako, Dec 31 2008, 00:58 MST

When I start the game, the main menu doesn't show me: New Game, Options, Load Game, Exit...ect.[edit]

I did everything correct with the wine installation and what not. When I start the game the main menu doesn't show me the options. They are click able because when I click where the option should be, the screen changes, but I can't see those options either. I alread figured out where the New Game button is. When I click it, the movie with the King starts. But if i press the Esc key (which is supposed to skip the movie) the game crashes. But if I wait until the movie is over, it just freezes. Please help me here. I payed $60 for this with the Nights of the Nine and Shivering Isles. I got it this passed summer and still didn't get it to work. Thanks

In-game-console not working[edit]

I can't get the in-game console to work, is there any workaround to do so? I need it because I ran into a bug in a fighters guild quest where I need to set the quest stage, but without the console, there's nothing I can do. UPDATE: after looking for the solution for half a day now I decided to post my question here. Five minutes afterwards I found the solution: "setxkbmap us" - I'll leave it here in case any other non-US-gamer runs into the same problem.

Oldblivion?[edit]

I'm not quite sure how Oldblivion works, but am I supposed to be seeing just a command prompt that quickly becomes flooded with hex, and then just vanished? Does it run in the background, or what? 71.227.228.205 14:18, 17 December 2009 (UTC)

New Wine Sound Bug[edit]

Versions of wine later than 1.0.37 either don't play sound at all, or only Music and Voice. This is apparently due to the change to using mpg123 for playing mpgs. There appears to be no fix in sight tor this. The wine bug for this is http://bugs.winehq.org/show_bug.cgi?id=21609

Still crashing at start[edit]

I've followed everything that I could in this HowTo. But every time I go to start Oblivion.exe, it crashes. I get one of those windows reports about it. I don't know how to view the Terminal data to share.

I really like Linux, but I wanna play games. I don't wanna go back to Windows.

Ubuntu 10.4 Wine 1.2

Please help.

--Alexander86

Can't get wine to get downloaded[edit]

So, I go to [1] and following either way on there it won't work anyone have an idea why?--The faithful 04:11, 25 September 2010 (UTC)

Oblivion Crashes on New Game[edit]

I've solved a number of bugs using this wiki, but I cannot find anything to help. When I start oblivion, the main menu comes up fine, but as soon as I hit the "new" button and "yes", the game freezes and crashes, taking Wine with it. I'm running Ubuntu 10.04 and Wine version 1.1.42. I know the game works with my hardware as I used to play it all the time on windows on this laptop. 203.129.51.126 23:43, 30 September 2010 (UTC)

 I solved this problem by using wineconsole instead of wine:  
    wineconsole OblivionLauncher.exe  
   wine exe only works with Oblivion.exe. Does anybody know why ?
Meknotek 04:27, 29 November 2010 (UTC)

Crash when actors are spawned by script[edit]

One frequent crash I've encountered occurs any time and actor or monster is spawned within view by a script. This has made some quests near-impossible to complete without some level of console hacking, if at all. For example, in the quest Breaking the Siege of Kvatch, I crash the moment I enter the city of Kvatch with Captain Mateus and the others. Other places I crash just as I enter, but before I can even see anything.

As well, some mods that use scripts to handle summoning will not work. For example, the summoning spells provided by the Hilarity mod, and some of the summoning spells from Magic of Midas (Midas Summon, in particular).

I have been unable to get any kind of debug information, so I don't really know what to do. Any help would be appreciated. --Falcata 02:09, 7 November 2010 (UTC)

Issues starting game[edit]

I have done every thing I could do and am now having issues trying to actually play the game. I can go to the main menu no problem, but if I try and start a new game the game freezes after the intro video. I even got a hold on an old save file from tesnexus but it crashes it instead. I am using Ubuntu 10.10 with an intel pentium dual-core

Manual Install[edit]

Added a manual install section, as wine can no longer do an install (secureROM problems). Tested here, hope that it works for you! Hangfire 20:00, 5 March 2012 (UTC)

Textures missing, poor fps[edit]

Start the game, stutters at each logo but then runs smoothly, start the game, my character is horribly textured! as well as everything else, any ideas? — Unsigned comment by 76.20.83.213 (talk) at 10:40 on 23 May 2012

Steam[edit]

Okay, let me start by saying that I'm probbly not as tech-savvy as i should be if I'm trying to do this anyway, but the entire reason I'm running linux is as a learning experience, so I've accepted I'm gonna hit some speed bumps. On to my question: does this guide work for the steam version of Oblivion? from what I can see its all for the disc version, which I happen to not have. If there is a steam version guide that I'm not seeing, then I'd love someone to point it out to me (and guide me through it :)), and if not, then I'd be more than happy to write one (with help, of course) thanks! 65.24.129.86 06:54, 17 December 2014 (GMT)