Myself curious to write a GB emulator... how do you get images? After a quick search I see a list of "homebrews" on a collection repo on GitHub [0]. Is there a particularly good place to find games? [0] https://github.com/gbdev/awesome-gbdev#homebrews
Gameboy.live: A basic Gameboy emulator with terminal “cloud gaming” support
31–40 of 51 posts
Re: Gameboy.live: A basic Gameboy emulator with terminal “cloud gaming” support
#32Myself curious to write a GB emulator... how do you get images? After a quick search I see a list of "homebrews" on a collection repo on GitHub [0]. Is there a particularly good place to find games? [0] https://github.com/gbdev/awesome-gbdev#homebrews
Being copyrighted, it's not legal to redistribute them. You're favorite torrent search engine might be able to help, though. Or you can buy them off eBay and dump the image yourself. I'm not sure what the current state of dumping hardware is, but 10 years ago I hacked together one that used a PC parallel port.
Re: Gameboy.live: A basic Gameboy emulator with terminal “cloud gaming” support
#33Re: Gameboy.live: A basic Gameboy emulator with terminal “cloud gaming” support
#34Earlier quoted context omitted.
The DMG boot ROM fits into the top 0x100 bytes. To protect it from being snooped, the last instruction shuts off the boot ROM by flipping a register that can’t be flipped back, mapping the top 0x100 back to the cartridge (and allowing the cartridges interrupt vectors to be installed.) So, there is no jump to 0x100 at any point; they just fit the DMG boots ROM perfectly into 0x100 bytes and control flow leaves bootstr…
The fact that it was undumped until recently makes me want to understand this more. Can you ELI5?
So they didn’t exploit flaws, they just tried to work around the protection.
Even though the Gameboy is relatively slow (~4.7 Mhz processor IIRC) it’s still not going to be easy to hit exactly at the right time to be able to perform your fault injection.
The protection is simple enough to be effective. If you did it with a modern manufacturing process it’d probably be quite difficult to be able to image the bits directly...
Nowadays, for say Nintendo Switch, you are more likely to see keys and firmware data dumped via early boot exploits or privilege escalation.
Re: Gameboy.live: A basic Gameboy emulator with terminal “cloud gaming” support
#35Earlier quoted context omitted.
Being copyrighted, it's not legal to redistribute them. You're favorite torrent search engine might be able to help, though. Or you can buy them off eBay and dump the image yourself. I'm not sure what the current state of dumping hardware is, but 10 years ago I hacked together one that used a PC parallel port.
I can highly recommend https://www.tindie.com/products/insidegadgets/gbxcart-rw-gam... .
How come?
> You'll just need a Micro-USB or USB-C cable depending on the connector type you choose. Please note the USB-C connector only has the USB 2.0 lines attached so it may not work with devices expecting a USB-C capable device; you might need a USB-C to USB-A adapter and then a USB-A to USB-C cable.
Do you know if there are plans for a future revision of the hardware which will allow for the greater speed that USB-C can provide to be utilized?
Re: Gameboy.live: A basic Gameboy emulator with terminal “cloud gaming” support
#36Earlier quoted context omitted.
I can highly recommend https://www.tindie.com/products/insidegadgets/gbxcart-rw-gam... .
> Works with Windows XP or higher and Linux/Mac (console version). On Linux/Mac the speeds are much slower. How come? > You'll just need a Micro-USB or USB-C cable depending on the connector type you choose. Please note the USB-C connector only has the USB 2.0 lines attached so it may not work with devices expecting a USB-C capable device; you might need a USB-C to USB-A adapter and then a USB-A to USB-C cable. Do yo…
Not sure. It dumps the cart over serial and there were some problems with higher speeds at one point.
> Do you know if there are plans for a future revision of the hardware which will allow for the greater speed that USB-C can provide to be utilized?
I don't think the carts themselves are that fast, there wouldn't be a huge amount of benefit. At least when I tried it it wasn't even coming close to using full USB 2 speed.
Re: Gameboy.live: A basic Gameboy emulator with terminal “cloud gaming” support
#37Myself curious to write a GB emulator... how do you get images? After a quick search I see a list of "homebrews" on a collection repo on GitHub [0]. Is there a particularly good place to find games? [0] https://github.com/gbdev/awesome-gbdev#homebrews
https://bennvenn.myshopify.com/products/reader-writer-gen2
The popular titles (especially Pokemon) can be hard to track down at a fair price, but lesser known gameboy games can be found easily on Amazon and from other used sellers for a few dollars each. Even stuff like Tetris is easy to get ahold of because so many copies were produced. Bad games still make great test cases. :D
If you're after homebrew there's a whole bunch of sites that host it. One site that I pulled my early test ROMs from was:
https://pdroms.de/news/gameboy
But there are of course countless others. The demo scene is quite lively, and once your emulator is working at a basic level, demos can be good test cases since they often use the hardware in surprising and unusual ways. Finally, once you're serious about accuracy, check out this list of test ROMs:
http://tasvideos.org/EmulatorResources/GBAccuracyTests.html
Especially the tests by blargg; these are designed with a simple pass/fail result but go seriously in depth checking out hardware edge cases, and the source code is available which makes debugging them a breeze. Finally passing his CPU test was a major milestone.
The rabbit hole is very deep, but it's a fun dive!
Re: Gameboy.live: A basic Gameboy emulator with terminal “cloud gaming” support
#38The Gameboy & in fact, all games consoles completely passed me by - my experience of hand-held gaming was Donkey Kong and TomyTronic. Now I'm going to have a chance to see what I missed out on - sort of :)
Here are some unprompted recommendations :) If you like puzzle games, Tetris, if you like adventure games, Link’s Awakening. If you like platforming, I’d recommend any of the Super Mario Land or Donkey Kong Land games!
Re: Gameboy.live: A basic Gameboy emulator with terminal “cloud gaming” support
#39Re: Gameboy.live: A basic Gameboy emulator with terminal “cloud gaming” support
#40Earlier quoted context omitted.
Highly unlikely, given all the other GB emulators that already exist, some of which are far more famous.
Yeah, until you start hosting roms I don't think Nintendo cares (although possibly begrudgingly). Once you do though... bad times. Nintendo has even used existing open source emulators themselves in commercial products.