Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Gamers & Players
  • Search

Warzone 2100 linux port? Interested?

Having problems getting your favorite Linux game to work? Want to discuss strategies? This is the place!
Post Reply
  • Print view
Advanced search
55 posts
  • Previous
  • 1
  • 2
  • 3
  • Next
Author
Message
TheBohemian
n00b
n00b
Posts: 33
Joined: Tue Feb 17, 2004 10:18 pm

  • Quote

Post by TheBohemian » Sat Apr 02, 2005 2:38 pm

Go into src/main.c and set bDisableLobby to false. Then you will have access to the mp menu where you can play against the computer. Ah yes create a "multiplay/players" inside src first or you will get a segmentation fault.

However the skirmish ai does not work and so the computer players just sit around and do nothing. :(
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!
Top
wishkah
Guru
Guru
User avatar
Posts: 441
Joined: Fri May 09, 2003 6:54 am
Location: de

  • Quote

Post by wishkah » Sat Apr 02, 2005 4:39 pm

TheBohemian wrote:Go into src/main.c and set bDisableLobby to false. Then you will have access to the mp menu where you can play against the computer. Ah yes create a "multiplay/players" inside src first or you will get a segmentation fault.

However the skirmish ai does not work and so the computer players just sit around and do nothing. :(
Ummm, AI should be pretty much platform independent, right? Why isn't it working?

edit: thanks for the link to realtimestrategies.net
if only I could fill my heart with love...
Top
rodzilla
n00b
n00b
Posts: 5
Joined: Sun Feb 20, 2005 6:34 am

Skirmish mode...

  • Quote

Post by rodzilla » Thu Apr 14, 2005 3:21 pm

The skirmish mode works now (or at least seems to).
The source code can be downloaded from the svn repository @ BerliOS (branches/rodzilla) or on this page.
Top
Mandr4ke
Apprentice
Apprentice
User avatar
Posts: 214
Joined: Thu Jul 25, 2002 8:28 pm
Location: Chicago, IL

Re: Skirmish mode...

  • Quote

Post by Mandr4ke » Fri May 13, 2005 8:27 pm

rodzilla wrote:The skirmish mode works now (or at least seems to).
The source code can be downloaded from the svn repository @ BerliOS (branches/rodzilla) or on this page.
Wow this sounds awesome,, i got this game for windows when i got board of starcraft and it was amazing.. just was sorry to see the company who made it went out of busniess right after the release so there were like no updates and no good multiplayer forum to get the word out along with getting lots of player.. it totally blew away star craft and just the types of vehicles was amazing aftering upgrades... hehe
Top
zombi
n00b
n00b
User avatar
Posts: 15
Joined: Tue May 28, 2002 5:10 pm
Location: Budapest, Hungary

  • Quote

Post by zombi » Sat May 28, 2005 9:40 pm

Is there an ebuild for the game? :-)
Top
Calchan
Retired Dev
Retired Dev
Posts: 50
Joined: Thu Aug 15, 2002 12:31 pm
Location: Cannes, France
Contact:
Contact Calchan
Website

  • Quote

Post by Calchan » Wed Jun 15, 2005 10:58 pm

zombi wrote:Is there an ebuild for the game? :-)
Yes. Save the following code in a file named warzone2100-0.1.ebuild (it should go in the games-strategy category of your portage overlay).

Code: Select all

# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit games
DESCRIPTION="Warzone 2100, the 3D real-time strategy game."
HOMEPAGE="http://www.realtimestrategies.net/forums/index.php"
SRC_URI="http://download.berlios.de/warzone/${PN}-src-${PV}.tar.bz2
	http://download.berlios.de/warzone/${PN}-data-${PV}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=">=sys-apps/gawk-3.1.3
	>=media-libs/libsdl-1.2.8
	>=media-libs/sdl-net-1.2.5
	>=media-libs/openal-20040817"

src_compile() {
	# A makefile is provided in the tarball in case the autotools don't
	# work. We use them though, so we need to run autogen.sh.
	cd ${WORKDIR}
	./autogen.sh

	egamesconf
	emake || die "emake failed"
}

