Page 1 of 1

Issue with chess boards emulators

Posted: Thu Oct 21, 2021 11:07 am
by giovpres
When I enable an artwork graphic in a chess game emulator, the pieces aren't visibles, appear to be covered by artwork...

Re: Issue with chess boards emulators

Posted: Thu Oct 21, 2021 11:15 am
by Tafoid
giovpres wrote: Thu Oct 21, 2021 11:07 am When I enable an artwork graphic in a chess game emulator, the pieces aren't visibles, appear to be covered by artwork...

Can you be specific? Which machine in particular are you observing this problem? Are you attempting to use an image enhancement (shaders) via hlsl or bgfx?

Re: Issue with chess boards emulators

Posted: Thu Oct 21, 2021 4:01 pm
by giovpres

Re: Issue with chess boards emulators

Posted: Fri Oct 22, 2021 1:20 am
by Tafoid
giovpres wrote: Thu Oct 21, 2021 4:01 pm Right, there are an example (I hope you can see the screenshots):

https://pasteboard.co/1rCQ60W6D0bg.jpg
https://pasteboard.co/BrneQrCfZOUl.jpg
https://pasteboard.co/CfaW7c4QFsQH.jpg

I have to assume you are pointing to the path which has your external artwork rather than that path + the packaged artwork that comes with the binary download which includes the chess specific piece graphics needed. Hook up both and it should work fine.

Re: Issue with chess boards emulators

Posted: Fri Oct 22, 2021 8:18 am
by giovpres

Code: Select all

