Warzone 2100 linux port? Interested?

Having problems getting your favorite Linux game to work? Want to discuss strategies? This is the place!
User avatar
DarkStorm_Inc
Tux's lil' helper
Tux's lil' helper
Posts: 105
Joined: Mon Feb 07, 2005 10:44 am
Location: The Ether

Warzone 2100 linux port? Interested?

Post by DarkStorm_Inc »

Not sure if anyone here has played this under PS or windows.. but is anyone interested in a warzone2100 port over to linux? Source code is avaliable under GPL. Ive looked at the code briefly.. may be somewhat simple.. but im not into C.. most of my dev work is PHP or nwn scripting (close to C but not enough)
stobbsm
Guru
Guru
Posts: 452
Joined: Sun May 23, 2004 3:07 am

Post by stobbsm »

I'd be interested. I loved that game

is there a link to the source?
Sysadmin of Ubuntu systems and servers....
Although my own server is gentoo....
User avatar
cato`
Guru
Guru
Posts: 430
Joined: Mon Jun 03, 2002 2:12 pm
Location: Norway, Trondheim
Contact:

Post by cato` »

Don't mess with the Penguin.
User avatar
DarkStorm_Inc
Tux's lil' helper
Tux's lil' helper
Posts: 105
Joined: Mon Feb 07, 2005 10:44 am
Location: The Ether

Post by DarkStorm_Inc »

nothing there but a windows exe.. no source yet and I dont know how long they will take to even get a working linux port ready..
User avatar
kmare
l33t
l33t
Posts: 619
Joined: Sat Nov 20, 2004 8:28 pm
Location: Thessaloniki, Greece

Post by kmare »

you can find the full source code here:
http://wzsource.directgames.net/
it only needs a linux port and we're done :)
User avatar
DarkStorm_Inc
Tux's lil' helper
Tux's lil' helper
Posts: 105
Joined: Mon Feb 07, 2005 10:44 am
Location: The Ether

Post by DarkStorm_Inc »

yeah, so anyone wanna work on it??
User avatar
NumaSan
Tux's lil' helper
Tux's lil' helper
Posts: 100
Joined: Fri Aug 22, 2003 2:42 pm
Location: Copenhagen

Post by NumaSan »

Take a look here if you can help out:
http://www.realtimestrategies.net/forum ... owforum=20
A port is being worked on :)
--- checking for native Win32 platform... no
User avatar
DarkStorm_Inc
Tux's lil' helper
Tux's lil' helper
Posts: 105
Joined: Mon Feb 07, 2005 10:44 am
Location: The Ether

Post by DarkStorm_Inc »

and again.. a WZ port from them is vaporware IMO we never accomplished anything before the source.. and I doubt they will accomplish much now, especially a linux port

btw, I used to be one of them long ago when it was still called NEWST
lovedaddy
n00b
n00b
Posts: 58
Joined: Mon Nov 03, 2003 10:25 pm
Location: UK

Berlios

Post by lovedaddy »

http://svn.berlios.de/viewcvs/warzone/b ... oid/linux/

Was briefly browsing the SVN repos - looks like the linux port is under way (last commit about 5 days ago)
User avatar
kawsper
Tux's lil' helper
Tux's lil' helper
Posts: 128
Joined: Tue Nov 09, 2004 8:22 pm
Location: Copenhagen, Denmark

Post by kawsper »

Sure! I would be interrested. The game looks great and it looks like a game with many opportunities.

I wish every game developer were this nice, i specially miss a "Beasts and bumpkins" clone to linux.
Laptop: Zepto 2314W, Pentium M 730, 512 Mb Pc-3200
Server 1: Athlon XP 3200+ | Asus A7V880 | 768 Mb DDR Pc-3200
Server 2: Pentium III Coppermine | Unknown MB | 64 Mb
All running Gentoo

www.hyggenet.org - IRC-Network for the pleasant atmosphere.
User avatar
DarkStorm_Inc
Tux's lil' helper
Tux's lil' helper
Posts: 105
Joined: Mon Feb 07, 2005 10:44 am
Location: The Ether

Post by DarkStorm_Inc »

well the game is 6 years old.. so it shouldnt take long to get rid of the windows DX code.. they take too long.

And it was the publisher who finally relented and releashed the source, the developer would have done it in 01 if the publisher wasnt go cruel

