Penguin Post: How to Install Starcraft 2 on Linux/Wine If You Get Weird Permissions Issues

I’d had Starcraft 2 on pre-order from GameStop since who-knows-when (I remember pre-ordering it at the same time as I did Wrath of the Lich King, so that should tell you something.) Anyways, this morning I ran out to GameStop, nabbed it, and prepared to install on Linux/Wine. The Beta worked flawlessly, so I was expecting this to be smooth sailing.

Not so! First half of the files on the CD appeared to be hidden, and then trying to get the Installer to run would tell me “Access Denied”, blahblahblah, and I couldn’t do anything even as root.

Apparently this is an Ubuntu issue and not a Wine issue, so if you are also afflicted with this problem, read on. This is a bit of a kludgy workaround, but it’s a workaround nonetheless.

Step 1: Make the CD Show the Files

Fire up a terminal and enter the following to remount the CD:

sudo mount -o remount,unhide /dev/cdrom

Step 2: Make a folder on your desktop called SC2 or something.

Step 3: Copy over the files on the CD to the folder on your desktop.

(Note: you may have to tweak the code a bit to get it working on your specific setup.)

sudo cp -r /media/cdrom0/* ~/Desktop/SC2

This will take a little bit as it does its thing, so give it ten minutes or so. Then fix the permissions:

sudo chown -R username:username ~/Desktop/SC2

You should now be ready to go. Navigate to the file on your desktop and install it that way. (Or do it via the terminal, since you’re already there:)

cd ~/Desktop/SC2

wine Installer.exe

And that should do it! I’ve got it installing as we speak, though I’ve got to run off to work now so a test run of the thing will have to wait until later. If I botched up some code or something let me know and I’ll fix it tonight when I come home.

24 thoughts on “Penguin Post: How to Install Starcraft 2 on Linux/Wine If You Get Weird Permissions Issues”

  1. Cool, thanks for the info.

    I was thinking of picking up Starcraft 2, but I was concerned that it wouldn’t run in Linux. I haven’t really done any research on whether or not it would.

    By the way, what kind of system are you running? I’ve got a PC that is about 2 years old now that is running Ubuntu. It plays WoW fairly well, though it has a tendency to lock up on occasion. I’m still trying to track that one down. I don’t want to pick up SC2 just to find out that it runs terribly on my machine and be forced to either upgrade or move back to Windows.

  2. The digital download version can be installed without any such permission issues.

    @Rkik: I have an Intel Core2 Duo P8400 (2.26GHz), with an nVidia 9600M GT. I do not have problems with settings on “Medium” (except on the lava map – had to get the settings to low there).

  3. Thank you!!!

    I followed the instructions and your suggestion worked perfectly, I thank you again for helping out a novice linux user.

  4. Thanks for putting this up, however, I am running into problems as I am installing. When I run the code in terminal it opens and then terminates without any reason other than saying there was a problem with installer. I have been toying around with it for the past 2 hours and have not the slightest idea what I need to do. I was considering updating to lucid, but I doubt that would correct the problem. I have been looking up patches for SC2 with wine, but I feel like that was purely for th beta. any advice would be greatly appreciated. thanks in advance

  5. @Josh: You have to get the latest wine 1.2 version at least (it integrates the patch from the SC2 beta)

  6. I agree. I made sure that I was running the latest wine, and already tried uninstalling and reinstalling 1.2 from the repositories. Do I still need to get the latest patches when trying to install the retail version. Thanks

  7. @neothoron – Thanks. That’s almost exactly what I’m running. Hearing all this, I will definitely be picking up the game later this week.

  8. @ Josh – I’m not sure, but would it perhaps have to do with this? http://ubuntuforums.org/showthread.php?t=1540285 (Just a guess on my part.)

    @ Rkik – I’ve got a self-built machine that is a good four or five years old by now… let’s just say it’s starting to show its age. SC2 runs well for me on Wine with all the graphics settings set to “Low”. I do have to coax it into loading sometimes, though, which last I checked is a kernel issue. Setting the sound to ESound instead of my usual preferred ALSA in winecfg seems to help, as well.

    @ Rob – I’m glad to help!

  9. Hi. Thanks for the article. I was wondering if you could answer a question.

    I’m having trouble running SC2 in Wine. I think I configured Wine correctly, using a few articles. I patched it with a patch off phyrex1an.net and appdb.winehq.org… However, when it comes time to selecting Wine, and running the SC2 program, it just crashes on me. I can run, from within Wine, the repair program with no problem (as well as IE) so I really don’t think it’s a problem with Wine, unless I haven’t configured the graphics correctly and it’s crashing from that.

    My other thought is that it could be my graphics card/driver? I am running Intel i7, Asus P6T mobo, Ubuntu 10.04 & and XFX Nvidia graphics card. It maaay not be the graphics card because it has handled everything so far, including the graphics of the installation program and repair programs, but do you know if it might be shutting down when the game loads?

    Any help would be really, really appreciated. I just got XP and am going to dual boot (temporarily!) to solve the problem just so I can play, but I’d love, love, love to get it working on Linux.

    Thanks in advance for any help!!

    Mike

  10. So I figured out how to get it installing. I moved the copied cd files into the .wine directory and ran it from there….but now I am running into a new issue. Something about a runtime error which doesn’t translate into english for me real well. Any translation and solution would be most appreciated. Thanks for the help thus far as well.

    Josh

  11. this seems to be working, copying folders now, thanks man. only problem is your desktop is for some reason a dek stop.

  12. Ok, I fixed the Dekstop typo =P

    @ Mike – Is this an issue where the game crashes before it even loads at all? (Like, it crashes as soon as you try to boot it.) If so, I believe I know of the problem you are talking about– it has to do with the version of the Linux kernel that Ubuntu 10.04 is currently using. It basically just makes it so you have to try to load the game several times before it actually works.

    So no, it is not a Wine issue. Patching the kernel appears to be the only real fix, but if you’d rather not mess with that then I’ve noticed that going into winecfg and setting the sound to ESounD seems to boost your success rate on load to about 50%. Perhaps see if that works?

    @ Josh – are you getting the error in the terminal, or in the Blizzard Crash Reporter? And does the game load at all, or does it just crash right from the start? If that is the case, perhaps try the fix I suggested for Mike… maybe that will help.

  13. I got that problem two that it crashes before it even starts,. I’m a real noob on ubuntu so how do i patch the kernel? got kernel 2.6.32-24 generic lucid 64bit.
    wine-1.2-562-ga6203f8
    I got Sc2installed ok but can’t play .
    works great in xp on same machine, but not in lucid=(

  14. ok… so it installed fine, updating took me about 15 hours. but its fien cuzi went to bed than work…. but it wont let me run it, i try to run it and the “startcraft 2” program title box, will pop up for all of 10 seconds, than nothing happens, it disappears, and no errors.

    EDIT! finally got it to launch, and got an error, access violation, couldent read memory.

  15. urrraaaggghhhh.
    I have finally managed to install SC2, and the patch came along nicely as well, and I was hoping that this was the one time something would work for me on the first try. But the game crashes, or does not load at all when I try to run it. A tab saying “starting starcraft ll” comes up, and the screen res changes, and then nothing.
    Am running wine 1.2, ubuntu 9.10 karmic.
    any suggestions? great how-to, btw.

  16. Okay, after a computer restart, the game actually runs. But the game lags, and it’s totally unplayable.
    I have a 2,2 ghz AMD v120 processor, 2 gig ram, ATI Radeon HD 4200. Should be capable of running SC2 on low details, but apparently it’s not, for the moment. Humbly I ask again, any suggestions? ๐Ÿ™‚

  17. Hi!
    Thanks a lot for the solution, i’ve been struggling for many hours with this mounting problem! I’ll try to install, hope it will work without pb :o)

  18. ark, i had this problem with WC3, had to wait for a new version of wine…. possibly try an older version? like 1.1 it worked for wc3, anyway.
    Im having trouble, i installed it updated, and now get the same problem “starting starcraft II” and than nothing happens. that just disapears and nothing… any ideas anyone?

  19. I get a runtime error during install. I’m running wine 2.1 and I copied the files to my desktop from the DVD. Any ideas?

  20. Hey guys,
    Thanks for the help, I am finally able to play it. I realized that somewhere along the way, I totally screwed up my drivers so I decided to do a clean 10.04 install because I also just received a new Geforce 9500 nvidia card, and i new I would have issues with that when it came. Now the problem is the sound wont work which is exactly what my friend murphy had in mind im sure. Any ideas? I’ve had it for two weeks and it looks I can finally play (albeit without sound at the moment). Thanks again for the help

    Josh

  21. Thank you so much for the post I did everything you told in the post and this is what I end up with when i try to run in installer in the terminal:

    brandon@brandon-desktop:~/Desktop/SC2$ wine installer.exe
    fixme:ntdll:NtPowerInformation semi-stub: SystemPowerCapabilities
    fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECT_TIMEOUT (60000): STUB
    fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT 60000
    fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECT_TIMEOUT (60000): STUB
    fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT 60000
    fixme:font:CreateScalableFontResourceW (0,L"C:\\windows\\temp\\Blizzard Installer Temporary Data - 00169d3d\\EurostileExt-Med.fot",L"C:\\windows\\temp\\Blizzard Installer Temporary Data - 00169d3d\\EurostileExt-Med.ttf",(null)): stub
    err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element
    fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x1595c0,0x162ca0): stub
    wine: Unhandled page fault on write access to 0x087aa000 at address 0x507d2a (thread 001a), starting debugger...
    brandon@brandon-desktop:~/Desktop/SC2$ Unhandled exception: page fault on write access to 0x087aa000 in 32-bit code (0x00507d2a).
    Register dump:
    CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
    EIP:00507d2a ESP:0033fb4c EBP:0033fb54 EFLAGS:00210216( R- -- I -A-P- )
    EAX:00df65c0 EBX:00000000 ECX:3feb3167 EDX:00000000
    ESI:0132a024 EDI:087aa000
    Stack dump:
    0x0033fb4c: 00976944 0249dfdc 00000299 00456070
    0x0033fb5c: 08510000 01090024 ffd6659c 00471dd6
    0x0033fb6c: 01090024 00000000 fff59967 0249dfdc
    0x0033fb7c: 00000660 006b16d0 00000000 00010032
    0x0033fb8c: 00000401 0033fba8 00000688 00000000
    0x0033fb9c: 7ec41ce0 00000000 00000000 00000401
    Backtrace:
    =>0 0x00507d2a in installer (+0x107d2a) (0x0033fb54)
    1 0x00456070 in installer (+0x56070) (0x00000299)
    2 0x00000000 (0x00000000)
    0x00507d2a: repe movsl (%esi),%es:(%edi)
    Modules:
    Module Address Debug info Name (123 modules)
    PE 400000- 753000 Export installer
    ELF 7b800000-7b971000 Deferred kernel32
    \-PE 7b820000-7b971000 \ kernel32
    ELF 7bc00000-7bcb1000 Deferred ntdll
    \-PE 7bc10000-7bcb1000 \ ntdll
    ELF 7bf00000-7bf04000 Deferred
    ELF 7d893000-7d8a9000 Deferred midimap
    \-PE 7d8a0000-7d8a9000 \ midimap
    ELF 7d8a9000-7d8cf000 Deferred msacm32
    \-PE 7d8b0000-7d8cf000 \ msacm32
    ELF 7d8cf000-7d8e7000 Deferred msacm32
    \-PE 7d8d0000-7d8e7000 \ msacm32
    ELF 7d8e7000-7d8ee000 Deferred libogg.so.0
    ELF 7d8ee000-7d917000 Deferred libvorbis.so.0
    ELF 7d917000-7da13000 Deferred libvorbisenc.so.2
    ELF 7da13000-7da63000 Deferred libflac.so.8
    ELF 7da63000-7dacf000 Deferred libsndfile.so.1
    ELF 7dacf000-7dad8000 Deferred libwrap.so.0
    ELF 7dad8000-7dade000 Deferred libxtst.so.6
    ELF 7dade000-7db28000 Deferred libpulsecommon-0.9.19.so
    ELF 7db28000-7db68000 Deferred libpulse.so.0
    ELF 7db6b000-7dc32000 Deferred libasound.so.2
    ELF 7dc32000-7dc69000 Deferred winealsa
    \-PE 7dc40000-7dc69000 \ winealsa
    ELF 7dc69000-7dd05000 Deferred winmm
    \-PE 7dc70000-7dd05000 \ winmm
    ELF 7dd05000-7dd51000 Deferred dsound
    \-PE 7dd10000-7dd51000 \ dsound
    ELF 7dd7f000-7dd9d000 Deferred libgcc_s.so.1
    ELF 7dd9d000-7dda4000 Deferred libnss_dns.so.2
    ELF 7dda4000-7dda8000 Deferred libnss_mdns4_minimal.so.2
    ELF 7dda8000-7de00000 Deferred riched20
    \-PE 7ddb0000-7de00000 \ riched20
    ELF 7de00000-7de05000 Deferred libgpg-error.so.0
    ELF 7de05000-7de0e000 Deferred librt.so.1
    ELF 7de0e000-7de47000 Deferred libdbus-1.so.3
    ELF 7de47000-7dec3000 Deferred libgcrypt.so.11
    ELF 7dec3000-7ded5000 Deferred libtasn1.so.3
    ELF 7ded5000-7ded9000 Deferred libkeyutils.so.1
    ELF 7ded9000-7dee1000 Deferred libkrb5support.so.0
    ELF 7dee1000-7dee5000 Deferred libcom_err.so.2
    ELF 7dee5000-7df0e000 Deferred libk5crypto.so.3
    ELF 7df0e000-7dfb4000 Deferred libkrb5.so.3
    ELF 7dfb4000-7dfc5000 Deferred libavahi-client.so.3
    ELF 7dfc5000-7e06d000 Deferred libgnutls.so.26
    ELF 7e06d000-7e097000 Deferred libgssapi_krb5.so.2
    ELF 7e097000-7e0dd000 Deferred libcups.so.2
    ELF 7e0e5000-7e0ec000 Deferred libasound_module_pcm_pulse.so
    ELF 7e17e000-7e1b1000 Deferred uxtheme
    \-PE 7e180000-7e1b1000 \ uxtheme
    ELF 7e1b1000-7e1bc000 Deferred libxcursor.so.1
    ELF 7e1bc000-7e1c2000 Deferred libxfixes.so.3
    ELF 7e1c2000-7e1c6000 Deferred libxcomposite.so.1
    ELF 7e1c6000-7e1cf000 Deferred libxrandr.so.2
    ELF 7e1cf000-7e1d9000 Deferred libxrender.so.1
    ELF 7e1d9000-7e1df000 Deferred libxxf86vm.so.1
    ELF 7e1df000-7e200000 Deferred imm32
    \-PE 7e1f0000-7e200000 \ imm32
    ELF 7e200000-7e205000 Deferred libxdmcp.so.6
    ELF 7e205000-7e223000 Deferred libxcb.so.1
    ELF 7e223000-7e227000 Deferred libxau.so.6
    ELF 7e227000-7e22c000 Deferred libuuid.so.1
    ELF 7e22c000-7e35b000 Deferred libx11.so.6
    ELF 7e35b000-7e36b000 Deferred libxext.so.6
    ELF 7e36b000-7e386000 Deferred libice.so.6
    ELF 7e386000-7e38f000 Deferred libsm.so.6
    ELF 7e38f000-7e42d000 Deferred winex11
    \-PE 7e3a0000-7e42d000 \ winex11
    ELF 7e47e000-7e4a5000 Deferred libexpat.so.1
    ELF 7e4a5000-7e4d2000 Deferred libfontconfig.so.1
    ELF 7e4e1000-7e556000 Deferred libfreetype.so.6
    ELF 7e556000-7e56b000 Deferred system.drv16.so
    PE 7e560000-7e56b000 Deferred system.drv16
    ELF 7e56b000-7e64e000 Deferred oleaut32
    \-PE 7e580000-7e64e000 \ oleaut32
    ELF 7e64e000-7e662000 Deferred lz32
    \-PE 7e650000-7e662000 \ lz32
    ELF 7e662000-7e67c000 Deferred version
    \-PE 7e670000-7e67c000 \ version
    ELF 7e67c000-7e6b0000 Deferred winspool
    \-PE 7e680000-7e6b0000 \ winspool
    ELF 7e6b0000-7e705000 Deferred setupapi
    \-PE 7e6c0000-7e705000 \ setupapi
    ELF 7e705000-7e719000 Deferred libresolv.so.2
    ELF 7e719000-7e739000 Deferred iphlpapi
    \-PE 7e720000-7e739000 \ iphlpapi
    ELF 7e739000-7e8c9000 Deferred shell32
    \-PE 7e750000-7e8c9000 \ shell32
    ELF 7e8c9000-7e926000 Deferred shlwapi
    \-PE 7e8e0000-7e926000 \ shlwapi
    ELF 7e926000-7e949000 Deferred mpr
    \-PE 7e930000-7e949000 \ mpr
    ELF 7e949000-7e95f000 Deferred libz.so.1
    ELF 7e95f000-7e9b5000 Deferred wininet
    \-PE 7e970000-7e9b5000 \ wininet
    ELF 7e9b5000-7e9c9000 Deferred msimg32
    \-PE 7e9c0000-7e9c9000 \ msimg32
    ELF 7e9c9000-7e9f3000 Deferred ws2_32
    \-PE 7e9d0000-7e9f3000 \ ws2_32
    ELF 7e9f3000-7ea60000 Deferred rpcrt4
    \-PE 7ea00000-7ea60000 \ rpcrt4
    ELF 7ea60000-7eb5b000 Deferred ole32
    \-PE 7ea80000-7eb5b000 \ ole32
    ELF 7eb5b000-7ebb2000 Deferred advapi32
    \-PE 7eb70000-7ebb2000 \ advapi32
    ELF 7ebb2000-7ec52000 Deferred gdi32
    \-PE 7ebc0000-7ec52000 \ gdi32
    ELF 7ec52000-7ed9d000 Deferred user32
    \-PE 7ec70000-7ed9d000 \ user32
    ELF 7ed9d000-7ee65000 Deferred comctl32
    \-PE 7edb0000-7ee65000 \ comctl32
    ELF 7ee65000-7ee71000 Deferred libnss_files.so.2
    ELF 7ee71000-7ee88000 Deferred libnsl.so.1
    ELF 7ee88000-7ee90000 Deferred libnss_compat.so.2
    ELF 7ee91000-7ee9d000 Deferred libavahi-common.so.3
    ELF 7efcb000-7eff1000 Deferred libm.so.6
    ELF 7eff1000-7eff4000 Deferred libxinerama.so.1
    ELF 7eff4000-7efff000 Deferred libnss_nis.so.2
    ELF b74c2000-b74c6000 Deferred libdl.so.2
    ELF b74c6000-b760b000 Deferred libc.so.6
    ELF b760c000-b7625000 Deferred libpthread.so.0
    ELF b7634000-b776f000 Deferred libwine.so.1
    ELF b7771000-b778e000 Deferred ld-linux.so.2
    Threads:
    process tid prio (all id:s are in hex)
    0000000e
    00000016 0
    00000015 0
    00000014 0
    00000010 0
    0000000f 0
    00000011
    00000018 0
    00000017 0
    00000013 0
    00000012 0
    00000019 (D) C:\windows\temp\Blizzard Installer Bootstrap - 0000030b\Installer.exe
    00000023 15
    00000022 0
    00000021 0
    00000020 0
    0000001e 0
    0000001a 0 0 0x00507d2a in installer (+0x107d2a) (0x0033fb54)
    1 0x00456070 in installer (+0x56070) (0x00000299)
    2 0x00000000 (0x00000000)

    I have tried reinstalling wine 1.2 a couple times. Anyone have any clue what my problem is?

Comments are closed.