Help installing

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
ermns
Rookie
Rookie
Posts: 30
Joined: 28 May 2012, 09:00

Help installing

Post by ermns »

Hello everyone :-)

First of all let me just say that Warzone 2100 is AWESOME!!
You guys have done a wonderful job!

I was a big fun of the Earth 2150 series, and you guys have topped that by far!!!
I discovered Warzone 2100 by accident, as I was "playing" with my Ubuntu Software Center...

I have been playing Warzone for a few days now and I am very impressed with what you've done.

There are two issues that I would like help with.
The first one is maps. Where do I download maps compatible with the latest stable version that I have? 2.3.8? All the maps I find are not .wz and the converter is offline. Is there a site, a link, that you could provide me with to download maps?

The second one is help with installations of the latest beta release.
I have just downloaded the zipped file and uzipped. I don't know what to do next.
Are there any installation instructions?
Can someone tell me what I need to do, or point me to the right place with instructions as to what I can do to install properly?
btw.. is there a way I could add a repository so that Warzone is updated automatically?


Thank all in advance for your help.
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Help installing

Post by NoQ »

Where do I download maps compatible with the latest stable version that I have?
Mostly in the Showcase forum. Most of the maps work on any wz version, unless specified. Maps with a number of players that is not 2, 4 or 8, are for 3.1+ only.
I have just downloaded the zipped file
Sorry what? Where did you find that 'zipped file'?
User avatar
Berg
Regular
Regular
Posts: 2204
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: Help installing

Post by Berg »

ermns wrote:Are there any installation instructions?
You should have a 3.1_beta10/warzone2100-3.1_beta10.tar.gz and extracted it to you home folder.
http://sourceforge.net/projects/warzone ... z/download
then you need to install the dependencies http://developer.wz2100.net/wiki/CompileGuideLinux this is the link to the linux compile guide
ermns
Rookie
Rookie
Posts: 30
Joined: 28 May 2012, 09:00

Re: Help installing

Post by ermns »

Thank you for your suggestions. :-)

I will make sure that I will check the link for maps.
I went through the instructions and it worked great!!

I can now run the game!

I have the following questions...

1. How can I run the game in full screen?
When I use the terminal and type /src/warzone2100 it runs in windowed mode.
The only way I can run the game is if I am in the extracted folder and use the above command. If I am in any other folder it doesn't find the file.

2. When I click on the icon on the launcher it runs the 2.3.8 version that I have. Is there anyway to have both versions running, and have a launcher icon for both? I know how to edit the icons for the game. I will create a new .desktop file in /usr/share/applications... what I am wondering about is what would the "run command" be in that file.

Thanks again for all your support.
User avatar
Emdek
Regular
Regular
Posts: 1329
Joined: 24 Jan 2010, 13:14
Location: Poland

Re: Help installing

Post by Emdek »

1. Set that in game options.
2. You can try to edit launcher file entries:

Code: Select all

TryExec=warzone2100
Exec=warzone2100
And set there full path to new binary file.
Nadszedł już czas, najwyższy czas, nienawiść zniszczyć w sobie.
The time has come, the high time, to destroy hatred in oneself.


Beware! Mad Qt Evangelist.
User avatar
Berg
Regular
Regular
Posts: 2204
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: Help installing

Post by Berg »

Creating a launcher in Ubuntu
http://www.howtogeek.com/106470/create- ... and-11.10/
To go into full screen you should be able to press (alt/enter) this will toggle full/windowed mode.
Usually if you quit the game it will store what ever mode you terminate in so your configure file gets edited every termination.
Also a hint try looking at game options when you start warzone.
There are many options for tuning the graphics to use lower resources etc and the sound level adjusters.
ermns
Rookie
Rookie
Posts: 30
Joined: 28 May 2012, 09:00

Re: Help installing

Post by ermns »

Thank you for your suggestions :-)
I have downloaded the game into the Downloads folder, and then unzipped there and compiled.

I now run the game from launcher with an icon.
I have edited the run line to : /home/evans/Downloads/warzone2100-3.1_beta10/src/warzone2100

I noticed also that the installation produce two more hidden folders into my home directory...
The one is the warzone...3.1, and the other one is the warzone..3.1_beta10.
However I run the game as you can see from the Downloads directory.

1. Is there a way I can move everything away from the Downloads directory and into my home directory? I like to keep my folders uncluttered.
2. I also noticed that the old 2.3.8 installation which was done via the software center was running the game, just by warzone2100. I guess warzone2100 was being able to run, because the directory was in the path? or smt like that? (my dos/windows experience talking). Is there a way to uninstall the old game and run the new one with just the command warzone2100, without the long path?

3. I have downloaded and copied some .wz maps into the maps directory (which I created) of BOTH the /home/.warzone...beta10 and the /home/Downloads/warzone..beta10 directories... but I don't see them... what am I doing wrong?

4. I also copied the sequences.wz file from the old directory to BOTH the previous directories but I still can't see the intro. In the previous installation it worked. I also started a new campaign and there was no video... What am I doing wrong?


Thank you all for you invaluable help :)
btw... the new changes really rock !!!
cybersphinx
Inactive
Inactive
Posts: 1695
Joined: 01 Sep 2006, 19:17

Re: Help installing

Post by cybersphinx »

It would be pretty easy to add a "make launcher" target that puts a version-specific .desktop file in an appropriate place. The question is how to get rid of it again once the user deletes the directory it points at.
We want information... information... information.
User avatar
Emdek
Regular
Regular
Posts: 1329
Joined: 24 Jan 2010, 13:14
Location: Poland

Re: Help installing

Post by Emdek »

