- This topic has 5 replies, 2 voices, and was last updated 10 years ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘Video Output on RetroPie’ is closed to new topics and replies.
On July 30, 2025, the U.S. Executive Order “Suspending Duty-Free De Minimis Treatment For All Countries” came into effect. This removes the previous duty exemption for low-value packages and introduces new procedural requirements that are still being defined by U.S. Customs and the United States Postal Service. In response, DHL has announced a temporary halt to standard postal parcel shipments into the U.S. and Puerto Rico. Dismiss
Skip to contentHomepage › Forums › RetroPie Project › Video Output on RetroPie › Using Mame and other emulators in full LCD 3.5" screen
Tagged: Adafruit piTFT 3.5, LCD fulll screen
On this topic including RetroPie. I am using 3.5″ PiTFT (Pi 2 & previous working edition on RetroPie)
I would like to fill the whole 3.5″ LCD, currently it has black bars on right/left side. I know the only way might stretch the pixels.
Trying to figure out what config file controls games(mame) on LCD. The RetroPie front end menu system fits nicely full screen.
[attachment file=”retropie and joust.jpg”]
Change aspect_ratio_index in /opt/retropie/configs/all/retroarch.cfg to force to the aspect of your screen.
for my dev monitor (5:4) that would be aspect_ratio_index = “10”
you can count from 0 in the retroarch gui settings to work out the value without having to save the entire retroarch.cfg or can configure from there / save new config and extract the value needed.
here are the values
ASPECT_RATIO_4_3 = 0,
ASPECT_RATIO_16_9,
ASPECT_RATIO_16_10,
ASPECT_RATIO_16_15,
ASPECT_RATIO_1_1,
ASPECT_RATIO_2_1,
ASPECT_RATIO_3_2,
ASPECT_RATIO_3_4,
ASPECT_RATIO_4_1,
ASPECT_RATIO_4_4,
ASPECT_RATIO_5_4,
ASPECT_RATIO_6_5,
ASPECT_RATIO_7_9,
ASPECT_RATIO_8_3,
ASPECT_RATIO_8_7,
ASPECT_RATIO_19_12,
ASPECT_RATIO_19_14,
ASPECT_RATIO_30_17,
ASPECT_RATIO_32_9,
ASPECT_RATIO_CONFIG,
ASPECT_RATIO_SQUARE,
ASPECT_RATIO_CORE,
ASPECT_RATIO_CUSTOM,
16:9 is aspect_ratio_index = 1
No need to post the full config here – makes threads hard to follow – please use pastebin or similar.
if you are talking about the default mame4all, or advmame – neither are retroarch emulators so they dont use this config. I think mame4all-pi might need a patch to “fit to screen”.
Thanks for the help.
Where do you see mame4all-pi ?
Im not seeing that.
Were you referring to the whole package in general Mame4all-pi and not a config file?
Thanks