maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   Widelands - maemo port (https://talk.maemo.org/showthread.php?t=18228)

linman 2008-03-22 23:23

Widelands - maemo port
 
Hi mates,
I am happy to announce that I managed to port Widelands strategy game for maemo platform.

If you want to play the game with enabled sound you should update your libSDL_mixer to latest version. You can get it from here. Please be noted this version is not official, it is mine and is patched to work with old official SDL libs. I am using it and do not have any problem with other packages which depend it.

The main place of the port is in garage and if you find something wrong post your issue there.

The game crashes sometimes. I know. I hope I will find why for the next versions.

Tips:
o The windows in the game can be closed with double click on their border
o For Action boxes first click shows tool tip message and second activates the action
o If you start the game for a first time go to option screen and check "full screen"

At the end :) is a time for me to learn how to play this game ...

New version is available:
o Separated packages
o Installation menu to select where the game should be installed
o Package manager shows correct size after install

Deinstall all previous versions ... Get it now! It is still hot....

widelands-bin 0.3-1 ~ 1MB
widelands-data 0.3 ~ 18MB
widelands-music 0.3 ~ 18MB

First install bin package and next data and music (if you want music).

Widelands@n800 screenshots:

http://free.bsd-bg.net/wlscreens/1.png


http://free.bsd-bg.net/wlscreens/2.png


http://free.bsd-bg.net/wlscreens/3.png


http://free.bsd-bg.net/wlscreens/44.png


http://free.bsd-bg.net/wlscreens/45.png


http://free.bsd-bg.net/wlscreens/47.png

All the best

Anatoli Marinov
Bulgaria

ArnimS 2008-03-22 23:29

Re: Widelands - maemo port
 
Awesome! (Now i can delete this from scratchbox

This is a reeeeally good lookin port for the tablets!

Project Homepage

Blagodarya linman! :)

(edit) Takes >125 MB free space to install. If you split into a bin and data .deb, the bin can set up a symlink from /usr/share/games/widelands to /media/mmcX/share/widelands. Then when the application installer unpacks the widelands data .deb, it goes straight to mmc and doesn't consume space on root filesystem while unpacking.

ukki 2008-03-22 23:58

Re: Widelands - maemo port
 
Quote:

Originally Posted by ArnimS (Post 158935)
(edit) Takes >125 MB free space to install.

Ouch! Any chance of separate package for data files that install on either memory card?

linman 2008-03-23 07:25

Re: Widelands - maemo port
 
I will prepare separate deb packages :)
I do not have a problem with free space for games because my /usr/share/games is a symlink to other directory on my mmcX.
Good workaround could be ... hmmm do the same. Make symlink /usr/share/games to directory where you have a free space.

ArnimS 2008-03-23 11:36

Re: Widelands - maemo port
 
I was doing this myself. However many tablet users are not skilled in linux.

It would be possible to make a .deb package that moves /usr/share/games to mmc and makes a symlink to it. However this could affect other applications and is therefore bad policy.

Ukki and I chose a more 'conservative' solution - i.e. one that does not break convention of the root filesystem. The game is launched from a shellscript in /usr/bin which passes the data directory to the game, and the postinst script modifies the script to point to mmc1 or mmc2 depending on where the user chose to install the game.

For very large game data files, I modified this process to make the binary .deb postinst set up a symlink to 'share' for that game only, then when unpacking the game data goes to mmc without consuming space on root filesystem.

This requires some additional packaging work per-game, but I think it makes the least assumptions about the target system and is thus 'safest' way to achieve the goal.

Bundyo 2008-03-23 12:02

Re: Widelands - maemo port
 
What about permissions on a vfat partition? I couldn't get a deb to install anything on such partition.

locusf 2008-03-23 20:29

Re: Widelands - maemo port
 
Quote:

Originally Posted by Bundyo (Post 159059)
What about permissions on a vfat partition? I couldn't get a deb to install anything on such partition.

Good question :). Maybe ext2 would help a little here.. but I'm not sure it could.

ukki 2008-03-23 20:54

Re: Widelands - maemo port
 
Quote:

Originally Posted by Bundyo (Post 159059)
What about permissions on a vfat partition? I couldn't get a deb to install anything on such partition.

I think ArnimS solved this with his Pingus data package.

linman 2008-03-23 22:34

Re: Widelands - maemo port
 
And what the solution was :) ??

qwerty12 2008-03-23 22:43

Re: Widelands - maemo port
 
Download the pingus data deb and look at the scripts :p


All times are GMT. The time now is 14:30.

vBulletin® Version 3.8.8