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

libretro platform is missing basically all supplementary (S)GB/C support. #992

Closed
vaguerant opened this issue Feb 14, 2018 · 14 comments
Closed
Labels
port:libretro Affects the Libretro core
Milestone

Comments

@vaguerant
Copy link

vaguerant commented Feb 14, 2018

It seems like the libretro code for mGBA hasn't really been updated to account for the addition of the original Z80ish family of Game Boys. While the mGBA core works fine to emulate the platforms, none of the GB features from mainline mGBA seem to exist. e.g. the core settings are still limited to GBA-related features like the solar sensor, only the GBA BIOS is picked up, support for other model Game Boys' BIOSes is not implemented, there's no way to tell the emulator what variety of GB (Mono, Super, Color) the player wishes to emulate, most notably meaning no Super Game Boy support even though it's all right there in the mGBA core, ready to go.

EDIT: I can't check right now (I have the Pi running as a desktop at the moment), but I assume this also means there's no support for the Game Boy Camera and possibly Kirby's Tilt 'n' Tumble? /EDIT

I always use mainline mGBA when given the option, but as a new owner of a Raspberry Pi running RetroPie (a Raspbian/Debian-based, controller-friendly Linux distro full of emulators, which is built largely around RetroArch), I'd love to be able to use mGBA to play my old Game Boy games, which it seems like is so close. I understand libretro-side tweaks are probably some heavy back-burner stuff, but figured I'd file this issue just so it's noted somewhere that this is desired. Feel free to ignore that desire! 😃

@endrift
Copy link
Member

endrift commented Sep 10, 2018

Camera added in b03412a. I can try to add accelerometer support but I don't have a way to test it I don't think.

@DieKatzchen
Copy link

Could I request light sensor support while we're at it (assuming it's not already there)? I want to make a retropie in a switch-like form factor, and getting the two gyro games and the Boktai games working would be incredible. gyros and light sensors are super cheap... just need to figure out how to interface it.

@endrift
Copy link
Member

endrift commented Sep 24, 2018

Gyro isn't possible with the current libretro API (and there's only one gyro game; there are two accelerometer games though, which is possible), and the libretro version already supports Boktai via manual configuration (since they don't have an interface for that sensor either).

@DieKatzchen
Copy link

Guess i'll head over there and make a feature request.

@endrift
Copy link
Member

endrift commented Sep 24, 2018

Looks like there already is one: libretro-mirrors/libretro-arb#30

@endrift
Copy link
Member

endrift commented Sep 24, 2018

@vaguerant is there anything still missing other than accelerometer at this point? I've lost track. I can't easily add accelerometer yet since I don't know if I have a device I can test on.

@autofire372
Copy link

GB/GBC cheat code support isn't present in the libretro build, I believe...

@endrift
Copy link
Member

endrift commented Sep 25, 2018

Good call. It is now!

@endrift
Copy link
Member

endrift commented Oct 2, 2018

Delaying accelerometer support because I don't have a good way to test it. Afaik everything else I can put in is in now.

@endrift endrift modified the milestones: mGBA 0.7.0, mGBA 0.8.0 Oct 2, 2018
@endrift endrift modified the milestones: mGBA 0.8.0, mGBA 0.9.0 Jan 22, 2020
@endrift endrift modified the milestones: mGBA 0.9.0, mGBA 0.10.0 Jan 2, 2021
@vaguerant
Copy link
Author

I think it's probably time this issue closed; most of the S/GB/C features are here in the libretro build now. Accelerometer support would still be nice but really only serves a one Game Boy game, it's otherwise more of a GBA feature.

@DieKatzchen
Copy link

I would still like the accelerometer support. Should I open a new issue for that?

@endrift
Copy link
Member

endrift commented Dec 14, 2021

Accelerometer support has been implemented; the issue is lack of platform support from RetroArch

@DieKatzchen
Copy link

DieKatzchen commented Dec 14, 2021

RetroArch has accelerometer and gyro support since at least 1.8.1. I can't find where they implemented it on android, but the changelog for 1.8.1 includes extending support to switch and vita, and there's a bugfix in 1.19.4 that fixes it no longer working in Android if the device goes to sleep, which clearly means it was an already existing feature on Android.

@GaussTek
Copy link

Hello!! I tried the Android build of RetroArch and gyro/accelerometer support is indeed working by using mGBA. All games work fine except for just one game: Kirby Tilt 'n' Tumble... Which is weird, as all the rest do work fine. Motion is all messed up in that one, any idea on what could be the reason? Thank you for all your amazing work 🥺

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
port:libretro Affects the Libretro core
Projects
None yet
Development

No branches or pull requests

6 participants