View previous topic :: View next topic |
Author |
Message |
DarkStorm_Inc Tux's lil' helper


Joined: 07 Feb 2005 Posts: 105 Location: The Ether
|
Posted: Mon Feb 07, 2005 2:34 pm Post subject: Warzone 2100 linux port? Interested? |
|
|
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) |
|
Back to top |
|
 |
stobbsm Guru

Joined: 23 May 2004 Posts: 452
|
Posted: Mon Feb 07, 2005 5:28 pm Post subject: |
|
|
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.... |
|
Back to top |
|
 |
cato` Guru


Joined: 03 Jun 2002 Posts: 430 Location: Norway, Trondheim
|
|
Back to top |
|
 |
DarkStorm_Inc Tux's lil' helper


Joined: 07 Feb 2005 Posts: 105 Location: The Ether
|
Posted: Tue Feb 08, 2005 12:27 am Post subject: |
|
|
cato` wrote: | http://developer.berlios.de/projects/warzone/ |
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.. |
|
Back to top |
|
 |
kmare l33t


Joined: 20 Nov 2004 Posts: 619 Location: Thessaloniki, Greece
|
Posted: Tue Feb 08, 2005 4:19 am Post subject: |
|
|
you can find the full source code here:
http://wzsource.directgames.net/
it only needs a linux port and we're done  |
|
Back to top |
|
 |
DarkStorm_Inc Tux's lil' helper


Joined: 07 Feb 2005 Posts: 105 Location: The Ether
|
Posted: Tue Feb 08, 2005 10:12 am Post subject: |
|
|
yeah, so anyone wanna work on it?? |
|
Back to top |
|
 |
NumaSan Tux's lil' helper


Joined: 22 Aug 2003 Posts: 100 Location: Copenhagen
|
|
Back to top |
|
 |
DarkStorm_Inc Tux's lil' helper


Joined: 07 Feb 2005 Posts: 105 Location: The Ether
|
Posted: Tue Feb 08, 2005 1:33 pm Post subject: |
|
|
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 |
|
Back to top |
|
 |
lovedaddy n00b

Joined: 03 Nov 2003 Posts: 58 Location: UK
|
|
Back to top |
|
 |
kawsper Tux's lil' helper


Joined: 09 Nov 2004 Posts: 128 Location: Copenhagen, Denmark
|
Posted: Tue Feb 08, 2005 7:48 pm Post subject: |
|
|
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. |
|
Back to top |
|
 |
DarkStorm_Inc Tux's lil' helper


Joined: 07 Feb 2005 Posts: 105 Location: The Ether
|
Posted: Wed Feb 09, 2005 5:24 am Post subject: |
|
|
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++ |
|
Back to top |
|
 |
rodzilla n00b

Joined: 20 Feb 2005 Posts: 5
|
Posted: Sun Feb 20, 2005 6:54 am Post subject: Not much success here... |
|
|
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 ? |
|
Back to top |
|
 |
Rman Jack n00b

Joined: 16 Mar 2005 Posts: 1
|
|
Back to top |
|
 |
Uppi n00b

Joined: 06 Jan 2004 Posts: 17
|
Posted: Thu Mar 17, 2005 11:54 am Post subject: |
|
|
A Warzone 2100 Linux Port? 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  |
|
Back to top |
|
 |
rodzilla n00b

Joined: 20 Feb 2005 Posts: 5
|
Posted: Thu Mar 17, 2005 6:26 pm Post subject: Software version ? |
|
|
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. |
|
Back to top |
|
 |
lovedaddy n00b

Joined: 03 Nov 2003 Posts: 58 Location: UK
|
Posted: Thu Mar 17, 2005 8:00 pm Post subject: wow |
|
|
Thats fantastic news, Warzone is one of my fav RTS games. OpenGL and alsa would be sweeeeet. =) |
|
Back to top |
|
 |
rodzilla n00b

Joined: 20 Feb 2005 Posts: 5
|
Posted: Thu Mar 17, 2005 10:07 pm Post subject: Why ALSA ? |
|
|
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). |
|
Back to top |
|
 |
lovedaddy n00b

Joined: 03 Nov 2003 Posts: 58 Location: UK
|
Posted: Thu Mar 17, 2005 11:33 pm Post subject: Alsa |
|
|
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) |
|
Back to top |
|
 |
TheBohemian n00b

Joined: 17 Feb 2004 Posts: 33
|
Posted: Sat Mar 26, 2005 4:42 pm Post subject: Wow! |
|
|
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! |
|
Back to top |
|
 |
wishkah Guru


Joined: 09 May 2003 Posts: 441 Location: de
|
Posted: Sat Mar 26, 2005 8:36 pm Post subject: |
|
|
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  _________________ if only I could fill my heart with love... |
|
Back to top |
|
 |
TheBohemian n00b

Joined: 17 Feb 2004 Posts: 33
|
Posted: Sun Mar 27, 2005 12:47 am Post subject: |
|
|
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  |
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: |
// 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  _________________ 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! |
|
Back to top |
|
 |
rodzilla n00b

Joined: 20 Feb 2005 Posts: 5
|
Posted: Mon Mar 28, 2005 4:38 pm Post subject: SDL_Mixer... |
|
|
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). |
|
Back to top |
|
 |
Bletherskit n00b

Joined: 29 Mar 2005 Posts: 1
|
Posted: Tue Mar 29, 2005 5:47 am Post subject: |
|
|
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 |
|
Back to top |
|
 |
wishkah Guru


Joined: 09 May 2003 Posts: 441 Location: de
|
Posted: Sat Apr 02, 2005 8:34 am Post subject: |
|
|
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... |
|
Back to top |
|
 |
TheBohemian n00b

Joined: 17 Feb 2004 Posts: 33
|
Posted: Sat Apr 02, 2005 1:34 pm Post subject: |
|
|
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! |
|
Back to top |
|
 |
|