Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

AdvMame Artwork: Missing something



  • I have been following various sources of information about how to get overlays and other artwork working for advance MAME emulator. So far I have never gotten anything to show up at all for any game using advmame.

    I am running the latest advmame emulator installed from binaries. 3.6 I believe.

    1. I keep all my arcade games in the .../roms/arcade folder.

    2. My advmame.rc contains these related setup options. (opt/retropie/configs/mame-advmame/advmame.rc) And I am sure this is the correct .rc as my other input binding changes are saved here as well.

    dir_artwork /home/pi/RetroPie/roms/mame-advmame/artwork
    ...
    dir_rom /home/pi/RetroPie/roms/mame-advmame:/home/pi/RetroPie/roms/arcade
    ...
    display_artwork_backdrop yes
    display_artwork_bezel yes
    display_artwork_crop yes
    display_artwork_overlay yes
    
    1. The example game I am trying to setup is bzone.zip, the contents of the art zip (bzone.zip located in roms/mame-advmame/artwork) are:

      battlezone_backdrop.png
      battlezone_cabaret_2.png
      default.lay

    The contents of default.lay are:

    <!-- bzone.lay -->
    
    <mamelayout version="2">
    	<element name="backdrop">
    		<image file="battlezone_backdrop.png" />
    	</element>
    	<element name="cabaret">
    		<image file="battlezone_cabaret_2.png" />
    	</element>
    	<element name="overlay">
    		<rect>
    			<bounds left="0" top="0" right="1068" bottom="160" />
    			<color red="1.0" green="0.125" blue="0.125" />
    		</rect>
    		<rect>
    			<bounds left="0" top="160" right="1068" bottom="801" />
    			<color red="0.125" green="1.0" blue="0.125" />
    		</rect>
    	</element>
    	<view name="Upright_Artwork">
    		<backdrop element="backdrop">
    			<bounds x="0" y="0" width="1647" height="955" />
    			<color alpha=".8" />
    		</backdrop>		
    		<overlay element="overlay">
    			<bounds x="286" y="124" width="1068" height="801" />
    		</overlay>
    		<screen index="0">
               	<bounds x="286" y="124" width="1068" height="801" />
    		</screen>		
    	</view>
    	<view name="Cabaret_Artwork">
    		<overlay element="overlay">
    			<bounds x="283" y="280" width="1068" height="801" />
    		</overlay>
    		<bezel element="overlay">
    			<bounds x="283" y="280" width="1068" height="801" />
    			<color alpha="0.1" />
    		</bezel>
    		<bezel element="cabaret">
    			<bounds x="0" y="0" width="1647" height="1258" />
    		</bezel>		
    		<screen index="0">
               	<bounds x="283" y="280" width="1068" height="801" />
    		</screen>		
    	</view>	
    </mamelayout>
    

    It feels like maybe what I am missing is choosing somewhere for the game which of the views it should use? Something else?

    Edits: fixed typos
    Edit2: Also looking through all the docs here : http://www.advancemame.it/doc there is paultry information about what the contents of the zip file should be or any reference to .lay format or how advancemame interprets it.



  • @alturis You are using the wrong text file format. AdvanceMame 3.6 uses the 0.106 ROM set and therefore needs agamename.art file, not a gamename.lay file.
    How the art was handled changed in the very next version of MAME, I believe.
    Something in this thread may be of help. https://retropie.org.uk/forum/topic/739/advancemame-bezels/7



  • @jonnykesh Weird. The information I was reading about it seemed to suggest just the opposite. That the old format was .art and the new format was .lay



  • @alturis Yeah, that's what I'm saying. AdvanceMame is based on MAME 0.106ie, the old method. AdvanceMame is not MAME.



  • @alturis said in AdvMame Artwork: Missing something:

    @jonnykesh Weird. The information I was reading about it seemed to suggest just the opposite. That the old format was .art and the new format was .lay

    Yeah, you have it right, but wrong assumptions about which one AdvanceMAME requires. I tried to clarify that here, after @Meneer-Jansen's post.


Log in to reply
 

Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.