<?xml version="1.0"?>
<mamelayout version="2">
	<element name="novag">
		<image file="novag_board.png" />
	</element>

	<element name="piece" defstate="0">
		<image file="BP.png" state="1"/>
		<image file="BKN.png" state="2"/>
		<image file="BB.png" state="3"/>
		<image file="BR.png" state="4"/>
		<image file="BQ.png" state="5"/>
		<image file="BK.png" state="6"/>
		<image file="WP.png" state="7"/>
		<image file="WKN.png" state="8"/>
		<image file="WB.png" state="9"/>
		<image file="WR.png" state="10"/>
		<image file="WQ.png" state="11"/>
		<image file="WK.png" state="12"/>
		<image file="BP_SEL.png" state="13"/>
		<image file="BKN_SEL.png" state="14"/>
		<image file="BB_SEL.png" state="15"/>
		<image file="BR_SEL.png" state="16"/>
		<image file="BQ_SEL.png" state="17"/>
		<image file="BK_SEL.png" state="18"/>
		<image file="WP_SEL.png" state="19"/>
		<image file="WKN_SEL.png" state="20"/>
		<image file="WB_SEL.png" state="21"/>
		<image file="WR_SEL.png" state="22"/>
		<image file="WQ_SEL.png" state="23"/>
		<image file="WK_SEL.png" state="24"/>
	</element>

	<element name="clearboard">
		<image file="clearboard.png" />
	</element>

	<element name="startpos">
		<image file="startpos.png" />
	</element>


	<element name="digit" defstate="0">
		<led7seg>
			<color red="0.75" green="0.0" blue="0.0" />
		</led7seg>
	</element>
	<element name="led" defstate="0">
		<disk state="1">
			<color red="0.75" green="0.0" blue="0.0" />
		</disk>
		<disk state="0">
			<color red="0.09375" green="0.0" blue="0.0" />
		</disk>
	</element>
	<element name="background">
		<rect>
			<bounds left="0" top="0" right="1" bottom="1" />
			<color red="1.0" green="1.0" blue="1.0" />
		</rect>
	</element>


	<element name="button" defstate="0"></element>


	<element name="keys" defstate="0">
 		<rect state="1">
      			<color red="0.0" green="0.0" blue="0.0" />
		</rect>
	</element>


	<element name="button_border_pieces" defstate="0">
 
	</element>


	<element name="border_buttons" defstate="0">
 		<rect state="1">
      			<color red="1.0" green="1.0" blue="1.0"/>
		</rect>
	</element>



	<view name="Full artwork">


            <!-- Board -->



		<backdrop element="novag">
			<bounds x="0" y="0" width="685" height="525" />
		</backdrop>


		<screen index="0"><bounds  x="550" y="37" width="111" height="25" /></screen>


		<!-- Pieces -->
		<bezel name="P0" element="piece"><bounds x="44" y="44" width="45" height="48" /></bezel>
		<bezel name="P1" element="piece"><bounds x="100" y="44" width="45" height="48" /></bezel>
		<bezel name="P2" element="piece"><bounds x="156" y="44" width="45" height="48" /></bezel>
		<bezel name="P3" element="piece"><bounds x="212" y="44" width="45" height="48" /></bezel>
		<bezel name="P4" element="piece"><bounds x="268" y="44" width="45" height="48" /></bezel>
		<bezel name="P5" element="piece"><bounds x="324" y="44" width="45" height="48" /></bezel>
		<bezel name="P6" element="piece"><bounds x="380" y="44" width="45" height="48" /></bezel>
		<bezel name="P7" element="piece"><bounds x="436" y="44" width="45" height="48" /></bezel>
		<bezel name="P8" element="piece"><bounds x="44" y="100" width="45" height="48" /></bezel>
		<bezel name="P9" element="piece"><bounds x="100" y="100" width="45" height="48" /></bezel>
		<bezel name="P10" element="piece"><bounds x="156" y="100" width="45" height="48" /></bezel>
		<bezel name="P11" element="piece"><bounds x="212" y="100" width="45" height="48" /></bezel>
		<bezel name="P12" element="piece"><bounds x="268" y="100" width="45" height="48" /></bezel>
		<bezel name="P13" element="piece"><bounds x="324" y="100" width="45" height="48" /></bezel>
		<bezel name="P14" element="piece"><bounds x="380" y="100" width="45" height="48" /></bezel>
		<bezel name="P15" element="piece"><bounds x="436" y="100" width="45" height="48" /></bezel>
		<bezel name="P16" element="piece"><bounds x="44" y="156" width="45" height="48" /></bezel>
		<bezel name="P17" element="piece"><bounds x="100" y="156" width="45" height="48" /></bezel>
		<bezel name="P18" element="piece"><bounds x="156" y="156" width="45" height="48" /></bezel>
		<bezel name="P19" element="piece"><bounds x="212" y="156" width="45" height="48" /></bezel>
		<bezel name="P20" element="piece"><bounds x="268" y="156" width="45" height="48" /></bezel>
		<bezel name="P21" element="piece"><bounds x="324" y="156" width="45" height="48" /></bezel>
		<bezel name="P22" element="piece"><bounds x="380" y="156" width="45" height="48" /></bezel>
		<bezel name="P23" element="piece"><bounds x="436" y="156" width="45" height="48" /></bezel>
		<bezel name="P24" element="piece"><bounds x="44" y="212" width="45" height="48" /></bezel>
		<bezel name="P25" element="piece"><bounds x="100" y="212" width="45" height="48" /></bezel>
		<bezel name="P26" element="piece"><bounds x="156" y="212" width="45" height="48" /></bezel>
		<bezel name="P27" element="piece"><bounds x="212" y="212" width="45" height="48" /></bezel>
		<bezel name="P28" element="piece"><bounds x="268" y="212" width="45" height="48" /></bezel>
		<bezel name="P29" element="piece"><bounds x="324" y="212" width="45" height="48" /></bezel>
		<bezel name="P30" element="piece"><bounds x="380" y="212" width="45" height="48" /></bezel>
		<bezel name="P31" element="piece"><bounds x="436" y="212" width="45" height="48" /></bezel>
		<bezel name="P32" element="piece"><bounds x="44" y="268" width="45" height="48" /></bezel>
		<bezel name="P33" element="piece"><bounds x="100" y="268" width="45" height="48" /></bezel>
		<bezel name="P34" element="piece"><bounds x="156" y="268" width="45" height="48" /></bezel>
		<bezel name="P35" element="piece"><bounds x="212" y="268" width="45" height="48" /></bezel>
		<bezel name="P36" element="piece"><bounds x="268" y="268" width="45" height="48" /></bezel>
		<bezel name="P37" element="piece"><bounds x="324" y="268" width="45" height="48" /></bezel>
		<bezel name="P38" element="piece"><bounds x="380" y="268" width="45" height="48" /></bezel>
		<bezel name="P39" element="piece"><bounds x="436" y="268" width="45" height="48" /></bezel>
		<bezel name="P40" element="piece"><bounds x="44" y="324" width="45" height="48" /></bezel>
		<bezel name="P41" element="piece"><bounds x="100" y="324" width="45" height="48" /></bezel>
		<bezel name="P42" element="piece"><bounds x="156" y="324" width="45" height="48" /></bezel>
		<bezel name="P43" element="piece"><bounds x="212" y="324" width="45" height="48" /></bezel>
		<bezel name="P44" element="piece"><bounds x="268" y="324" width="45" height="48" /></bezel>
		<bezel name="P45" element="piece"><bounds x="324" y="324" width="45" height="48" /></bezel>
		<bezel name="P46" element="piece"><bounds x="380" y="324" width="45" height="48" /></bezel>
		<bezel name="P47" element="piece"><bounds x="436" y="324" width="45" height="48" /></bezel>
		<bezel name="P48" element="piece"><bounds x="44" y="380" width="45" height="48" /></bezel>
		<bezel name="P49" element="piece"><bounds x="100" y="380" width="45" height="48" /></bezel>
		<bezel name="P50" element="piece"><bounds x="156" y="380" width="45" height="48" /></bezel>
		<bezel name="P51" element="piece"><bounds x="212" y="380" width="45" height="48" /></bezel>
		<bezel name="P52" element="piece"><bounds x="268" y="380" width="45" height="48" /></bezel>
		<bezel name="P53" element="piece"><bounds x="324" y="380" width="45" height="48" /></bezel>
		<bezel name="P54" element="piece"><bounds x="380" y="380" width="45" height="48" /></bezel>
		<bezel name="P55" element="piece"><bounds x="436" y="380" width="45" height="48" /></bezel>
		<bezel name="P56" element="piece"><bounds x="44" y="436" width="45" height="48" /></bezel>
		<bezel name="P57" element="piece"><bounds x="100" y="436" width="45" height="48" /></bezel>
		<bezel name="P58" element="piece"><bounds x="156" y="436" width="45" height="48" /></bezel>
		<bezel name="P59" element="piece"><bounds x="212" y="436" width="45" height="48" /></bezel>
		<bezel name="P60" element="piece"><bounds x="268" y="436" width="45" height="48" /></bezel>
		<bezel name="P61" element="piece"><bounds x="324" y="436" width="45" height="48" /></bezel>
		<bezel name="P62" element="piece"><bounds x="380" y="436" width="45" height="48" /></bezel>
		<bezel name="P63" element="piece"><bounds x="436" y="436" width="45" height="48" /></bezel>

             
           <!-- 64 LED's --> 

            <!-- Line 8 --> 

		<bezel name="led56" element="led">
			<bounds x="477" y="88" width="6" height="6" />
		</bezel>

     		<bezel name="led57" element="led">
			<bounds x="421" y="88" width="6" height="6" />
		</bezel>

     		<bezel name="led58" element="led">
			<bounds x="366" y="88" width="6" height="6" />
		</bezel>

     		<bezel name="led59" element="led">
			<bounds x="311" y="88" width="6" height="6" />
		</bezel>

     		<bezel name="led60" element="led">
			<bounds x="255" y="88" width="6" height="6" />
		</bezel>

     		<bezel name="led61" element="led">
			<bounds x="199" y="88" width="6" height="6" />
		</bezel>

     		<bezel name="led62" element="led">
			<bounds x="144" y="88" width="6" height="6" />
		</bezel>

		<bezel name="led63" element="led">
			<bounds x="88" y="88" width="6" height="6" />
		</bezel>

            <!-- Line 7 --> 

		<bezel name="led48" element="led">
			<bounds x="477" y="144" width="6" height="6" />
		</bezel>

     		<bezel name="led49" element="led">
			<bounds x="421" y="144" width="6" height="6" />
		</bezel>

     		<bezel name="led50" element="led">
			<bounds x="366" y="144" width="6" height="6" />
		</bezel>

     		<bezel name="led51" element="led">
			<bounds x="311" y="144" width="6" height="6" />
		</bezel>

     		<bezel name="led52" element="led">
			<bounds x="255" y="144" width="6" height="6" />
		</bezel>

     		<bezel name="led53" element="led">
			<bounds x="199" y="144" width="6" height="6" />
		</bezel>

     		<bezel name="led54" element="led">
			<bounds x="144" y="144" width="6" height="6" />
		</bezel>

		<bezel name="led55" element="led">
			<bounds x="88" y="144" width="6" height="6" />
		</bezel>


            <!-- Line 6 --> 	

		<bezel name="led40" element="led">
			<bounds x="477" y="199" width="6" height="6" />
		</bezel>

     		<bezel name="led41" element="led">
			<bounds x="421" y="199" width="6" height="6" />
		</bezel>

     		<bezel name="led42" element="led">
			<bounds x="366" y="199" width="6" height="6" />
		</bezel>

     		<bezel name="led43" element="led">
			<bounds x="311" y="199" width="6" height="6" />
		</bezel>

     		<bezel name="led44" element="led">
			<bounds x="255" y="199" width="6" height="6" />
		</bezel>

     		<bezel name="led45" element="led">
			<bounds x="199" y="199" width="6" height="6" />
		</bezel>

     		<bezel name="led46" element="led">
			<bounds x="144" y="199" width="6" height="6" />
		</bezel>
	
            <bezel name="led47" element="led">
			<bounds x="88" y="199" width="6" height="6" />
		</bezel>


            <!-- Line 5 --> 

		<bezel name="led32" element="led">
			<bounds x="477" y="255" width="6" height="6" />
		</bezel>

     		<bezel name="led33" element="led">
			<bounds x="421" y="255" width="6" height="6" />
		</bezel>

     		<bezel name="led34" element="led">
			<bounds x="366" y="255" width="6" height="6" />
		</bezel>

     		<bezel name="led35" element="led">
			<bounds x="311" y="255" width="6" height="6" />
		</bezel>

     		<bezel name="led36" element="led">
			<bounds x="255" y="255" width="6" height="6" />
		</bezel>

     		<bezel name="led37" element="led">
			<bounds x="199" y="255" width="6" height="6" />
		</bezel>

     		<bezel name="led38" element="led">
			<bounds x="144" y="255" width="6" height="6" />
		</bezel>

		<bezel name="led39" element="led">
			<bounds x="88" y="255" width="6" height="6" />
		</bezel>


            <!-- Line 4 --> 

		<bezel name="led24" element="led">
			<bounds x="477" y="311" width="6" height="6" />
		</bezel>

     		<bezel name="led25" element="led">
			<bounds x="421" y="311" width="6" height="6" />
		</bezel>

     		<bezel name="led26" element="led">
			<bounds x="366" y="311" width="6" height="6" />
		</bezel>

     		<bezel name="led27" element="led">
			<bounds x="311" y="311" width="6" height="6" />
		</bezel>

     		<bezel name="led28" element="led">
			<bounds x="255" y="311" width="6" height="6" />
		</bezel>

     		<bezel name="led29" element="led">
			<bounds x="199" y="311" width="6" height="6" />
		</bezel>

     		<bezel name="led30" element="led">
			<bounds x="144" y="311" width="6" height="6" />
		</bezel>

		<bezel name="led31" element="led">
			<bounds x="88" y="311" width="6" height="6" />
		</bezel>


            <!-- Line 3 --> 

		<bezel name="led16" element="led">
			<bounds x="477" y="366" width="6" height="6" />
		</bezel>

     		<bezel name="led17" element="led">
			<bounds x="421" y="366" width="6" height="6" />
		</bezel>

     		<bezel name="led18" element="led">
			<bounds x="366" y="366" width="6" height="6" />
		</bezel>

     		<bezel name="led19" element="led">
			<bounds x="311" y="366" width="6" height="6" />
		</bezel>

     		<bezel name="led20" element="led">
			<bounds x="255" y="366" width="6" height="6" />
		</bezel>

     		<bezel name="led21" element="led">
			<bounds x="199" y="366" width="6" height="6" />
		</bezel>

     		<bezel name="led22" element="led">
			<bounds x="144" y="366" width="6" height="6" />
		</bezel>

		<bezel name="led23" element="led">
			<bounds x="88" y="366" width="6" height="6" />
		</bezel>


            <!-- Line 2 --> 

		<bezel name="led8" element="led">
			<bounds x="477" y="421" width="6" height="6" />
		</bezel>

     		<bezel name="led9" element="led">
			<bounds x="421" y="421" width="6" height="6" />
		</bezel>

     		<bezel name="led10" element="led">
			<bounds x="366" y="421" width="6" height="6" />
		</bezel>

     		<bezel name="led11" element="led">
			<bounds x="311" y="421" width="6" height="6" />
		</bezel>

     		<bezel name="led12" element="led">
			<bounds x="255" y="421" width="6" height="6" />
		</bezel>

     		<bezel name="led13" element="led">
			<bounds x="199" y="421" width="6" height="6" />
		</bezel>

     		<bezel name="led14" element="led">
			<bounds x="144" y="421" width="6" height="6" />
		</bezel>

		<bezel name="led15" element="led">
			<bounds x="88" y="421" width="6" height="6" />
		</bezel>


            <!-- Line 1 --> 

		<bezel name="led0" element="led">
			<bounds x="477" y="478" width="6" height="6" />
		</bezel>

     		<bezel name="led1" element="led">
			<bounds x="421" y="478" width="6" height="6" />
		</bezel>

     		<bezel name="led2" element="led">
			<bounds x="366" y="478" width="6" height="6" />
		</bezel>

     		<bezel name="led3" element="led">
			<bounds x="311" y="478" width="6" height="6" />
		</bezel>

     		<bezel name="led4" element="led">
			<bounds x="255" y="478" width="6" height="6" />
		</bezel>

     		<bezel name="led5" element="led">
			<bounds x="199" y="478" width="6" height="6" />
		</bezel>

     		<bezel name="led6" element="led">
			<bounds x="144" y="478" width="6" height="6" />
		</bezel>

     		<bezel name="led7" element="led">
			<bounds x="88" y="478" width="6" height="6" />
		</bezel>


