![]() |
Paintown : A fighting game engine like MUGEN [Working on the N900!]
-EDIT2-
Instructions over here (Works with joystick to get select things in menu, otherwise works with keyboard): http://talk.maemo.org/showpost.php?p...76&postcount=9 ----------------------------------- It's a fighting game engine that aims to be like MUGEN, for anyone who doesn't know what MUGEN is here is a video example http://youtube.com/watch?v=Q6xjtsqen5Q here is a link to the source http://paintown.sourceforge.net/ here is a link of a port by our friendly Pandora neighbours http://repo.openpandora.org/?page=de...-13108&dp=true Anyone interested? :) |
Re: [request] Paintown : A fighting game engine like MUGEN
I'm interested but I don't have any programming skills. I like mugen and made my own Mugen fighter last year and held hopes for a Maemo Mugen (Maegen).
I can help with testing.....but that is about as far as my Maemo skills go. Thank you for the information. |
Re: [request] Paintown : A fighting game engine like MUGEN
Anybody willing to try jmugen instead? It's java so at least its a bit more possible
http://code.google.com/p/jmugen/downloads/list SVN http://jmugen.googlecode.com/svn/trunk/ |
Re: [request] Paintown : A fighting game engine like MUGEN
Have anyone tried simply running the Pandora build..?
With some customization, I believe it should run. (Adding some libraries only.) |
Re: [request] Paintown : A fighting game engine like MUGEN
It requires libvorbisfile and manage to fix it then it required libpython2.6.so.1.0 dunno where to get python2.6 for n900 so then gave up :p
|
Re: [request] Paintown : A fighting game engine like MUGEN
2 Attachment(s)
Ok manage to dive into it a little tweaking some things because of lack of python 2.6 on n900 and got this.
Quote:
|
Re: [request] Paintown : A fighting game engine like MUGEN
1 Attachment(s)
Last screenshot lol! Manage to configure mugen key configuration but could find where is select key configuration for the paintown menu(the 1st 2 screenshots)
|
Re: [request] Paintown : A fighting game engine like MUGEN
Wow that was quick! nice to see the progress and hope to try it soon :D !
|
Re: [request] Paintown : A fighting game engine like MUGEN
Quote:
Just apt-get install python libvorbisfile3 then do Quote:
Quote:
extract it with 7zip Quote:
Quote:
then cd back to paintown folder and execute paintown Quote:
Note: Executing paintown without the --mugen arguement will bring you to paintown menu which is I'm having trouble right now as I don't know how to select from options |
Re: [Almost ported!] Paintown : A fighting game engine like MUGEN
Awesome! Will try it as soon as I get home :)
*editing the first post* |
Re: [request] Paintown : A fighting game engine like MUGEN
No luck for me, here's what I get:
Quote:
Code:
Nokia-N900:~# apt-get install python libvorbisfile3 Quote:
Code:
Nokia-N900:~# cd /usr/lib/ and when I try executing paintown I get: Code:
Nokia-N900:/home/user/paintown# ./paintown |
Re: [request] Paintown : A fighting game engine like MUGEN
Quote:
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 |
Re: [request] Paintown : A fighting game engine like MUGEN
Quote:
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 |
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! |
Re: Paintown : A fighting game engine like MUGEN [Working on the N900!]
how is the perfomance?
good, fast, slight lag? |
Re: Paintown : A fighting game engine like MUGEN [Working on the N900!]
Quote:
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 |
Re: Paintown : A fighting game engine like MUGEN [Working on the N900!]
Quote:
|
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. |
Re: Paintown : A fighting game engine like MUGEN [Working on the N900!]
Harmattan port would be nice for N9/N950 users! :)
|
Re: Paintown : A fighting game engine like MUGEN [Working on the N900!]
Quote:
[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:
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. |
Re: Paintown : A fighting game engine like MUGEN [Working on the N900!]
Quote:
Harmattan is still maemo with meego elements. As long as you got libvorbisfile the pandora port we are trying to run now should also work. |
Re: Paintown : A fighting game engine like MUGEN [Working on the N900!]
Quote:
Code:
~ $ cd /home/user/paintown/ And just one time it closed right after starting it, but I don't remember pressing anything, I started it again and it worked but with the "choose language" screen like if I was running it first time Code:
Nokia-N900:/home/user/paintown# ./paintown And yea I've seen some demos on youtube of paintown running on the wii, the N900 is not that laggy @600MHZ =D Also just like Radicalz mentioned, with us N900 users we can't select anything from the menu (paintown menu, it works in Mugen menu) unless we attach a usb gamepad/joystick (has anyone else aside from me tested with a usb gamepad?) Thank for reading jon, hope this helps! :) |
Re: Paintown : A fighting game engine like MUGEN [Working on the N900!]
Hi you guys think that there is a posibikity to have a .deb?
|
Re: Paintown : A fighting game engine like MUGEN [Working on the N900!]
Quote:
|
Re: Paintown : A fighting game engine like MUGEN [Working on the N900!]
Quote:
Quote:
Doe the gamepad/joystick work in both menus? Try using key 'A' to select stuff in the paintown menu. Quote:
|
Re: Paintown : A fighting game engine like MUGEN [Working on the N900!]
Quote:
|
Re: Paintown : A fighting game engine like MUGEN [Working on the N900!]
Quote:
By 'A' do you mean a big letter A? if yes now I know what's the problem :p somehow n900 can't use the shift key nor make a caps lock from the hardware keyboard on paintown probably that's the reason why we can't select it. But on mugen menu yes key's there are working pretty well i think(including 'A' button to select/start). If I am right about the problem could you by chance make a seperate compilation for our n900 which uses lower caps key mapping for keyboard? After I think we could already use paintown fully. |
Re: Paintown : A fighting game engine like MUGEN [Working on the N900!]
Sorry I did not mean capital A, I simply meant the A key. If that doesn't work I'm not sure whats wrong.
|
Re: Paintown : A fighting game engine like MUGEN [Working on the N900!]
Hmm then is the source for the pandora version available? I would like at least to look into it maybe I would see the problem.
|
Re: Paintown : A fighting game engine like MUGEN [Working on the N900!]
You can get the source from svn
$ svn co https://paintown.svn.sourceforge.net...paintown/trunk You can build for Pandora by setting the CC, CXX, AS, and AR environment variables to their respective tools and then doing $ pandora=1 make The build system uses scons. |
Re: Paintown : A fighting game engine like MUGEN [Working on the N900!]
Thanks jon! Hmm Could you point me out on what file does the paintown main menu get it's key mappings? I'm not really good at c++ :p
|
Re: Paintown : A fighting game engine like MUGEN [Working on the N900!]
Well actually its very strange that mugen would work but the paintown menu wouldn't work because in fact they use almost identical code.
For mugen look src/mugen/util.h on line 255 in getPlayer1Keys() is: Code:
input.set(Configuration::config(0).getAttack1(), delay, false, Mugen::A); The paintown menu does a similar thing in src/menu/menu.cpp on line 1382 Code:
input.set(Configuration::config(0).getAttack1(), 0, true, Select); (The difference between 'Select' and 'Mugen::A' is completely irrelevant, they are just names) Just as a test can you try pressing every single key on the n900 to prove that none of them do anything? If any key has some effect then please list what key it was and what effect it had here. |
Re: Paintown : A fighting game engine like MUGEN [Working on the N900!]
Hi!
Up arrow key = Up Down arrow key = Down J key = Up K key = Down That's just it. But with mugen(while playing) all keys word fine I get 4 attack keys working. with up left down right Also what would happen if I change it/add PHP Code:
|
Re: Paintown : A fighting game engine like MUGEN [Working on the N900!]
Its worth a try I suppose. Also the enter key is hard coded to be Select. Does the n900 have that?
|
Re: Paintown : A fighting game engine like MUGEN [Working on the N900!]
N900 enter is perceived by software as KP_Return.
It's possible to remap hardware keyboard to have Enter as - for example - shift + enter, but I have no idea if it would work (should, but only way to check it is to try). /Estel |
Re: Paintown : A fighting game engine like MUGEN [Working on the N900!]
I have enter mapped to return.
Code:
Keyboard::KeyType Keyboard::Key_ENTER = SDLK_RETURN; |
Re: Paintown : A fighting game engine like MUGEN [Working on the N900!]
Generally, please avoid hardcoding remapping something into port - this break compatibility with external (USB, Bluetooth) keyboards, or with user-preferred keymap (hardware remapping).
/Estel |
Re: Paintown : A fighting game engine like MUGEN [Working on the N900!]
SDL will translate OS mapped keys to an internal representation, at least thats my understanding.
In SDL, src/video/x11/SDL_x11events.c is a procedure named X11_TranslateKeycode which calls Code:
xsym = XKeycodeToKeysym(display, kc, 0); Thus the SDL key mapping is a layer of abstraction above the OS and not a direct mapping to the hardware. |
All times are GMT. The time now is 16:57. |
vBulletin® Version 3.8.8