Help - Search - Members - Calendar
Full Version: Supertux On Sl-c860
OESF Forums > General Forums > General Support and Discussion > Software
dwagelaar
SuperTux 0.1.2 has been ported to the Zaurus SL-C860 (and perhaps works on other 640x480 zauruses).

For the binary package, use the feed (also contains all the dependencies).

For people who are interested in the source code: This patch should be applied to the 0.1.2 release version of the source code.

Best regards,
Dennis Wagelaar
iamasmith
QUOTE(dwagelaar @ Jan 6 2005, 04:04 PM)
SuperTux 0.1.2 has been ported to the Zaurus SL-C860 (and perhaps works on other 640x480 zauruses).

For the binary package, use the feed (also contains all the dependencies).

For people who are interested in the source code: This patch should be applied to the 0.1.2 release version of the source code.

Best regards,
Dennis Wagelaar
*


The version of SDL_image on your feed seems to be linked to libpng.so.3 your libpng12 IPK doesn't carry this file (or indeed a link). Therefore supertux fails on trying to load libpng.so.3.

Creating a symlink as follows...

ln -s /usr/lib/libpng12.so.0.1.2.5 /usr/lib/libpng.so.3
ldconfig

Does seem to fix the issue. I would suggest relinking SDL-image after removing libpng.so.3 or adding the link to libpng12.

- Andy
shreks
QUOTE(iamasmith @ Jan 30 2005, 06:56 PM)
The version of SDL_image on your feed seems to be linked to libpng.so.3 your libpng12 IPK doesn't carry this file (or indeed a link). Therefore supertux fails on trying to load libpng.so.3.

Creating a symlink as follows...

ln -s /usr/lib/libpng12.so.0.1.2.5 /usr/lib/libpng.so.3
ldconfig

Does seem to fix the issue. I would suggest relinking SDL-image after removing libpng.so.3 or adding the link to libpng12.

- Andy
*


Andy, try this out: http://www.gelhaus.net/zaurus/libpng-devel_1.2_arm.ipk
soundwave106
6MB, and it needs temp space on the Sharp memory. Yikes!

Not that I can't unpack it manually smile.gif, but in the future I wonder if you could keep all temp files on the card if one exists?
clofland
Cool game, thanks! Very smooth on the Z.

FYI: I have Cacko ROM 1.22, and here is what I did to install:

