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)

ArnimS 2007-09-17 03:08

Pingus: Lemmings Clone
 
I didn't think it could be done, but ...

http://pupnik.de/pingus_nokia_770.jpg

(Edit:) NEW BUILD for OS2007 and 2008! check site for details.

Takes about 10 sec to start up. Music works nicely - framerate a bit low due to the fullscreen 640x480 animations.

Here's in-game

http://pupnik.de/pingus_nokia_770_ingame.jpg

Shortly after the snapshot it crashed :( So there's a bit of work to be done....

(edit) Next morning: Crashes fixed (out of memory condition). FPS speed up to 15 fps with background animation turned off. ... testing continues.

Yacob 2007-09-17 18:34

Re: Pingus: Lemmings Clone
 
Good job as usual ArnimS..look forward to seeing it in action :)

zeez 2007-09-17 18:53

Re: Pingus: Lemmings Clone
 
You're the man!

jonmlee 2007-09-19 07:13

Re: Pingus: Lemmings Clone
 
It would be sweet to get this in .deb or some other one-click for us lazy, not-as-knowledgeable people. Thanks.

Toontje 2007-09-19 15:53

Re: Pingus: Lemmings Clone
 
SWEET!!

How/where to download and run?

jmk 2007-09-20 00:40

Re: Pingus: Lemmings Clone
 
Great work! Does it run on N800?

ArnimS 2007-09-21 00:48

Re: Pingus: Lemmings Clone
 
Quote:

Originally Posted by Toontje (Post 76440)
SWEET!!

How/where to download and run?

Still crashing more than i'd like and i haven't made progress on that, so i guess i have to put what i have up there.

grab it at http://pupnik.de/pingus.html -- pay attention to instructions.

I'm really curious how it plays on the N800.

cheers

jmk 2007-09-21 16:45

Re: Pingus: Lemmings Clone
 
I tried to run it on N800

Btw. you need to extract with: dpkg-deb -X pingus-data_0.7.0-1_all.deb .

chmod +x /home/user/pingus

cd /media/mmc2/user/share/games/pingus/

/home/user/pingus -g 800x480 -f --fast-mode

but then i got errors: /home/user/pingus: error while loading shared libraries: libboost_signals-gcc34-1_34_1.so.1.34.1: cannot open shared object fie: No Such file or directory

ArnimS 2007-09-21 17:15

Re: Pingus: Lemmings Clone
 
Quote:

Originally Posted by jmk (Post 76923)
I tried to run it on N800

Btw. you need to extract with: dpkg-deb -X pingus-data_0.7.0-1_all.deb .

chmod +x /home/user/pingus

cd /media/mmc2/user/share/games/pingus/

/home/user/pingus -g 800x480 -f --fast-mode

but then i got errors: /home/user/pingus: error while loading shared libraries: libboost_signals-gcc34-1_34_1.so.1.34.1: cannot open shared object fie: No Such file or directory

Thanks!

1) the dpkg -X <filename> . works on 770. Did you make sure to include the "." at the end for the destination directory?

2) I'd forgotten about libboost - instructions and downloads updated. I couldn't build a proper libbost .deb so the .so is provided as a naked file.

jmk 2007-09-21 18:17

Re: Pingus: Lemmings Clone
 
Quote:

Originally Posted by ArnimS (Post 76930)
Thanks!

1) the dpkg -X <filename> . works on 770. Did you make sure to include the "." at the end for the destination directory?

2) I'd forgotten about libboost - instructions and downloads updated. I couldn't build a proper libbost .deb so the .so is provided as a naked file.


1. dpkg -X didn't work on N800 (dot included).

2. Downloaded libboost, sudo gainroot, mv file, ldconfig

Now it works on N800. I didn't notice any problems when i tried the first and second practice level.


http://image.bayimg.com/iahfbaabc.jpg

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

ArnimS 2008-01-23 07:00

Re: Pingus: Lemmings Clone
 
what os version do you want

i'll do a new build for 2007 or 2008 for you. 770 users will have to pass on this game - not enough memory to play well.

mannakiosk 2008-01-23 10:59

Re: Pingus: Lemmings Clone
 
Would be very nice to have this on OS 2008. Thanks!

Will you register/upload this at garage?

(Wiki page about doing that: http://maemo.org/community/applicati...epository.html )

asqwasqw 2008-01-27 01:36

Re: Pingus: Lemmings Clone
 
OS 2008 please
i knew that if i was persitent enough it might happen
cant wait
all praise the genius that is Arnim
=)

keypox 2008-01-27 02:00

Re: Pingus: Lemmings Clone
 
awesole im excited

asqwasqw 2008-03-06 04:18

Re: Pingus: Lemmings Clone
 
rebump...
did you forget us? =P

ArnimS 2008-03-06 12:11

Re: Pingus: Lemmings Clone
 
scons
Fatal Errors: * library 'boost_signals' not found

SConstruct: if not config.CheckLibWithHeader('boost_signals', 'boost/signals.hpp', 'c++'):

ls -l /usr/include/boost/signals.hpp
-rw-r--r-- 1 maemo maemo 345 Jul 24 2004 /usr/include/boost/signals.hpp

ldconfig -p |grep libboost
libboost_signals-gcc34-1_34_1.so.1.34.1 (libc6) => /usr/lib/libboost_signals-gcc34-1_34_1.so.1.34.1
libboost_signals-gcc34-1_34_1.so (libc6) => /usr/lib/libboost_signals-gcc34-1_34_1.so

Bundyo 2008-03-06 13:01

Re: Pingus: Lemmings Clone
 
Is this one working? :)
http://www.gtlib.gatech.edu/pub/gnua...l/main/b/boost

ArnimS 2008-03-06 13:20

Re: Pingus: Lemmings Clone
 
Quote:

Originally Posted by Bundyo (Post 151559)

No. I managed to get past the scons configure step and compile with my libboost headers. However the final link fails with all three libboost versions tried.

Builds fine in my old scratchbox though.

(edit) Got some help. Boost issues fixed.

Ok new release! :) Runs skidillion times faster than any version U seen. :) Just follow 2-step install instructions at http://pupnik.de/pingus.html New funkipup tech means you can just click on the game data and it installs to your SD card.

Should work with OS2007 and OS2008. Go save some penguins...
(edit2) memory leak detected. Enable swap and only play a few levels at a time. :(


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

vBulletin® Version 3.8.8