jgrafton: (tj csl terminal)
[personal profile] jgrafton
% cat /afs/andrew.cmu.edu/usr/jgrafton/public/starcraft.HOWTO
Unofficial Andrew Unix Cluster Starcraft HOWTO
----------------------------------------------

This guide is somewhat involved. If you don't understand something, ask somebody who does.

0. Set your path to include ~jgrafton/wine/bin.
1. Run wine with no arguments. This will setup your ~/.wine/ directory and define some defaults.
2. Run winecfg
Go to the Sound panel and click Apply with the default settings (OSS). This should set up sound.
Click OK to exit the configure program.
3. Edit ~/.wine/system.reg in your favorite editor. Add the following lines:
[Software\\Blizzard Entertainment\\Starcraft]
"Brood War"="y"
"InstallPath"="C:\\Starcraft"
"Program"="C:\\Starcraft\\Starcraft.exe"
"Retail"="y"
"StarCD"="C:\\Starcraft"
"StarEdit"="C:\\Starcraft"
4. Run ln -s /afs/hackish.org/data/games/broodwar/Starcraft ~/.wine/drive_c/Starcraft
(this is necessary so that Starcraft can write user profiles to $SC_HOME/../sc/char/)
5. Run wine C:\\starcraft\\starcraft
6. Have fun!

Kudos to pnelson, mrwright, and myself (jgrafton) for getting this working


Notes: do not try connecting to Battle.net, as this will likely fail.

Also, let me know if something doesn't work - it seems to, but it's likely there are still bugs in here that I've missed. I had to hack one bit of starcraft.exe to get it to store the character profiles in a different directory, and there may be other hacks necessary as well.

There are other games lurking in hackish.org's AFS - I will work on playing with them at some point in the future. Also, contributing wine.

(no subject)

Date: 2006-04-04 02:32 pm (UTC)
From: [identity profile] x77303066.livejournal.com
awesomesauces! :D

(no subject)

Date: 2006-04-04 02:37 pm (UTC)
From: [identity profile] platypuslord.livejournal.com
Interesting.
I've got this LAN gaming mailing list - want to see if I can get a bunch of players for Starcraft this Sunday?

(no subject)

Date: 2006-04-04 02:41 pm (UTC)
From: [identity profile] x77303066.livejournal.com
that was the idea :P
doesn't need to be specifically a starcraft weekend, but now there are more choices, so people can choose UT or SC. or something like that.

(no subject)

Date: 2006-04-04 02:49 pm (UTC)
From: [identity profile] platypuslord.livejournal.com
Well, you kinda need 6 players or UT doesn't work... If we tried to run the two games in parallel, I suspect one of them would suffer.

That said, I'm a little concerned about skill disparity. There are people out there that are awesome at starcraft and will pwn all our faces if we invite them into our game. Guess it's worth a try, though.

(no subject)

Date: 2006-04-04 02:50 pm (UTC)
From: [identity profile] platypuslord.livejournal.com
Also, you should get Descent working. Ivan tried but said he was missing some libraries or something. Descent was awesome.

(no subject)

Date: 2006-04-04 04:38 pm (UTC)
From: [identity profile] 27thletter.livejournal.com
Holy crap, Descent. That would be amazing--especially since there are modern Linux ports like DXX-Rebirth and D2X-XL. I even have the Descent 1 full version datafiles somewhere. If only the cluster machines had joysticks...

(no subject)

Date: 2006-04-04 09:20 pm (UTC)
From: [identity profile] platypuslord.livejournal.com
Experimentally, it seems you can replace steps 1-4 with a cp -r command, for example cp -r ~aij/public/.wine ~.
I'm still researching an invocation that will center the screen exactly on the wine window (so that scrolling won't be unpleasant). I'm told [livejournal.com profile] mrwright has such a script.
It would be awesome if we could get a single script, for example called ~jgrafton/bin/sc, that would copy-if-necessary and run the program in a nice manner. For myself I can type in the commands, but if we get new people on Sunday it will be much easier if we can give them a simple command.

(no subject)

Date: 2006-04-05 01:45 am (UTC)
From: [identity profile] platypuslord.livejournal.com
Fair enough.
I wasn't able to get it to one command, but I got it down to two:
~dkb/public/sc1
~dkb/public/sc2

Run the first from a terminal (such as tty2) with X not previously running.
Run the second from the window the first gives you.
The sc1 script will automatically create a .wine if you need one, and should not overwrite your old one if you have one already.

Profile

jgrafton: (Default)
Jeff Grafton

January 2017

S M T W T F S
1234567
891011 12 1314
15161718192021
22232425262728
293031    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags