OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: scoutme on January 07, 2005, 06:00:27 am

Title: Powermanga Please
Post by: scoutme on January 07, 2005, 06:00:27 am
can any of you compile and, why not, ipk-ize powermanga for RC8?
It sould be a nice piece of software

http://linux.tlk.fr/ (http://linux.tlk.fr/)


***DEBIAN BINARIES ALREADY WORK - WE JUST NEED TO REPACKAGE***
Title: Powermanga Please
Post by: scoutme on January 07, 2005, 06:40:30 am
I got the debian last unstable binaries and data, and everything work perfectly

so, we just need a packager
Title: Powermanga Please
Post by: pgas on January 07, 2005, 07:09:26 am
you can try to package it yourself, it is very easy, just look at the thread about ipks (https://www.oesf.org/forums/index.php?showtopic=9893)
Title: Powermanga Please
Post by: scoutme on January 07, 2005, 10:51:01 am
thx, I missed it. Going to try
Title: Powermanga Please
Post by: cortez on January 08, 2005, 10:19:41 am
Looked like a nice game, so I gave it a try and tried to compile the sources. It keeps complaining:

Code: [Select]
checking for Mix_GetChunk in -lSDL_mixer... no
configure: error: could not find -lSDL_mixer

The SDL_mixer library is in $X11LIB/libSDL_mixer.so but specifying it in LDFLAGS doesn't help.

Maybe I'll try to compile SDL_mixer and see if that works
Title: Powermanga Please
Post by: scoutme on January 08, 2005, 10:41:34 pm
wait! as already said, the debian binaries already work on zaurus. The only needed step is repackaging; I'm going to get an ipk done as soon as possible - obviously you can do it, too. Follow pgas hints in last posts and you'll have all the necessary info.
(To use debian binaries, just use AR -X PACKAGE.DEB to uncompress; you'll obtain some files. You need DATA.TAR.GZ and CONTROL.TAR.GZ. Uncompress them with TAR XVZF and you'll have some more files. Trash md5 stuff, debian binary, control and keep only those folders you recognise as consistent with your usual file system - a folder called USR or LOCAL for example. Now move to the game data folder, that is ./usr/local/games/powermanga/ and launch the game with ../../..etcetcetcetc..../bin/powermanga) MAKE ALL THIS IN A SEPARATE FOLDER, OR YOU'LL FILL YOUR FS WITH DOZENS OF FILES


I know, that's not so clear... just to get the idea
Title: Powermanga Please
Post by: cortez on January 09, 2005, 07:29:10 am
Thanks for the info. The game looks very good, although it runs a bit slow
Title: Powermanga Please
Post by: Zumi on January 09, 2005, 09:00:17 am
Guys, of course the debian binaries are slow, they weren't compiled with Virtual Floating Point. That's the reason to recompile it with the pdaXrom SDK.

Zumi
Title: Powermanga Please
Post by: pgas on January 09, 2005, 09:09:09 am
I've recompiled it (native compilation, I just removed some -Llibxxx  from the makefiles when  ld complains about it, they don't seem to be needed anyway ).
It's slow but if you run it like this (type the following in a terminal):

Code: [Select]
xrandr -s 1; powermanga --320; xrandr -s 0
It's much better.

maybe adding --nosound also speeds thing up...

(and I need to find some time and courage to build the ipk...)
Title: Powermanga Please
Post by: pgas on January 09, 2005, 11:12:53 am
I've uploaded the ipk in the unstable feed.

edit /usr/local/bin/powermanga.sh if you want to play with the options.
Title: Powermanga Please
Post by: scoutme on January 09, 2005, 05:53:34 pm
nice work