The forum

Skyrim Doesn't Start

Author Replies
Richie Monday 8 April 2013 at 1:40
RichieAnonymous

Hello all!

I installed the Steam version of Skyrim, and I'm having an issue with it.  The window comes up where you can select Play, but when I select Play, Skyrim fails to launch.  In the debug window, this is what comes up at that point:

err:module:import_dll Library X3DAudio1_7.dll (which is needed by L"C:\\\\Program Files\\\\Steam\\\\SteamApps\\\\common\\\\Skyrim\\\\TESV.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\\\Program Files\\\\Steam\\\\SteamApps\\\\common\\\\Skyrim\\\\TESV.exe" failed, status c0000135

If there's any other information I need to give, please let me know.  Any idea how to fix this?
petch Monday 8 April 2013 at 7:27
petch

Hi,

For the first problem, try installing the xact component
(Configure button > select virtual drive > Install components tab > xact)

I'm surprized the install script didn't take care of that, though.
Valmar Monday 8 April 2013 at 9:23
ValmarAnonymous

No...it doesn't. :/

The Skyrim install script installs Steam, vcrun2008 and d3dx9...but not xact.
That's a problem...should happen automatically actually...for those who don't quite know what to do, but want it to automagically work...or something.

dxfullsetup installs it...so...I should add that to the Skyrim script...
petch Monday 8 April 2013 at 20:16
petch

booman Tuesday 9 April 2013 at 21:17
booman

Sweet! Thanks for posting problems on Skyrim. I still have not installed it, but plan to

† Booman †
Mint 21.3 64-bit | Nvidia 535| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
oldrocker99 Thursday 11 April 2013 at 17:23
oldrocker99

The Skyrim script from the Pol Install window worked perfectly for me last night, installed Steam, from within which I installed Skyrim, which ran (for the first time for me) perfectly.
Valmar Thursday 11 April 2013 at 18:48
ValmarAnonymous

Yes, it should do that very fine. Installation from the disk is another can of annoying worms. :P :(
booman Thursday 11 April 2013 at 22:50
booman

Ugh, don't say that... I have the DVD retail copy!
I'll post my results when I finally try it out

† Booman †
Mint 21.3 64-bit | Nvidia 535| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
Valmar Friday 12 April 2013 at 3:45
ValmarAnonymous

The best thing to do at the moment...while waiting for petch to review my latest script update...is use this slightly modified script:
#!/bin/bash
# Date : (2012-12-07 09:00)
# Last revision : (2013-04-08 20:14)
# Wine version used : 1.5.27 (PlayOnLinux)
# Distribution used to test : Chakra Linux 2013.02 Claire x86-64
# Original Author : GNU_Raziel
# Updated Script Author : Valmar
# Licence : Retail
# Only For : http://www.playonmac.com

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="The Elder Scrolls V : Skyrim"
PREFIX="Skyrim"
EDITOR="Bethesda Softworks"
GAME_URL="http://www.elderscrolls.com/skyrim/"
AUTHOR="Valmar"
[ "$POL_OS" = "Linux" ] && WORKING_WINE_VERSION="1.5.27"
# PlayOnMac playability needs testing for Wine version 1.5.27...
[ "$POL_OS" = "Mac" ] && WORKING_WINE_VERSION="1.5.27"
GAME_VMS="512"
STEAM_ID="72850"

# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/Skyrim/top.jpg" "http://files.playonlinux.com/resources/setups/Skyrim/left.jpg" "$TITLE"
POL_SetupWindow_Init

# Starting debugging API
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

# Downloading wine if necessary and creating prefix
POL_System_SetArch "x86" # For dotnet/mono
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# Choose between DVD and Digital Download version
POL_SetupWindow_InstallMethod "DVD,STEAM"

# Fix pulseaudio issue
which pulseaudio && Set_OS "win7"

# Installing mandatory dependencies
POL_Call POL_Install_steam
POL_Call POL_Install_vcrun2008 # Fix game issue
POL_Call POL_Install_dxfullsetup # Fix game crash

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

## Fix for this game
POL_Wine_X11Drv "GrabFullscreen" "Y"

# Increase performances
POL_Wine_Direct3D "UseGLSL" "disabled"

# Sound problem fix - pulseaudio related
[ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
[ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
## End Fix

# Mandatory pre-install fix for steam
POL_Call POL_Install_steam_flags "$STEAM_ID"

# Shortcut done before install for steam version
POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID"
POL_Shortcut "steam.exe" "Steam ($TITLE)" "" ""

# Allow for steam to update it's files
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine start /unix "steam.exe"
POL_SetupWindow_message "$(eval_gettext 'Steam is about to perform an update. After Steam finishes updating and shows you to the login interface, login (or register if you do not have an Steam account) and then when you get to the main Steam interface, close COMPLETELY the Steam interface so that the installation script can continue.')" "$TITLE"

# Just in case this continues when Steam closes, --allow-kill is useful.
POL_Wine_WaitExit "$TITLE installation" --allow-kill

# Begin game installation
if [ "$INSTALL_METHOD" == "DVD" ]; then
        # Asking for CDROM and checking if it's correct one
        POL_SetupWindow_message "$(eval_gettext 'Please insert the game media into your disk drive')" "$TITLE"
        POL_SetupWindow_message "$(eval_gettext 'When $TITLE installation is finished, do NOT click on Play.\\n\\nClose COMPLETELY the Steam interface, \\nso that the installation script can continue')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "The Elder Scrolls V- Skyrim_disk1_0.sid"
        ln -s "$CDROM" e:
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine start /unix "Steam.exe" -install e:
        POL_Wine_WaitExit "$TITLE"
else
        # Steam install
        POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished, do NOT click on Play.\\n\\nClose COMPLETELY the Steam interface, \\nso that the installation script can continue')" "$TITLE"
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine start /unix "Steam.exe" steam://install/$STEAM_ID
        POL_Wine_WaitExit "$TITLE"
fi

POL_SetupWindow_message "$(eval_gettext 'If the game crashes at startup, open a terminal and type:\\necho 0|sudo tee /proc/sys/kernel/yama/ptrace_scope')"
POL_SetupWindow_Close
exit 0


In the current script, I had it linking to s: instead of e: but then to my horror I discovered that Steam/Skyrim WANTS to be linked to e: for some absurd reason or it would just hang forever not doing anything at that part of the script...do not ask me why. :P

Just copy that into a blank text file, save it and run it from PlayOnLinux as a local script. Hopefully petch will review it soon...

And the script should run fine.

If not...for any reason, go to the Script section of the Bugs page and search for Skyrim. Post issues there.

Edited by Valmar

petch Friday 12 April 2013 at 7:30
petch

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com