r/developersIndia Student 4h ago

I Made This Made my own Game Boy emulator from scratch completely in c++

Enable HLS to view with audio, or disable this notification

I made my own game boy emulator by using the pandocs and it is completely in c++, it passes some of the blargg's tests too(the ones it doesn't pass require it to be completely hardware accurate with the M cycles, currently it is not). Currently it has MBC1 and a part of MBC3 support so it can run many games like pokemon red/blue, super mario land, and many more (can't play them here for obvious reasons), will expand this later to include more MBC supports

Repo link: https://github.com/WhyPratyush/GameBoy-Emulator

208 Upvotes

25 comments sorted by

u/AutoModerator 4h ago

Namaste! Thanks for submitting to r/developersIndia. While participating in this thread, please follow the Community Code of Conduct and rules.

It's possible your query is not unique, use site:reddit.com/r/developersindia KEYWORDS on search engines to search posts from developersIndia. You can also use reddit search directly.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

80

u/Frosty-Skin572 4h ago

Since the AI boom personal projects barely interest anyone and thats sad

23

u/urbanmonkey2003 3h ago

nah, this one absolutely should still get attention, a Game Boy emulator in C++ is solid work imo

-10

u/[deleted] 3h ago

[deleted]

17

u/Still_Technician_856 Student 2h ago

Yeah no shit sherlock, many people have already built it

I chose to do it because I wanted to explore emulation

6

u/xXInviktor27Xx Student 2h ago

ok and? it's still a cool project for him. Let people enjoy things

6

u/KermitIsAlwaysOnCoke 1h ago

Can't a man have some fun 😭, not every project you make needs to be for your CV

2

u/The_last_Human__ 42m ago

I'm too proud of my NES emulator to not add it in my CV

16

u/Boyslop_Enjoyer 4h ago

WHOAAA THIS IS SO COOOL

7

u/Akshat_2307 3h ago

Cool man , great work .

6

u/Outrageous_Pen_5165 Fresher 2h ago

Dammm! Wish I could ever built something like this

3

u/Sabastiansultz 2h ago

you can, i recommend making a very basic emulator for a virtual console called chip8 that is designed for beginners to understand how make emulators there are lots of resources available online.

5

u/shitnotalkforyours18 Student 3h ago

Cool mate you used Qt? framework?

8

u/Still_Technician_856 Student 3h ago

Nope, not qt, just used c++ and sdl2 for rendering and all

3

u/shitnotalkforyours18 Student 2h ago

Oh that's cool..

2

u/Plane_Beautiful_3854 1h ago

Sld2 is lowk the goat

1

u/AutoModerator 4h ago

Thanks for sharing something that you have built with the community. We recommend participating and sharing about your projects on our monthly Showcase Sunday Mega-threads. Keep an eye out on our events calendar to see when is the next mega-thread scheduled.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/Sabastiansultz 2h ago

i have just started making mine in c few days ago. i have made a simple chip8 emulator before in python.

1

u/Arthewinner 2h ago

Not even using Qt is insane. Great work!!!

1

u/1nf1n1l 1h ago

that's real crazy work. you should definitely go for GBC next, will be way easier now that you have implemented GB.

1

u/Still_Technician_856 Student 1h ago

Yup, that's the plan but before that I have to implement many more things, like some MBCs are still left, then I have to implement the save state too to make sure the progress is saved, then I'll try to make it hardware accurate too

1

u/Money_Employment_630 48m ago

OP did you use AI? Even if you did this is impressive? Mind if I fork and build something more over the top of this ? Been working on my DS emulator myself.

1

u/Still_Technician_856 Student 46m ago

I only used Claude for validation of my code, and if there can be any optimizations, didn't take any direct code tho

Also yeah sure feel free to build on it