Author Topic: Port Request : FloboPuyo  (Read 3338 times)

rastafari199625 (OP)

  • Posts: 27
Port Request : FloboPuyo
« on: June 08, 2014, 07:36:41 pm »
Hello somebody more experimented than me can try to cross compile this awesome game.
It need only SDL_mixer and SDL_image.
I've try to compile it but without success, the makefile is to hard to understand for me.
the source code https://launchpad.net/ubuntu/+archive/primary/+files/flobopuyo_0.20.orig.tar.gz
Thank you  :)

ker

  • Posts: 620
Re: Port Request : FloboPuyo
« Reply #1 on: June 09, 2014, 04:30:38 pm »
Hello somebody more experimented than me can try to cross compile this awesome game.
It need only SDL_mixer and SDL_image.
I've try to compile it but without success, the makefile is to hard to understand for me.
the source code https://launchpad.net/ubuntu/+archive/primary/+files/flobopuyo_0.20.orig.tar.gz
Thank you  :)

I've modified your code and reupload it to https://github.com/kerheol/flobopuyo. It compiles now, but I'm also a newbie so perhaps it's not ok.

I've seen at code that this game works with a 640x480 resolution. I've added a GWC0 flag to divide by 2 (SCALE constant) all screen related calls.

Game launches now, sound is working, you can map keys and launch single player game but then balls are misplaced. Perhaps you can debug and modify code from here ;-)

I've uploaded an opk to http://www.mediafire.com/download/p66ec50srugyvya/flobopuyo.opk

Good luck!

ker

  • Posts: 620
Re: Port Request : FloboPuyo
« Reply #2 on: August 26, 2014, 01:49:25 pm »
We come from here: http://boards.dingoonity.org/gcw-releases/opendingux-update-2014-08-20/msg112039/#msg112039

a) What did you change from the source release, or did you change absolutely nothing?
I just changed Makefile and PuyoGame.h file line #49 from
Code: [Select]
bool PuyoPuyo::isFalling();to
Code: [Select]
bool isFalling();
b) Can you find the place in the code that sets the video mode and figure out whether something is wrong around it?
PuyoCommander.cpp line #602
Code: [Select]
display = SDL_SetVideoMode( 640, 480, 0,  SDL_ANYFORMAT|SDL_HWSURFACE|SDL_DOUBLEBUF|(fullscreen?SDL_FULLSCREEN:0)|(useGL?SDL_GLSDL:0));
c) What is the content of your .desktop file?
Code: [Select]
[Desktop Entry]
X-OD-NeedsDownscaling=true
Type=Application
Name=FloboPuyo
Comment=FloboPuyo
Exec=flobopuyo
Terminal=false
Icon=icon
Categories=games;

pcercuei

  • Posts: 1655
    • My devblog
Re: Port Request : FloboPuyo
« Reply #3 on: August 26, 2014, 02:21:52 pm »
I've seen at code that this game works with a 640x480 resolution. I've added a GWC0 flag to divide by 2 (SCALE constant) all screen related calls.
And did you revert that?

ker

  • Posts: 620
Re: Port Request : FloboPuyo
« Reply #4 on: August 26, 2014, 05:07:23 pm »
I've seen at code that this game works with a 640x480 resolution. I've added a GWC0 flag to divide by 2 (SCALE constant) all screen related calls.
And did you revert that?
Yes. I restarted from clean code to check new downscaling functionality. I'll update github this afternoon

ker

  • Posts: 620
Re: Port Request : FloboPuyo
« Reply #5 on: August 27, 2014, 11:14:28 am »
Or this morning... Repository updated: https://github.com/kerheol/flobopuyo

raygan

  • Posts: 158
    • I'm on Twitter and stuff...
Re: Port Request : FloboPuyo
« Reply #6 on: August 30, 2014, 12:44:03 am »
As a huge fan of Puyo Pop Fever, I'll be keeping an eye on this thread.  ;)

rastafari199625 (OP)

  • Posts: 27
Re: Port Request : FloboPuyo
« Reply #7 on: September 15, 2014, 11:47:31 pm »
Thanks you so much for your works ker ! I've downloaded your modified sources on your github and done some modifications in the code : -in PuyoCommander.cpp I've changed the default name by "GCW-ZERO" instead of the name of the user (root)
-in GameControls.cpp I've changed the default controls it's now A to turn right and B to turn left, and nothing mapped for the player 2
-in IosImgProcess.cpp I've set the fullscreen bool false because it's useless
-in PuyoCommander.cpp I've remove the option menu to switch fullscreen on or off
I have put the Downscaling flags in the .desktop and the games works very well !
the opk I've made : https://www.dropbox.com/s/e59e3ldnefggjkt/Flobopuyo.opk?dl=0
PS : the game work only with the latest firmware because of the downscaling option

Gab1975

  • Posts: 1165
Re: Port Request : FloboPuyo
« Reply #8 on: September 16, 2014, 07:14:38 am »
The game seems to run without problems and the hardware downscaling does well his work (just some little text it's a bit difficult to read, but no a big deal) ! ;)

rastafari199625 (OP)

  • Posts: 27
Re: Port Request : FloboPuyo
« Reply #9 on: September 16, 2014, 10:51:19 am »
Yes, increase the text size is a good idea but I havn't the knowledge in cpp to do that, it's not as simple as it't seem. But ker could certainly do that for us.
the modifiied source https://www.dropbox.com/s/6l5sgjx2gypj5p1/flobopuyoMod.tar.gz?dl=0
(don't forget to do a make clean and check the changlog at the end)