Author Topic: How to make a Gemei X760+ version of your game  (Read 6727 times)

Harteex (OP)

  • * Administrator
  • Posts: 713
    • Harteex Productions
How to make a Gemei X760+ version of your game
« on: November 14, 2009, 04:49:59 pm »
The Gemei X760+ is pretty much the same as the Dingoo, but in another shell. Games compiled for A320 will work without modification on the X760+, however there are a few differences that could be good to think about.

1. Number of buttons
The X760+ doesn't have the same number of buttons as the A320. It does not have the shoulder buttons / triggers (L and R), Start or Select. Two buttons have a different label aswell, but those have no difference when doing the actual code.
The X760+ Triangle is the same as the X button on the A320, and the X760+ X is the same as the A320 Y.





2. Sound volume
The X760+ has a sound volume range from 0 to 100, while the A320 has the range 0 to 30.


That's it.
One way to overcome the problem of less buttons is to do combinations of buttons. One example is that the power button is usable (it is usable on the A320 aswell). The power button can be defined as:
Code: [Select]
#define CONTROL_POWER         7

Spiller

  • Posts: 106
Re: How to make a Gemei X760+ version of your game
« Reply #1 on: November 18, 2009, 09:02:01 am »
I have added the possibility for bringing up the menu using the power button in the upcoming LynGOO v1.2, but I'm not so sure what you mean with the sound volume range. Does it make a difference when using the waveout_* functions?

alekmaul

  • Posts: 330
    • Portabledev
Re: How to make a Gemei X760+ version of your game
« Reply #2 on: November 18, 2009, 09:14:16 am »
I think that when you change volume (waveout_setvolume), we used range 0..100 for A320. It's not right, we must use 0..30 for A320 and 0..100 for x760.

Spiller

  • Posts: 106
Re: How to make a Gemei X760+ version of your game
« Reply #3 on: November 18, 2009, 09:24:12 am »
Well, I'm not so sure about that. The current range 0-100 seems to work OK on the A320, so that's why I asked Harteex what he actually meant. We are doing some stuff with that range before we pass it to waveout_setvolume by the way. I think we shift it or something.

alekmaul

  • Posts: 330
    • Portabledev
Re: How to make a Gemei X760+ version of your game
« Reply #4 on: November 18, 2009, 09:37:30 am »
well, i saw that when you used something higher that ~40, it will have no effect for sound level ... So i think 30/40 is a good range for a320.

Harteex (OP)

  • * Administrator
  • Posts: 713
    • Harteex Productions
Re: How to make a Gemei X760+ version of your game
« Reply #5 on: November 18, 2009, 01:29:14 pm »
Yes, when you increase the volume above 30, the function won't crash or anything, but the volume will not be higher.

tiagao_extremo

  • Posts: 748
Re: How to make a Gemei X760+ version of your game
« Reply #6 on: November 19, 2009, 01:56:21 am »
Nice to see you still remember the X-760+ Harteex. Thanks!  ;D

X-kunio

  • Posts: 56
Re: How to make a Gemei X760+ version of your game
« Reply #7 on: May 01, 2010, 05:55:18 am »
it looks like 760+'screen is bigger than dingoos'

joyrider

  • Posts: 220
    • Willems Soft
Re: How to make a Gemei X760+ version of your game
« Reply #8 on: May 01, 2010, 10:35:31 am »
might be bigger, but resolution is the same.

here is how i defined the buttons in gnuboy:

#define CONTROL_BUTTON_A      31
#define CONTROL_BUTTON_B      21
#define CONTROL_BUTTON_X      16
#define CONTROL_BUTTON_Y      6
#define CONTROL_BUTTON_START  11
#define CONTROL_BUTTON_SELECT 10

#define CONTROL_TRIGGER_LEFT  8
#define CONTROL_TRIGGER_RIGHT 29

#define CONTROL_DPAD_UP       20
#define CONTROL_DPAD_DOWN     27
#define CONTROL_DPAD_LEFT     28
#define CONTROL_DPAD_RIGHT    18

#define CONTROL_BUTTON_POWER  7

#define CONTROL_BUTTON_X_GEMEI 6
#define CONTROL_BUTTON_TRIANGLE_GEMEI 16

Harteex (OP)

  • * Administrator
  • Posts: 713
    • Harteex Productions
Re: How to make a Gemei X760+ version of your game
« Reply #9 on: May 01, 2010, 01:38:09 pm »
it looks like 760+'screen is bigger than dingoos'

I think it is a little bigger, but the images are probably not scale correct to each other.

Siloucos

  • Guest
Re: How to make a Gemei X760+ version of your game
« Reply #10 on: May 01, 2010, 02:54:24 pm »
it looks like 760+'screen is bigger than dingoos'

I think it is a little bigger, but the images are probably not scale correct to each other.

From booboo's blog





I have a Dingoo, but I must say, I appreciate the democratization of portable emulation!
« Last Edit: May 01, 2010, 02:56:08 pm by Siloucos »

tiagao_extremo

  • Posts: 748
Re: How to make a Gemei X760+ version of your game
« Reply #11 on: May 06, 2010, 02:37:46 am »
isn't there some kind of guide for dummies for making a gemei x760+ version? the only things that need to be changed are the volume range, while dingoo max is 30 gemei is 100, and the keys for the buttons. beside that i think everything else is the same.

X-kunio

  • Posts: 56
Re: How to make a Gemei X760+ version of your game
« Reply #12 on: May 07, 2010, 02:24:05 pm »
I wonder how about 760+ transplant linux
is it failured? or something else?
give me a reason  :)

tiagao_extremo

  • Posts: 748
Re: How to make a Gemei X760+ version of your game
« Reply #13 on: May 08, 2010, 12:16:00 am »
I wonder how about 760+ transplant linux
is it failured? or something else?
give me a reason  :)

Don't wait for it by now. BooBoo must be really busy these days. The only hope for gemei owners is that some people like alekmaul are releasing emulators for the native system. They work fine at gemei, just the sound needs to be set to a higher volume and the key buttons.

 

Post a new topic