Author Topic: Port Request: Powermanga  (Read 5569 times)

Orion4874 (OP)

  • Posts: 229
Port Request: Powermanga
« on: September 14, 2013, 09:32:01 am »
I was wondering if there was any dev that would be willing to port Powermanga to the Zero? I'm sure most people around here know about this great shmup. It's been ported to just about every open handheld and it's just a quality game imo.

Source: http://linux.tlk.fr/games/Powermanga/download/?seenIEPage=1




elwing

  • Posts: 186
Re: Port Request: Powermanga
« Reply #1 on: September 18, 2013, 10:18:51 am »
I'm a bit occupied, but if no one port that, I'll take a look when I find some time, seems like a trivial port...

Orion4874 (OP)

  • Posts: 229
Re: Port Request: Powermanga
« Reply #2 on: September 23, 2013, 05:17:36 am »
Awsome! Thanks in advance elwing.

elwing

  • Posts: 186
Re: Port Request: Powermanga
« Reply #3 on: September 23, 2013, 09:20:13 am »
I managed to build a first version but I still have to package everyting and test on my GCW (which I do not have with me right now...)

I'm a bit worried as there are lot of flag to defines, makefiles for GP2X provided seems to not match the sources anymore and such... it also tries to link with libmad which was removed from the current gcw system... but removing the -lmad pose no compilation problem... I'm a bit worried nothing will work if I try right now :D


edit: ok, it more or less work... no sound, key mapping could probably take some more work, setting up a repo... reverting some useless change I made to some place due to my inability to understand the project... overall sounds really promising, it runs pretty well...

edit2: music work, default key mapping do not seems bad... guess I now have to revert any useless or bad change I made and publish the whole on my Github before a release... sounds promising. but well, after tyrian I find this game rather awful...
« Last Edit: September 24, 2013, 02:09:44 pm by elwing »

elwing

  • Posts: 186
Re: Port Request: Powermanga
« Reply #4 on: September 26, 2013, 08:07:31 pm »
Ok, I got a first test version, the good surprise is that it now include C4ALL... the bad surprises are that c4all is not ready yet to receive score, so that part is not really well tested, I'm confident it will work but chaos and mayhem may follow...
the other known problem is that you have no way to add your name to the high-score screen at the end for now (but if you have setuped a c4all account it will propose by default your c4all account short name...)

As soon as I'll be able to test c4all I'll make a proper beta release... I plan no change in the local high-score save, so don't be afraid to play that version right now...

the opk (it contains everything needed...)
Removed check the "Release" section

and my GitHub:
GitHub
« Last Edit: September 30, 2013, 07:55:39 am by elwing »

Atlantis_Risen

  • Posts: 535
Re: Port Request: Powermanga
« Reply #5 on: September 26, 2013, 08:10:18 pm »
Wow.  That's very impressive that you can bang that port out so quickly. :)

ruffnutts

  • Posts: 2654
Re: Port Request: Powermanga
« Reply #6 on: September 26, 2013, 08:43:25 pm »
Thanks for this elwing it runs awesome man.... ;D

mth

  • Posts: 317
Re: Port Request: Powermanga
« Reply #7 on: September 26, 2013, 09:08:06 pm »
It crashes at game over:

Code: [Select]
(II) configuration filename: /usr/local/home/.config/tlk-games/powermanga.conf [config_file.c:231, configfile_load]
(EE) fopen(/usr/local/home/.config/tlk-games/powermanga-scores) return No such file or directory [menu_sections.c:804, high_scores_load_file]

Program received signal SIGSEGV, Segmentation fault.
0x0043b85c in GetDefaultName ()
(gdb) bt
#0  0x0043b85c in GetDefaultName ()
#1  0x004237fc in menu_section_set ()
#2  0x0042e2b8 in ?? ()
warning: GDB can't find the start of the function at 0x42e2b6.

I don't have C4ALL set up, maybe that's a trigger for this problem?

The game is a lot of fun though, thanks for porting it!

elwing

  • Posts: 186
Re: Port Request: Powermanga
« Reply #8 on: September 26, 2013, 10:21:53 pm »
Thanks for the detailed debug info, yes, it's definately caused by the absence of c4all profile, "GetDefaultName()" tries to get the short name from the profile... I thought I had manage that case. I will provide a fix for that in 8-10 hours... It's hard for me to test through, I have to investigate how to "remove" and restore my profile :)

elwing

  • Posts: 186
Re: Port Request: Powermanga
« Reply #9 on: September 27, 2013, 06:44:15 am »
bump, new version correcting that bug...
sorry for that...

elwing

  • Posts: 186
Re: Port Request: Powermanga
« Reply #10 on: September 27, 2013, 06:46:10 am »
Wow.  That's very impressive that you can bang that port out so quickly. :)

lol, cause I pick easy port that are already SDL and support our resolution...

since I'm still a real newbie when it comes to linux or SDL (haven't done that before starting theses ports...) I try to select easy but worthwhile ports...

elwing

  • Posts: 186
Re: Port Request: Powermanga
« Reply #11 on: September 27, 2013, 07:26:48 pm »
hum, I noticed a bug in the previous version if you have no c4all account... it will corrupt your high score file... so either wait a few hours for a fix or create a c4all account...

elwing

  • Posts: 186
Re: Port Request: Powermanga
« Reply #12 on: September 27, 2013, 09:04:19 pm »
Sorry for the spam and the multiple bumps...
here is a fixed version:
Removed check the "Release" section

in theory it should even correct some compromised save but i've not being able to test that specific scenario.

Enjoy!
« Last Edit: September 30, 2013, 07:55:52 am by elwing »

Orion4874 (OP)

  • Posts: 229
Re: Port Request: Powermanga
« Reply #13 on: September 28, 2013, 08:52:18 am »
Sorry I haven't been around much but I just wanted to throw out a big thank you to you elwing. This is really greatly appreciated, I'm gonna enjoy this!

elwing

  • Posts: 186
Re: Port Request: Powermanga
« Reply #14 on: September 29, 2013, 02:21:25 pm »
Thanks, I'm happy to hear it.
I'd like to fix the high score issue, but otherwise I think I'm near release state...

by the way, compo4all work, look at that, I am (or at least was as time of writing) first!
http://skeezix.wallednetworks.com:13001/scoreboard_1/PowerManga_n/ALL

edit: first RC now released, check in the "Release" section
« Last Edit: September 30, 2013, 07:56:27 am by elwing »

 

Post a new topic
Post a new topic