src_install() {
	# Can't install itself automatically yet. So we've got to do
	# it manually.
	mkdir -p ${D}/${GAMES_DATADIR}
	cp -Rf ${WORKDIR}/data ${D}/${GAMES_DATADIR}/warzone2100
	cp ${WORKDIR}/src/warzone ${D}/${GAMES_DATADIR}/warzone2100
	gamesperms -R ${D}/${GAMES_DATADIR}/warzone2100
	gamesowners -R ${D}/${GAMES_DATADIR}/warzone2100

	# The executable can only work when started from inside the
	# main warzone directory. Wrapper script needed.
	mkdir -p ${D}/${GAMES_BINDIR}
	echo '#!/bin/bash' > ${D}/${GAMES_BINDIR}/warzone2100
	echo cd ${GAMES_DATADIR}/warzone2100 >> ${D}/${GAMES_BINDIR}/warzone2100
	echo './warzone' >> ${D}/${GAMES_BINDIR}/warzone2100
	gamesperms ${D}/${GAMES_BINDIR}/warzone2100
	chmod ug+x ${D}/${GAMES_BINDIR}/warzone2100
	gamesowners ${D}/${GAMES_BINDIR}/warzone2100
}

pkg_postinst() {
	games_pkg_postinst
	einfo "To start the game, run :"
	einfo "     warzone2100"
	einfo "You can then modify ~/.warzone2100/config to your liking."
	echo
	einfo "Please, post bugs at :"
	einfo "     http://developer.berlios.de/bugs/?group_id=2909"
	einfo "Your reward will be a better Warzone 2100."
	echo
}
For those who don't know, here's how to use it. In my case, my portage overlay is located at /usr/local/portage, so the file's full path is /usr/local/portage/games-strategy/warzone2100/warzone2100-0.1.ebuild. More info on how to setup a portage overlay here.

Don't forget to generate a digest for it. For example, I had to type :

Code: Select all

ebuild /usr/local/portage/games-strategy/warzone2100/warzone2100-0.1.ebuild digest
Then

Code: Select all

emerge warzone2100
and enjoy. Start the game by typing warzone2100, and once you have started it once, edit ~/.warzone2100/config and restart. Changing the state of the fullscreen and resolution variables is strongly advised (most standard resolutions are supported). Other variables are editable from inside the game.

It's still pretty experimental, but very playable. We mostly need feedback on network games at this time, but any bug/suggestion is welcome. Don't forget to report bugs at http://developer.berlios.de/bugs/?group_id=2909.
Top
Calchan
Retired Dev
Retired Dev
Posts: 50
Joined: Thu Aug 15, 2002 12:31 pm
Location: Cannes, France
Contact:
Contact Calchan
Website

  • Quote

Post by Calchan » Tue Jun 21, 2005 9:57 am

There's a new, cleaner, ebuild available. It's only interesting if you want to test it. If all you want is play the game, there's no need to bother about it. Get it here.

A new Warzone 2100 release should come very soon (if we decide to go for a 0.1.1 update) or later (if we end up going directly for a 0.2 release). I'll keep you guys posted.
Top
Menfis
n00b
n00b
User avatar
Posts: 68
Joined: Sun Jun 12, 2005 7:51 am
Location: /home/Latvia

  • Quote

Post by Menfis » Tue Jun 21, 2005 10:37 am