As far as anyone helping.. gotta know C as the game was written entirely in C not C++
rodzilla
n00b
n00b
Posts: 5
Joined: Sun Feb 20, 2005 6:34 am

Not much success here...

Post by rodzilla »

I had a look at the code and tried a "port" using winelib (I know that's not a real port, but I wanted to have something working to start from). The main menu works but nothing else (and I had to comment out all sound & movie-related code).
I'm not sure what the best approach is... I think I'll try to compile WZ2100 under Windows/MinGW first and remove step by step all Windows/Directx/QSound dependencies (using SDL/OpenGL instead) and then port to Linux.
Does anybody here have experience with Windows->Linux ports ?
Rman Jack
n00b
n00b
Posts: 1
Joined: Wed Mar 16, 2005 5:45 pm

Post by Rman Jack »

* Linux Port "Vapor Ware" Work Links as of today:

* BerliOS SVN Linux Trunk:

http://svn.berlios.de/viewcvs/warzone/b ... oid/linux/

* Non-SVN snap of Berlios Linux Trunk:

http://rodzilla.free.fr/wz2100/warzone2100.01.orig.tgz

* Member noid's package:

http://rodzilla.free.fr/wz2100/warzone2100.02.noid.tgz

* Member rodzilla's contributions:

http://rodzilla.free.fr/wz2100/warzone2 ... 64bits.tgz

http://rodzilla.free.fr/wz2100/warzone2100.04.sound.tgz

http://rodzilla.free.fr/wz2100/warzone2 ... adsave.tgz

* For Gigs of WZ mods, maps, Ski A.I.s, editors, utilities & tutorials go here:

http://wzlinkturret.1go.dk/

* Btw... Hi Lord Apoc aka DS inc.... & the rest of ya whom I donot know. :)

* "Vapor Ware" is incorrect on both platforms.

- toodles, Rman. :)
Uppi
n00b
n00b
Posts: 17
Joined: Tue Jan 06, 2004 10:45 pm

Post by Uppi »

A Warzone 2100 Linux Port? :D I loved that game...

Although I didnt't get the openal version to work, the sdl_mixer version worked and the single player campaign is playable (although the videos are not working so I have to remember what the objective was in that particular mission...). But as it seems it's only the software version...

But still I have to say, nice work :D
rodzilla
n00b
n00b
Posts: 5
Joined: Sun Feb 20, 2005 6:34 am

Software version ?

Post by rodzilla »

Yes, Noid adapted the software renderer to SDL.

I'm working on an OpenGL renderer (should be playable but there are still gfx problems and the radar does not work) ; I'll post a preliminary version ASAP.
lovedaddy
n00b
n00b
Posts: 58
Joined: Mon Nov 03, 2003 10:25 pm
Location: UK

wow

Post by lovedaddy »

Thats fantastic news, Warzone is one of my fav RTS games. OpenGL and alsa would be sweeeeet. =)
rodzilla
n00b
n00b
Posts: 5
Joined: Sun Feb 20, 2005 6:34 am

Why ALSA ?

Post by rodzilla »

ALSA is the driver for your sound card. Sure there is a good API, but is doesn't provide 3d sound mixing (or maybe it does ; didn't look at the API for a few years).
OpenAL should be OK for everyone : it's provided in all distributions and it works pretty well (and can use ALSA as a backend IIRC).
lovedaddy
n00b
n00b
Posts: 58
Joined: Mon Nov 03, 2003 10:25 pm
Location: UK

Alsa

Post by lovedaddy »

Just seems to be the most up and coming at the moment, and I believe it can do 5.1 mixing in hardware (doom3 I think does it)
TheBohemian
n00b
n00b
Posts: 33
Joined: Tue Feb 17, 2004 10:18 pm

Wow!

Post by TheBohemian »

This port is cool!

Here some hints for all who want to compile the code:
The makefiles have a hardcoded path to /usr/lib/gcc/i386-redhat-linux/3.4.2

An easy workaround is to create the directory /usr/lib/gcc/i386-redhat-linux
and create a symlink named 3.4.2 which points to your real compiler (e.g. /usr/lib/gcc/i686-pc-linux-gnu/3.3.5).

From the first CD-ROM copy data1.hdr and data1.cab. Now emerge unshield (I used version 0.4)
Call unshield x data1.hdr and it will unpack a lot of stuff. Search for warzone.wdg and copy this in the game/src
directory.