<!-- 64 board positions -->
		<bezel element="button" inputtag="LINE.7" inputmask="0x80"><bounds x="38" y="38" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.7" inputmask="0x40"><bounds x="94" y="38" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.7" inputmask="0x20"><bounds x="149" y="38" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.7" inputmask="0x10"><bounds x="205" y="38" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.7" inputmask="0x08"><bounds x="261" y="38" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.7" inputmask="0x04"><bounds x="316" y="38" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.7" inputmask="0x02"><bounds x="371" y="38" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.7" inputmask="0x01"><bounds x="427" y="38" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.6" inputmask="0x80"><bounds x="38" y="94" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.6" inputmask="0x40"><bounds x="94" y="94" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.6" inputmask="0x20"><bounds x="149" y="94" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.6" inputmask="0x10"><bounds x="205" y="94" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.6" inputmask="0x08"><bounds x="261" y="94" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.6" inputmask="0x04"><bounds x="316" y="94" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.6" inputmask="0x02"><bounds x="371" y="94" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.6" inputmask="0x01"><bounds x="427" y="94" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.5" inputmask="0x80"><bounds x="38" y="149" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.5" inputmask="0x40"><bounds x="94" y="149" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.5" inputmask="0x20"><bounds x="149" y="149" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.5" inputmask="0x10"><bounds x="205" y="149" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.5" inputmask="0x08"><bounds x="261" y="149" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.5" inputmask="0x04"><bounds x="316" y="149" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.5" inputmask="0x02"><bounds x="371" y="149" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.5" inputmask="0x01"><bounds x="427" y="149" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.4" inputmask="0x80"><bounds x="38" y="205" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.4" inputmask="0x40"><bounds x="94" y="205" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.4" inputmask="0x20"><bounds x="149" y="205" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.4" inputmask="0x10"><bounds x="205" y="205" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.4" inputmask="0x08"><bounds x="261" y="205" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.4" inputmask="0x04"><bounds x="316" y="205" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.4" inputmask="0x02"><bounds x="371" y="205" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.4" inputmask="0x01"><bounds x="427" y="205" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.3" inputmask="0x80"><bounds x="38" y="261" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.3" inputmask="0x40"><bounds x="94" y="261" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.3" inputmask="0x20"><bounds x="149" y="261" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.3" inputmask="0x10"><bounds x="205" y="261" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.3" inputmask="0x08"><bounds x="261" y="261" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.3" inputmask="0x04"><bounds x="316" y="261" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.3" inputmask="0x02"><bounds x="371" y="261" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.3" inputmask="0x01"><bounds x="427" y="261" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.2" inputmask="0x80"><bounds x="38" y="316" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.2" inputmask="0x40"><bounds x="94" y="316" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.2" inputmask="0x20"><bounds x="149" y="316" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.2" inputmask="0x10"><bounds x="205" y="316" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.2" inputmask="0x08"><bounds x="261" y="316" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.2" inputmask="0x04"><bounds x="316" y="316" width="50" height="50" /></bezel>	
		<bezel element="button" inputtag="LINE.2" inputmask="0x02"><bounds x="371" y="316" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.2" inputmask="0x01"><bounds x="427" y="316" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.1" inputmask="0x80"><bounds x="38" y="371" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.1" inputmask="0x40"><bounds x="94" y="371" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.1" inputmask="0x20"><bounds x="149" y="371" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.1" inputmask="0x10"><bounds x="205" y="371" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.1" inputmask="0x08"><bounds x="261" y="371" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.1" inputmask="0x04"><bounds x="316" y="371" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.1" inputmask="0x02"><bounds x="371" y="371" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.1" inputmask="0x01"><bounds x="427" y="371" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.0" inputmask="0x80"><bounds x="38" y="427" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.0" inputmask="0x40"><bounds x="94" y="427" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.0" inputmask="0x20"><bounds x="149" y="427" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.0" inputmask="0x10"><bounds x="205" y="427" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.0" inputmask="0x08"><bounds x="261" y="427" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.0" inputmask="0x04"><bounds x="316" y="427" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.0" inputmask="0x02"><bounds x="371" y="427" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.0" inputmask="0x01"><bounds x="427" y="427" width="50" height="50" /></bezel>

