Monthly Archives: January 2012

You are browsing the site archives by month.

Running Skyrim in Linux with WINE

A few days ago my cousin asked me to try and get Skyrim running for him on his Linux install using WINE.

I have previously gotten RIFT working on my Linux system flawlessly using WINE.

He gave me an ISO file, (probably from ill-gotten sources), and I proceeded to install from that.

Using winetricks I installed what all the other sites told me to install:

d3dx9_42
vcrun2008
xact

Then I ran the SkyrimLauncher.exe using WINE. Clicking low settings to start works, and then I click play… Nothing happens. Throws a minor error but nothing big. Ok…

So then I run TESV.exe directly, game loads in a virtual desktop as I had it setup, acting as its full screen (and annoyingly keeping my mouse inside the window). I click new game, and it sits at a black screen with gray fog floating from the bottom with the Skyrim symbol in the center of the screen. Hmm.

Well after poking around with some debug, for a few hours, I realized that the game is actually running from the Z: drive per this wine prefixes setting, and that I needed to tell it “Hey your actually running from the C: drive.”.

I looked quickly but could not find out how to force programs to run from C: in a wine config, so I created a simple command file “skyrim.cmd” file like the batch files of olde’ and inside I put the lines:

C:
CD \Program Files\Skyrim
TESV.exe

I saved the file inside my ~/.wine_skyrim/drive_c folder, and then to run the game I ran:

WINEARCH=win32 WINEPREFIX=~/.wine_skyrim wine cmd.exe /c ~/.wine_skyrim/drive_c/skyrim.cmd

Which actually ran my script, running wine at a Windows Command line, and then changed to the ‘fake’ C: drive, changed directories and ran the program.

The game runs, and then I click play. Boom, I am reading the story and it’s all working. I need to start the tweaking stage with the wine registry Direct3D entries but if anyone else has the black screen with fog try doing what I did.