ermns:
1. Yes, it should still work after moving.
2. Yes, you can try to prepend final directory of WZ binary to search path or try to create alias for command line.
3. Copy them to directories created there by each of WZ versions, they got created automatically when you run game.
4. For sure it's available in share/warzone2100/ as sequences.wz? Also you don't need to copy it, you can use soft link.
Nadszedł już czas, najwyższy czas, nienawiść zniszczyć w sobie.
The time has come, the high time, to destroy hatred in oneself.


Beware! Mad Qt Evangelist.
User avatar
Berg
Regular
Regular
Posts: 2204
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: Help installing

Post by Berg »

ermns wrote: 3. I have downloaded and copied some .wz maps into the maps directory (which I created) of BOTH the /home/.warzone...beta10 and the /home/Downloads/warzone..beta10 directories... but I don't see them... what am I doing wrong?
go to our home folder and click the view option and then click show hidden in the drop down menu.
Open the warzone hidden folder and you will see map folder inside.
fff.png
Place all your maps in there.
ermns wrote:4. I also copied the sequences.wz file from the old directory to BOTH the previous directories but I still can't see the intro. In the previous installation it worked. I also started a new campaign and there was no video... What am I doing wrong?
As for the sequence.wz go here http://developer.wz2100.net/wiki/Download scroll down and see the place to put them.
You do not have the required permissions to view the files attached to this post.
ermns
Rookie
Rookie
Posts: 30
Joined: 28 May 2012, 09:00

Re: Help installing

Post by ermns »

Thank you for your suggestions !!

Videos and maps (and the new Nullbot AI) works perfectly.
For informational purposes let me write here what I did.

When I compiled the game, it created two hidden folders in my home directory, as is shown above.
Those directories were .warzone2100-3.1 and .warzone2100-3.1_beta10.

My mistake was to copy the maps, and sequences.wz into the ...beta10 directory instead of the warzone2100-3.1 directory.
I also copied the new AI, into the mods directory.
In order for it to be read by the game, it needs a new subdirectory in mods called "autoload". I copied the AI .wz files and voila !!
Everything works fine!

Now the only thing missing is moving the stuff, away from the downloads folder.
Could someone please tell me exactly where I should copy the folder (or what files).
Please be specific.

Thanks :-)
User avatar
Emdek
Regular
Regular
Posts: 1329
Joined: 24 Jan 2010, 13:14
Location: Poland

Re: Help installing

Post by Emdek »

ermns, you can copy them anywhere you want, but for such stuff I would suggest use /opt directory or (if that installation will be be used only by one system user) to some directory in home folder (like Apps or something like that).
Nadszedł już czas, najwyższy czas, nienawiść zniszczyć w sobie.
The time has come, the high time, to destroy hatred in oneself.


Beware! Mad Qt Evangelist.
ermns
Rookie
Rookie
Posts: 30
Joined: 28 May 2012, 09:00

Re: Help installing

Post by ermns »

So what you are saying is that I can move all the folders into a subdirectory of my home?

Let's say I choose /home/Games..
I can copy the :
/home/.warzone2100-3.1
/home/.warzone2100-3.1_beta10
/home/Downloads/warzone2100-3.1_beta10
/home/Downloads/warzone2100-3.1_beta10/src
into home/Games ?

and then all I will need to do is just change the invoking command in the text file .desktop
into /home/Games/warzone2100-3.1_beta10/src/warzone2100?

Do I need to keep the folders as hidden, or doesn't it matter?
How about the two folders with the same name? Do I merge them?

Thank you again for your input.
User avatar
Emdek
Regular
Regular
Posts: 1329
Joined: 24 Jan 2010, 13:14
Location: Poland

Re: Help installing

Post by Emdek »

You can't move those hidden (starting with dot character) folders with configuration as game will lookup for them only at their current path and recreate if they won't exists there, though /home/.warzone2100-3.1_beta10 is invalid and not needed anyway. Maybe best way will be to rerun configure script, like ./configure --prefix=/home/Games/warzone2100-3.1 and then make install (might require root privileges) to install only needed files in final location and then remove sources folder. After that you can modify .desktop file as you described above. :-)
Nadszedł już czas, najwyższy czas, nienawiść zniszczyć w sobie.
The time has come, the high time, to destroy hatred in oneself.


Beware! Mad Qt Evangelist.
ermns
Rookie
Rookie
Posts: 30
Joined: 28 May 2012, 09:00

Re: Help installing

Post by ermns »

OK thank you.
This is what I have done.
First of all I uninstalled the old warzone 2.3.8.
Unfortunately it deleted the icon from the launcher too, although I had edited it to run the new game... oh well.. I 'll do it again.
Then I went to the folder in which I unzipped the zipped file of 3.1.
That is /home/Downloads/warzone2100-3.1_beta10
I issued the command from terminal :
./configure --prefix=/home/evans/Games/warzone2100-3.1
Then I issued the command :
"make install"
It didn't ask me for root priviliges. Although I did run immediately afterwards a "sudo make install".

The results were the same.
A new directory was created : home/evans/Games/warzone2100-3.1
In that folder there are only two folders : "bin" and "share"
In the folder bin, there is a warzone2100 executable file.

The weird part is that when I double click it, it runs!
However it loads the mods, maps from the installation that I have in the installation in the hidden folders in my home directory.
Why is that happeing?!

I am afraid to go on, in fear that I might break smt....
1. I think though that it is now safe to delete whatever is there in the Downloads folder.
2. I am also thinking that I could delete the hidden folder iin my home : /home/.warzone2100-3.1_beta10
3. I am also thinking that I could move all the folders from my /home/.warzone2100-3.1 into my newly created folder. I want to move my maps, savedgames and mods.. and all else like the sequences.wz...
4. Then delete everything from home folder and run the game only from the newly created folder.

Will that work?

Thanks again.