View Full Version : Problems installing Wargus
Grout58
December 20th, 2007, 04:13 PM
Im having some problems installing wargus under gutsy. So I installed stratagus from the repo and downloaded wargus from the site. The readme says run ./build.sh -p /media/cdrom0 Thats where my wacraft 2 cd is. When I run it I get permission denied so I use sudo ./build.sh -p /media/cdrom0 and that gives me sudo: ./build.sh: command not found. So then I used sh build.sh -p /media/cdrom0 and that gives me
grout@ubuntu:~/Desktop/wargus-2.2.4$ sudo sh build.sh -p /media/cdrom0/ /home/grout/wargus
: not found7:
: not found1:
: not found4:
: not found7:
: not found0:
: not found3:
: not found5:
build.sh: 47: Syntax error: word unexpected (expecting "in")
So now im really not sure what to do.. Anyone got any ideas?
Artificial Intelligence
December 21st, 2007, 03:07 PM
Are you sure that the command shall have: /home/grout/wargus ?
Also if you are installing the game locally there's no need of sudo, also check if the script you want to execute is set for it.
disturbedite
December 21st, 2007, 03:13 PM
you shouldn't use the stratagus package from the ubuntu repo, its seriously outdated. (as a matter of fact, i don't think the latest release of wargus works with older versions of stratagus, i believe it requires stratagus 2.2.4).
you should compile stratagus 2.2.4 yourself and then compile wargus 2.2.4.
jestin
January 29th, 2008, 11:07 PM
You will need to run
dos2unix build.sh
If you don't have dos2unix, run
sudo apt-get install tofrodos
jestin
February 13th, 2008, 11:54 AM
I finally got the whole thing working, so I figure I should post how to do it.
First, the wartool application that comes with wargus was always compiling to use file names like rezdat.war instead of REZDAT.WAR (which is what my CD had on it). My quick fix was to do a find and replace in the wartool.c file of any filename that isn't upper case. After that, I typed 'make' to recompile, and the script worked beautifully.
Once it finally ran, sound wan't working. This is because I needed the package libsdl1.2debian-all. So I installed it:
sudo apt-get install libsdl1.2debian-all
This will remove libsdl1.2debian-alsa, but you won't need that anymore anyways.
Now Wargus works. I still don't have music or videos, but I'm not sure that's a part of wargus anyways. I hope this helps someone.
disturbedite
February 13th, 2008, 05:02 PM
no, its not that its "not a part of wargus", its just that the project was never fully completed before it was abandoned. (the devs are working on bos wars & stargus now).
i think its mostly complete, i'd say 95% complete, maybe even more. but of course there are minor things here & there one might notice that weren't finished/implemented.
vBulletin® v3.7.4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.