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

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #121771
    Anonymous
    Inactive

    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.

    #122276
    king0fk0ng
    Participant

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

    #122303
    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…

    #122328
    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
    senkun
    Participant

    [quote=122276]Sorry, don’t know the answer. What screen is that? Thanks

    [/quote]

    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.

    [quote=122328]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

    [/quote]

    whoa! Thank you!

    #122337
    Anonymous
    Inactive

    [quote=122303]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…

    [/quote]

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

    #122338
    Anonymous
    Inactive

    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.

    #122344
    Anonymous
    Inactive

    [quote=122328]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

    [/quote]

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

Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘Video Output on RetroPie’ is closed to new topics and replies.