Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Return to the Roots: A Settlers 2 rewrite
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
Dr.Willy
Apprentice
Apprentice


Joined: 15 Jul 2007
Posts: 259
Location: NRW, Germany

PostPosted: Fri Nov 26, 2010 3:41 pm    Post subject: Return to the Roots: A Settlers 2 rewrite Reply with quote

I just stumbled on this project and thought some of you might find it interesting.
Quote:
We aim to extend new features such as a multiplayer mode via internet as well as the support for modern hardware and several operating systems like Windows XP/Vista/Seven, Linux and MacOS. Likewise we want to invent some smaller upgrades. Unfortunately it is necessary to rewrite the whole game, but we will stick to the original graphics and sounds, because they are still common and nice to be heard or seen.
So you will still need a original "The Settlers 2 Gold Edition" version to play Settlers 2.5 RttR.

Homepage (german)
Bugtracker+Source
Back to top
View user's profile Send private message
Chewi
l33t
l33t


Joined: 01 Sep 2003
Posts: 725
Location: Perth, Scotland

PostPosted: Tue Dec 21, 2010 1:25 pm    Post subject: Reply with quote

Fantastic!! I love Settlers 2. It does run well under DOSEMU but this is obviously even better. Maybe I'll write an ebuild but I'm not sure how complete this is. I don't speak German.
Back to top
View user's profile Send private message
Yamakuzure
l33t
l33t


Joined: 21 Jun 2006
Posts: 779
Location: Hamburg, Germany

PostPosted: Wed Dec 22, 2010 2:36 pm    Post subject: Reply with quote

They have a testing version and nightly builds. To play the game you need "Settlers 2 Gold Edition".
_________________
Kernel 3.3.1 sources wrote:
drivers/net/ethernet/realtek/r8169.c:74 #define SafeMtu 0x1c20 /* ... actually life sucks beyond ~7k */
Back to top
View user's profile Send private message
Chewi
l33t
l33t


Joined: 01 Sep 2003
Posts: 725
Location: Perth, Scotland

PostPosted: Fri Apr 15, 2011 12:15 am    Post subject: Reply with quote

I have started on the ebuild (and a data ebuild) for this. I have bought a copy from gog.com so I'd be grateful if someone could post the file listing from the original CD so that I can make that work too.
Back to top
View user's profile Send private message
Chewi
l33t
l33t


Joined: 01 Sep 2003
Posts: 725
Location: Perth, Scotland

PostPosted: Fri Apr 15, 2011 5:36 pm    Post subject: Reply with quote

The ebuilds are now up and working at bug #363719 but for the time being, you'll need to change the EAPI on the data ebuild from 4 to 3.
Back to top
View user's profile Send private message
PraetorZero
Apprentice
Apprentice


Joined: 11 Dec 2004
Posts: 236
Location: /home

PostPosted: Sat Apr 16, 2011 12:35 pm    Post subject: Reply with quote

Chewi wrote:
The ebuilds are now up and working at bug #363719 but for the time being, you'll need to change the EAPI on the data ebuild from 4 to 3.


What did you change in the games.eclass to build this?
_________________
What's the worst that can happen?
Back to top
View user's profile Send private message
Chewi
l33t
l33t


Joined: 01 Sep 2003
Posts: 725
Location: Perth, Scotland

PostPosted: Sat Apr 16, 2011 1:15 pm    Post subject: Reply with quote

You can either modify games.eclass to add EAPI4 or modify the ebuild to use EAPI3. You don't need to do both. I recommended modifying the ebuild here because it's safer. The only EAPI4 feature used by the ebuild is REQUIRED_USE. This ensures that cdinstall can only be disabled on x86 and amd64. Without this, emerging the package without cdinstall on other archs will result in an error about Wine not being found. Wine can't be added as a straight !cdinstall? dependency because then the package cannot be keyworded for other archs at all. If you do want to modify games.eclass, this is what you need to do.

Code:
--- games.eclass   2011-04-16 14:08:43.566696909 +0100
+++ games.eclass.new   2011-04-14 22:35:07.902600729 +0100
@@ -12,7 +12,7 @@
 
 case ${EAPI:-0} in
    0|1) EXPORT_FUNCTIONS pkg_setup src_compile pkg_preinst pkg_postinst ;;
-   2|3) EXPORT_FUNCTIONS pkg_setup src_configure src_compile pkg_preinst pkg_postinst ;;
+   2|3|4) EXPORT_FUNCTIONS pkg_setup src_configure src_compile pkg_preinst pkg_postinst ;;
    *) die "no support for EAPI=${EAPI} yet" ;;
 esac


Last edited by Chewi on Sat Apr 16, 2011 2:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
Dr.Willy
Apprentice
Apprentice


Joined: 15 Jul 2007
Posts: 259
Location: NRW, Germany

PostPosted: Sat Apr 16, 2011 2:01 pm    Post subject: Reply with quote

Setting EAPI=3 on the settlers2-data.ebuild doesnt work
Code:
  REQUIRED_USE set, but EAPI='3' doesn't allow it
Back to top
View user's profile Send private message
Chewi
l33t
l33t


Joined: 01 Sep 2003
Posts: 725
Location: Perth, Scotland

PostPosted: Sat Apr 16, 2011 2:13 pm    Post subject: Reply with quote

Oh sorry, I thought it would just ignore REQUIRED_USE. Portage is too smart for its own good. :lol: Remove the REQUIRED_USE line as well then.
Back to top
View user's profile Send private message
Dr.Willy
Apprentice
Apprentice


Joined: 15 Jul 2007
Posts: 259
Location: NRW, Germany

PostPosted: Sat Apr 16, 2011 2:18 pm    Post subject: Reply with quote

By the way, OpenTTD is in a similar situation (os rewrite with original data) and iirc they just tell you to extract the datafiles into some directory.
Saves a lot of hacks and voodoo imo.
Back to top
View user's profile Send private message
Chewi
l33t
l33t


Joined: 01 Sep 2003
Posts: 725
Location: Perth, Scotland

PostPosted: Sat Apr 16, 2011 2:32 pm    Post subject: Reply with quote

OpenTTD has since replaced all the commerical data but yeah. That's slightly different though. The ebuild would be simpler if we were only supporting the CD. It's the gog.com version that makes it a little more complicated but it's worth it because without this ebuild, users would still have to mess about with Wine by hand. At least it's automated this way. This EAPI stuff is only temporary anyway, hopefully games.eclass will officially support EAPI4 soon.
Back to top
View user's profile Send private message
Chewi
l33t
l33t


Joined: 01 Sep 2003
Posts: 725
Location: Perth, Scotland

PostPosted: Sun Jun 12, 2011 10:33 am    Post subject: Reply with quote

I've created a new data ebuild that gets innounp from a separate package and thus no longer requires EAPI 4.
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