Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Game Boy Advance Emulator #96

Open
davidmonterocrespo24 opened this issue Jan 4, 2024 · 9 comments
Open

Game Boy Advance Emulator #96

davidmonterocrespo24 opened this issue Jan 4, 2024 · 9 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@davidmonterocrespo24
Copy link

If the SNES can be emulated, I think it would also be possible to emulate the game boy advance.
Isn't the emulator for the GBA in development?

@ducalex
Copy link
Owner

ducalex commented May 3, 2024

I've tried (and failed porting GBA emulators to the ESP32. Those that ran were nowhere near full speed. So I gave up. But if someone wants to try the challenge, I can confirm that I would indeed accept to merge GBA support into retro-go!

@ducalex ducalex added the help wanted Extra attention is needed label May 3, 2024
@davidmonterocrespo24
Copy link
Author

I've tried (and failed porting GBA emulators to the ESP32. Those that ran were nowhere near full speed. So I gave up. But if someone wants to try the challenge, I can confirm that I would indeed accept to merge GBA support into retro-go!

Hello
do you have the repository of the emulator you tried to make?

@ducalex
Copy link
Owner

ducalex commented May 3, 2024

Unfortunately I deleted all those branches.

But the most successful attempt was with derivatives of https://emulation.gametechwiki.com/index.php/GpSP (I don't remember which one).

I also did get mGBA to run but it was too slow and it took a long time to reduce memory use enough. I wish I had kept it!

@ducalex ducalex added the enhancement New feature or request label May 3, 2024
@davidmonterocrespo24
Copy link
Author

Unfortunately I deleted all those branches.

But the most successful attempt was with derivatives of https://emulation.gametechwiki.com/index.php/GpSP (I don't remember which one).

I also did get mGBA to run but it was too slow and it took a long time to reduce memory use enough. I wish I had kept it!

It would be good to resume the project. If you create a repository capable of uploading some code and adding more people.
If you give me some basic instructions on how to start the migration, I can manage it.

@ducalex
Copy link
Owner

ducalex commented Jul 30, 2024

I've made a quick port of gbSP-libretro today: https://github.com/ducalex/retro-go/commits/gba/

It can play games but not very well. I don't know yet if I'll spend more time on it... But it's there, as a reference for anyone who wants it :)

Edit: There will be a downloadable build here in a few moments: https://github.com/ducalex/retro-go/actions/workflows/ci.yml?query=branch%3Agba (click top link, then artifacts at bottom)

@davidmonterocrespo24
Copy link
Author

I've made a quick port of gbSP-libretro today: https://github.com/ducalex/retro-go/commits/gba/

It can play games but not very well. I don't know yet if I'll spend more time on it... But it's there, as a reference for anyone who wants it :)

Edit: There will be a downloadable build here in a few moments: https://github.com/ducalex/retro-go/actions/workflows/ci.yml?query=branch%3Agba (click top link, then artifacts at bottom)

Hi, great job!! amazing!!
Do you have any way to use a retro-go emulator on windows? How do you test it? Using the esp32 physically?

@ducalex
Copy link
Owner

ducalex commented Aug 2, 2024

Do you have any way to use a retro-go emulator on windows? How do you test it? Using the esp32 physically?

At the moment I only test on real hardware but there is some SDL2 support in retro-go.

In the past I have successfully built and run retro-go in Cygwin, MSYS2, and even TCC (though that won't work for gbsp). WSL2 would probably work too. No clue about VC++. These days I like to use https://github.com/skeeto/w64devkit/ with upstream SDL2.

But SDL2 support is very likely currently broken and I have no instructions or build script to offer unfortunately.

There's a ticket with some more details: #118

If you can get SDL2 in better shape, PRs welcome :)

@the-star-sea
Copy link

Hello, I am also very interested in the GBA support cuz I have bought a gamewatch Zelda and am a big fan of gba hack. I have gained both my MS and bachelor degree of CS and most of my experience is related to PyTorch... In my part time, I love crosscompiling some projects on my arm board and I wonder if I could try to solve this. Could u share more about how to debug the project especially on my game watch?

@ducalex
Copy link
Owner

ducalex commented Jan 26, 2025

@the-star-sea Development on the game and watch is quite different from the esp32 and I do not have a lot of experience with it. Their fork has also diverged quite a lot from mine, so it's best to see the two projects as being entirely different.

Maybe you can check their discord, I'm sure they'd be willing to guide you: https://github.com/sylverb/game-and-watch-retro-go?tab=readme-ov-file#discord-support-and-discussion

Good luck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants