The Battle for Wesnoth on the EeePC *updated*
Free open source games that I actually want to play are few and far between. Then there is Wesnoth.
The Battle for Wesnoth is a turn-based strategy game with a fantasy theme.
Build up a great army, gradually turning raw recruits into hardened veterans. In later games, recall your toughest warriors and form a deadly host against whom none can stand! Choose units from a large pool of specialists, and hand-pick a force with the right strengths to fight well on different terrains against all manner of opposition.
The art is wonderful and the game play and story are captivating. Available on more operating systems than you can probably name, hours of free entertainment to be had from the the multiple campaigns that are available.
So of course I tried to get it running on my Eee PC.
Initially I had terrible problems with the resolution, font size, sprite size, tiles, all of it seemed messed up. I was trying to compile the stable branch.
I tried the development branch and ended up with a whole other set of issues.
My entire adventure can be seen in this thread over at the wesnoth forums.
Turns out not all the fixes for smaller screens were back ported to the stable branch, and the dev branch’s image resize script was broken, so nothing was actually getting resize when compiled with –tinygui.
They released a new version the next day and it works just fine now.
Still a bit tiny, but very much worth it.
So yeah, if you’re looking for a great game to play on your Eee, go for Wesnoth. You’ll have to compile from source however, just grab the dev brach and ./configure –enable-tinygui.
UPDATE:
I suppose in my haste to finish this post, I neglected to mention the build dependencies.
Prior to compiling you’ll need to make sure you have the required development libraries installed. First off, you’ll need to add the debian repositories to your sources.list file. Don’t let that scare you off, I wrote a friendly tutorial for that type of thing here. We need to add a source repository in addition to the ones mentioned in that post. Once we have access to some source packages, getting the appropriate development libraries installed should be a piece of cake. So, following the same procedure, add the following line to your sources.list.
deb-src http://http.us.debian.org/debian stable main contrib non-free
Next, open up a console (ctrl+alt+t) and type in:
sudo apt-get build-dep wesnoth
That will pull down all the stuff required to build wesnoth. There are a few more things we need to install to get the development branch of the code working on the EeePC however. One of these they decided not to mention on the wesnoth pages, which was quite a pisser when I was trying to get this working, and that is the imagemagick package, which is used when compiling with –tinygui to resize the images.
Some of the stuff in the following line may not be needed for it to compile, and I don’t have a machine to test it on right now. The first part (python-dev) you may be able to omit and have yourself some space on your EeePC. Same thing goes for libboost.
Try this:
sudo apt-get install libboost-iostreams-dev imagemagick
And then give it a try. If you get errors give this one a try:
sudo apt-get install python-dev libboost-iostreams1.33.1 libboost-iostreams-dev imagemagick
Then do your ./configure, make, make install.
I hope that helps, if anyone experiences problems with that please let me know in the comments.
Posted in EeePC, Video Games |
March 2nd, 2008 at 10:26 pm
hi, i am also using an eee pc and i love wesnoth! but i also face the resolution issues. i wonder if you can give me some tips.
i read the posts on smallgui and stuff. i tried to compile 1.3.18 from source but at ./configure…it stopped with the error message that SDL wasn’t found. I am running in stock Xandros advanced mode.
can you please advise?
thanks.
March 3rd, 2008 at 6:42 pm
sure, I’ll try and whip up something when I have a chance and send you out an email
March 3rd, 2008 at 10:23 pm
hey thanks for your effort! I tried to apt-get build-dep wesnoth but it’s not found. apt-cache search couldn’t find it either.
my repos looks like this
# Standard repos
deb http://update.eeepc.asus.com/p701/ p701 main
deb http://update.eeepc.asus.com/p701/en/ p701 main
# Comunity repos that should be great but just messes with my system
deb http://download.tuxfamily.org/eeepcrepos/ p701 main etch
# Xandros repos
deb http://xnv4.xandros.com/xs2.0/upkg-srv2/ etch main contrib non-free
deb http://dccamirror.xandros.com/dccri/ dccri-3.0 main
deb http://www.geekconnection.org/ xandros4 main
# Debian repos
deb http://http.us.debian.org/debian/ etch main contrib non-free
deb http://http.us.debian.org/debian/ stable main contrib non-free
Am I missing the repos needed for it?
I also looked for libboost as mentioned above but nope, not there either. and I did apt-get update.
thanks a lot!
March 5th, 2008 at 11:50 am
whoops, forgot to mention you need to have a deb-src entry in your sources.list, … updated article acordingly, should be good to go now
March 30th, 2008 at 5:34 am
hi..
i arrived to type sudo sudo apt-get build-dep wesnoth but it doesn’t works… it tells me :
E: Impossible open file /var/lib/apt/lists/http.us.debian.org_debian_dists_stable_main_source_Sources - open (2 No such file or directory)
what can i do to finish the installation?? pls help me :P
thx a lot..
April 21st, 2008 at 1:02 pm
Need to know, where do I use the ./configure command?
July 18th, 2008 at 4:24 pm
same as above please
August 13th, 2008 at 8:31 am
./configure is executed where you decompressed your sources
August 18th, 2008 at 11:24 pm
can you explain how to install battle of Wesnoth step by step
send to my email…………..
help me plizzzz