<!-- Buttons -->



<!-- 12 boarder pieces + Buttons -->

		<bezel name="Q6"  element="piece"><bounds x="500"  y="35" width="20" height="22" /></bezel>
		<bezel name="Q7"  element="piece"><bounds x="500"  y="60" width="20" height="22" /></bezel>
		<bezel name="Q8"  element="piece"><bounds x="500"  y="85" width="20" height="22" /></bezel>
		<bezel name="Q9"  element="piece"><bounds x="500"  y="110" width="20" height="22" /></bezel>
		<bezel name="Q10" element="piece"><bounds x="500"  y="135" width="20" height="22" /></bezel>
		<bezel name="Q11" element="piece"><bounds x="500"  y="160" width="20" height="22" /></bezel>


		<bezel name="Q0"  element="piece"><bounds x="500"  y="340" width="20" height="22" /></bezel>
		<bezel name="Q1"  element="piece"><bounds x="500"  y="365" width="20" height="22" /></bezel>
		<bezel name="Q2"  element="piece"><bounds x="500"  y="390" width="20" height="22" /></bezel>
		<bezel name="Q3"  element="piece"><bounds x="500"  y="415" width="20" height="22" /></bezel>
		<bezel name="Q4"  element="piece"><bounds x="500"  y="440" width="20" height="22" /></bezel>
		<bezel name="Q5"  element="piece"><bounds x="500"  y="465" width="20" height="22" /></bezel>

		<bezel name="CLEARBOARD" element="clearboard"><bounds x="500" y="498" width="20" height="22" /></bezel>
<!-- 		<bezel name="STARTPOS  " element="startpos">  <bounds x="420" y="580" width="30" height="30" /></bezel> -->


<!-- 12 buttons for border pieces + Buttons -->

		<bezel element="button_border_pieces" inputtag="B_BLACK" inputmask="0x01"><bounds x="500"  y="35" width="20" height="22" /></bezel>
		<bezel element="button_border_pieces" inputtag="B_BLACK" inputmask="0x02"><bounds x="500"  y="60" width="20" height="22" /></bezel>
		<bezel element="button_border_pieces" inputtag="B_BLACK" inputmask="0x04"><bounds x="500"  y="85" width="20" height="22" /></bezel>
		<bezel element="button_border_pieces" inputtag="B_BLACK" inputmask="0x08"><bounds x="500"  y="110" width="20" height="22" /></bezel>
		<bezel element="button_border_pieces" inputtag="B_BLACK" inputmask="0x10"><bounds x="500"  y="135" width="20" height="22" /></bezel>
		<bezel element="button_border_pieces" inputtag="B_BLACK" inputmask="0x20"><bounds x="500"  y="160" width="20" height="22" /></bezel>

		<bezel element="button_border_pieces" inputtag="B_WHITE" inputmask="0x01"><bounds x="500"  y="340" width="20" height="22" /></bezel>
		<bezel element="button_border_pieces" inputtag="B_WHITE" inputmask="0x02"><bounds x="500"  y="365" width="20" height="22" /></bezel>
		<bezel element="button_border_pieces" inputtag="B_WHITE" inputmask="0x04"><bounds x="500"  y="390" width="20" height="22" /></bezel>
		<bezel element="button_border_pieces" inputtag="B_WHITE" inputmask="0x08"><bounds x="500"  y="415" width="20" height="22" /></bezel>
		<bezel element="button_border_pieces" inputtag="B_WHITE" inputmask="0x10"><bounds x="500"  y="440" width="20" height="22" /></bezel>
		<bezel element="button_border_pieces" inputtag="B_WHITE" inputmask="0x20"><bounds x="500"  y="465" width="20" height="22" /></bezel>


		<bezel element="border_buttons" inputtag="B_BUTTONS" inputmask="0x01"><bounds x="500" y="498" width="20" height="22" /></bezel>
<!--		<bezel element="border_buttons" inputtag="B_BUTTONS" inputmask="0x02"><bounds x="420" y="580" width="30" height="30" /></bezel> -->



<!-- The place where removed pieces are put -->
	 	<bezel element="button" inputtag="LINE10" inputmask="0x01"><bounds x="1"    y="37"   width="36"  height="488" /></bezel>
		<bezel element="button" inputtag="LINE10" inputmask="0x01"><bounds x="1"    y="489"  width="528" height="37"  /></bezel>
		<bezel element="button" inputtag="LINE10" inputmask="0x01"><bounds x="1"    y="1"    width="528" height="37"  /></bezel>
		<bezel element="button" inputtag="LINE10" inputmask="0x01"><bounds x="489"  y="187"  width="38"  height="150" /></bezel>
		

	</view>