Nice. I`l try that.
Linux - be root; Windows - reboot
-
Microsoft internet explorer: A simple Windows XP tool which allows the user to browse to Mozilla.com and download Firefox, a web browser.
Top
bob0linus
n00b
n00b
Posts: 1
Joined: Tue Jun 21, 2005 1:51 pm

It compiles at least

  • Quote

Post by bob0linus » Tue Jun 21, 2005 4:53 pm

Works good here. I guess I have to decide to switch on GLX for x windows. Using vnc into my linux machine won't cut it. :)
[/code]

Code: Select all

# Forgot to run this as superuser at first
ebuild /usr/local/portage/games-strategy/warzone2100/warzone2100-0.1-r1.ebuild digest

emerge --ask warzone2100

*  games-strategy/warzone2100
      Latest version available: 0.1-r1
      Latest version installed: 0.1-r1
      Size of downloaded files: 26,952 kB
      Homepage:    http://www.realtimestrategies.net/forums/index.php
      Description: Warzone 2100, the 3D real-time strategy game.
      License:     GPL-2
Xlib: extension "GLX" missing on display ":1.0".
Xlib: extension "GLX" missing on display ":1.0".
Top
Calchan
Retired Dev
Retired Dev
Posts: 50
Joined: Thu Aug 15, 2002 12:31 pm
Location: Cannes, France
Contact:
Contact Calchan
Website

Re: It compiles at least

  • Quote

Post by Calchan » Thu Jun 23, 2005 6:25 pm

bob0linus wrote:Works good here. I guess I have to decide to switch on GLX for x windows. Using vnc into my linux machine won't cut it. :)
[/code]

Code: Select all

# Forgot to run this as superuser at first
ebuild /usr/local/portage/games-strategy/warzone2100/warzone2100-0.1-r1.ebuild digest

emerge --ask warzone2100

*  games-strategy/warzone2100
      Latest version available: 0.1-r1
      Latest version installed: 0.1-r1
      Size of downloaded files: 26,952 kB
      Homepage:    http://www.realtimestrategies.net/forums/index.php
      Description: Warzone 2100, the 3D real-time strategy game.
      License:     GPL-2
Xlib: extension "GLX" missing on display ":1.0".
Xlib: extension "GLX" missing on display ":1.0".
You can trigger the 3D software renderer with the -software option, like this :

Code: Select all

warzone2100 -software
This way you don't need opengl any more. You still need X, though.
Top
Crocodil
Apprentice
Apprentice
User avatar
Posts: 163
Joined: Thu May 06, 2004 5:45 pm
Location: Poznan, Poland

  • Quote

Post by Crocodil » Fri Jun 24, 2005 3:00 pm

Hi :)

The ebuild works fine for me :) And I do enjoy the game very much :)

I have 2 problems though:

1. The game segfaults randomly (it happenes about once in 5 hours of playing)

2. Mission briefings disappear too quickly - I can't read them. (not even in the "intelligence" panel)

Regards,
Crocodil
Top
Calchan
Retired Dev
Retired Dev
Posts: 50
Joined: Thu Aug 15, 2002 12:31 pm
Location: Cannes, France
Contact:
Contact Calchan
Website

Release 0.2 and new ebuild

  • Quote

Post by Calchan » Tue Jun 28, 2005 9:51 am

Charun wrote:
bob0linus wrote:Works good here. I guess I have to decide to switch on GLX for x windows. Using vnc into my linux machine won't cut it. :)
[/code]

Code: Select all

# Forgot to run this as superuser at first
ebuild /usr/local/portage/games-strategy/warzone2100/warzone2100-0.1-r1.ebuild digest

emerge --ask warzone2100

*  games-strategy/warzone2100
      Latest version available: 0.1-r1
      Latest version installed: 0.1-r1
      Size of downloaded files: 26,952 kB
      Homepage:    http://www.realtimestrategies.net/forums/index.php
      Description: Warzone 2100, the 3D real-time strategy game.
      License:     GPL-2
Xlib: extension "GLX" missing on display ":1.0".
Xlib: extension "GLX" missing on display ":1.0".
You can trigger the 3D software renderer with the -software option, like this :

Code: Select all

warzone2100 -software
This way you don't need opengl any more. You still need X, though.
Forget that, it doesn't work. If you want to run with the software 3D renderer, you need to emerge the new version (see below) with -opengl in your USE flags.

Which brings me to the good news. There's a new release of Warzone 2100, and a new ebuild to go with it. Get it here. It's strongly advised to update if you Linux users want to play network games with Windows users (as there was a bug preventing this). Check the Changelog here.
Top
CodAv
Apprentice
Apprentice
Posts: 171
Joined: Sun May 09, 2004 2:52 pm
Location: Essen, Germany
Contact:
Contact CodAv
Website

  • Quote

Post by CodAv » Wed Jun 29, 2005 8:40 pm

Great game, have bought it as it came out, but was very disappointed that it won't run on WinXP anymore, and no luck with wine too. Tried the LOKI installer version, and it worked :)
It still needs a lot of work, but I would love it to have a fully functional WZ2100 again, which I could play with some friends. If I would have the experience with C, I would be glad to help in programming.
Debian is available in three different versions: rusty, stale and broken.
Top
stobbsm
Guru
Guru
Posts: 452
Joined: Sun May 23, 2004 3:07 am

  • Quote

Post by stobbsm » Wed Jun 29, 2005 8:56 pm

Code: Select all

Fatal signal: Segmentation Fault (SDL Parachute Deployed)
that's all I get after I emerge 0.2, or even downgrade to 0.1.

I have lib-sdl 1.2.8-r1, sdl-net 1.2.6, latest opengl and openal

all the reqs are met software wise, what's going on??
Sysadmin of Ubuntu systems and servers....
Although my own server is gentoo....
Top
Calchan
Retired Dev
Retired Dev
Posts: 50
Joined: Thu Aug 15, 2002 12:31 pm
Location: Cannes, France
Contact:
Contact Calchan
Website

  • Quote

Post by Calchan » Fri Jul 01, 2005 5:49 am

stobbsm wrote:

Code: Select all

Fatal signal: Segmentation Fault (SDL Parachute Deployed)

that's all I get after I emerge 0.2, or even downgrade to 0.1.

I have lib-sdl 1.2.8-r1, sdl-net 1.2.6, latest opengl and openal

all the reqs are met software wise, what's going on??
You should try removing ~/.warzone2100/config and see what it gives. If it still doesn't work, could you please give us a gdb backtrace ? Because without that it's hard to tell what the issue is.
Top
stobbsm
Guru
Guru
Posts: 452
Joined: Sun May 23, 2004 3:07 am

  • Quote

Post by stobbsm » Fri Jul 01, 2005 2:25 pm

Starting program: /usr/share/games/warzone2100/warzone
(no debugging symbols found)...[Thread debugging using libthread_db enabled]
[New Thread 1088604384 (LWP 28492)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1088604384 (LWP 28492)]
0x080f7d6f in ?? ()
(gdb) next
Cannot find bounds of current function
That's the output from GDB

mabye I'll try to compile it myself, and see if that works
Sysadmin of Ubuntu systems and servers....
Although my own server is gentoo....
Top
stobbsm
Guru
Guru
Posts: 452
Joined: Sun May 23, 2004 3:07 am

  • Quote

Post by stobbsm » Tue Jul 05, 2005 3:52 pm

doesn't work for me
even straight compile gives me the same problem
Sysadmin of Ubuntu systems and servers....
Although my own server is gentoo....
Top
Calchan
Retired Dev
Retired Dev
Posts: 50
Joined: Thu Aug 15, 2002 12:31 pm
Location: Cannes, France
Contact:
Contact Calchan
Website

warzone2100-0.2.1.ebuild

  • Quote

Post by Calchan » Sun Jul 17, 2005 5:50 am

Version 0.2.1 is now available, get the ebuild here. Main changes are : more maps, more sample music (and new shuffle playing mode), technology levels 2 and 3 are back, lots of bug fixes.

Don't forget to 'rm ~/.warzone' in case you're experiencing any difficulty. Check the README for info on changes in playlist syntax.
Top
Elwin
n00b
n00b
Posts: 1
Joined: Wed Jul 27, 2005 4:35 pm

  • Quote

Post by Elwin » Wed Jul 27, 2005 4:38 pm

stobbsm wrote:doesn't work for me
even straight compile gives me the same problem
I 've the same problem but an emerge without opengl support solve it.
Good luck
Top
Calchan
Retired Dev
Retired Dev
Posts: 50
Joined: Thu Aug 15, 2002 12:31 pm
Location: Cannes, France
Contact:
Contact Calchan
Website

  • Quote

Post by Calchan » Thu Jul 28, 2005 7:43 am

To Elwin and stobsm,
We are continuously fixing bugs (see below), but if you want more support to help you compile Warzone 2100, you should drop by the mailing lists. But first, try the latest version.

To everybody,
Version 0.2.2 has just been released. It's a bugfix release, here's what concerns gentoo users in the changelog:

* More Compiler warning fixes.
* Fixed a few assert-related problems.
* Lots of lex/yacc related fixes.
* Fixed a crash with missing videos
* Fixed a wrong function definition / call in multiint.c.
* Fixed crash with international characters.
* Fixed memory release crash.
* Removed the last traces of stubs.c in both ivis directories (and thus fixed building the software renderer with automake).
* Check that video mode can actually be set.

The ebuild doesn't change. Just copy warzone2100-0.2.1.ebuild to warzone2100-0.2.2.ebuild, do a digest, and you can emerge warzone2100.
Top
hooflungpoo
n00b
n00b
Posts: 33
Joined: Sat Sep 10, 2005 7:16 pm

  • Quote

Post by hooflungpoo » Tue Sep 13, 2005 4:14 pm

WoW I still have my Windows version handy! I would love to play this under linux natively!
Top
-Rick-
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 77
Joined: Sun Aug 29, 2004 6:41 pm
Location: Holland

  • Quote

Post by -Rick- » Tue Sep 13, 2005 5:53 pm

hooflungpoo wrote:WoW I still have my Windows version handy! I would love to play this under linux natively!
The best thing is that you don't even need it ;)
Cube bots
Nixstaller - Easy creatable installers for *nix
Top
Jeremy_Z
l33t
l33t
User avatar
Posts: 671
Joined: Mon Apr 05, 2004 3:21 pm
Location: Shanghai

  • Quote

Post by Jeremy_Z » Tue Sep 13, 2005 7:24 pm

Nice work. But got some issues : first can't read briefing / intelligence ? when i click nothing is written .. or maybe it goes too fast...
I am blocked at the mission with the transport. A timer of 15 minutes starts (but i don't know why) and a transport appears in the base. I guessed i need to fill 10 units in it and send the transport .. but :
When the transport leaves, i got a new map, i can still move the camera but nothing happens. There if i try to access mission briefing / intelligence, it says mission failed .. ok. When the timer run off, nothing happens. Also when the timers run off before sending the transport nothing happens neither, and when i send the transport then, it stops at the border of the map.

:evil:
"Because two groups of consumers drive the absolute high end of home computing: the gamers and the porn surfers." /.
My gentoo projects, Kelogviewer and a QT4 gui for etc-proposals
Top
maKKus
Guru
Guru
User avatar
Posts: 356
Joined: Wed Aug 07, 2002 9:01 am
Location: /Universe/Milky Way/Sol/Earth/Europe/EEC/The Netherlands/Limburg/Beek/Neerbeek
Contact:
Contact maKKus
Website

  • Quote

Post by maKKus » Fri Sep 16, 2005 10:30 am

If you want to skip a level, because it doesn't work or other reasons, press [t] and type

hallo mein schatz [enter]

this will skip the level,

If you want to stop/start the timer, press [t] and type

toggle time [enter]
Top
m.b.j.
Guru
Guru
Posts: 407
Joined: Fri Sep 12, 2003 12:16 pm
Location: Germany (Essen)

  • Quote

Post by m.b.j. » Fri Sep 16, 2005 2:01 pm

Tryed to compile on amd64

Code: Select all

/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libSDL.so when searching for -lSDL
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libSDL.a when searching for -lSDL
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/X11R6/lib/libSDL.so when searching for -lSDL
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/X11R6/lib/libSDL.a when searching for -lSDL
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../libSDL.so when searching for -lSDL
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../libSDL.a when searching for -lSDL
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libSDL.so when searching for -lSDL
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libSDL.a when searching for -lSDL
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lSDL
collect2: ld returned 1 exit status
make[2]: *** [warzone] Error 1
make[2]: Leaving directory `/var/tmp/portage/warzone2100-2.2/work/warzone2100-2.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/warzone2100-2.2/work/warzone2100-2.2'
make: *** [all] Error 2
i have all this emul-linux-x86 libarys installed, what i can do?
root@mbj # echo "sys-pizza/calzone -tunfish" >> /etc/paludis/use.conf
root@mbj # paludis -i calzone --dl-blocks discard
Top
Post Reply
  • Print view

55 posts
  • Previous
  • 1
  • 2
  • 3
  • Next

Return to “Gamers & Players”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy