Welcome
Welcome to a320

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!

GNUBoy with updated key mappings and save state

Only for posting new Dingux software releases.

Moderator: Moderators

GNUBoy with updated key mappings and save state

Postby gp2xs on Tue Sep 08, 2009 2:25 am

Hi,

I compiled joyrider’s Dingoo port of GNUBoy with booboo’s latest toolchain.
Made some simple changes to the default key mappings in main.c.
Switched the B and A buttons and mapped X and L buttons to save and load state which works.
The in-game saves work as before.

The Dingoo GNUBoy keys are:

B=B
A=A
X=Save State
L=Load State
R=Quit

I have not tested the save states extensively so back up your SD in case something goes wrong.

Before trying this you should back up your current game saves located in:

/local/home/.gnuboy/saves/Your Rom Names.sav

This version should work with previous in-game saves.


PS: Special thanks to joyrider for posting the updated source code.
Attachments
sdlgnuboy.zip
(187.41 KiB) Downloaded 137 times
gp2xs
 
Posts: 7
Joined: Wed Aug 05, 2009 3:41 pm

Re: GNUBoy with updated key mappings and save state

Postby Hellsing1 on Tue Sep 08, 2009 9:37 am

HI

Go to see its still being worked on.

Have you looked at fixing the screen size? - far too small to be worthwhile at the moment.

Good speed though!
Hellsing1
 
Posts: 97
Joined: Fri Mar 13, 2009 5:17 pm

Re: GNUBoy with updated key mappings and save state

Postby benoitb on Tue Sep 08, 2009 10:51 am

Great ! I could not understand before why the A and B buttons were swaped. The only missing feature would be a nice screen resize option now.
benoitb
 
Posts: 10
Joined: Thu Sep 03, 2009 9:03 am

Re: GNUBoy with updated key mappings and save state

Postby SiENcE on Tue Sep 08, 2009 1:24 pm

A ingame menue like the nativ ones would be nice.
SiENcE
 
Posts: 67
Joined: Wed Apr 29, 2009 9:19 am
Location: Berlin/Germany

Re: GNUBoy with updated key mappings and save state

Postby adamantibus on Tue Sep 08, 2009 1:41 pm

I'll wait until it can be played fullscreen.
adamantibus
 
Posts: 30
Joined: Mon May 11, 2009 12:19 pm

Re: GNUBoy with updated key mappings and save state

Postby eder182 on Tue Sep 08, 2009 2:53 pm

oh! thanks for the update, man!

Save states rules on portable device..
eder182
 
Posts: 11
Joined: Wed Aug 26, 2009 1:36 am

Re: GNUBoy with updated key mappings and save state

Postby romleinster on Tue Sep 08, 2009 2:55 pm

Great update, I'll have to give this a try!
like people seem to agree, a menu with save/load state, screen size options, exit, reset, load rom, button-config etc would really make gnuboy a lot more FUNctional.
romleinster
 
Posts: 15
Joined: Wed Aug 19, 2009 1:07 pm

Re: GNUBoy with updated key mappings and save state

Postby gp2xs on Wed Sep 09, 2009 4:59 am

I only changed a few default bind statements in the main.c file of the source code and compiled the program.

I made no changes to the source code besides assigning Dingoo keys [buttons] to existing functions including save/load state.

The hardest part was installing Ubuntu for the first time and setting up the toolchain.
I never installed or really used desktop Linux before this.

I am no programmer. I just wanted to switch the buttons so I gave it a try.

The video scaling takes place in the sdl.c file in the sys\ folder of the source code.
It uses integer values for scaling so the only possible scaling factors are 1,2,etc.
Gambeboy resolution of 160x144 doubled 320x288 is taller than the Dingoo’s 320x240.

Tried scale factor 2 and the larger image is misaligned and wraps around the screen.

Adding a menu is beyond my current skill level but not impossible to learn.

Take a look at the source code and maybe we all can come up with something. 8-)
gp2xs
 
Posts: 7
Joined: Wed Aug 05, 2009 3:41 pm


Return to Dingux Releases

Who is online

Users browsing this forum: No registered users and 0 guests