</mamelayout>

This is the LAY file and the images are in the same dir in zip file...

Re: Issue with chess boards emulators

Posted: Fri Oct 22, 2021 12:50 pm
by Tafoid
giovpres wrote: Fri Oct 22, 2021 8:18 am

Code: Select all

<?xml version="1.0"?>
<mamelayout version="2">
	<element name="novag">
		<image file="novag_board.png" />
	</element>

	<element name="piece" defstate="0">
		<image file="BP.png" state="1"/>
		<image file="BKN.png" state="2"/>
		<image file="BB.png" state="3"/>
		<image file="BR.png" state="4"/>
		<image file="BQ.png" state="5"/>
		<image file="BK.png" state="6"/>
		<image file="WP.png" state="7"/>
		<image file="WKN.png" state="8"/>
		<image file="WB.png" state="9"/>
		<image file="WR.png" state="10"/>
		<image file="WQ.png" state="11"/>
		<image file="WK.png" state="12"/>
		<image file="BP_SEL.png" state="13"/>
		<image file="BKN_SEL.png" state="14"/>
		<image file="BB_SEL.png" state="15"/>
		<image file="BR_SEL.png" state="16"/>
		<image file="BQ_SEL.png" state="17"/>
		<image file="BK_SEL.png" state="18"/>
		<image file="WP_SEL.png" state="19"/>
		<image file="WKN_SEL.png" state="20"/>
		<image file="WB_SEL.png" state="21"/>
		<image file="WR_SEL.png" state="22"/>
		<image file="WQ_SEL.png" state="23"/>
		<image file="WK_SEL.png" state="24"/>
	</element>

	<element name="clearboard">
		<image file="clearboard.png" />
	</element>

	<element name="startpos">
		<image file="startpos.png" />
	</element>


	<element name="digit" defstate="0">
		<led7seg>
			<color red="0.75" green="0.0" blue="0.0" />
		</led7seg>
	</element>
	<element name="led" defstate="0">
		<disk state="1">
			<color red="0.75" green="0.0" blue="0.0" />
		</disk>
		<disk state="0">
			<color red="0.09375" green="0.0" blue="0.0" />
		</disk>
	</element>
	<element name="background">
		<rect>
			<bounds left="0" top="0" right="1" bottom="1" />
			<color red="1.0" green="1.0" blue="1.0" />
		</rect>
	</element>


	<element name="button" defstate="0"></element>


	<element name="keys" defstate="0">
 		<rect state="1">
      			<color red="0.0" green="0.0" blue="0.0" />
		</rect>
	</element>


	<element name="button_border_pieces" defstate="0">
 
	</element>


	<element name="border_buttons" defstate="0">
 		<rect state="1">
      			<color red="1.0" green="1.0" blue="1.0"/>
		</rect>
	</element>



	<view name="Full artwork">


            <!-- Board -->



		<backdrop element="novag">
			<bounds x="0" y="0" width="685" height="525" />
		</backdrop>


		<screen index="0"><bounds  x="550" y="37" width="111" height="25" /></screen>


		<!-- Pieces -->
		<bezel name="P0" element="piece"><bounds x="44" y="44" width="45" height="48" /></bezel>
		<bezel name="P1" element="piece"><bounds x="100" y="44" width="45" height="48" /></bezel>
		<bezel name="P2" element="piece"><bounds x="156" y="44" width="45" height="48" /></bezel>
		<bezel name="P3" element="piece"><bounds x="212" y="44" width="45" height="48" /></bezel>
		<bezel name="P4" element="piece"><bounds x="268" y="44" width="45" height="48" /></bezel>
		<bezel name="P5" element="piece"><bounds x="324" y="44" width="45" height="48" /></bezel>
		<bezel name="P6" element="piece"><bounds x="380" y="44" width="45" height="48" /></bezel>
		<bezel name="P7" element="piece"><bounds x="436" y="44" width="45" height="48" /></bezel>
		<bezel name="P8" element="piece"><bounds x="44" y="100" width="45" height="48" /></bezel>
		<bezel name="P9" element="piece"><bounds x="100" y="100" width="45" height="48" /></bezel>
		<bezel name="P10" element="piece"><bounds x="156" y="100" width="45" height="48" /></bezel>
		<bezel name="P11" element="piece"><bounds x="212" y="100" width="45" height="48" /></bezel>
		<bezel name="P12" element="piece"><bounds x="268" y="100" width="45" height="48" /></bezel>
		<bezel name="P13" element="piece"><bounds x="324" y="100" width="45" height="48" /></bezel>
		<bezel name="P14" element="piece"><bounds x="380" y="100" width="45" height="48" /></bezel>
		<bezel name="P15" element="piece"><bounds x="436" y="100" width="45" height="48" /></bezel>
		<bezel name="P16" element="piece"><bounds x="44" y="156" width="45" height="48" /></bezel>
		<bezel name="P17" element="piece"><bounds x="100" y="156" width="45" height="48" /></bezel>
		<bezel name="P18" element="piece"><bounds x="156" y="156" width="45" height="48" /></bezel>
		<bezel name="P19" element="piece"><bounds x="212" y="156" width="45" height="48" /></bezel>
		<bezel name="P20" element="piece"><bounds x="268" y="156" width="45" height="48" /></bezel>
		<bezel name="P21" element="piece"><bounds x="324" y="156" width="45" height="48" /></bezel>
		<bezel name="P22" element="piece"><bounds x="380" y="156" width="45" height="48" /></bezel>
		<bezel name="P23" element="piece"><bounds x="436" y="156" width="45" height="48" /></bezel>
		<bezel name="P24" element="piece"><bounds x="44" y="212" width="45" height="48" /></bezel>
		<bezel name="P25" element="piece"><bounds x="100" y="212" width="45" height="48" /></bezel>
		<bezel name="P26" element="piece"><bounds x="156" y="212" width="45" height="48" /></bezel>
		<bezel name="P27" element="piece"><bounds x="212" y="212" width="45" height="48" /></bezel>
		<bezel name="P28" element="piece"><bounds x="268" y="212" width="45" height="48" /></bezel>
		<bezel name="P29" element="piece"><bounds x="324" y="212" width="45" height="48" /></bezel>
		<bezel name="P30" element="piece"><bounds x="380" y="212" width="45" height="48" /></bezel>
		<bezel name="P31" element="piece"><bounds x="436" y="212" width="45" height="48" /></bezel>
		<bezel name="P32" element="piece"><bounds x="44" y="268" width="45" height="48" /></bezel>
		<bezel name="P33" element="piece"><bounds x="100" y="268" width="45" height="48" /></bezel>
		<bezel name="P34" element="piece"><bounds x="156" y="268" width="45" height="48" /></bezel>
		<bezel name="P35" element="piece"><bounds x="212" y="268" width="45" height="48" /></bezel>
		<bezel name="P36" element="piece"><bounds x="268" y="268" width="45" height="48" /></bezel>
		<bezel name="P37" element="piece"><bounds x="324" y="268" width="45" height="48" /></bezel>
		<bezel name="P38" element="piece"><bounds x="380" y="268" width="45" height="48" /></bezel>
		<bezel name="P39" element="piece"><bounds x="436" y="268" width="45" height="48" /></bezel>
		<bezel name="P40" element="piece"><bounds x="44" y="324" width="45" height="48" /></bezel>
		<bezel name="P41" element="piece"><bounds x="100" y="324" width="45" height="48" /></bezel>
		<bezel name="P42" element="piece"><bounds x="156" y="324" width="45" height="48" /></bezel>
		<bezel name="P43" element="piece"><bounds x="212" y="324" width="45" height="48" /></bezel>
		<bezel name="P44" element="piece"><bounds x="268" y="324" width="45" height="48" /></bezel>
		<bezel name="P45" element="piece"><bounds x="324" y="324" width="45" height="48" /></bezel>
		<bezel name="P46" element="piece"><bounds x="380" y="324" width="45" height="48" /></bezel>
		<bezel name="P47" element="piece"><bounds x="436" y="324" width="45" height="48" /></bezel>
		<bezel name="P48" element="piece"><bounds x="44" y="380" width="45" height="48" /></bezel>
		<bezel name="P49" element="piece"><bounds x="100" y="380" width="45" height="48" /></bezel>
		<bezel name="P50" element="piece"><bounds x="156" y="380" width="45" height="48" /></bezel>
		<bezel name="P51" element="piece"><bounds x="212" y="380" width="45" height="48" /></bezel>
		<bezel name="P52" element="piece"><bounds x="268" y="380" width="45" height="48" /></bezel>
		<bezel name="P53" element="piece"><bounds x="324" y="380" width="45" height="48" /></bezel>
		<bezel name="P54" element="piece"><bounds x="380" y="380" width="45" height="48" /></bezel>
		<bezel name="P55" element="piece"><bounds x="436" y="380" width="45" height="48" /></bezel>
		<bezel name="P56" element="piece"><bounds x="44" y="436" width="45" height="48" /></bezel>
		<bezel name="P57" element="piece"><bounds x="100" y="436" width="45" height="48" /></bezel>
		<bezel name="P58" element="piece"><bounds x="156" y="436" width="45" height="48" /></bezel>
		<bezel name="P59" element="piece"><bounds x="212" y="436" width="45" height="48" /></bezel>
		<bezel name="P60" element="piece"><bounds x="268" y="436" width="45" height="48" /></bezel>
		<bezel name="P61" element="piece"><bounds x="324" y="436" width="45" height="48" /></bezel>
		<bezel name="P62" element="piece"><bounds x="380" y="436" width="45" height="48" /></bezel>
		<bezel name="P63" element="piece"><bounds x="436" y="436" width="45" height="48" /></bezel>

             
           <!-- 64 LED's --> 

            <!-- Line 8 --> 

		<bezel name="led56" element="led">
			<bounds x="477" y="88" width="6" height="6" />
		</bezel>

     		<bezel name="led57" element="led">
			<bounds x="421" y="88" width="6" height="6" />
		</bezel>

     		<bezel name="led58" element="led">
			<bounds x="366" y="88" width="6" height="6" />
		</bezel>

     		<bezel name="led59" element="led">
			<bounds x="311" y="88" width="6" height="6" />
		</bezel>

     		<bezel name="led60" element="led">
			<bounds x="255" y="88" width="6" height="6" />
		</bezel>

     		<bezel name="led61" element="led">
			<bounds x="199" y="88" width="6" height="6" />
		</bezel>

     		<bezel name="led62" element="led">
			<bounds x="144" y="88" width="6" height="6" />
		</bezel>

		<bezel name="led63" element="led">
			<bounds x="88" y="88" width="6" height="6" />
		</bezel>

            <!-- Line 7 --> 

		<bezel name="led48" element="led">
			<bounds x="477" y="144" width="6" height="6" />
		</bezel>

     		<bezel name="led49" element="led">
			<bounds x="421" y="144" width="6" height="6" />
		</bezel>

     		<bezel name="led50" element="led">
			<bounds x="366" y="144" width="6" height="6" />
		</bezel>

     		<bezel name="led51" element="led">
			<bounds x="311" y="144" width="6" height="6" />
		</bezel>

     		<bezel name="led52" element="led">
			<bounds x="255" y="144" width="6" height="6" />
		</bezel>

     		<bezel name="led53" element="led">
			<bounds x="199" y="144" width="6" height="6" />
		</bezel>

     		<bezel name="led54" element="led">
			<bounds x="144" y="144" width="6" height="6" />
		</bezel>

		<bezel name="led55" element="led">
			<bounds x="88" y="144" width="6" height="6" />
		</bezel>


            <!-- Line 6 --> 	

		<bezel name="led40" element="led">
			<bounds x="477" y="199" width="6" height="6" />
		</bezel>

     		<bezel name="led41" element="led">
			<bounds x="421" y="199" width="6" height="6" />
		</bezel>

     		<bezel name="led42" element="led">
			<bounds x="366" y="199" width="6" height="6" />
		</bezel>

     		<bezel name="led43" element="led">
			<bounds x="311" y="199" width="6" height="6" />
		</bezel>

     		<bezel name="led44" element="led">
			<bounds x="255" y="199" width="6" height="6" />
		</bezel>

     		<bezel name="led45" element="led">
			<bounds x="199" y="199" width="6" height="6" />
		</bezel>

     		<bezel name="led46" element="led">
			<bounds x="144" y="199" width="6" height="6" />
		</bezel>
	
            <bezel name="led47" element="led">
			<bounds x="88" y="199" width="6" height="6" />
		</bezel>


            <!-- Line 5 --> 

		<bezel name="led32" element="led">
			<bounds x="477" y="255" width="6" height="6" />
		</bezel>

     		<bezel name="led33" element="led">
			<bounds x="421" y="255" width="6" height="6" />
		</bezel>

     		<bezel name="led34" element="led">
			<bounds x="366" y="255" width="6" height="6" />
		</bezel>

     		<bezel name="led35" element="led">
			<bounds x="311" y="255" width="6" height="6" />
		</bezel>

     		<bezel name="led36" element="led">
			<bounds x="255" y="255" width="6" height="6" />
		</bezel>

     		<bezel name="led37" element="led">
			<bounds x="199" y="255" width="6" height="6" />
		</bezel>

     		<bezel name="led38" element="led">
			<bounds x="144" y="255" width="6" height="6" />
		</bezel>

		<bezel name="led39" element="led">
			<bounds x="88" y="255" width="6" height="6" />
		</bezel>


            <!-- Line 4 --> 

		<bezel name="led24" element="led">
			<bounds x="477" y="311" width="6" height="6" />
		</bezel>

     		<bezel name="led25" element="led">
			<bounds x="421" y="311" width="6" height="6" />
		</bezel>

     		<bezel name="led26" element="led">
			<bounds x="366" y="311" width="6" height="6" />
		</bezel>

     		<bezel name="led27" element="led">
			<bounds x="311" y="311" width="6" height="6" />
		</bezel>

     		<bezel name="led28" element="led">
			<bounds x="255" y="311" width="6" height="6" />
		</bezel>

     		<bezel name="led29" element="led">
			<bounds x="199" y="311" width="6" height="6" />
		</bezel>

     		<bezel name="led30" element="led">
			<bounds x="144" y="311" width="6" height="6" />
		</bezel>

		<bezel name="led31" element="led">
			<bounds x="88" y="311" width="6" height="6" />
		</bezel>


            <!-- Line 3 --> 

		<bezel name="led16" element="led">
			<bounds x="477" y="366" width="6" height="6" />
		</bezel>

     		<bezel name="led17" element="led">
			<bounds x="421" y="366" width="6" height="6" />
		</bezel>

     		<bezel name="led18" element="led">
			<bounds x="366" y="366" width="6" height="6" />
		</bezel>

     		<bezel name="led19" element="led">
			<bounds x="311" y="366" width="6" height="6" />
		</bezel>

     		<bezel name="led20" element="led">
			<bounds x="255" y="366" width="6" height="6" />
		</bezel>

     		<bezel name="led21" element="led">
			<bounds x="199" y="366" width="6" height="6" />
		</bezel>

     		<bezel name="led22" element="led">
			<bounds x="144" y="366" width="6" height="6" />
		</bezel>

		<bezel name="led23" element="led">
			<bounds x="88" y="366" width="6" height="6" />
		</bezel>


            <!-- Line 2 --> 

		<bezel name="led8" element="led">
			<bounds x="477" y="421" width="6" height="6" />
		</bezel>

     		<bezel name="led9" element="led">
			<bounds x="421" y="421" width="6" height="6" />
		</bezel>

     		<bezel name="led10" element="led">
			<bounds x="366" y="421" width="6" height="6" />
		</bezel>

     		<bezel name="led11" element="led">
			<bounds x="311" y="421" width="6" height="6" />
		</bezel>

     		<bezel name="led12" element="led">
			<bounds x="255" y="421" width="6" height="6" />
		</bezel>

     		<bezel name="led13" element="led">
			<bounds x="199" y="421" width="6" height="6" />
		</bezel>

     		<bezel name="led14" element="led">
			<bounds x="144" y="421" width="6" height="6" />
		</bezel>

		<bezel name="led15" element="led">
			<bounds x="88" y="421" width="6" height="6" />
		</bezel>


            <!-- Line 1 --> 

		<bezel name="led0" element="led">
			<bounds x="477" y="478" width="6" height="6" />
		</bezel>

     		<bezel name="led1" element="led">
			<bounds x="421" y="478" width="6" height="6" />
		</bezel>

     		<bezel name="led2" element="led">
			<bounds x="366" y="478" width="6" height="6" />
		</bezel>

     		<bezel name="led3" element="led">
			<bounds x="311" y="478" width="6" height="6" />
		</bezel>

     		<bezel name="led4" element="led">
			<bounds x="255" y="478" width="6" height="6" />
		</bezel>

     		<bezel name="led5" element="led">
			<bounds x="199" y="478" width="6" height="6" />
		</bezel>

     		<bezel name="led6" element="led">
			<bounds x="144" y="478" width="6" height="6" />
		</bezel>

     		<bezel name="led7" element="led">
			<bounds x="88" y="478" width="6" height="6" />
		</bezel>


