maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   [Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!) (https://talk.maemo.org/showthread.php?t=68527)

MiK546 2011-01-17 17:45

[Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!)
 
What is this?

As the thread name says I made port of lemmings clone Pingus to N900. Although Lemmings can already be played trough emulation I tough having something native for the N900 would be cool too. It is not (at least yet) recommended for people who don't like the idea of potentially unstable applications (like any other Extras-Devel software) but it should be stable and I will move this to Extras-Testing if there doesn't seem to be any serious problems and when I get the maintaining status of the package.

Screenshots

Below there are some screenshots of the N900 port but if you want to see more just follow this link: http://pingus.seul.org/screenshots.html.

http://img15.imageshack.us/img15/529...1722000.th.png

http://img502.imageshack.us/img502/8...1722002.th.png

http://img138.imageshack.us/img138/5...1722012.th.png

Installation

Just install it normally trough application manager (please note that you must have Extras-Devel enabled).

MiK546 2011-01-18 08:39

Re: [Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!)
 
Now avaible in Extras-Devel!

-----------Old information!------------
Please note that for now I screw up the category and it i currently not in user/x catecory wich means the default application manager isn't able to see it. Faster application manager can see it if you press the C-button from the bottom-right corner of the screen, select "All packages (ADVANCED)" and then search for "pingus". You can also just run: "sudo apt-get update" and then "sudo apt-get install pingus" trough X-Terminal.

F2thaK 2011-01-18 09:41

Re: [Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!)
 
cool..................

MiK546 2011-01-18 17:21

Re: [Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!)
 
Just uploaded a new version to Extras-Devel, this update adds a icon to the menu entry and makes the program avaible normally from the games category (this means it can now be installed with the the default application manager too). Please try it and report if it works/doesn't wor for you. If nobody says that it misses something or has some crusial bugs I will move it to Extras-Testing in a few days.

EDIT: And if you installed the previous versions please remove them first before installing this new version (because of the category change).

Bratag 2011-01-18 19:10

Re: [Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!)
 
Yes yes yes PINGUS FTW

Radicalz38 2011-01-18 21:21

Re: [Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!)
 
Hello! I cannot get the game to run... And when I try to run it from command line seems like it can't find core.res?

MiK546 2011-01-18 21:37

Re: [Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!)
 
Quote:

Originally Posted by Radicalz38 (Post 923328)
Hello! I cannot get the game to run... And when I try to run it from command line seems like it can't find core.res?

The correct command to run it from command line is "/usr/games/pingus --datadir /usr/share/games/pingus/data/ --fullscreen -g 800x480". The fullscreen and -g options are optional but make the game run in full screen with correct resolution.

Bratag 2011-01-18 21:48

Re: [Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!)
 
Quote:

Originally Posted by MiK546 (Post 923339)
The correct command to run it from command line is "/usr/games/pingus --datadir /usr/share/games/pingus/data/ --fullscreen -g 800x480". The fullscreen and -g options are optional but make the game run in full screen with correct resolution.

Once I fixed the pathing errors I am still left with


SavegameManager: Parser problem: Couldn't open file '/home/user/.pingus/savegames/savegames.scm'.

Might want to go back and look at the package.

yorkey 2011-01-18 21:53

Re: [Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!)
 
Hurray!

Very usable, with only a couple of minor issues that dont effect playability :)

1. Not sure how to get all the function keys listed at the bottom of the first screen! F11 for fullscreen! erm!

2. When its not full screen, it probably should pause, but it seems to continue even seems to fully update the image in the task list!

Not sure how easy these are to fix, but its an excellent port

Radicalz38 2011-01-18 22:55

Re: [Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!)
 
Quote:

Originally Posted by Bratag (Post 923352)
Once I fixed the pathing errors I am still left with


SavegameManager: Parser problem: Couldn't open file '/home/user/.pingus/savegames/savegames.scm'.

Might want to go back and look at the package.

Same here... Hmmm there's a new version maybe I should try it out first

festivalnut 2011-01-18 23:00

Re: [Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!)
 
works fine for me, couple of problems i've noticed, occasionally the "mouse" becomes unresponsive, only working correctly near the centre of the screen, and a more annoying one, if you minimise the game using ctrl+delete, a portion of the gamescreen remains in the upper right corner and i cant seem to remove it without a reboot.

