First success

(This post was migrated from my previous blog. Originally published: 2006-09-15 13:40:12)

I had some time yestarday to sit down and do some work on Wesnoth, and after a short struggle with compilation of the SDL_net library for ARM architecture and making a few small fixes to the autoconf configuration, I managed to compile the game for GP2X:

grzywacz@stealth bin% file wesnoth
wesnoth: ELF 32-bit LSB executable, ARM, version 1 (ARM), for GNU/Linux 2.0.0, statically linked, stripped

Statically linked binary is 7.2MB in size and… it works! I’ll publish a photo as soon as I can. Still, I have a few problems to solve:

  • Mouse emulation with a joystick (I’ve already written a proof-of-concept code for that, and all is left is integration with the game)
  • Correctly compiled SDL_mixer library, so that it doesn’t segfault in Mix_OpenAudio() function
  • An option to turn automatical verification and generation of game configuration files cache off

I’ll try to solve these whenever I have some free time.

3 Responses to “First success”


  1. 1 Markus Sinner April 16, 2008 at 12:14

    Hello there,

    i am currently downloading wesnoth for GP2X. Its a quite old version there on sourceforge – how is it going? Are your works on wesnoth reintegrated into the wesnoth-sourcetree, so anyone can compile for GP2X?

  2. 2 knowak April 16, 2008 at 4:16

    The sourceforge version is very old indeed. You might have more luck with the gp2x branch we have in our Subversion repository, but it’s not complete, so don’t expect much. Only the smallest scenarios are currently playable due to memory constraints. In short: I haven’t touched it in a while.

  3. 3 Marcus April 27, 2008 at 9:24

    When I first heard about this project some months ago it made me really excited because Wesnoth could turn out to be one of the most impressive efforts on the GP2X. With touchscreen support in the F200 model now, this could be really great. Many love playing Wesnoth on the PC and to have a version to play on the go would be fantastic.

    There’s also the new Pandora console coming out, maybe it be done for that if you think it would be more doable.

    Anyway, just wanted to let you know that a few people care. Thanks for your efforts on this!


Leave a Reply