Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Darwinia - Just tried lots of fun.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
Dirk.R.Gently
Guru
Guru


Joined: 29 Jan 2007
Posts: 546
Location: Titan

PostPosted: Mon Jun 04, 2007 5:44 am    Post subject: Darwinia - Just tried lots of fun. Reply with quote

Just played Darwinia (its a quick game) and really liked it. I wrote down my experiences on the wiki for any that care to see it. Yes, its a commercial game but it's well done and only $20.

HOWTO Darwinia
_________________
Helpful Linux Tidbits
Back to top
View user's profile Send private message
Naib
Advocate
Advocate


Joined: 21 May 2004
Posts: 4104
Location: Removed by Neddy

PostPosted: Mon Jun 04, 2007 11:40 am    Post subject: Reply with quote

darwinia is a great game!
_________________
A free press is the unsleeping guardian of every other right that free men prize; it is the most dangerous foe of tyranny. Where men have the habit of liberty, the Press will continue to be the vigilant guardian of the rights of the ordinary citizen.
Back to top
View user's profile Send private message
vputz
Guru
Guru


Joined: 16 Mar 2005
Posts: 308
Location: Oxford, England

PostPosted: Mon Jun 04, 2007 2:47 pm    Post subject: Reply with quote

Been meaning to get that one actually--played through the demo a couple times. I'm not sure it would work on my HTPC, though, and my desktop is dead since my video card started melting down.

Games are one area where I'm more inclined to accept commercial properties than, say, compilers. I think source code should be free/open/libre, but for whatever reason, I think art/content/etc is more permissible (however, I'm a HUGE fan of the Creative Commons license for it!).
Back to top
View user's profile Send private message
Rabbi Hillel
Apprentice
Apprentice


Joined: 15 Feb 2007
Posts: 209
Location: Norderstedt, Hamburg

PostPosted: Mon Jun 04, 2007 6:02 pm    Post subject: Reply with quote

Good idea.

I think darwinia would appear more fluid if it's compiled for your architecture with a recent compiler.

I think it's compiled with gcc3.2 or someting alike.
_________________
Gentoo - the chosen distro.
Back to top
View user's profile Send private message
Rabbi Hillel
Apprentice
Apprentice


Joined: 15 Feb 2007
Posts: 209
Location: Norderstedt, Hamburg

PostPosted: Tue Jun 05, 2007 8:22 am    Post subject: Reply with quote

Btw.: You can link the libsdl shipped with the game to your gentoo-compiled libsdl. It fastens up performance.
_________________
Gentoo - the chosen distro.
Back to top
View user's profile Send private message
Dirk.R.Gently
Guru
Guru


Joined: 29 Jan 2007
Posts: 546
Location: Titan

PostPosted: Fri Jun 08, 2007 3:24 am    Post subject: Reply with quote

Perhaps you can explain how to do that? I'm still a little bit new to knowing how the libraries work.
_________________
Helpful Linux Tidbits
Back to top
View user's profile Send private message
Naib
Advocate
Advocate


Joined: 21 May 2004
Posts: 4104
Location: Removed by Neddy

PostPosted: Fri Jun 08, 2007 6:55 am    Post subject: Reply with quote

Dirk.R.Gently wrote:
Perhaps you can explain how to do that? I'm still a little bit new to knowing how the libraries work.


in the game working directory there will be a libSDL-1.2.so.0, this will be an older one to what is on yr system AS well as a "bloated"/slow lib doe to un-nessary stuff (ie USE flags, fbcon is a big culpret). Go into the game dir and rename the static lib an re-link it against system on - as well as openal.so

This is the same for most binary games

For ut2004

mv /opt/ut2004/System/libSDL-1.2.so.0 /opt/ut2004/System/libSDL-1.2.so.0-orig
ln -s /usr/lib/libSDL-1.2.so.0 /optut2004/System/libSDL-1.2.so.0

This now uses teh system,updated,tuned libSDL over the static,old,bloaded gate-shipped copy
_________________
A free press is the unsleeping guardian of every other right that free men prize; it is the most dangerous foe of tyranny. Where men have the habit of liberty, the Press will continue to be the vigilant guardian of the rights of the ordinary citizen.
Back to top
View user's profile Send private message
Rabbi Hillel
Apprentice
Apprentice


Joined: 15 Feb 2007
Posts: 209
Location: Norderstedt, Hamburg

PostPosted: Fri Jun 08, 2007 9:08 am    Post subject: Reply with quote

Instruction for optimizing darwinia

Install:

Code:
echo games-strategy/darwinia >> /etc/portage/package.keywords/common
emerge darwinia