MiK546 2011-01-19 07:23

Re: [Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!)
 
Quote:

Originally Posted by Bratag
Once I fixed the pathing errors I am still left with


SavegameManager: Parser problem: Couldn't open file '/home/user/.pingus/savegames/savegames.scm'.

Might want to go back and look at the package.

Try removing your /home/user/.pingus folder and try again.

Quote:

Originally Posted by yorkey
Hurray!

Very usable, with only a couple of minor issues that dont effect playability

1. Not sure how to get all the function keys listed at the bottom of the first screen! F11 for fullscreen! erm!

2. When its not full screen, it probably should pause, but it seems to continue even seems to fully update the image in the task list!

Not sure how easy these are to fix, but its an excellent port

1.I'm not sure what you mean by that, the function keys doesn't matter since n900 doesn't have them. I will probably still make a new version wich has fulscreen and resolution correctly set in the config file for easier command line running.

2.That one I will look into but I'm not a programmer so I can't promise anything.

Quote:

Originally Posted by festivalnut
works fine for me, couple of problems i've noticed, occasionally the "mouse" becomes unresponsive, only working correctly near the centre of the screen, and a more annoying one, if you minimise the game using ctrl+delete, a portion of the gamescreen remains in the upper right corner and i cant seem to remove it without a reboot.

Haven't ever had that problem so I really can't help you. Maybe it's some other program?

Bratag 2011-01-19 08:33

Re: [Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!)
 
Quote:

Originally Posted by MiK546 (Post 923590)
Try removing your /home/user/.pingus folder and try again.



1.I'm not sure what you mean by that, the function keys doesn't matter since n900 doesn't have them. I will probably still make a new version wich has fulscreen and resolution correctly set in the config file for easier command line running.

2.That one I will look into but I'm not a programmer so I can't promise anything.



Haven't ever had that problem so I really can't help you. Maybe it's some other program?

./pingus
Successfully created: /home/user/.pingus/
Successfully created: /home/user/.pingus/levels/
Successfully created: /home/user/.pingus/levels/dist
Successfully created: /home/user/.pingus/themes/
Successfully created: /home/user/.pingus/savegames/
Successfully created: /home/user/.pingus/images/
Successfully created: /home/user/.pingus/cache/
Successfully created: /home/user/.pingus/demos/
Successfully created: /home/user/.pingus/backup/
Successfully created: /home/user/.pingus/screenshots/
Welcome to Pingus 0.7.2!
========================
data path: /opt/usr/games/../share/games/pingus/data/
language: English (en)
font encoding: iso-8859-1
sound support: enabled
music support: enabled
resolution: 800x600
fullscreen: disabled

SavegameManager: Parser problem: Couldn't open file '/home/user/.pingus/savegames/savegames.scm'.
Unable to initialize SDL_Mixer: Could not open requested file
Pingus: Unknown throw caught!

Thats after removing the dir.

yorkey 2011-01-19 08:48

Re: [Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!)
 
Quote:

Originally Posted by MiK546 (Post 923590)
1.I'm not sure what you mean by that, the function keys doesn't matter since n900 doesn't have them. I will probably still make a new version wich has fulscreen and resolution correctly set in the config file for easier command line running.

Sorry should have been clearer.
As there are no function keys there is no way of getting out of fullscreen.

Quote:

Originally Posted by MiK546 (Post 923590)
I will probably still make a new version wich has fulscreen and resolution correctly set in the config file for easier command line running.

Is there any advantage of running it from the command line? The shortcut seems to work fine for me. Well it looks ok anyway!

MiK546 2011-01-19 09:02

Re: [Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!)
 
Quote:

Originally Posted by Bratag (Post 923615)
./pingus
Successfully created: /home/user/.pingus/
Successfully created: /home/user/.pingus/levels/
Successfully created: /home/user/.pingus/levels/dist
Successfully created: /home/user/.pingus/themes/
Successfully created: /home/user/.pingus/savegames/
Successfully created: /home/user/.pingus/images/
Successfully created: /home/user/.pingus/cache/
Successfully created: /home/user/.pingus/demos/
Successfully created: /home/user/.pingus/backup/
Successfully created: /home/user/.pingus/screenshots/
Welcome to Pingus 0.7.2!
========================
data path: /opt/usr/games/../share/games/pingus/data/
language: English (en)
font encoding: iso-8859-1
sound support: enabled
music support: enabled
resolution: 800x600
fullscreen: disabled

