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

Add support to launch with LLAPI cores for Favourites and Last Played #87

Open
tgeorgiadis opened this issue Jan 17, 2024 · 2 comments
Open

Comments

@tgeorgiadis
Copy link

Currently the Favourites and Last Played extensions will launch the games with the standard MiSTer cores.

There are two ports on the BlisSTer board for the MiSTer that allows for the use of controllers through LLAPI.

To take advantage of the low input latency, LLAPI cores have to be used.

It would be great if in the ini configs we can make the Last Played and Favourites launch the games with the LLAPI cores (if they exist). An option like use_llapi_cores

@wizzomafizzo
Copy link
Owner

Hi. Sorry for the delay. There are a couple options to do this but they're a bit tucked away and not well tested.

For Favorites, you can edit the script directly and change this line:
https://github.com/wizzomafizzo/MiSTer_Favorites/blob/98c4cdb2f78ba2c9dec3e2e9690ea083cd860186/favorites.sh#L117

Change it to ALT_CORE_CONFIG = "llapi"

For the LastPlayed app, you can make a file "lastplayed.ini" and add a section like this:

[systems]
set_core = _Console/Gameboy:_Console/Gameboy_LLAPI
set_core = _Console/GBA:_Console/GBA_LLAPI

And so on. So the original core location is on the left of the : and the replacement is on the right. Make sure to include the core's folder like I have, as if you would when making an MGL file.

This systems section can be added to the .ini file of any of the apps here except for Favorites, GamesMenu, BGM and TapTo.

@tgeorgiadis
Copy link
Author

tgeorgiadis commented Mar 4, 2024

Thanks for the response. I've done some testing.

Favourites

For Favourites I made the change to ALT_CORE_CONFIG = "llapi"

I added game favourites from the following systems: SNES, NES, GBA, GB, and GBC. They all worked and launched the relevant LLAPI cores, except for GBC (which should launch Gameboy_LLAPI).

I have my GBC games in a folder called GBC which seems to be the reason it doesn't work. When I tried moving a GBC game to my GAMEBOY folder and adding that as a favourite, then it was able to launch it through the Gameboy_LLAPI core.

Pokemon Crystal from my GBC folder which I tried adding as a favourite (System: Gameboy):
image

3D Pool Allstars which I moved into the GAMEBOY folder and then added as a favourite (this worked, System: Gameboy_LLAPI):
image

It would be good if GBC games in a GBC folder could launch the Gameboy_LLAPI core.

LastPlayed

As for LastPlayed, I didn't have much luck getting that to launch the games with the LLAPI cores. They always launched through the normal cores. Here is my lastplayed.ini which I put in my Scripts folder alongside lastplayed.sh. The LLAPI cores are in the _LLAPI folder. Couldn't figure this one out.

[systems]
set_core = _Console/Gameboy:_LLAPI/Gameboy_LLAPI
set_core = _Console/GBA:_LLAPI/GBA_LLAPI
set_core = _Console/SNES:_LLAPI/SNES_LLAPI
set_core = _Console/NES:_LLAPI/NES_LLAPI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants