Handheld Underground

hhugboy v1.4.0 release & status update

posted by taizou @ 2022-03-21 23:44:52 hhugboy

This was never supposed to happen! The hhugboy project was never supposed to go on this long. I never wanted to be an emu dev at all; this little fork was a means to an end, a way to get these games playable somehow at a time when Game Boy emulation had stagnated. Of course, Game Boy emulation has long since un-stagnated, hhugboy's limitations and inaccuracies only became more apparent with the passing years, and the idea of knocking it on the head and contributing future mappers elsewhere has been floating around my useless brain for a fair while. But, well, I'm a creature of habit, it's easier to just shove more mappers into the framework I've created to keep getting these things supported, and so it has persisted.

Meanwhile. An experimental idea I had a few years ago, of bolting gblinkdx to hhugboy, in order to proxy mapper/protection-related reads and writes through to an actual cartridge, actually worked and I did indeed get a few unemulated games running using this technique. For gameplay this is pretty useless; not only is it dog slow, but its requirement of a very rare game cartridge plus a specific combination of obsolete, modern and custom hardware renders it inaccessible for most. Its true value is as a reverse engineering technique - by observing the reads and writes done to the mapper as the game runs, it becomes much easier to figure out the logic behind what is happening, and then in theory you can proxy less and less through to the real cartridge, replacing it with emulation, until eventually the cartridge is not required at all.

That unholy fusion leaves hhugboy now in the position of being one of my key reverse engineering tools as well as a functional emulator, so it's gained a new lease of life that way and become a little bit harder to shake off once again. Sorry about that.

And, naturally, all of this means I'm releasing a new version today, version 1.4.0.

This includes hooks for the gblink integration, but I haven't directly embedded the whole thing into the emulator for various reasons (mostly licensing), instead hiving it off to a library called libgblink. I've also overhauled the visual rumble feature, fixed some issues around saving (notably in MBC2 games) and made a bunch more behind-the-scenes changes mostly to clean up mapper-related code a bit.

But, don't worry, this isn't only a bugfix and self-indulgent fuckaround release. There is one new mapper supported in this version, the first I was able to implement using the gblink technique. And it's a big one. This is the one I've been waiting for for YEARS. I won't name names until the ROM releases though. I mean obviously you can find out if you want to, but it won't be written upon the official HHUG Blog Scrolls until Next Time...

5 Comments

Comments

1posted by rari_teh @ 2022-03-22 22:03:40

👀

2posted by 2726735 @ 2022-03-24 12:46:24

is there Java Bootlegs?

3posted by Superfish @ 2022-03-24 13:29:31

Fun fact: Hhugboy is my favourite Game Boy emulator.
@2726735 Phoneky is a better place looking for them, this blog is about Game Boy-related stuff

4posted by 2726735 @ 2022-03-24 14:36:05

the most famous one was Donkey kong 25, A hack of the (in)famous gummy bear java/ios game, Hasn't released yet.

5posted by Penisboi @ 2022-07-02 05:55:35