SavegameManager: Parser problem: Couldn't open file '/home/user/.pingus/savegames/savegames.scm'.
Unable to initialize SDL_Mixer: Could not open requested file
Pingus: Unknown throw caught!

Thats after removing the dir.

Are you sure you have libsdl-mixer1.2 installed (apt-get install libsdl-mixer1.2). Also check that you have '/home/user/.pingus/savegames/savegames.scm' file and that you run the game like i told to run it previously (currently the game would run in resolution bigger than the N900's screen).

MiK546 2011-01-19 09:06

Re: [Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!)
 
Quote:

Originally Posted by yorkey (Post 923622)
Sorry should have been clearer.
As there are no function keys there is no way of getting out of fullscreen.


Is there any advantage of running it from the command line? The shortcut seems to work fine for me. Well it looks ok anyway!

No, there really is no advantage running it from command line if the game runs correctly for you. Currently the fullscreen option and resolution are configured in the menu entry file but in next version you will be able to change them neatly in a configure file.

EDIT: oh, and I'll try to release the new version today or tomorrow

MiK546 2011-01-19 14:18

Re: [Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!)
 
Ok, as it seems like I can't get the game load the config file (I even tried it on my Ubuntu and this package is based on the Ubuntu version) I wont be releasing a new version. I will push the current version to Extras-Testing tomorrow if nobody can find the folder it loads the config from (in which case I will of course release a new version).

AgogData 2011-01-19 18:37

Re: [Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!)
 
didn't work for me too :

$ /usr/games/pingus
Error: DictionaryManager: Couldn't find LanguageDef for 'C', leaving current dictionary unchanged
Welcome to Pingus 0.7.2!
========================
data path: /opt/maemo/usr/games/../share/games/pingus/data/
language: English (en)
font encoding: iso-8859-1
sound support: enabled
music support: enabled
resolution: 800x600
fullscreen: disabled

SavegameManager: Parser problem: Couldn't open file '/home/user/.pingus/savegames/savegames.scm'.
Pingus: Standard exception caught!:
Parser problem: Couldn't open file '/opt/maemo/usr/games/../share/games/pingus/data//data/groundpieces-bridge.res'.
~ $

and i have libsdl mixer

king Ralphred 2011-01-19 18:49

Re: [Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!)
 
It was working for me fine until I shut the device down without closing pingus and now even after uninstalling and reinstalling several times, I'm now having the same trouble with the parser problem as other users.

MiK546 2011-01-19 19:00

Re: [Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!)
 
Please run the game by typing the following and then post the outcome again:
/usr/games/pingus --datadir /usr/share/games/pingus/data/ --fullscreen -g 800x480

This tells the game where the games data is stored (since it doesn't find it by itself) and also it sets the correct resolution.

king Ralphred 2011-01-19 19:12

Re: [Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!)
 
This is what I get

~ $ /usr/games/pingus --datadir /usr/share/games/pingus/data/ --fullscreen -g 800x480
Welcome to Pingus 0.7.2!
========================
data path: /usr/share/games/pingus/data/
language: English (en)
font encoding: iso-8859-1
sound support: enabled
music support: enabled
resolution: 800x480
fullscreen: enabled

Pingus: Standard exception caught!:
Parse error in file '/home/user/.pingus/savegames/savegames.scm' line 0: file doesn't start with '('
~ $

I also installed libsdl-mixer1.2 i

It's a shame cos I was really enjoying it

MiK546 2011-01-19 19:23

Re: [Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!)
 
Quote:

Originally Posted by king Ralphred (Post 924029)
This is what I get

~ $ /usr/games/pingus --datadir /usr/share/games/pingus/data/ --fullscreen -g 800x480
Welcome to Pingus 0.7.2!
========================
data path: /usr/share/games/pingus/data/
language: English (en)
font encoding: iso-8859-1
sound support: enabled
music support: enabled
resolution: 800x480
fullscreen: enabled

Pingus: Standard exception caught!:
Parse error in file '/home/user/.pingus/savegames/savegames.scm' line 0: file doesn't start with '('
~ $

I also installed libsdl-mixer1.2 i

It's a shame cos I was really enjoying it

Hmm, the problem seems to be in your savegame... Have you done anything to with your installation? Also could you paste the first few lines of your '/home/user/.pingus/savegames/savegames.scm'?

king Ralphred 2011-01-19 19:30

Re: [Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!)
 
If you can tell me how, I will. I haven't done anything with the installation apart from shut the phone down while pingus was running.

AgogData 2011-01-19 19:31

Re: [Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!)
 
it worked using /usr/games/pingus --datadir /usr/share/games/pingus/data/ --fullscreen -g 800x480
but why it doesn't work by the menu icon ? and does it require OCing cause its a bit laggy..or maybe the sound is im not sure

MiK546 2011-01-19 19:49

Re: [Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!)
 
1 Attachment(s)
Quote:

Originally Posted by AgogData (Post 924056)
it worked using /usr/games/pingus --datadir /usr/share/games/pingus/data/ --fullscreen -g 800x480
but why it doesn't work by the menu icon ? and does it require OCing cause its a bit laggy..or maybe the sound is im not sure

Thats quite weird since the menu icon runs exactly the same command. I'm just trying stuff blindly but could you try using this .desktop file and see if it works (just unpack it and replace the orginal in /usr/share/applications/hildon/)? And it might be a bit laggy sometimes bu it still works wery well without OC'ing even with sound.

MiK546 2011-01-19 20:02

Re: [Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!)
 
Quote:

Originally Posted by king Ralphred (Post 924053)
If you can tell me how, I will. I haven't done anything with the installation apart from shut the phone down while pingus was running.

Just use filebox, I tink it's the easiest way

AgogData 2011-01-19 20:14

Re: [Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!)
 
Quote:

Originally Posted by MiK546 (Post 924076)
Thats quite weird since the menu icon runs exactly the same command. I'm just trying stuff blindly but could you try using this .desktop file and see if it works (just unpack it and replace the orginal in /usr/share/applications/hildon/)? And it might be a bit laggy sometimes bu it still works wery well without OC'ing even with sound.

i'm afraid that didn't work too :'(

MiK546 2011-01-19 20:30

Re: [Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!)
 
That problem is really weird since for some people it just works (like me) and then for some people it doesn't... I really would like to know does the game incorrectly make the savegame for some people (since it complains that the savegame doesn't start with a "(") or maybe it just cant find it (like it can't find the data directory without specifying it's location to it). I'll look what I can do to this tomorrow.

king Ralphred 2011-01-20 15:10

Re: [Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!)
 
Right. This is how I got it working. I uninstalled pingus and deleted the savegames.scm file using filebox. reinstalled pingus. Still didn't work. So I uninstalled pingus again and deleted the whole .pingus folder and reinstalled pingus again and noiticed that the savegames.scm was missing. tried via the icon with no luck but it started in xterm using /usr/games/pingus --datadir /usr/share/games/pingus/data/ --fullscreen -g 800x480. It must of created the savegames.scm on start up.

Like I said, It worked fine when I first installed it up until I closed the phone down with pingus running.

king Ralphred 2011-01-20 15:41

Re: [Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!)
 
Quote:

Originally Posted by AgogData (Post 924056)
it worked using /usr/games/pingus --datadir /usr/share/games/pingus/data/ --fullscreen -g 800x480
but why it doesn't work by the menu icon ? and does it require OCing cause its a bit laggy..or maybe the sound is im not sure

It didn't lag at all when it ran from the icon but it is doing having to run it from xterm. I wonder if it's because xterm is still open?

AgogData 2011-01-20 15:55

Re: [Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!)
 
Quote:

Originally Posted by king Ralphred (Post 924680)
It didn't lag at all when it ran from the icon but it is doing having to run it from xterm. I wonder if it's because xterm is still open?

i don't think running the game from xterm makes it lag more cause xterm is not consuming any cpu, what did you do to get it run from the icon ?

MiK546 2011-01-20 16:13

Re: [Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!)
 
Quote:

Originally Posted by AgogData (Post 924690)
i don't think running the game from xterm makes it lag more cause xterm is not consuming any cpu, what did you do to get it run from the icon ?

He did this:

Quote:

Originally Posted by king Ralphred
Right. This is how I got it working. I uninstalled pingus and deleted the savegames.scm file using filebox. reinstalled pingus. Still didn't work. So I uninstalled pingus again and deleted the whole .pingus folder and reinstalled pingus again and noiticed that the savegames.scm was missing. tried via the icon with no luck but it started in xterm using /usr/games/pingus --datadir /usr/share/games/pingus/data/ --fullscreen -g 800x480. It must of created the savegames.scm on start up.
Like I said, It worked fine when I first installed it up until I closed the phone down with pingus running.

This save file problem is pretty weird, the king Ralphred's case just strengthens my belief that the game more or less randomly creates bad save files. I don't think I'm skilled enough to do anything about this but I will try...

king Ralphred 2011-01-20 16:57

Re: [Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!)
 
When I first installed it it ran from the icon until I shut the phone down with pingus still running. Since then, whith much farting around, I can only run it from xterm

n900-dk 2011-01-20 17:13

Re: [Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!)
 
A work-around to make it start from desktop icon could be to edit:
/usr/share/applications/hildon/pingus.desktop

Change this line:
Code:

Exec=/usr/games/pingus --datadir /usr/share/games/pingus/data/ --fullscreen -g 800x480
to

Code:

Exec=/usr/bin/osso-xterm -e '/usr/games/pingus --datadir /usr/share/games/pingus/data/ --fullscreen -g 800x480'
Works for me :)

king Ralphred 2011-01-20 17:48

Re: [Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!)
 
Can you post an idiots guide how to do this? Tried to find it in filebox but not really sure what I'm doing.

MiK546 2011-01-20 18:42

Re: [Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!)
 
Quote:

Originally Posted by n900-dk
A work-around to make it start from desktop icon could be to edit:
/usr/share/applications/hildon/pingus.desktop

Change this line:
Code:

Exec=/usr/games/pingus --datadir /usr/share/games/pingus/data/ --fullscreen -g 800x480

to

Code:

Exec=/usr/bin/osso-xterm -e '/usr/games/pingus --datadir /usr/share/games/pingus/data/ --fullscreen -g 800x480'

Works for me

Huge thanks to you, finally a possible solution for ther problem! I will upload a new version with that change soon (probably tomorrow). Let's hope it helps. And to king Ralphred just wait for the new release.

mikkov 2011-01-20 21:13

Re: [Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!)
 
I would update to 0.7.3 release. Mainly because vanilla (no patches) 0.7.2 has a huge memory leak when playing multiple levels. It was at least fixed in svn version which I used for OS2008 package, but I have to admit that I haven't tested 0.7.3 or this maemo5 package.

kingoddball 2011-01-20 21:55

Re: [Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!)
 
Damn awesome work! Damn awesome game!!!

THANKS!

king Ralphred 2011-01-20 22:05

Re: [Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!)
 
[QUOTE=mikkov;924952]I would update to 0.7.3 release. Mainly because vanilla (no patches) 0.7.2 has a huge memory leak when playing multiple levels. It was at least fixed in svn version which I used for OS2008 package, but I have to admit that I haven't tested 0.7.3 or this maemo5 package.[/QUOT

bye bye battery

AgogData 2011-01-21 02:56

Re: [Maemo5]Pingus - a Lemmings clone (now in Extras-Devel!)
 
Quote:

Originally Posted by n900-dk (Post 924761)
A work-around to make it start from desktop icon could be to edit:
/usr/share/applications/hildon/pingus.desktop

Change this line:
Code:

Exec=/usr/games/pingus --datadir /usr/share/games/pingus/data/ --fullscreen -g 800x480
to

Code:

Exec=/usr/bin/osso-xterm -e '/usr/games/pingus --datadir /usr/share/games/pingus/data/ --fullscreen -g 800x480'
Works for me :)

you the man ;)


All times are GMT. The time now is 13:20.

vBulletin® Version 3.8.8