Finally build the game with make GFX=opengl SND=openal (or sdl_mixer)
and run it from the src dir.

@rodzilla+noid: Great work!
GNU Classpath (http://www.classpath.org)

Bringing Java back to the community.

We are running more software than you think and support more platforms you can imagine!
User avatar
wishkah
Guru
Guru
Posts: 441
Joined: Fri May 09, 2003 6:54 am
Location: de

Post by wishkah »

Just wanted to thank you guys for your work. I don't wanna, you knwo, "MORE MORE MORE", but an opengl renderer would be amazing :D
if only I could fill my heart with love...
TheBohemian
n00b
n00b
Posts: 33
Joined: Tue Feb 17, 2004 10:18 pm

Post by TheBohemian »

wishkah wrote:Just wanted to thank you guys for your work. I don't wanna, you knwo, "MORE MORE MORE", but an opengl renderer would be amazing :D
Download the stuff from above and try to compile it. This thing HAS an opengl renderer (it needs some fixes though).

I wonder what is causing the problems with the sound. On my machine 2d/3d sounds are not played sometimes. The beeps in the main menu never work with sdl_mixer. Have put debug output all around it but could not find out what the problem is. :(

Hell, the guys from pumpkin are so funny. Wade through the code and find thousand of freaky comments like this one:

Code: Select all

// Need to check for whole building site, not just one tiles worth. PD,17/01/99
// How about a simple point in rect test - not a wacky loop test - John.
// Hmm, you seem to have introduced a dirty smelly GOTO along the way too - Alex.
// Anyone else care to comment?
// It may be dirty and smelly, but it stops you going through about a hundred other
// if's before the function quits, and if you care to check your K&R this is a perfectly valid
// use of a goto - go on someone else pitch in !! - John.
// K&R notwithstanding, aint no place for gotos in my code, hack-boy - Alex.
There code seems to be a Wiki sometimes :D
GNU Classpath (http://www.classpath.org)

Bringing Java back to the community.

We are running more software than you think and support more platforms you can imagine!
rodzilla
n00b
n00b
Posts: 5
Joined: Sun Feb 20, 2005 6:34 am

SDL_Mixer...

Post by rodzilla »

The SDL_Mixer path is not finished (only worked on OpenAL in fact). Not sure why some sounds are not played, I'm still investigating the issue.
There's a new version : http://rodzilla.free.fr/wz2100/warzone2100.full.tgz
Everything in one file this time. I updated the SDL input stuff (now selecting/creating groups and selecting commanders is configurable which is good news for french keyboards owners).
Bletherskit
n00b
n00b
Posts: 1
Joined: Tue Mar 29, 2005 5:40 am

Post by Bletherskit »

Heya. I've started an OSX port, and have recruited a buddy of mine to help out (though he's the really knowlegable one. I'm just dabbling so far. His nick is boylizard, FYI). We're making progress, but I came over here looking for help on some of the issues we've been having, most notably is our absence of a dynamic makefile. Other than that, cheers! I'll post if we have any more questions.

~Bletherskit
"If your enemy is secure at all points, be prepared for him. If he is in superior strength, evade him...Attack him where he is unprepared, appear where you are not expected."
--Sun Tzu
User avatar
wishkah
Guru
Guru
Posts: 441
Joined: Fri May 09, 2003 6:54 am
Location: de

Post by wishkah »

I installed from the original CD using cedega and I did the unshield stuff and the background-jpegs stuff. Still I can only play the campaign, multiplayer is disabled (I know network doesn't work, but playing against the computer should work, right?). What's wrong? I have the german version of the game. I didn't copy anything from CD2 (not needed during install).
if only I could fill my heart with love...
TheBohemian
n00b
n00b
Posts: 33
Joined: Tue Feb 17, 2004 10:18 pm

Post by TheBohemian »

Yeah, the skirmish mode is inside the multiplayer menu. I think when you click on "multiplayer" another menu appeared that asked about LAN or skirmish play. Unfortunately this was all commented out.

However it may work if we reactivate it ... but I am not sure about this.
I'll try to dig into it.

btw: the discussion about the port is taking place in the realtimestrategies.net. If you are interested in wz development you may follow the threads there :)
GNU Classpath (http://www.classpath.org)

Bringing Java back to the community.

We are running more software than you think and support more platforms you can imagine!
Post Reply