Installed these packages:
supertux_0.1.2-2_arm.ipk (from above links)
libSDL-image_1.2.3-0_arm.ipk (gotten from here http://ssel.vub.ac.be/Members/DennisWagela.../zaurus/cacko/)
libSDL-mixer_1.2.6-zports-1_arm.ipk (from Cacko's own feed)

Then ran these commands:

ln -s /usr/QtPalmtop.rom/lib/libpng12.so.0.1.2.5 /usr/lib/libpng.so.3
ldconfig

Didn't have to install anything else.
dwagelaar
QUOTE(iamasmith @ Jan 30 2005, 07:56 PM)
The version of SDL_image on your feed seems to be linked to libpng.so.3 your libpng12 IPK doesn't carry this file (or indeed a link). Therefore supertux fails on trying to load libpng.so.3.

Creating a symlink as follows...

ln -s /usr/lib/libpng12.so.0.1.2.5 /usr/lib/libpng.so.3
ldconfig

Does seem to fix the issue. I would suggest relinking SDL-image after removing libpng.so.3 or adding the link to libpng12.

- Andy
*


You're right, thanks! I suppose I already created that link when testing the package and never thought about it again wink.gif . I've recompiled libSDL_image with -lpng12 now, which should link against libpng12.so. Here's the updated package:
libSDL-image_1.2.3-1_arm.ipk

I'm afraid I can't test it myself anymore: I've been mugged and they stole my zaurus sad.gif
/edit
Got a new zaurus now, so I'm back on track smile.gif
/edit
dwagelaar
QUOTE(soundwave106 @ Feb 2 2005, 09:37 PM)
6MB, and it needs temp space on the Sharp memory. Yikes!

Not that I can't unpack it manually smile.gif, but in the future I wonder if you could keep all temp files on the card if one exists?
*


Actually, SuperTux is 11MB when installed... And that is after I compressed all the level files (the original game takes 14MB). Those temp files you're referring to are probably created by the ipkg installer? I'm afraid that's not really under my control... Perhaps it's possible to install SuperTux itself on a card, but I haven't ever tried it. I used the Cacko 1.22 ROM and never really ran below 30MB of free space on the internal flash (this ROM takes approx. 30MB less than the Sharp ROM).
mandjab
Hello All,

I'm not able to make it run. My display freeze when i put it in landscape and When it'in portrait mode, nothing append.

Any Ideas? sad.gif
clofland
You say, "Nothing appeared"

I assume you mean a blank screen? How long did you wait? On my 760 when I start SuperTux (and I start it in landscape mode) the first thing that happens is I get a blank screen and it stays that way for like 30 to 60 seconds and then SuperTux comes up.

Run it from the console and see what messages it gives. This can be helpful too, especially with missing prerequisites.
soundwave106
dwagelaar: Yeah, unfortunately Cacko isn't available for the SL-6000L yet. Lousy bulky Sharp ROM. smile.gif

I personally couldn't run it from a card because my card is unfortunately formatted FAT. A few of the files (the credits file and a couple music files) are upper-case and thus Supertux can't find them. EXT2 formatted cards however should be able to run the program just fine.
dwagelaar
QUOTE(soundwave106 @ Feb 7 2005, 05:43 PM)
dwagelaar: Yeah, unfortunately Cacko isn't available for the SL-6000L yet. Lousy bulky Sharp ROM. smile.gif

I personally couldn't run it from a card because my card is unfortunately formatted FAT. A few of the files (the credits file and a couple music files) are upper-case and thus Supertux can't find them. EXT2 formatted cards however should be able to run the program just fine.
*

I deduct that you did actually manage to get the game running? In that case I can mark that it also works on the SL-6000 in ELSI wink.gif
soundwave106
Yeah, it ran, though I didn't play with it. Too much room! tongue.gif Unfortunately us 6000 users don't have an alternate ROM so that we can get rid of Sharp bloat yet. I should go in and re-format my card as ext2 sometime.
xjqian
i used add/remove to install the supertux ipk. but it always complains about "some of the files can not be extracted". and the installed portion is only about 5mb
dwagelaar
QUOTE(xjqian @ Feb 11 2005, 06:42 AM)
i used add/remove to install the supertux ipk. but it always complains about "some of the files can not be extracted". and the installed portion is only about 5mb
*

That means you didn't have enough storage to complete the installation: you first need 6 MB to download the .ipk file. Then the .ipk will be unpacked to three other files (control.tar.gz, data.tar.gz and debian-binary), which takes another 6 MB. Only then the actual game will be installed from data.tar.gz, taking up 11 MB. After this, the first two 6 MB will be cleared up. End of the line is that you need at least 23 MB of free space to perform the installation the normal way sad.gif

soundwave106 got it to run by unpacking manually, meaning unpacking the .ipk file somewhere else and then just unpack the data.tar.gz file onto the zaurus.
dwagelaar
QUOTE(soundwave106 @ Feb 11 2005, 05:04 AM)
Yeah, it ran, though I didn't play with it. Too much room! tongue.gif Unfortunately us 6000 users don't have an alternate ROM so that we can get rid of Sharp bloat yet. I should go in and re-format my card as ext2 sometime.
*

When I get some time for it, I may check what needs to be done in order to install the game onto a FAT formatted card...
xjqian
Supertux works great on 6k (although the usual 6K problem up/down & left/right are all reversed) when I installed it into internal memory (i had about 21mb free befroe installation). However, the installation to my ext2 sd causes the add/remove application hang. I watched in the system info how the installation goes. interestingly, even though I instructed it to be installed into ext2 sd, the program still installes itself into the internal memory. I guess that's why it confuses the ipkg gui at the end of the installation, when ipkg tried to link and create the desktop icon.
dwagelaar
QUOTE(xjqian @ Feb 11 2005, 11:26 AM)
Supertux works great on 6k (although the usual 6K problem up/down & left/right are all reversed) when I installed it into internal memory (i had about 21mb free befroe installation). However, the installation to my ext2 sd causes the add/remove application hang. I watched in the system info how the installation goes. interestingly, even though I instructed it to be installed into ext2 sd, the program still installes itself into the internal memory.  I guess that's why it confuses the ipkg gui at the end of the installation, when ipkg tried to link and create the desktop icon.
*

I've been disecting the qinstall/ipkg setup mechanism for a bit: qinstall actually installs an ipkg to the /home/tmp/ipkg/inst directory in the main flash and then copies each installed file to the SD card. It then removes the tmp files in the main flash. I also found out that ipkg does not unpack the ipk to the file system, but it pipes the contents. This way, ipkg can directly access the data.tar.gz file inside the ipk. It seems that qinstall enforces some sort of timeout on copying the files from the tmp install directory to the SD card, because installation to SD failed when the package contained above a certain number of files...

I worked around the whole thing by putting the shared supertux data inside a cramfs image: this way you won't need your SD/CF card to be ext2 formatted and qinstall won't trip over it's own clumsiness wink.gif. I put a new version of the package online (0.1.2-3): see the ELSIX supertux page.

You will still need 6 MB (for the ipk) + 7 MB (for the installed files) of temp space on your internal flash.
soundwave106
Hmm, it's not working for me. For one thing, the download had a bad CRC in the control. That probably is what caused the installer to blow.

When I tried to install it manually, I'm hampered by the lack of sudo on the Sharp ROMs. A standard mount gives me the error "can't find /home/zaurus/card/QtPalmtop/share/supertux.cramfs in /etc/fstab", so that's not working. Guess I need to find a sudo package?
dwagelaar
QUOTE(soundwave106 @ Feb 15 2005, 05:50 AM)
Hmm, it's not working for me. For one thing, the download had a bad CRC in the control. That probably is what caused the installer to blow.

When I tried to install it manually, I'm hampered by the lack of sudo on the Sharp ROMs. A standard mount gives me the error "can't find /home/zaurus/card/QtPalmtop/share/supertux.cramfs in /etc/fstab", so that's not working. Guess I need to find a sudo package?
*

That CRC problem is odd: that should have happened to me as well, but apparently it didn't... I've scouted down a recent sudo ipk, which is now in my feed. I've re-packed the control file with sudo added as a dependency. This should solve both of your problems wink.gif
Allen Tsang
I just installed the Supertux but I cannot started it.

I found if I run the supertux in console mode, it give out the following message

'Qt/Embedded data directory is not owned by user 0
Aborted'

Any one know what is happening? Can any help me? sad.gif

Thank you in advance!
dwagelaar
QUOTE(Allen Tsang @ Feb 16 2005, 03:41 PM)
I just installed the Supertux but I cannot started it.

I found if I run the supertux in console mode, it give out the following message

'Qt/Embedded data directory is not owned by user 0
Aborted'

Any one know what is happening?  Can any help me?  sad.gif

Thank you in advance!
*

Hmm, that error message seems hardly related to supertux... Could you tell which zaurus model you use and what ROM is on it?
Stubear
QUOTE(Allen Tsang @ Feb 16 2005, 11:41 PM)
I just installed the Supertux but I cannot started it.

I found if I run the supertux in console mode, it give out the following message

'Qt/Embedded data directory is not owned by user 0
Aborted'

Any one know what is happening?  Can any help me?  sad.gif

Thank you in advance!
*


You are trying to run it as root, that won't work, you must be user zaurus for qtopia apps to run

If your prompt has a # then you are root, if it has $ then you are most probably zaurus.

You can check by running whoami at the prompt

Stu
Allen Tsang
Thank you for dwagelaar and Stubear reply!

I am using C3000 and the special kernal from here.

It is no problem to run spertux from the user 'zaurus' in console mode. I don't know why I can't start supertux normally. Anyone have idea?

Thank in advance!
silvio
Hi,

will not work on my C860 (Cacko 1.22 lite):

supertux: error while loading shared libraries: supertux: undefined symbol: gzungetc

regards,
Silvio
dwagelaar
QUOTE(silvio @ Feb 17 2005, 01:41 PM)
Hi,

will not work on my C860 (Cacko 1.22 lite):

supertux: error while loading shared libraries: supertux: undefined symbol: gzungetc

regards,
Silvio
*

Sounds like you have a problem with your zlib. That's odd, though, since Cacko (lite and full) already include this. Can you find out whether you accidentally have a zlib ipk installed on your zaurus and/or whether the symlinks to your initial libz.so are still there? They should be in /usr/lib and point to /usr/lib.rom/libz.so.1.2.2
silvio
QUOTE(dwagelaar @ Feb 17 2005, 08:47 PM)
QUOTE(silvio @ Feb 17 2005, 01:41 PM)
Hi,
will not work on my C860 (Cacko 1.22 lite):
supertux: error while loading shared libraries: supertux: undefined symbol: gzungetc
*

Sounds like you have a problem with your zlib.
*



OK, now the following error:
Error: I could not load the icon image: /usr/mnt.rom/card/QtPalmtop/bin/../share/supertux/images/icon.xpm
The Simple DirectMedia error that occured was:
Couldn't open /usr/mnt.rom/card/QtPalmtop/bin/../share/supertux/images/icon.xpm

there is no icon.xpm on my Z.

regards,
Silvio
dwagelaar
QUOTE(silvio @ Feb 17 2005, 10:29 PM)
QUOTE(dwagelaar @ Feb 17 2005, 08:47 PM)
QUOTE(silvio @ Feb 17 2005, 01:41 PM)
Hi,
will not work on my C860 (Cacko 1.22 lite):
supertux: error while loading shared libraries: supertux: undefined symbol: gzungetc
*

Sounds like you have a problem with your zlib.
*



OK, now the following error:
Error: I could not load the icon image: /usr/mnt.rom/card/QtPalmtop/bin/../share/supertux/images/icon.xpm
The Simple DirectMedia error that occured was:
Couldn't open /usr/mnt.rom/card/QtPalmtop/bin/../share/supertux/images/icon.xpm

there is no icon.xpm on my Z.

regards,
Silvio
*


Yes, well, that's the error you would get if you run 'supertux' from the command line, instead of 'supertux.sh'. If you run supertux via the icon in the Games tab, it should directly invoke 'supertux.sh'. This 'supertux.sh' is a script that first mounts the supertux.cramfs image, which contains all the data files (including the icon.xpm). After running the game, the script again unmounts the data image file. Hope this solves your problem wink.gif
silvio
QUOTE(dwagelaar @ Feb 19 2005, 02:34 PM)
QUOTE(silvio @ Feb 17 2005, 10:29 PM)
QUOTE(dwagelaar @ Feb 17 2005, 08:47 PM)
QUOTE(silvio @ Feb 17 2005, 01:41 PM)
Hi,
will not work on my C860 (Cacko 1.22 lite):
supertux: error while loading shared libraries: supertux: undefined symbol: gzungetc
*

Sounds like you have a problem with your zlib.
*



OK, now the following error:
Error: I could not load the icon image: /usr/mnt.rom/card/QtPalmtop/bin/../share/supertux/images/icon.xpm
The Simple DirectMedia error that occured was:
Couldn't open /usr/mnt.rom/card/QtPalmtop/bin/../share/supertux/images/icon.xpm

there is no icon.xpm on my Z.

regards,
Silvio
*


Yes, well, that's the error you would get if you run 'supertux' from the command line, instead of 'supertux.sh'. If you run supertux via the icon in the Games tab, it should directly invoke 'supertux.sh'. This 'supertux.sh' is a script that first mounts the supertux.cramfs image, which contains all the data files (including the icon.xpm). After running the game, the script again unmounts the data image file. Hope this solves your problem wink.gif
*



No - the game starts but when it switches to graphic output the screen looks terrible and there is no way to repair it instead of doing a reboot.

Other SDL programms (CrimsonFields, Quake) works fine on my device.

By the way - does anybody know how to implement a hotkey for killing qpe?
silvio
QUOTE
No - the game starts but when it switches to graphic output the screen looks terrible and there is no way to repair it instead of doing a reboot.

Other SDL programms (CrimsonFields, Quake) works fine on my device.

By the way - does anybody know how to implement a hotkey for killing qpe?


Fixed - more libs was overwritten sad.gif
regards,
Silvio
spartan
Could someone perhaps post a sudo package? It's no longer being hosted by any English sources (basically the same source) and it's evidently necessary on the C3000.

Edit:

To run Supertux, sudo is required. Here is a link pulled off the forum for the package:
http://www.zaurususergroup.com/modules.php...q=getit&lid=184
xjqian
I flashed my rom and did it again. So here's a run-down for 6000 stock rom, install in order to avoid dependency warnings.

zlib_1.2.2-1_arm.ipk (internal only)
ligpng12_1.2.8-0 (internal only)
libSDLimage_1.2.3-1 (internal only)
libSDLMixer_1.2.6-zport (1.2.6 from the cacko feed, btw 1.2.5_cvs works as well)
libSDL_1.2.6_cvs this one works or better off replace libSDL-1.2.so.0.0.6 (/mnt/card/QtPalmtop/lib) with gulhem's libSDL-1.2.so.0.0.7 in the fast kernel thread for 6000, then fix links for libSDL-1.2.so.0 and libSDL.so in /home/QtPalmtop/lib
CODE
assume you installed libSDL to the sd card
su
cp [/mnt/cf]/libSDL-1.2.so.0.0.7 /mnt/card/QtPalmtop/lib
rm /home/QtPalmtop/lib/libSDL.so
rm /home/QtPalmtop/lib/libSDL-1.2.so.0
rm /home/QtPalmtop/lib/libSDL-1.2.so.0.0.6
ln -s /mnt/card/QtPalmtop/lib/libSDL-1.2.so.0.0.7 /home/QtPalmtop/lib/libSDL-1.2.so.0.0.7
ln -s /home/QtPalmtop/lib/libSDL-1.2.so.0.0.7 /home/QtPalmtop/lib/libSDL-1.2.so.0
ln -s /home/QtPalmtop/lib/libSDL-1.2.so.0.0.7 /home/QtPalmtop/lib/libSDL.so


sudo-0.1 (internal only)
supertux 0.1.2-3

edit: added zlib, thanks scheck.r
scheck.r
Thanks for the detailed HOW-TO

It works great on my 6K especially with the fast kernel and guylhem's libSDL-1.2.so.0.0.7
It didn't work at first because I didn't have the good zlib library. The one working for me is zlib_1.2.2-1_arm.ipk from http://xqt.sourceforge.jp/feed-testing/ .
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.