maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   Pingus: Lemmings Clone (https://talk.maemo.org/showthread.php?t=9794)

tabletrat 2007-09-22 22:40

Re: Pingus: Lemmings Clone
 
I get 'gzip: Invalid magic' when I try to unzip pingus.gz. Any ideas on that?

ArnimS 2007-09-23 20:46

Re: Pingus: Lemmings Clone
 
Quote:

Originally Posted by tabletrat (Post 77133)
I get 'gzip: Invalid magic' when I try to unzip pingus.gz. Any ideas on that?

The Pingus team just released a new version today, so I built a proper package out of it... (edit url) http://www.pupnik.de/pingus.html

The binary installs with app manager on 770. (N800 users still need to install with dpkg -i)

If you have ~22MB free on your root fs you can also just click on the data deb or install from file in app manager.

One way to get around the limited space is to do this as root:

mkdir /media/mmc1/share
mv /usr/share/games /media/mmc1/share
ln -s /media/mmc1/share/games /usr/share/games

PROBLEM WITH THIS is that application-manager and apt will break when trying to set perms of installed files. So you need to dpkg-i them :P

That creates a directory called 'share' on your mmc and makes a symbolic link (like a shortcut on windows) from your /usr/share/games to /media/mmc1/share/games directory.

I've found this works quite well and spares me all the monkeywork modifying games or changing the default data directories. You might get warnings about not being able to set file permissions, but programs shouldn't care about perms in the share directory. At least i've never had a problem with share directories on vfat.

jmk 2007-09-23 21:57

Re: Pingus: Lemmings Clone
 
Error 404: working url: http://www.pupnik.de/pingus.html

First I removed all the old files and installed latest Pingus directly from the debs (opera & app manager).

echo $PATH: /usr/bin:/bin

So you need to run it with command /usr/games/pingus but it doesn't find datadir (checking for file: '/usr/games/.../share/pingus/data//data/core.res)

Ok you need to include datadir to start command:

$ /usr/games/pingus -g 800x480 -f --fast-mode --datadir /usr/share/games/pingus/data/

Then Pingus starts and you can see black screen and mouse cursor couple seconds but then it crashes: Unable to initialize SDL_Mixer: No available audio device

UPDATE: without sounds it runs fine (/usr/games/pingus -g 800x480 -f -s -m --fast-mode --datadir /usr/share/games/pingus/data/)

ArnimS 2007-09-23 22:16

Re: Pingus: Lemmings Clone
 
Quote:

Originally Posted by jmk (Post 77279)
Error 404: working url: http://www.pupnik.de/pingus.html

First I removed all the old files and installed latest Pingus directly from the debs (opera & app manager).

echo $PATH: /usr/bin:/bin

So you need to run it with command /usr/games/pingus but it doesn't find datadir (checking for file: '/usr/games/.../share/pingus/data//data/core.res)

Ok you need to include datadir to start command:

$ /usr/games/pingus -g 800x480 -f --fast-mode --datadir /usr/share/games/pingus/data/

Then Pingus starts and you can see black screen and mouse cursor couple seconds but then it crashes: Unable to initialize SDL_Mixer: No available audio device

UPDATE: without sounds it runs fine (/usr/games/pingus -g 800x480 -f -s -m --fast-mode --datadir /usr/share/games/pingus/data/)

thanks for the test - will add proper deps - libsdl1.2 and image and mixer - and move bin to /usr/bin -- we are working on fixing a patch right now.

Generallly SDL games will make use of the following, so if you're having problems, install one of them.

libsdl1.2 - Simple "Direct"Media Layer
libsdl-net1.2 - Network library for libSDL
libsdl-mixer1.2 - Mixer library for libSDL
libsdl-image1.2 - Image loading library for SDL.
libsdl-sound1.2 - Decoder of several sound file formats for SDL
libsdl-ttf2.0-0 - ttf library for Simple DirectMedia Layer with FreeType 2 support

jhoff80 2007-12-06 20:27

Re: Pingus: Lemmings Clone
 
Any chance we could get this for OS2008? I feel ilke the speed increase would help it.

asqwasqw 2007-12-07 05:33

Re: Pingus: Lemmings Clone
 
if you could get it onto os 08 that would be amazing, absolutly amazing

ArnimS 2007-12-08 04:13

Re: Pingus: Lemmings Clone
 
Quote:

Originally Posted by asqwasqw (Post 105521)
if you could get it onto os 08 that would be amazing, absolutly amazing

Yeah i'm chilling a bit waiting for the N810. Not motivated to do much work atm.

asqwasqw 2007-12-08 05:08

Re: Pingus: Lemmings Clone
 
thats ok, eitherf way, what you've done is amazing

asqwasqw 2008-01-17 06:21

Re: Pingus: Lemmings Clone
 
bump
os08 update?
feeling less lazy? =) Edit: i mean motivated

asqwasqw 2008-01-23 04:04

Re: Pingus: Lemmings Clone
 
er... i feel sorta greedy, but
bump


All times are GMT. The time now is 21:31.

vBulletin® Version 3.8.8