Linux starcraft

From MatureAsskickers Wiki

Jump to: navigation, search

If Starcraft runs poorly (choppy sound)

Starcraft can run poorly in wine by default. Re-nicing [1] the process doesn't work as expect either. For best results, set sound to OSS only in winecfg and run Starcraft with "nice 19" appended to the command line. That tells the scheduler that starcraft is a low priority process (counter-intuitive, but it works).

$ wine "C:\Program Files\Starcraft\Starcraft.exe" nice 19

Starcraft without the CD

Starcraft looks for the CD at startup, and while playing.

1. Create an iso image of your CD

$ dd if=/dev/cdrom of=~/starcraft.iso (or broodwars.iso)

2. Mount the image

[root]# mkdir /mnt/starcraft
[root]# mount -o loop -t iso9660 /home/user_dir/starcraft.iso /mnt/starcraft

You can add this command to /etc/fstab to mount the image at boot time:

/home/user_dir/starcraft.iso     /mnt/starcraft     iso9660     ro     0 0

3. Create a symlink to the mounted image for wine

as your normal user
$ cd ~/.wine/dosdevices
$ ln -s /mnt/starcraft e:    (or an available drive letter)

4. Run the game

$ wine "C:\Program Files\Starcraft\Starcraft.exe" nice 19

External Links

WineHQ Starcraft

Cedegawiki Starcraft

Personal tools