Video layout usage

It shouldn’t matter. Are you on a nightly build? I think there have been some fixes since the last stable.

No I’m not using a nightly build.

P.S. should the layout file and its png image(s) be zipped together in order for them to work or can I just put them in the same folder?

@hunterk, it’s similar to what I requested some months ago here, do you think it’s possible? It seems really easy to implement now.

Both methods are working. You can load either the *.zip or the *.lay
For the *.zip you have to enable Filter unknow extensions in Settings - File Browser
otherwise RA tries to load it as a game file.

You can have them all in one folder if you like:

/layout/
  └ game1.lay
    bezel1.png
    game2.lay
    bezel2.png
    etc...

Well, not for me. I just tried downloading a MAME standalone executable to test it.

A layout .lay/.png bundle, both zipped and unzipped, worked flawlessly with the standalone, but does nothing when I select the same *.lay file in RetroArch

Have you set your driver to gl?

Or maybe a old graphics card?

1 Like

Only to make sure:
Are you loading the artworks through:

Settings
    └ Onscreen Overlay
        └ Video Layout
            └ Video Layout Path
Quick Menu
    └ Video Layout
        └ Video Layout Path

?

Yes, it’s very similar and the things you mentioned (aside from loading a specific shader) are possible with it.

@Tarrasque If you continue having issues with it, try using a nightly build of RetroArch to see if it treats you any better. If that doesn’t help, post a log and I’ll take a look.

2 Likes

I have RetroArch setup to open a shader and an overlay when loading games, so what I do is disabling the overlay and the shader from the quick Menu, then loading the *.lay file (I’m keeping the PMG/LAY files unzipped in a folder named like the game for the moment) from Quick Menu -> Video Layout.

When I do it the screen gets completely covered. If I disable the Layout then I see the game running. It looks as the layout is resolved as totally black and opaque.

That’s great, is there any instructions how to set it up? I’m assuming it works for other cores other than MAME, is that right?

This is a known problem with a couple of cards. I have the same issue on a radeon hd 6870

The only computer I have at my disposal at the moment is a Lenovo ThinkPad A475. Device manager says it has an AMD Radeon R7 Graphic card.

After digging deeper i noticed that it could be a problem with the latest catalyst driver for our graphics cards.

By installing an older version the artworks showing up, but this causes other things to not working good, so this is not an option for me.

1 Like

I downloaded the latest zip package (dated 2019-11-19) from the download area and used it in a fresh setup (redownloaded the mame 2016 core from the updater).

The layout works with the mame core but everything goes dark if used as a RetroArch layout

Can you tell me your OS and installed driver version pls.
I managed to make it work by reverting to the latest 13.* catalyst driver.

OS is Windows 10.

Driver I don’t actually know where to look to get all info you might need. I found an AMD utility that tells me this:

  • Radeon software version - 17.7

  • Radeon software edition - Crimson ReLive

  • Graphic chipset - AMD Radeon™ R7 Graphics

  • Memory size - 512 MB

  • Memory type - DDR4

  • Main clock - 758 MHz

  • Windows version - Windows 10 (64 bit)

  • system memory - 8 GB

  • CPU - AMD PRO A12-9800B R7, 12 COMPUTE CORES 4C+8G

  • Radeon settings version - 2018.0305.424.7904

  • Driver package version - 17.40.2815.1010-180305a-326871C-Lenovo

  • Maker - Advanced Micro Devices, Inc.

  • 2D driver version - 8.1.1.1624

  • Direct3D® Version - 9.14.10.01304

  • OpenGL® Version - 6.14.10.13497

  • OpenCL™ Version - 23.20.808.2816

  • AMD Mantle version - Not Available

  • API AMD Mantle version - Not Available

  • AMD audio driver version - 10.0.1.6

  • Vulkan™ Driver Version - 1.7.0

  • Vulkan™ API Version - 1.0.54

Anyway, its my work laptop and managed by my company, so I won’t be able to upgrade or downgrade anything.

[UPDATE]
You can use Lakka from USB-Stick, so you don’t have to alter something on your system. (assumed booting from stick is not disabled in the BIOS/UEFI).

Use this image: http://nightly.builds.lakka.tv/PRs/pr_838_000118/Generic.x86_64/

This shows, that it is definitively a problem with the driver and not with the card.

Be aware, that not all shaders are working, e.g. multi-pass shaders goes black, but i heard this is a known behaviour with Video Layout in general.

1 Like

I tried on Linux with this archive using RA nightly and it works as expected using video driver GL.

Source

Is there a way to make the MAME video layouts auto load in the retroarch MAME/FBNEO cores if they exist in the layouts folder? Stock MAME does this. In retroarch you need to go into the menu and load each video layout manually, and then save it as a game override to get it loaded again. Stock MAME just auto loads if it exists.

For example, if you have both a rom and a layout in /roms/galaga.zip and /artwork/galaga.zip MAME will autoload the .lay file from the zip. In retroarch it’s a manual menu load and manual menu save.

Would love to see this as a feature if it is not existing already. With so many great bezels out now it would be great to have a layouts collection in a directory and then autoload from retroarch cores like FBNEO and MAME cores.

For MAME you need to have the mame layout *zip files in

RetroArch/
    system/
        mame/
            artwork/
                *rom-name*.zip
1 Like