Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 03-09-2017, 09:41 AM   #1
liim
Member
liim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheese
 
Posts: 14
Karma: 1000
Join Date: Mar 2017
Device: pw3
Smile Gambatte-K - Game Boy Color emulator

# introduction
Gambatte-K is a GTK port of Gambatte for Kindle. A Game Boy Color emulator.

# usage
You will have to supply Gambatte-K with a ROM image file of the GB/GBC program/game you would like to run/play.

* play on Windows

Extract the archive into disk then open "start.cmd".

* play on Kindle

Jailbreak your Kindle, refer to [this post](https://www.mobileread.com/forums/sh...d.php?t=186645).

Install KUAL, refer to the [official thread](https://www.mobileread.com/forums/sh...d.php?t=203326).

Extract the archive into the Kindle's "extensions" directory.

Start it from KUAL.

* play on Linux

Extract the archive into disk then open "start.sh".


* key binding

|[GB] |[PC] |
|----------|----------|
|A |X |
|B |Z |
|SELECT |Shift |
|START |Return |
|RIGHT |Right |
|LEFT |Left |
|UP |Up |
|DOWN |Down |

# screenshot
Click image for larger version

Name:	kindle.png
Views:	1000
Size:	16.0 KB
ID:	155538Click image for larger version

Name:	win.png
Views:	761
Size:	17.2 KB
ID:	155539

# disclaimer
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

# note
Don’t be exciting too early, due to the e-ink screen, most games are not playable.

# files
Gambatte-K 1.7 bin kindle.7z Gambatte-K 1.7 bin kindle.7z.zip
SIZE : 315024
MD5 : 9b1ca1e1c5d13a9bd6a97dc671d54b46
SHA1 : d53c727a76766adb4c799c02eca1606b1c8d92df

Gambatte-K 1.6 bin kindle.7z Gambatte-K 1.6 bin kindle.7z.zip
SIZE : 314778
MD5 : fdeeeafab32fb8f1039493a45f53ab0c
SHA1 : caa91bf88c5969ee30a97f37c5d2cb07e2813fea

Gambatte-K 1.6 bin windows.7z (x86) Gambatte-K 1.6 bin windows.7z.zip
SIZE : 4163988
MD5 : 4e36e61c1e9825c2512c3f7e3b6f70b1
SHA1 : 08f12fd0de96f419256070e2743bc96fe158847c

Gambatte-K 1.6 bin linux.7z (x64) Gambatte-K 1.6 bin linux.7z.zip
SIZE : 363568
MD5 : ae4cacfbc06443f9bfe7bc74db827f82
SHA1 : 523019a084e633dfa4343a2c54398ed6f050ba65

Gambatte-K 1.7 src.7z Gambatte-K 1.7 src.7z.zip
SIZE : 127911
MD5 : 7ca3907191f5db2c43554f6fa8b6c071
SHA1 : 6321ac6e4c4f868d0baaf3d91a8acd24b6c9e1df

Last edited by liim; 03-13-2017 at 12:17 AM.
liim is offline   Reply With Quote
Old 03-09-2017, 09:46 AM   #2
liim
Member
liim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheese
 
Posts: 14
Karma: 1000
Join Date: Mar 2017
Device: pw3
# game collection
Good for play on Kindle. To be filled.

Click image for larger version

Name:	2017-03-13.png
Views:	595
Size:	482.0 KB
ID:	155642

Last edited by liim; 03-13-2017 at 01:01 AM.
liim is offline   Reply With Quote
Advert
Old 03-09-2017, 03:00 PM   #3
notimp
Addict
notimp ought to be getting tired of karma fortunes by now.notimp ought to be getting tired of karma fortunes by now.notimp ought to be getting tired of karma fortunes by now.notimp ought to be getting tired of karma fortunes by now.notimp ought to be getting tired of karma fortunes by now.notimp ought to be getting tired of karma fortunes by now.notimp ought to be getting tired of karma fortunes by now.notimp ought to be getting tired of karma fortunes by now.notimp ought to be getting tired of karma fortunes by now.notimp ought to be getting tired of karma fortunes by now.notimp ought to be getting tired of karma fortunes by now.
 
Posts: 248
Karma: 892441
Join Date: Jul 2010
Device: K2i
Let me be the first to say - you sir, ROCK.



Cheers, n.

edit:

Could be neat to get a little collection of games together that would make sense to be played on a Kindle (slow paced, ... maybe text focused...) --

Detective Conan - The Mechanical Temple Murder Case
http://www.romhacking.net/translations/2151/
(works fine - part of the gameplay has screen scrolling)

Shadowgate
https://www.youtube.com/watch?v=GzM0v7CWdIQ

other potential candidates:
The Fish Files
Scooby Doo! Classic Creep Capers
Mario's Picross

edit: Those three are partly untested. I'll test them asap - would make more sense to actually post games that someone has tested already and that are working.+

edit2: In addition to being slow paced, games also shouldn't rely on full screen scrolling too much - because with the low refresh rate of eInk - if the entire screen starts scrolling, you wn't be able to make out much of whats going on. Fixed backgrounds and a few moving sprites are preferable.
...

edit3: Setting frameskip to around 30 makes scrolling backgrounds a little more legible. At the expense of frames of animation of course.

Last edited by notimp; 03-10-2017 at 02:24 AM.
notimp is offline   Reply With Quote
Old 03-11-2017, 12:30 PM   #4
wodan16
Enthusiast
wodan16 began at the beginning.
 
Posts: 31
Karma: 10
Join Date: Aug 2016
Device: kt3
thx liim,

just a little warning for KT3/800x600 users:
The in-game menu bar is not made for this resolution, all menus are cut short.
No way to reach the quit option in file menu, frame skip cuts at 11 and turbo speed at 9.00.
You are going to be left with an alternative quit of the emulator!
Playing works fine though.

Last edited by wodan16; 03-11-2017 at 12:45 PM.
wodan16 is offline   Reply With Quote
Old 03-11-2017, 10:58 PM   #5
Mr. B
Junior Member
Mr. B knows the way to San Jose.Mr. B knows the way to San Jose.Mr. B knows the way to San Jose.Mr. B knows the way to San Jose.Mr. B knows the way to San Jose.Mr. B knows the way to San Jose.Mr. B knows the way to San Jose.Mr. B knows the way to San Jose.Mr. B knows the way to San Jose.Mr. B knows the way to San Jose.Mr. B knows the way to San Jose.
 
Posts: 7
Karma: 54044
Join Date: Jul 2016
Device: Kindle Voyage 3G
I tested Boggle Plus on my Kindle Voyage and it's perfectly playable. Zoop, a puzzle game, is mostly playable.

One major issue, when I'm in game and go to load a new game, I end up with a blank screen with only the horizontal status bar at the top. I have to restart my device because I get no response from swiping or touching around the screen.
Mr. B is offline   Reply With Quote
Advert
Old 03-12-2017, 03:59 AM   #6
wodan16
Enthusiast
wodan16 began at the beginning.
 
Posts: 31
Karma: 10
Join Date: Aug 2016
Device: kt3
@Mr. B

Quote:
One major issue, when I'm in game and go to load a new game, I end up with a blank screen with only the horizontal status bar at the top.
same here...you have to close the game before loading another one.
Any source code liim?

Tetris works pretty good as well.
wodan16 is offline   Reply With Quote
Old 03-12-2017, 05:15 AM   #7
liim
Member
liim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheese
 
Posts: 14
Karma: 1000
Join Date: Mar 2017
Device: pw3
Quote:
Originally Posted by Mr. B View Post
One major issue, when I'm in game and go to load a new game, I end up with a blank screen with only the horizontal status bar at the top. I have to restart my device because I get no response from swiping or touching around the screen.
Confirmed. Should be fixed in version 1.7.
liim is offline   Reply With Quote
Old 03-12-2017, 05:36 AM   #8
wodan16
Enthusiast
wodan16 began at the beginning.
 
Posts: 31
Karma: 10
Join Date: Aug 2016
Device: kt3
thx for the quit fix @liim
Quote:
Originally Posted by Mr. B View Post
One major issue, when I'm in game and go to load a new game, I end up with a blank screen with only the horizontal status bar at the top. I have to restart my device because I get no response from swiping or touching around the screen.

Confirmed. Should be fixed in version 1.7.
Now works fine to open a game without closing.

Still have the frame skip menu cut off.
May i suggest to invert it, so it starts with 60?

great work

Last edited by wodan16; 03-12-2017 at 05:49 AM.
wodan16 is offline   Reply With Quote
Old 03-12-2017, 10:19 AM   #9
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by liim View Post
# introduction
Gambatte-K is a GTK port of Gambatte for Kindle. A Game Boy Color emulator.

# usage
You will have to supply Gambatte-K with a ROM image file of the GB/GBC program/game you would like to run/play.

* play on Windows

Extract the archive into disk then open "start.cmd".

* play on Kindle

Jailbreak your Kindle, refer to [this post](https://www.mobileread.com/forums/sh...d.php?t=186645).

Install KUAL, refer to the [official thread](https://www.mobileread.com/forums/sh...d.php?t=203326).

Extract the archive into the Kindle's "extensions" directory.

Start it from KUAL.

* play on Linux

Extract the archive into disk then open "start.sh".


* key binding

|[GB] |[PC] |
|----------|----------|
|A |X |
|B |Z |
|SELECT |Shift |
|START |Return |
|RIGHT |Right |
|LEFT |Left |
|UP |Up |
|DOWN |Down |

# screenshot
Attachment 155538Attachment 155539

# disclaimer
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

# note
Don’t be exciting too early, due to the e-ink screen, most games are not playable.

# files
Gambatte-K 1.7 bin kindle.7z Attachment 155597
SIZE : 315024
MD5 : 9b1ca1e1c5d13a9bd6a97dc671d54b46
SHA1 : d53c727a76766adb4c799c02eca1606b1c8d92df

Gambatte-K 1.6 bin windows.7z (x86) Attachment 155537
SIZE : 4163988
MD5 : 4e36e61c1e9825c2512c3f7e3b6f70b1
SHA1 : 08f12fd0de96f419256070e2743bc96fe158847c

Gambatte-K 1.6 bin kindle.7z Attachment 155535
SIZE : 314778
MD5 : fdeeeafab32fb8f1039493a45f53ab0c
SHA1 : caa91bf88c5969ee30a97f37c5d2cb07e2813fea

Gambatte-K 1.6 bin linux.7z (x64) Attachment 155536
SIZE : 363568
MD5 : ae4cacfbc06443f9bfe7bc74db827f82
SHA1 : 523019a084e633dfa4343a2c54398ed6f050ba65
And the source is where?

The only closed source that this forum deals with, is that provided by Amazon/Lab126.

You need more than just the open source license, you need to provide the source or a link to the source.
knc1 is offline   Reply With Quote
Old 03-13-2017, 12:27 AM   #10
liim
Member
liim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheese
 
Posts: 14
Karma: 1000
Join Date: Mar 2017
Device: pw3
Quote:
Originally Posted by wodan16 View Post
Still have the frame skip menu cut off.
May i suggest to invert it, so it starts with 60?
I'm not sure what’s going on on your device.

BTW: Did you try Gnuboy? Maybe working on old model.
I made Gambatte-K because it’s not working on pw3.
liim is offline   Reply With Quote
Old 03-13-2017, 12:28 AM   #11
liim
Member
liim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheese
 
Posts: 14
Karma: 1000
Join Date: Mar 2017
Device: pw3
Quote:
Originally Posted by knc1 View Post
And the source is where?
Ok, I archive them form the version control system.
liim is offline   Reply With Quote
Old 03-13-2017, 05:43 AM   #12
wodan16
Enthusiast
wodan16 began at the beginning.
 
Posts: 31
Karma: 10
Join Date: Aug 2016
Device: kt3
Quote:
Originally Posted by liim View Post
I'm not sure what’s going on on your device.

BTW: Did you try Gnuboy? Maybe working on old model.
I made Gambatte-K because it’s not working on pw3.
hi liim,
ok i'll put some screenshots below.

My wild guess would be, that you do not acount for the resolutions different models have.
I have a KT3 hence mine has a 600x800 pixel resolution and that is not enough for the menu bar, it seems.

K2, K3, K4, K5, KT2, KT3 = 600x800 px
PW1, PW2 = 758x1024 px
DX, DXi, DXG = 824x1200 px
PW3, KV = 1072x1448 px

(i'm sure i missed one and kindle police will make me aware of it)

EDIT: Don't get me wrong it IS working perfectly!
There is just no way to change frame skip or speed more than you can see in the screenshots below.

EDIT 2:
Quote:
May i suggest to invert it, so it starts with 60?
What i was suggesting is a quick dirty fix without messing too much.
src/gtk/main.cpp - line 308 - 311
from :
Code:
int frameskips[21] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
                          10, 11, 12, 13, 14, 15,
                          20, 30, 40, 50, 60
                         };
to :
Code:
int frameskips[21] = {60, 50, 40, 30, 20, 15, 14, 13, 12, 11,
                          10, 9, 8, 7, 6, 5,
                          4, 3, 2, 1, 0
                         };
and src/gtk/main.cpp - line 326
from:
Code:
float turbospeeds[11] = {0.25, 0.5, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0};
to :
Code:
float turbospeeds[11] = {10.0, 9.0, 8.0, 7.0, 6.0, 5.0, 4.0, 3.0, 2.0, 0.5, 0.25};
This would make the menu options usable on my KT3 and wouldn't change much on your side.

thx for the source
greetings wodan
Attached Thumbnails
Click image for larger version

Name:	gambatte_1_2017_03_13.png
Views:	219
Size:	10.1 KB
ID:	155643   Click image for larger version

Name:	gambatte_2_2017_03_13.png
Views:	191
Size:	11.3 KB
ID:	155644  

Last edited by wodan16; 03-13-2017 at 07:24 AM.
wodan16 is offline   Reply With Quote
Old 03-13-2017, 10:44 AM   #13
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by liim View Post
Ok, I archive them form the version control system.
Hmm, I didn't see any mention of a version control system in your first or second post.
If I had, I would not have asked about the sources.

Another note:
Kindles run Linux not Windows.
Filenames with spaces in them may be too hard for newbies to handle on Linux.
It would be a bit more friendly to the non-technical users to not have spaces in the filenames.
knc1 is offline   Reply With Quote
Old 03-14-2017, 08:01 AM   #14
liim
Member
liim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheese
 
Posts: 14
Karma: 1000
Join Date: Mar 2017
Device: pw3
Quote:
Originally Posted by wodan16 View Post
There is just no way to change frame skip or speed more than you can see in the screenshots below.
Actually no. You can manually modify the config file “/extensions/gambatte-k/bin/config”.
If really want a change. My advice is a new dialog, like this
Click image for larger version

Name:	a.png
Views:	203
Size:	9.9 KB
ID:	155655
Btw: I event reluctance to move the recent files menu to a submenu, after that one more touch/click is needed. So I will not make this change to complicate things. If you want, then DIY.

What I am seeing the real problem is the virtual button layout is not harmony, select/start/A/B are too big. I forgot to make them auto fit size.
You can adjust the “void DrawingAreaJoystick_draw(GtkWidget *widget)” function.

Last edited by liim; 03-14-2017 at 08:06 AM.
liim is offline   Reply With Quote
Old 03-14-2017, 08:22 AM   #15
liim
Member
liim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheese
 
Posts: 14
Karma: 1000
Join Date: Mar 2017
Device: pw3
Quote:
Originally Posted by knc1 View Post
Kindles run Linux not Windows.
Filenames with spaces in them may be too hard for newbies to handle on Linux.
It would be a bit more friendly to the non-technical users to not have spaces in the filenames.
I don’t think “non-technical users” will jailbreak their Kindles, install extensions, and get ROMs to play with Gambatte-K. Although it’s not really playable.
And “spaces in the filenames” matters? Nobody force you extract the archive in console/command.

Btw: Linux is simpler than Windows, no UTF8/OEM code convert needed. Well, no business with English country people.╮(╯▽╰)╭

Last edited by liim; 03-14-2017 at 08:28 AM.
liim is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
THE GAME IS ON! (an anthology based on 'The Most Dangerous Game') sakman70 Self-Promotions by Authors and Publishers 1 08-07-2011 03:07 PM
EE emulator. robot enTourage Archive 10 07-09-2010 05:44 AM


All times are GMT -4. The time now is 12:50 PM.


MobileRead.com is a privately owned, operated and funded community.