<!-- 64 board positions -->
		<bezel element="button" inputtag="LINE.7" inputmask="0x80"><bounds x="38" y="38" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.7" inputmask="0x40"><bounds x="94" y="38" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.7" inputmask="0x20"><bounds x="149" y="38" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.7" inputmask="0x10"><bounds x="205" y="38" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.7" inputmask="0x08"><bounds x="261" y="38" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.7" inputmask="0x04"><bounds x="316" y="38" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.7" inputmask="0x02"><bounds x="371" y="38" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.7" inputmask="0x01"><bounds x="427" y="38" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.6" inputmask="0x80"><bounds x="38" y="94" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.6" inputmask="0x40"><bounds x="94" y="94" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.6" inputmask="0x20"><bounds x="149" y="94" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.6" inputmask="0x10"><bounds x="205" y="94" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.6" inputmask="0x08"><bounds x="261" y="94" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.6" inputmask="0x04"><bounds x="316" y="94" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.6" inputmask="0x02"><bounds x="371" y="94" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.6" inputmask="0x01"><bounds x="427" y="94" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.5" inputmask="0x80"><bounds x="38" y="149" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.5" inputmask="0x40"><bounds x="94" y="149" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.5" inputmask="0x20"><bounds x="149" y="149" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.5" inputmask="0x10"><bounds x="205" y="149" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.5" inputmask="0x08"><bounds x="261" y="149" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.5" inputmask="0x04"><bounds x="316" y="149" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.5" inputmask="0x02"><bounds x="371" y="149" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.5" inputmask="0x01"><bounds x="427" y="149" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.4" inputmask="0x80"><bounds x="38" y="205" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.4" inputmask="0x40"><bounds x="94" y="205" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.4" inputmask="0x20"><bounds x="149" y="205" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.4" inputmask="0x10"><bounds x="205" y="205" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.4" inputmask="0x08"><bounds x="261" y="205" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.4" inputmask="0x04"><bounds x="316" y="205" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.4" inputmask="0x02"><bounds x="371" y="205" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.4" inputmask="0x01"><bounds x="427" y="205" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.3" inputmask="0x80"><bounds x="38" y="261" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.3" inputmask="0x40"><bounds x="94" y="261" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.3" inputmask="0x20"><bounds x="149" y="261" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.3" inputmask="0x10"><bounds x="205" y="261" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.3" inputmask="0x08"><bounds x="261" y="261" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.3" inputmask="0x04"><bounds x="316" y="261" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.3" inputmask="0x02"><bounds x="371" y="261" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.3" inputmask="0x01"><bounds x="427" y="261" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.2" inputmask="0x80"><bounds x="38" y="316" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.2" inputmask="0x40"><bounds x="94" y="316" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.2" inputmask="0x20"><bounds x="149" y="316" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.2" inputmask="0x10"><bounds x="205" y="316" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.2" inputmask="0x08"><bounds x="261" y="316" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.2" inputmask="0x04"><bounds x="316" y="316" width="50" height="50" /></bezel>	
		<bezel element="button" inputtag="LINE.2" inputmask="0x02"><bounds x="371" y="316" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.2" inputmask="0x01"><bounds x="427" y="316" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.1" inputmask="0x80"><bounds x="38" y="371" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.1" inputmask="0x40"><bounds x="94" y="371" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.1" inputmask="0x20"><bounds x="149" y="371" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.1" inputmask="0x10"><bounds x="205" y="371" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.1" inputmask="0x08"><bounds x="261" y="371" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.1" inputmask="0x04"><bounds x="316" y="371" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.1" inputmask="0x02"><bounds x="371" y="371" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.1" inputmask="0x01"><bounds x="427" y="371" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.0" inputmask="0x80"><bounds x="38" y="427" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.0" inputmask="0x40"><bounds x="94" y="427" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.0" inputmask="0x20"><bounds x="149" y="427" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.0" inputmask="0x10"><bounds x="205" y="427" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.0" inputmask="0x08"><bounds x="261" y="427" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.0" inputmask="0x04"><bounds x="316" y="427" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.0" inputmask="0x02"><bounds x="371" y="427" width="50" height="50" /></bezel>
		<bezel element="button" inputtag="LINE.0" inputmask="0x01"><bounds x="427" y="427" width="50" height="50" /></bezel>

