Vertical games stretched to full screen (Pacman, 194x etc)

Home Forums RetroPie Project Video Output on RetroPie Vertical games stretched to full screen (Pacman, 194x etc)

RetroPie has a new website and forum. Please visit https://retropie.org.uk/ for the new site. The new forum is located at https://retropie.org.uk/forum/. This forum is left here as a read-only archive.

This topic contains 7 replies, has 4 voices, and was last updated by Profile photo of bircoe bircoe 11 months, 4 weeks ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #121771
    Profile photo of bircoe
    bircoe
    Participant

    Why does lr-mame2003 stretch these games to full screen, I’d much rather the intended aspect ratio because they just look strange stretched to a 4:3 aspect screen, examples:

    mame4all:
    mame4all

    libretro 2003:
    lr-mame2003

    I’d prefer to use libretro implementations as mame4all doesn’t like my USB controller, the best I’ve been able to come up with so far is using the below settings in the retroarch.cfg file but these settings apply globally and I’d rather not create a config for each game:

    aspect_ratio_index = 19
    video_aspect_ratio = 0.75 (this is just a test value however it gets close to the actual aspect ratio of pacman)

    Is there a setting somewhere that force stretching of games as I’ve looked and can’t find one, I’ve also trawled various wikis and pages but so far come up empty handed.

    • This topic was modified 12 months ago by Profile photo of bircoe bircoe.

    #122276
    Profile photo of king0fk0ng
    king0fk0ng
    Participant

    Sorry, don’t know the answer. What screen is that? Thanks

    #122303
    Profile photo of dankcushions
    dankcushions
    Participant

    run retropie-setup, update your script. then run the configuration editor – see https://github.com/retropie/retropie-setup/wiki/Configuration-Editor

    the wiki is a bit out of date here, but you want

    1 Configure basic libretro emulator options
    14 Configure additional options for mame-libretro
    1 Aspect Ratio
    20 Square

    this basically makes all libretro mame games display at 1:1 ‘PAR’ resolution (ie, every pixel is treated as a square), which fixes your issue with vertical games. I think this should probably be the default for mame libretro, but really we should fix the core so it renders these games properly…

    • This reply was modified 11 months, 4 weeks ago by Profile photo of dankcushions dankcushions.
    #122328
    Profile photo of dankcushions
    dankcushions
    Participant

    with help from Buzz, we’ve actually fixed this in the code now 🙂

    https://github.com/libretro/mame2003-libretro/pull/25#event-612809045

    so if you don’t mind waiting for about 30 minutes for mame to compile, you could avoid the above instructions by doing a build from source:

    1) retropie-setup
    2) install individual emulators
    3) lr-mame2003
    4) from source

    #122333
    Profile photo of senkun
    senkun
    Participant

    Sorry, don’t know the answer. What screen is that? Thanks

    Very nice screen good bang for the buck, it’s a waveshare 3.2″ v4, 320×240 so it’s pretty snappy when configured right, minimal tearing.

    with help from Buzz, we’ve actually fixed this in the code now :)

    https://github.com/libretro/mame2003-libretro/pull/25#event-612809045

    so if you don’t mind waiting for about 30 minutes for mame to compile, you could avoid the above instructions by doing a build from source:

    1) retropie-setup
    2) install individual emulators
    3) lr-mame2003
    4) from source

    whoa! Thank you!

    #122337
    Profile photo of bircoe
    bircoe
    Participant

    run retropie-setup, update your script. then run the configuration editor – see https://github.com/retropie/retropie-setup/wiki/Configuration-Editor

    the wiki is a bit out of date here, but you want

    1 Configure basic libretro emulator options
    14 Configure additional options for mame-libretro
    1 Aspect Ratio
    20 Square

    this basically makes all libretro mame games display at 1:1 ‘PAR’ resolution (ie, every pixel is treated as a square), which fixes your issue with vertical games. I think this should probably be the default for mame libretro, but really we should fix the core so it renders these games properly…

    Thank you very much, I’ll give this a go a bit later!

    #122338
    Profile photo of bircoe
    bircoe
    Participant

    As senkun said it’s a WaveShare SpotPear 3.2″ V4 LCD, they are not perfect, even with the SPI bus clocked up to 96MHz from the default 16MHz that the overlay’s configure it at there is still diagonal banding during fades, but that said it’s a $15 display that is good enough to play games on.

    http://www.ebay.com.au/itm/3-2-TFT-LCD-Module-Touch-Screen-Display-Monitor-For-Raspberry-Pi-B-B-A-Board-/291587744708?hash=item43e3fbe3c4:g:UzUAAOSw~bFWG3Hn

    In saying that I have ordered a 5″ HDMI 800×480 display, I’ll continue making my DIY hand held once that arrives.

    • This reply was modified 11 months, 4 weeks ago by Profile photo of bircoe bircoe.
    #122344
    Profile photo of bircoe
    bircoe
    Participant

    with help from Buzz, we’ve actually fixed this in the code now :)

    https://github.com/libretro/mame2003-libretro/pull/25#event-612809045

    so if you don’t mind waiting for about 30 minutes for mame to compile, you could avoid the above instructions by doing a build from source:

    1) retropie-setup
    2) install individual emulators
    3) lr-mame2003
    4) from source

    Thank you! I built from source and now aspect ratios are correct!

Viewing 8 posts - 1 through 8 (of 8 total)

Forums are currently read only - please visit the new RetroPie forums at https://retropie.org.uk/forums/

Skip to toolbar