Bennu Game Development

English Forums => Helpdesk => Topic started by: BlackCurtain on November 13, 2010, 02:35:26 PM

Title: Bennu on Caanoo
Post by: BlackCurtain on November 13, 2010, 02:35:26 PM
Hey, it's me again :P

I just got a quick question. Seeing as the Caanoo version of Bennu seems pretty officiall and all, I was wondering if there are any guides on how to set it up for your Caanoo? Compiling a .gpe file, tips and tricks, getting the joystick buttons to work, and all that. I found it strange not to find anything at all about it.
Title: Re: Bennu on Caanoo
Post by: FreeYourMind on November 13, 2010, 03:32:45 PM
It's similar to Wiz, use the joy.lib to mapping the buttons, a similar script .gpe, but with one more thumb (background of the selected game at menu).
Download a Bennu game for Caanoo and take a look to the file structure.
Title: Re: Bennu on Caanoo
Post by: BlackCurtain on November 13, 2010, 04:17:07 PM
Quote from: FreeYourMind on November 13, 2010, 03:32:45 PM
Download a Bennu game for Caanoo and take a look to the file structure.
Good idea, I didn't think about that.

EDIT: Oh, I didn't realize that *.gpe files were just simple sh-scripts. That clears some stuff up.
Title: Re: Bennu on Caanoo
Post by: BlackCurtain on December 05, 2010, 12:25:22 AM
Has it come to anyone's attention that the latest version of the Caanoo port doesn't respond to joystick inputs?
Title: Re: Bennu on Caanoo
Post by: SplinterGU on December 05, 2010, 07:01:47 AM
you must remove old libSDL.so from runtime folder
Title: Re: Bennu on Caanoo
Post by: BlackCurtain on December 05, 2010, 04:35:20 PM
Quote from: SplinterGU on December 05, 2010, 07:01:47 AM
you must remove old libSDL.so from runtime folder
Oh I see. Thanks :) Are there any update notices available somewhere? So that one knows what to update and such..
Title: Re: Bennu on Caanoo
Post by: SplinterGU on December 05, 2010, 04:44:06 PM
no, sorry... maybe you want do a svn log in my svn...
Title: Re: Bennu on Caanoo
Post by: BlackCurtain on May 01, 2011, 07:41:21 PM
Sorry for bumping this old topic, but my problem is related.
I've downloaded the latest Caanoo version to test with my new game, but for some reason I can't get past the Caanoo Loading screen and the game runs without a single error on my PC. My old Bennu applications runs fine though  ???  Am I missing something?
Title: Re: Bennu on Caanoo
Post by: FreeYourMind on May 01, 2011, 08:01:23 PM
have you try with another version of bennu runtime ?
It's a commercial game ? I say it because if you put te game here i can try it on my Caanoo
Title: Re: Bennu on Caanoo
Post by: BlackCurtain on May 01, 2011, 08:47:40 PM
Quote from: FreeYourMind on May 01, 2011, 08:01:23 PM
have you try with another version of bennu runtime ?
It's a commercial game ? I say it because if you put te game here i can try it on my Caanoo
Yes, it works fine on an older version. The 2nd or 3rd to latest I think (haven't version labeled the folders).
Title: Re: Bennu on Caanoo
Post by: SplinterGU on May 01, 2011, 09:29:42 PM
please, a sample with sourcecode... thanks.
Title: Re: Bennu on Caanoo
Post by: BlackCurtain on May 01, 2011, 09:47:20 PM
Quote from: SplinterGU on May 01, 2011, 09:29:42 PM
please, a sample with sourcecode... thanks.
I emailed it to you. Don't want to post full source code out in public.
Title: Re: Bennu on Caanoo
Post by: SplinterGU on May 02, 2011, 12:00:09 AM
your game works perfectly with the last bennugd version.

I only change 4 things:

- I delete my bgd-runtime folder on caanoo and I replace it with last release
- Save .ini and .gpe as UNIX file
- I remove comment lines in ini
- I rename game folder exactly as ini name... you must use same name and letter case...

the game is very nice at this moment... and works fine.
Title: Re: Bennu on Caanoo
Post by: BlackCurtain on May 02, 2011, 12:07:32 AM
Quote from: SplinterGU on May 02, 2011, 12:00:09 AM
- Save .ini and .gpe as UNIX file
What do you mean as UNIX file?
I'll have to check this tomorrow. It's really late here.
Title: Re: Bennu on Caanoo
Post by: SplinterGU on May 02, 2011, 12:14:34 AM
this file are saves like DOS format (in DOS each line end with line feed + carry return, in UNIX each line end with line feed)
Title: Re: Bennu on Caanoo
Post by: handsource-dyko on May 02, 2011, 06:56:58 AM
You can use notepad++ to convert dos line endingings to unix format and vica versa.
Title: Re: Bennu on Caanoo
Post by: BlackCurtain on May 02, 2011, 09:54:05 AM
Ah I see, I did not know this. Thank you.

EDIT: Yes, it is working fine now. I just copied an old .gpe and .ini file and edited. Thanks again.