<!-- Buttons -->



<!-- 12 boarder pieces + Buttons -->

		<bezel name="Q6"  element="piece"><bounds x="500"  y="35" width="20" height="22" /></bezel>
		<bezel name="Q7"  element="piece"><bounds x="500"  y="60" width="20" height="22" /></bezel>
		<bezel name="Q8"  element="piece"><bounds x="500"  y="85" width="20" height="22" /></bezel>
		<bezel name="Q9"  element="piece"><bounds x="500"  y="110" width="20" height="22" /></bezel>
		<bezel name="Q10" element="piece"><bounds x="500"  y="135" width="20" height="22" /></bezel>
		<bezel name="Q11" element="piece"><bounds x="500"  y="160" width="20" height="22" /></bezel>


		<bezel name="Q0"  element="piece"><bounds x="500"  y="340" width="20" height="22" /></bezel>
		<bezel name="Q1"  element="piece"><bounds x="500"  y="365" width="20" height="22" /></bezel>
		<bezel name="Q2"  element="piece"><bounds x="500"  y="390" width="20" height="22" /></bezel>
		<bezel name="Q3"  element="piece"><bounds x="500"  y="415" width="20" height="22" /></bezel>
		<bezel name="Q4"  element="piece"><bounds x="500"  y="440" width="20" height="22" /></bezel>
		<bezel name="Q5"  element="piece"><bounds x="500"  y="465" width="20" height="22" /></bezel>

		<bezel name="CLEARBOARD" element="clearboard"><bounds x="500" y="498" width="20" height="22" /></bezel>
