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
Libretro port of Gearboy #52
Comments
It's a nice idea. |
I personally barely know anything about the actual Libretro API, but here are some important things: Libretro API Header: https://github.com/libretro/RetroArch/blob/master/libretro-common/include/libretro.h Libretro Website: https://www.libretro.com/ Oh and I mentioned the possibility of an Libretro port on the Libretro forums so maybe the Libretro devs can come help? |
You can check some links in the develop part, libretro-samples repository for example and also on the doc. If you have any question please come to the channel #libretro. Thank you. |
The core seems ideal for a port except that it's quite tangled up with SDL as far as I can see. |
Impressive work, thanks! |
BTW, you can try disabling sound, this should disable frame synching. |
Already? That is very cool! |
Since I feel like not being useless, here is the core info file: https://1drv.ms/u/s!AvB-c2zUfIalpwhX-jGwGNgOQ7c4 The bios stuff might need to be changed. So there, I saved you ten seconds! :D |
We got it working, with sound too. |
hey are these legal? Is it just the boot logo and sound? |
Not sure, they are from here: |
Seems they are ripped from the original hardware, you shouldn't include that. |
I just made a refactor to remove any reference to SDL inside the core. |
I just compiled it and it just shows a black screen... when you toggle menu, it shows something? At least the audio sounds nice! Windows 64-bit .dll of the Gearboy Libretro core: |
Sorry, silly mistake, it's working properly now. |
Thank you so much! Oh, and when are we going to have core options? ( The different palettes as seen in the screenshots, for example ) |
Wait... are .gearboy files saves? Those should not be in the directory where the ROM is, but it should be in the frontend's saves folder ( For RetroArch that's RetroArch/saves, not sure about other frontends :P )
It's annoying seeing .gearboy files everywhere. Unless you want standalone Gearboy to work immediately, which really only requires renaming the file from .srm to .gearboy and putting it in the right directory. This would also allow other cores to use the saves! And if you are wondering if the saves actually work in other cores... of course! |
Yes you're completely right. The core is very basic right now, I will be adding all this features over the next days. |
Hey, one of the maintainers of libretro/docs here. https://docs.libretro.com/library/gearboy/ Do you want the report core issues link at the bottom of the page to link to your issue tracker? You're free to let us know if you want something changed in the doc or you can go ahead and contribute directly at the libretro/docs repository. What gets put on the doc is 100% under your control and approval. |
Oh, many thanks! Yes, a link to this issue tracker would be great. |
So, let's try to get further with this:
Here is the sameboy implementation:
Again the sameboy implementation: https://github.com/libretro/SameBoy/blob/master/libretro/libretro.c#L381 With those in place we would have a more or less complete core. (I should try to fix sound though) |
I'm working on save states and memory access, wouldn't take me too much. No rumble support, I can look into it. What's the problem with sound? I thought I fixed that myself. |
Ah I haven't checked the libretro core in a while, I'll check and report back :) |
you're right, it's completely fine now |
Hey, just wondering, do you have link cable support? |
Nope :( |
Just FYI, I updated the fork so we're up-to-date with you. |
Memory access is mostly finished. Retroarch can save RAM including RTC data but I can't get achievements to work. I will be working on save states now. I'm working on "develop" so you don't get noise until finished. |
Ok, made some progress using RETRO_ENVIRONMENT_SET_MEMORY_MAPS correctly, now I have some achievements 😄 |
I've finished adding achievements, ram and rtc saves, save states, soft patching, core options and reset so I consider it complete. I'm closing the issue now, thanks for all the help. I'll may add cheats in the future but that's a |
No description provided.
The text was updated successfully, but these errors were encountered: