cjuniorfox / retropie-crt

Some scripting to enable retropie to run as 240p with some HDMI to analog adapter
GNU General Public License v3.0
2 stars 1 forks source link

[Request] TATE #6

Open juzt3 opened 3 months ago

juzt3 commented 3 months ago

i've been trying to play in tate only using tate mode from mame2003 and it works but some games appear wrong as 1941. also i have changed emulationstation to rotate and using a vertical theme but it appears as the resolution used does not support tate becose it shows at the correct direction but weird aspect or so.

to rotate emulation station i've found:

Update Emulationstation

-Retropie setup > Manage packages > Manage core packages > emulationstation > update from binary

To rotate the emulationstation menus, Add screen rotate line to autostart.sh

-Connect to the pi via computer. Go to configs/all. Edit autostart.sh

-Add “—screenrotate 1” after "emulationstation" (that is two dashes in the beginning)

-Restart system

cjuniorfox commented 3 months ago

I'm preparing an update (you can have a peek at the "develop" branch) that you will have a JSON file with the resolution and aspect ratio settings per ROM. This JSON will be named ROM-FILE-crt.json at the same path as the ROM. This file will be generated automatically the first time you play some ROM. I did this right because of TATE mode. When you start the game, by default, the TATE mode isn't configured as default, and then, the "chvideocore", the routine responsible for extracting the resolution settings from Retroarch and applying them to the output, gets the specs with width and height swapped, because it's what Retroarch do when you play some game in TATE mode adjusted. So, with this JSON, you could manually fix the resolution and aspect ratio as you wanted. If you do not intend to rotate the screen, you can customize the settings to prevent the weird aspect ratio by inverting the X and Y axis and stretching them all laterally. if you place your set sideways and play in TATE mode, you can also just invert the axis at that JSON file or do what you suggested which is start the TATE mode. As far as I know, there's an option in the Mame 2003 menu that enables the TATE mode as default.