<!-- 		<bezel name="STARTPOS  " element="startpos">  <bounds x="420" y="580" width="30" height="30" /></bezel> -->


<!-- 12 buttons for border pieces + Buttons -->

		<bezel element="button_border_pieces" inputtag="B_BLACK" inputmask="0x01"><bounds x="500"  y="35" width="20" height="22" /></bezel>
		<bezel element="button_border_pieces" inputtag="B_BLACK" inputmask="0x02"><bounds x="500"  y="60" width="20" height="22" /></bezel>
		<bezel element="button_border_pieces" inputtag="B_BLACK" inputmask="0x04"><bounds x="500"  y="85" width="20" height="22" /></bezel>
		<bezel element="button_border_pieces" inputtag="B_BLACK" inputmask="0x08"><bounds x="500"  y="110" width="20" height="22" /></bezel>
		<bezel element="button_border_pieces" inputtag="B_BLACK" inputmask="0x10"><bounds x="500"  y="135" width="20" height="22" /></bezel>
		<bezel element="button_border_pieces" inputtag="B_BLACK" inputmask="0x20"><bounds x="500"  y="160" width="20" height="22" /></bezel>

		<bezel element="button_border_pieces" inputtag="B_WHITE" inputmask="0x01"><bounds x="500"  y="340" width="20" height="22" /></bezel>
		<bezel element="button_border_pieces" inputtag="B_WHITE" inputmask="0x02"><bounds x="500"  y="365" width="20" height="22" /></bezel>
		<bezel element="button_border_pieces" inputtag="B_WHITE" inputmask="0x04"><bounds x="500"  y="390" width="20" height="22" /></bezel>
		<bezel element="button_border_pieces" inputtag="B_WHITE" inputmask="0x08"><bounds x="500"  y="415" width="20" height="22" /></bezel>
		<bezel element="button_border_pieces" inputtag="B_WHITE" inputmask="0x10"><bounds x="500"  y="440" width="20" height="22" /></bezel>
		<bezel element="button_border_pieces" inputtag="B_WHITE" inputmask="0x20"><bounds x="500"  y="465" width="20" height="22" /></bezel>


		<bezel element="border_buttons" inputtag="B_BUTTONS" inputmask="0x01"><bounds x="500" y="498" width="20" height="22" /></bezel>
<!--		<bezel element="border_buttons" inputtag="B_BUTTONS" inputmask="0x02"><bounds x="420" y="580" width="30" height="30" /></bezel> -->



<!-- The place where removed pieces are put -->
	 	<bezel element="button" inputtag="LINE10" inputmask="0x01"><bounds x="1"    y="37"   width="36"  height="488" /></bezel>
		<bezel element="button" inputtag="LINE10" inputmask="0x01"><bounds x="1"    y="489"  width="528" height="37"  /></bezel>
		<bezel element="button" inputtag="LINE10" inputmask="0x01"><bounds x="1"    y="1"    width="528" height="37"  /></bezel>
		<bezel element="button" inputtag="LINE10" inputmask="0x01"><bounds x="489"  y="187"  width="38"  height="150" /></bezel>
		

	</view>

</mamelayout>

This is the LAY file and the images are in the same dir in zip file...

Comparing your pasted .lay file with one on the Mr. Do's artwork site, you are using an incompatible and out of date decorative artwork which only appears to work on a certain range of releases (0.165 to 0.171, as listed on the page):
https://mrdo.mameworld.info/old_mess.php

Not sure what to suggest in updating it. I don't know of anyone who has. There are default and internal artwork layouts in source that are used for most all chess emulations currently in MAME.

Re: Issue with chess boards emulators

Posted: Fri Oct 22, 2021 3:05 pm
by giovpres
Thank you, I hope someone can suggest me how to edit the lay file, even a row only so I can understand and do it myself. Thank you