ZFEbHVUE / Batocera-CRT-Script

34 stars 10 forks source link

I can't change resolution core libretro #204

Closed sanjorja closed 2 months ago

sanjorja commented 3 months ago

On any system, with any core libretro emulator, when changing the video mode from the batocera menu, it does nothing, it does not apply it. However, if the emulator is standalone, it allows you to modify it. Is it a script error, batocera limitation or is this just like that? I want this because I like to play at non-native resolutions, for example atomiswave 2D fighting games (at 320x240) in some gamecube, ps2, atomiswave or naomi games, but not all systems have standalone emulators. I use batocera v37

Redemp commented 3 months ago

That's not exactly how it is setup It's not a limitation of Batocera, or the script or script error. Retroarch and GroovyMame uses the Switchres api to switch resolutions on the fly.

Here is a better explanation

Switchres is a modeline generation engine for emulation.

Its purpose is on-the-fly creation of fully customized video modes that accurately reproduce those of the emulated systems. Based on a monitor profile, it will provide the best video mode for a given width, height, and refresh rate.

Now when it comes to standalone emulators not using the Switchres api then that is what the custom resolutions are for. But you can create a swirchres ini override file and set a custom resolution for Switchres to use instead..

But just to be clear V37 is no longer supported and we only support the latest release V39.

If you need more help or have any other questions please join the official Batocera discord channel and head over to the #CRT channel.

/Rion

sanjorja commented 3 months ago

Thank you so much. I have managed to create a specific switchres.ini for some systems and it works perfectly. I have set Game Boy advance and Game boy to 360*240 and the scanlines are finally visible. For some reason switches set them to 640x480. I think it is because the original resolutions of those systems are very low and are not supported by the CRT. Now I finally have all the systems configured to my liking. Thanks for the great work on the script.

Redemp commented 3 months ago

Thank you so much. I have managed to create a specific switchres.ini for some systems and it works perfectly. I have set Game Boy advance and Game boy to 360*240 and the scanlines are finally visible. For some reason switches set them to 640x480. I think it is because the original resolutions of those systems are very low and are not supported by the CRT. Now I finally have all the systems configured to my liking. Thanks for the great work on the script.

Almost there. But this is how game-boy advance for example should be setup. https://wiki.batocera.org/batocera-and-crt#forcing_integer_scaling_while_switchres_is_enabled

If you have more question don't hesitate to head over to Discord https://discord.com/invite/JXhfRTr