maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   Paintown : A fighting game engine like MUGEN [Working on the N900!] (https://talk.maemo.org/showthread.php?t=79910)

lonk 2011-11-13 20:18

Re: [request] Paintown : A fighting game engine like MUGEN
 
No luck for me, here's what I get:


Quote:

Originally Posted by Radicalz38 (Post 1122676)
Just apt-get install python libvorbisfile3


Code:

Nokia-N900:~# apt-get install python libvorbisfile3
Reading package lists... Done
Building dependency tree     
Reading state information... Done
python is already the newest version.
libvorbisfile3 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


Quote:

then do
cd /usr/lib
ln -s libpython2.6.so.1.0 libpython2.5.so.1.0
I get this

Code:

Nokia-N900:~# cd /usr/lib/
Nokia-N900:/usr/lib# ln -s libpython2.6.so.1.0 libpython2.5.so.1.0
ln: libpython2.5.so.1.0: File exists




and when I try executing paintown I get:

Code:

Nokia-N900:/home/user/paintown# ./paintown
./paintown: error while loading shared libraries: libpython2.6.so.1.0: cannot open shared object file: No such file or directory


Radicalz38 2011-11-13 23:39

Re: [request] Paintown : A fighting game engine like MUGEN
 
Quote:

Originally Posted by lonk (Post 1123050)
No luck for me, here's what I get:





Code:

Nokia-N900:~# apt-get install python libvorbisfile3
Reading package lists... Done
Building dependency tree     
Reading state information... Done
python is already the newest version.
libvorbisfile3 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


I get this

Code:

Nokia-N900:~# cd /usr/lib/
Nokia-N900:/usr/lib# ln -s libpython2.6.so.1.0 libpython2.5.so.1.0
ln: libpython2.5.so.1.0: File exists


and when I try executing paintown I get:

Code:

Nokia-N900:/home/user/paintown# ./paintown
./paintown: error while loading shared libraries: libpython2.6.so.1.0: cannot open shared object file: No such file or directory


sorry about this :( I messed up again... Instead of

ln -s libpython2.6.so.1.0 libpython2.5.so.1.0

it should be like this

ln -s libpython2.5.so.1.0 libpython2.6.so.1.0

lonk 2011-11-14 16:32

Re: [request] Paintown : A fighting game engine like MUGEN
 
Quote:

Originally Posted by Radicalz38 (Post 1123153)
sorry about this :( I messed up again... Instead of

ln -s libpython2.6.so.1.0 libpython2.5.so.1.0

it should be like this

ln -s libpython2.5.so.1.0 libpython2.6.so.1.0


No it's ok, thanks to you it works now and I now understand parts of how to get pandora apps working on the n900 (extracting pnds etc..I just tried Pencil and it worked :D )

On Paintown, that works perfectly! the config mentioned something about using a joystick if it detects it, so I tried Paintown with my usb gamepad (with hen) and the select button works from there. I don't know if there is a way I can help from there...

i'll post some screenshots

lonk 2011-11-14 16:51

Re: [Almost ported!] Paintown : A fighting game engine like MUGEN
 
Screenshots

http://i.imgur.com/Ft1HC.png
http://imgur.com/Nkii8.png
http://imgur.com/5TncX.png
http://imgur.com/3hWUC.png

selecting an option always crashes the first time around but works fine second time. Thanks again Radicatz!

SavageD 2011-11-14 17:12

Re: Paintown : A fighting game engine like MUGEN [Working on the N900!]
 
how is the perfomance?
good, fast, slight lag?

lonk 2011-11-14 17:38

Re: Paintown : A fighting game engine like MUGEN [Working on the N900!]
 
Quote:

Originally Posted by SavageD (Post 1123492)
how is the perfomance?
good, fast, slight lag?


Ok @600MHZ and without changing any settings that can improve performance


-Mugen: very laggy and low framerate, it seems like it's because of the music playing, when it stops playing it runs better. @805MHZ runs full speed with some lags here every minute or so
-Adventure Mode: works better than mugen mode, didn't lag that much or at all. Should be fast @805MHZ
-Platformer Mode: Just the mario background from my screenshot shows, and that's it, so either it doesn't work or I need to add some mods myself for it to work

SavageD 2011-11-14 17:55

Re: Paintown : A fighting game engine like MUGEN [Working on the N900!]
 
Quote:

Originally Posted by lonk (Post 1123505)
Ok @600MHZ and without changing any settings that can improve performance


-Mugen: very laggy and low framerate, it seems like it's because of the music playing, when it stops playing it runs better. @805MHZ runs full speed with some lags here every minute or so
-Adventure Mode: works better than mugen mode, didn't lag that much or at all. Should be fast @805MHZ
-Platformer Mode: Just the mario background from my screenshot shows, and that's it, so either it doesn't work or I need to add some mods myself for it to work

thx, very useful. Guess I'll check it out later, I Just love making stuff for my mugen. Be nice to see a bit of it on my n900. Hurray! lol :)

jon5 2011-11-15 00:19

Re: Paintown : A fighting game engine like MUGEN [Working on the N900!]
 
Hi, I am the author of Paintown. Glad to see you guys got it working on the N900. A long time ago I got Paintown to run on the N500 using the Allegro4 library, I had a picture of it somewhere but I can't find it..

Anyway python really has nothing to do with the current implementation. Its just there to experiment with writing scripted levels but so far none exist so a new build could be made that does not include python and you would not have to fool with linking python2.5 to 2.6 (which is fairly dangerous, if python was actually used it would most likely crash at some point).

The platformer thing is an experimental feature that has no content other than being able to scroll around the mario background. You can disable it by removing the (platformer ...) part from data/menu/main.txt.

The keys in the mugen.cfg don't do anything so don't bother changing them.

I know mugen mode is fairly slow, there are many graphical effects that mugen uses which are slow to reproduce in software using 16-bit color. The original mugen was written in 8-bit color and doing palette effects there was relatively painless.

How much memory does the typical n900 have? I have troubles running some mugen characters on the Wii for example because it only has 80m of ram. I am slowly working on optimizing memory usage in mugen as well.

I'm curious as to why the game crashes the first time an option is selected but the second time it works. Can you provide any more information as to exactly under what circumstances that occurs?

Feel free to join me in my irc channel on irc.freenode.net in #paintown.

HtheB 2011-11-15 05:11

Re: Paintown : A fighting game engine like MUGEN [Working on the N900!]
 
Harmattan port would be nice for N9/N950 users! :)

Radicalz38 2011-11-15 05:47

Re: Paintown : A fighting game engine like MUGEN [Working on the N900!]
 
Quote:

Originally Posted by jon5 (Post 1123685)
Hi, I am the author of Paintown. Glad to see you guys got it working on the N900. A long time ago I got Paintown to run on the N500 using the Allegro4 library, I had a picture of it somewhere but I can't find it..

Anyway python really has nothing to do with the current implementation. Its just there to experiment with writing scripted levels but so far none exist so a new build could be made that does not include python and you would not have to fool with linking python2.5 to 2.6 (which is fairly dangerous, if python was actually used it would most likely crash at some point).

The platformer thing is an experimental feature that has no content other than being able to scroll around the mario background. You can disable it by removing the (platformer ...) part from data/menu/main.txt.

The keys in the mugen.cfg don't do anything so don't bother changing them.

I know mugen mode is fairly slow, there are many graphical effects that mugen uses which are slow to reproduce in software using 16-bit color. The original mugen was written in 8-bit color and doing palette effects there was relatively painless.

How much memory does the typical n900 have? I have troubles running some mugen characters on the Wii for example because it only has 80m of ram. I am slowly working on optimizing memory usage in mugen as well.

I'm curious as to why the game crashes the first time an option is selected but the second time it works. Can you provide any more information as to exactly under what circumstances that occurs?

Feel free to join me in my irc channel on irc.freenode.net in #paintown.

Hi! Not sure if you're aware but the cfg file location is wrong on the build I tested.

[2:paintown] Current File: mugen.cfg
[2:paintown] Checking for file in data/mugen/datamugen.cfg
[2:paintown] Couldn't find file: mugen.cfg
[2:paintown] Correcting file: mugen.cfg, in directory: data/mugen/data.
Got 14 files.

that's why I moved mugen.cfg to datamugen.cfg, sort of a missing slash on the file path...

Anyways the real configuration file is located at
Quote:

/home/user/.paintownrc
just in case someone needs it. You could modify game keys, fullscreen on or off & fix the screen resolution.

Only problem for me now is how do i select the options from these windows or at least modify them
http://talk.maemo.org/attachment.php...1&d=1321117698
http://talk.maemo.org/attachment.php...1&d=1321117738

Ram of n900 is 250mb + swap so should be pretty playable compared to wii :)

And about the crashing so far haven't encountered anything like that yet. So can't help since I can't reproduce the problem.


All times are GMT. The time now is 15:58.

vBulletin® Version 3.8.8