Author Topic: Supertux On Sl-c860  (Read 11383 times)

dwagelaar

  • Newbie
  • *
  • Posts: 46
    • View Profile
    • http://soft.vub.ac.be/soft/members/denniswagelaar
Supertux On Sl-c860
« on: January 06, 2005, 11:04:11 am »
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
Zaurus SL-C1000 / Cacko ROM 1.23
Planex 802.11b WiFi CF
1GB PNY SD card
LowePro D-Pods-40 carrying case

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Supertux On Sl-c860
« Reply #1 on: January 30, 2005, 01:56:19 pm »
Quote
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
[div align=\"right\"][a href=\"index.php?act=findpost&pid=60935\"][{POST_SNAPBACK}][/a][/div]

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
« Last Edit: January 30, 2005, 02:06:58 pm by iamasmith »
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

shreks

  • Newbie
  • *
  • Posts: 47
    • View Profile
Supertux On Sl-c860
« Reply #2 on: February 01, 2005, 05:34:21 pm »
Quote
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
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Andy, try this out: [a href=\"http://www.gelhaus.net/zaurus/libpng-devel_1.2_arm.ipk]http://www.gelhaus.net/zaurus/libpng-devel_1.2_arm.ipk[/url]

soundwave106

  • Full Member
  • ***
  • Posts: 108
    • View Profile
Supertux On Sl-c860
« Reply #3 on: February 02, 2005, 03:37:04 pm »
6MB, and it needs temp space on the Sharp memory. Yikes!

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

clofland

  • Full Member
  • ***
  • Posts: 247
    • View Profile
    • http://www.lofland.net/
Supertux On Sl-c860
« Reply #4 on: February 04, 2005, 04:47:56 pm »
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.
C-760 Last Running pdaXrom 1.1.0beta3
- Sandisk UltraII 1GB SD card - Socket LP CF LAN card - Socket LP CF WLAN card - Socket CF Bluetooth Card Rev H -

dwagelaar

  • Newbie
  • *
  • Posts: 46
    • View Profile
    • http://soft.vub.ac.be/soft/members/denniswagelaar
Supertux On Sl-c860
« Reply #5 on: February 07, 2005, 02:56:03 am »
Quote
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
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

You're right, thanks! I suppose I already created that link when testing the package and never thought about it again   . I've recompiled libSDL_image with -lpng12 now, which should link against libpng12.so. Here's the updated package:
[a href=\"http://ssel.vub.ac.be/Members/DennisWagelaar/download/zaurus/libSDL-image_1.2.3-1_arm.ipk]libSDL-image_1.2.3-1_arm.ipk[/url]

I'm afraid I can't test it myself anymore: I've been mugged and they stole my zaurus  
/edit
Got a new zaurus now, so I'm back on track  
/edit
« Last Edit: February 12, 2005, 02:34:09 am by dwagelaar »
Zaurus SL-C1000 / Cacko ROM 1.23
Planex 802.11b WiFi CF
1GB PNY SD card
LowePro D-Pods-40 carrying case

dwagelaar

  • Newbie
  • *
  • Posts: 46
    • View Profile
    • http://soft.vub.ac.be/soft/members/denniswagelaar
Supertux On Sl-c860
« Reply #6 on: February 07, 2005, 03:04:46 am »
Quote
6MB, and it needs temp space on the Sharp memory. Yikes!

Not that I can't unpack it manually , but in the future I wonder if you could keep all temp files on the card if one exists?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=65205\"][{POST_SNAPBACK}][/a][/div]

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).
Zaurus SL-C1000 / Cacko ROM 1.23
Planex 802.11b WiFi CF
1GB PNY SD card
LowePro D-Pods-40 carrying case

mandjab

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Supertux On Sl-c860
« Reply #7 on: February 07, 2005, 09:07:49 am »
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?
« Last Edit: February 07, 2005, 09:08:49 am by mandjab »
Zaurus SL-C 3100,  SL-C 760 Cacko 1.23, Buffalo Wifi, Buffalo Lan card,¨Planex GW-CF11X, 1Go SD card, 512 Mo SD card, 2 X EABL08, 1 CE RH1, 1 sharp Mic

http://myzauri.blogspot.com/

clofland

  • Full Member
  • ***
  • Posts: 247
    • View Profile
    • http://www.lofland.net/
Supertux On Sl-c860
« Reply #8 on: February 07, 2005, 10:10:24 am »
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.
C-760 Last Running pdaXrom 1.1.0beta3
- Sandisk UltraII 1GB SD card - Socket LP CF LAN card - Socket LP CF WLAN card - Socket CF Bluetooth Card Rev H -

soundwave106

  • Full Member
  • ***
  • Posts: 108
    • View Profile
Supertux On Sl-c860
« Reply #9 on: February 07, 2005, 11:43:59 am »
dwagelaar: Yeah, unfortunately Cacko isn't available for the SL-6000L yet. Lousy bulky Sharp ROM.

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

  • Newbie
  • *
  • Posts: 46
    • View Profile
    • http://soft.vub.ac.be/soft/members/denniswagelaar
Supertux On Sl-c860
« Reply #10 on: February 10, 2005, 04:55:37 am »
Quote
dwagelaar: Yeah, unfortunately Cacko isn't available for the SL-6000L yet. Lousy bulky Sharp ROM.

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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=65997\"][{POST_SNAPBACK}][/a][/div]
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  
Zaurus SL-C1000 / Cacko ROM 1.23
Planex 802.11b WiFi CF
1GB PNY SD card
LowePro D-Pods-40 carrying case

soundwave106

  • Full Member
  • ***
  • Posts: 108
    • View Profile
Supertux On Sl-c860
« Reply #11 on: February 10, 2005, 11:04:58 pm »
Yeah, it ran, though I didn't play with it. Too much room!  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

  • Sr. Member
  • ****
  • Posts: 497
    • View Profile
    • http://
Supertux On Sl-c860
« Reply #12 on: February 11, 2005, 12:42:28 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
My Blog | 6000L Tosa + sled | is: Angstrom | was: pdaXrom 1.1.0beta1 | was: stock 1.12 rom + no-ffpe fash kernel + X/Qt Debian |
CF GPS (FGPCFCD01) | USB "Prolific 2303" GPS (USB-UG-200) | Socket CF BT rev. H |  USB "Pegasus II" Ethernet (ADM8511) | PocketTop IR kbd | sip:527630@fwd.pulver.com
Todo: OESF wiki | stable VOIP app | usable GPS app |      Wishlist: VOIP + Bluetooth | GPS + Routing Calc

dwagelaar

  • Newbie
  • *
  • Posts: 46
    • View Profile
    • http://soft.vub.ac.be/soft/members/denniswagelaar
Supertux On Sl-c860
« Reply #13 on: February 11, 2005, 04:09:29 am »
Quote
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
[div align=\"right\"][a href=\"index.php?act=findpost&pid=66570\"][{POST_SNAPBACK}][/a][/div]
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  

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.
Zaurus SL-C1000 / Cacko ROM 1.23
Planex 802.11b WiFi CF
1GB PNY SD card
LowePro D-Pods-40 carrying case

dwagelaar

  • Newbie
  • *
  • Posts: 46
    • View Profile
    • http://soft.vub.ac.be/soft/members/denniswagelaar
Supertux On Sl-c860
« Reply #14 on: February 11, 2005, 04:11:45 am »
Quote
Yeah, it ran, though I didn't play with it. Too much room!  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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=66560\"][{POST_SNAPBACK}][/a][/div]
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...
Zaurus SL-C1000 / Cacko ROM 1.23
Planex 802.11b WiFi CF
1GB PNY SD card
LowePro D-Pods-40 carrying case