Note: The unmasked version of darwinia is more actual than the latest patch you can download from the official site ( http://www.darwinia.co.uk/support/linux.html )! I realy love gentoo for such things.

Now mount your darwina cdrom to /mnt/cdrom.

If you've got an iso-file do:

Code:
mount -t iso9660 -o loop,ro darwinia.iso /mnt/cdrom/


Then copy main.dat and sounds.dat to /opt/darwinia/lib/ :

Code:
cp /mnt/cdrom/gamefiles/*.dat /opt/darwinia/lib/



To link the shipped libraries to your gentoo-optimized ones do:

Backing up:
Code:
mv /opt/darwinia/lib/libSDL-1.2.so.0 /opt/darwinia/lib/libSDL-1.2.so.0_backup
mv /opt/darwinia/lib/libvorbisfile.so.3 /opt/darwinia/lib/libvorbisfile.so.3_backup
mv /opt/darwinia/lib/libvorbis.so.0 /opt/darwinia/lib/libvorbis.so.0_backup
mv /opt/darwinia/lib/libogg.so.0 /opt/darwinia/lib/libogg.so.0_backup


For linking:
Code:
ln -s /usr/lib/libSDL-1.2.so.0 /opt/darwinia/lib/libSDL-1.2.so.0
ln -s /opt/darwinia/lib/libvorbisfile.so.3 /opt/darwinia/lib/libvorbisfile.so.3
ln -s /opt/darwinia/lib/libvorbis.so.0 /opt/darwinia/lib/libvorbis.so.0
ln -s /opt/darwinia/lib/libogg.so.0 /opt/darwinia/lib/libogg.so.0


Enjoy!

http://www.darwinia.co.uk/


Last edited by Rabbi Hillel on Fri Jun 08, 2007 9:50 am; edited 4 times in total
Back to top
View user's profile Send private message
Rabbi Hillel
Apprentice
Apprentice


Joined: 15 Feb 2007
Posts: 209
Location: Norderstedt, Hamburg

PostPosted: Fri Jun 08, 2007 9:12 am    Post subject: Reply with quote

Btw. it would be nice to include this into the ebuild.

Stupidly I'm not able by myself for that.
_________________
Gentoo - the chosen distro.
Back to top
View user's profile Send private message
Naib
Advocate
Advocate


Joined: 21 May 2004
Posts: 4104
Location: Removed by Neddy

PostPosted: Fri Jun 08, 2007 9:16 am    Post subject: Reply with quote

Rabbi Hillel wrote:
Btw. it would be nice to include this into the ebuild.

Stupidly I'm not able by myself for that.


I and others have requested this a few times, but the concensus is that while this *can* give a performance boost it could break the game and in doing such more bug-support is requested
_________________
A free press is the unsleeping guardian of every other right that free men prize; it is the most dangerous foe of tyranny. Where men have the habit of liberty, the Press will continue to be the vigilant guardian of the rights of the ordinary citizen.
Back to top
View user's profile Send private message
Rabbi Hillel
Apprentice
Apprentice


Joined: 15 Feb 2007
Posts: 209
Location: Norderstedt, Hamburg

PostPosted: Fri Jun 08, 2007 9:18 am    Post subject: Reply with quote

What about a use-flag?

It could be the same as for ut2004 for example.

Like: "-linklibs" or something like that.

You always should have the option to choose.
_________________
Gentoo - the chosen distro.
Back to top
View user's profile Send private message
Naib
Advocate
Advocate


Joined: 21 May 2004
Posts: 4104
Location: Removed by Neddy

PostPosted: Fri Jun 08, 2007 9:59 am    Post subject: Reply with quote

yup same thing was suggested (eeks 3year flashback!). You could try again, many games benefit from this and it was only one release of openal that broke sound for be in ut2004
_________________
A free press is the unsleeping guardian of every other right that free men prize; it is the most dangerous foe of tyranny. Where men have the habit of liberty, the Press will continue to be the vigilant guardian of the rights of the ordinary citizen.
Back to top
View user's profile Send private message
BlackEdder
Advocate
Advocate


Joined: 26 Apr 2004
Posts: 2586
Location: Dutch enclave in Egham, UK

PostPosted: Fri Jun 08, 2007 10:27 am    Post subject: Reply with quote

Gentoo's general policy with packages seems to be to install things as intended by upstream. This is one of the reasons I like gentoo, although sometimes it also seems to lead to non-optimum setups.
Back to top
View user's profile Send private message
Rabbi Hillel
Apprentice
Apprentice


Joined: 15 Feb 2007
Posts: 209
Location: Norderstedt, Hamburg

PostPosted: Fri Jun 08, 2007 11:09 am    Post subject: Reply with quote

Okay.

Maybe a hint how to tune at the end of the installation would be possible?
Back to top
View user's profile Send private message
Rabbi Hillel
Apprentice
Apprentice


Joined: 15 Feb 2007
Posts: 209
Location: Norderstedt, Hamburg

PostPosted: Sat Jun 09, 2007 7:45 am    Post subject: Reply with quote

Btw: Does anybody now what the differences are between 1.3.0 and 1.4.0_beta9 and how stable the beta-version is?
Back to top
View user's profile Send private message
Dirk.R.Gently
Guru
Guru


Joined: 29 Jan 2007
Posts: 546
Location: Titan

PostPosted: Sun Jun 10, 2007 2:32 pm    Post subject: Reply with quote

Rabbi Hillel wrote:
Instruction for optimizing darwinia

Install:

Code:
echo games-strategy/darwinia >> /etc/portage/package.keywords/common
emerge darwinia

Note: The unmasked version of darwinia is more actual than the latest patch you can download from the official site ( http://www.darwinia.co.uk/support/linux.html )! I realy love gentoo for such things.

Now mount your darwina cdrom to /mnt/cdrom.

If you've got an iso-file do:

Code:
mount -t iso9660 -o loop,ro darwinia.iso /mnt/cdrom/


Then copy main.dat and sounds.dat to /opt/darwinia/lib/ :

Code:
cp /mnt/cdrom/gamefiles/*.dat /opt/darwinia/lib/



To link the shipped libraries to your gentoo-optimized ones do:

Backing up:
Code:
mv /opt/darwinia/lib/libSDL-1.2.so.0 /opt/darwinia/lib/libSDL-1.2.so.0_backup
mv /opt/darwinia/lib/libvorbisfile.so.3 /opt/darwinia/lib/libvorbisfile.so.3_backup
mv /opt/darwinia/lib/libvorbis.so.0 /opt/darwinia/lib/libvorbis.so.0_backup
mv /opt/darwinia/lib/libogg.so.0 /opt/darwinia/lib/libogg.so.0_backup


For linking:
Code:
ln -s /usr/lib/libSDL-1.2.so.0 /opt/darwinia/lib/libSDL-1.2.so.0
ln -s /opt/darwinia/lib/libvorbisfile.so.3 /opt/darwinia/lib/libvorbisfile.so.3
ln -s /opt/darwinia/lib/libvorbis.so.0 /opt/darwinia/lib/libvorbis.so.0
ln -s /opt/darwinia/lib/libogg.so.0 /opt/darwinia/lib/libogg.so.0


Enjoy!

http://www.darwinia.co.uk/


Looks like Darwinia plays a decent amount faster (I didnt' play that long) but Darwinia does seem to respond better now. Very useful information. I began updating the wiki but then began to feel guilty about it :oops: - it's like plagiarism.
_________________
Helpful Linux Tidbits
Back to top
View user's profile Send private message
Rabbi Hillel
Apprentice
Apprentice


Joined: 15 Feb 2007
Posts: 209
Location: Norderstedt, Hamburg

PostPosted: Sun Jun 10, 2007 6:59 pm    Post subject: Reply with quote

Which came first? The chicken or the egg?

Share this education as you want.

http://www.chumba.com/media/WizardofMenlo.mp3
Back to top
View user's profile Send private message
Dirk.R.Gently
Guru
Guru


Joined: 29 Jan 2007
Posts: 546
Location: Titan

PostPosted: Mon Jun 11, 2007 9:32 pm    Post subject: Reply with quote

Rabbi Hillel wrote:
Which came first? The chicken or the egg?

Share this education as you want.

http://www.chumba.com/media/WizardofMenlo.mp3


Crazy! Do you have this?

http://ubuntu.wordpress.com/2007/06/04/typing-break-and-workrave-keep-rsi-at-bay/
_________________
Helpful Linux Tidbits
Back to top
View user's profile Send private message
estel
n00b
n00b


Joined: 21 Jan 2006
Posts: 26
Location: Bristol, England

PostPosted: Sun Jun 17, 2007 2:23 pm    Post subject: Reply with quote

Rabbi Hillel wrote:
Btw: Does anybody now what the differences are between 1.3.0 and 1.4.0_beta9 and how stable the beta-version is?


Quote:

Changes from 1.3:

* Fix problem where saving a game with Squaddies in transport would cause a segmentation fault on subsequent level load
* Fix SIGFPE during Insurrection:Database
* Fix problem where dynamic buildings were not able to trigger objectives unless listed in the map file.
* Integrate foreign language support from latest Windows Darwinia


From the forums: http://forums.introversion.co.uk/darwinia

So, not really enough changes to merit a 1.3->1.4 bump, but who cares?

Actually Darwinia versioning is being a bit weird at the moment, Linux is at 1.3, with 1.4 beta. Windows has a 1.4 with 1.5 in beta; but the beta has been released as the full version through Steam. 1.4->1.5 has a huge number of changes... but unfortunately these probably are mostly changes that will never see the light of day in the Linux version; because they involve a move from OpenGL to D3D, a large number of new graphical effects based on D3D.

You can get Defcon as well, the most recent game by Introversion, which now has an official Linux release. In this case, portage contains an older RC because I haven't contacted the maintainer about the latest version yet. However, you can download the Defcon 1.42 Linux demo from http://www.everybody-dies.com
_________________
Dell Inspiron 6400 | Pentium Dual Core T2060 | 1GB | 80GB HDD | Gentoo ~
Back to top
View user's profile Send private message
Rabbi Hillel
Apprentice
Apprentice


Joined: 15 Feb 2007
Posts: 209
Location: Norderstedt, Hamburg

PostPosted: Mon Jun 18, 2007 8:56 am    Post subject: Reply with quote

"DEFCON"?

I heard this word the last time I was watching "War Games". When "Defcon 5" was reached everything was peaceful.

http://en.wikipedia.org/wiki/WarGames

http://en.wikipedia.org/wiki/Defcon

Are you ready?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum