LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Installing Games (https://www.linuxquestions.org/questions/linux-software-2/installing-games-155166/)

OtisLinux 03-08-2004 07:58 PM

Installing Games
 
If i want to install a game made for Windows such as
Starcraft Brood war

How can i install it on Linux??

Boow 03-08-2004 08:10 PM

If there's not a linux version of the program your out of luck. You might try wine

Linux~Powered 03-08-2004 09:31 PM

wine sucks in my opinon..try winex http://www.transgaming.com/

beejayzed 03-08-2004 11:16 PM

Some games which use engines can be run under Linux and Windows. For example Creatures 3. The installer on the cd is for Windoze but you can download an installer for Linux. I've also seen an engine to run some games like Monkey Island, don't know if it works. I'm not sure of this is possible for any other games.

OtisLinux 03-09-2004 01:15 PM

you have to pay for winex, can i get anything else ?

k4fr0s 03-10-2004 11:51 AM

Starcraft Broodwar does work with wine/winex
 
1. Download the latest version of wine
http://www.ibiblio.org/pub/Linux/ALP...0040309.tar.gz
http://prdownloads.sourceforge.net/w...0040309.tar.gz

2. Unpack the package
tar-zxvf Wine-20040309.tar.gz
(I assume you have downloaded the package in /usr/local/)

3. Compile the source
cd wine-20040309
./configure --disable-debug --disable-trace;make;make install

4. Create a fake windows space in your HOME directory
cd
mkdir .wine
mkdir .wine/c_drive
mkdir .wine/c_drive/Windows
mkdir .wine/c_drive/Windows/Fonts
mkdir ".wine/c_drive/Windows/Start Menu"
mkdir ".wine/c_drive/Windows/Start Menu/Programs"
mkdir .wine/c_drive/Windows/System
mkdir .wine/c_drive/Windows/System32
mkdir .wine/c_drive/Windows/Temp
mkdir ".wine/c_drive/Program Files"
mkdir ".wine/c_drive/Program Files/Common Files"

5. Copy the configuration file of wine in your fake directory
cp /usr/local/wine-20040309/documentation/samples/config ~/.wine
cp /usr/local/wine-20040309/documentation/samples/system.ini ~/.wine/c_drive/Windows

* You need to edit that "config" file (~/.wine/config) to reflect your system
* [C Drive] should point to ~/.wine/c_drive
* make sure you have "DXGrab" = "Y" and "UseDGA" = "N" or you wil have mouse/keyboard * problems

6. Install Starcraft
I assume you have mounted your starcraft cd in /mnt/cdrom
cd /mnt/cdrom
wine ./install.exe
* This will install starcraft in your fake windows space under Program Files

7. Run starcraft
cd to where starcraft is installed and call the starcraft.exe file with wine
(cd ~/.wine/c_drive/Program Files/Starcraft)
wine ./StarCraft.exe
* Linux is case sensitive so check if the executable is indeed called StarCraft.exe or something
* else

You follow step 6-7 to install starcraft broodwar and the 1.10 patch as well
BTW: You can dld winex for free from their CVS tree
cvs -d:pserver:cvs@cvs.transgaming.org:/cvsroot login
When prompted for the password enter "cvs"
cvs -z3 -d:pserver:cvs@cvs.transgaming.org:/cvsroot co winex

Good Luck and Enjoy };)

OtisLinux 03-10-2004 03:33 PM

thanks ill try it

Thymox 03-10-2004 06:50 PM

Quote:

Originally posted by beejayzed
I've also seen an engine to run some games like Monkey Island, don't know if it works. I'm not sure of this is possible for any other games.
If you mean SCUMMVM then it isn't really an installer, it is more of an "interpreter" for the SCUMM scripts (the game itself). I've not used it with Monkey Island as I can't find my old disks, but it works flawlessly with Day of the Tentacle.

Anyway, as for other games - I would definitely go for WINE or WineX. WINE can take a bit of finigling to get right, but once it is, it works wonders.

TheOneAndOnlySM 03-10-2004 07:02 PM

Quote:

Originally posted by Linux~Powered
wine sucks in my opinon..try winex http://www.transgaming.com/
careful....

with all the work put into that, just because it can't run the latest windows programs doesn't mean it can't do A Lot of things

wine can run many games for me (including warcraft 3, vice city, and simcity 4); the easiest way to install wine is to download the latest source and do:
cd wine-2004xxxxxx
./tools/wineinstall

it will automatically create all the directories and copy the necessary files

http://appdb.winehq.org/appview.php?...&versionId=149
check out this site for info on running broodwar through wine; you will definitely need to read through much of this and correctly edit your ~/.wine/config file

*btw, when you run wineinstall, do it as a user, not as root (the install will ask for root password and enter it there)

k4fr0s 03-12-2004 06:21 PM

Starcraft Broodwar does work on wine/winex
 
I wrote a HOWTO install starcraft brrodwar in http://appdb.winehq.org/appview.php...p;versionId=149
mentioned by TheOneAndOnlySM above but they deleted it from their database.. I think mainly because wine does not use any more the advapi method to create the initial registry files.....Anyway it's a realy cool link...
Btw I have tried the new version of wine and the 'tools/wineinstall' doesn't work well I had to do first
the classic:
./configure --disable-debug --disable-trace;make;make install
and then had to run
tools/wineinstall

I have also noticed that a lot of programs/games do not install properly with winex while they do with
wine...but play much better with winex };). So there goes another hint...

HINT:
a) Install wine,
b) install starcraft + broodwar + patch or whatever you want,
c) then uninstall wine (NOT make clean!! just make uninstall),
d) install winex,
e) replace ONLY the 'config' in ~/.wine/ copied from WINEs dir with the one in WINEXs dir

P.S. Btnet does not work in wine but does work in winex. Also for some reason Gnome2 does not allow btnet
gameplay!!! (Can anyone else confirm this please. It took me 3 hours to track this one while I was
installing SBW on a friends slackware.)

Good Luck and Enjoy };)

OtisLinux 03-23-2004 01:10 PM

[root@internet cdrom]# wine ./install.exe
Could not stat /mnt/fd0 (No such file or directory), ignoring drive A:
Could not stat /root/.wine/~/.wine/c_drive (No such file or directory), ignoring drive C:
Invalid path L"c:\\windows" for L"windows" directory: does not exist.
Perhaps you have not properly edited your Wine configuration file (/root/.wine/config)

This is what i get when i try to install
Any suggestions?

jcspray 03-23-2004 01:30 PM

Are you running as the same user that you created the ~/.wine directories for? If you're having trouble with your ~/.wine, you might look into http://sourceforge.net/projects/winecfg/ : it is a prebuilt .wine directory that works for a lot of things.

OtisLinux 03-23-2004 01:33 PM

nvm i have it installed now, but it comes up with the error, Cannot read disk, please make sure it is in the cdrom...when i try to play it
also how do i uninstall it , cuz i want to reinstall to see if i did something wrong

JaseP 03-23-2004 01:49 PM

One of two things:

1) It's copy protection - not much you can do here but try the pay version of WineX. StarCraft works fine on my system with WineX.

2) Try editing the winex configuration (in your /home/USERDIRECTORY/.WINEXSUBDIRECTORY) file to include the StarCraft disk as a CD-ROM drive. I can do this with one I'm looking at, but have a problem describing how to do this...

jcspray 03-23-2004 02:07 PM

or
3) Use a cd-crack.

They may generally come from somewhat seedy websites, but they're a necessary evil due to the unnecessary evil of worthless copy protection.


All times are GMT -5. The time now is 08:39 AM.