JessicaJones
Posts: 9
Joined: Sat Nov 30, 2019 11:51 pm

samples listed TWICE?

Hi

In -listxml I found 3 games which have sample file names listed TWICE. How is this possible?
If you look at gunfight, there can be only 1 sample file name gunshot.wav and killed.wav
BUT they are listed twice (same for the 2 other examples).

Anybody can explain what this means or is this a MAME bug in generating -listxml?


Below the games:

ROM gunfight

<machine name="gunfight" sourcefile="mw8080bw.cpp" sampleof="gunfight">
<description>Gun Fight (set 1)</description>
<year>1975</year>
<manufacturer>Dave Nutting Associates / Midway</manufacturer>
<rom name="7609h.bin" size="1024" crc="0b117d73" sha1="99d01313e251818d336281700e206d9003c71dae" region="maincpu" offset="0"/>
<rom name="7609g.bin" size="1024" crc="57bc3159" sha1="c177e3f72db9af17ab99b2481448ca26318184b9" region="maincpu" offset="400"/>
<rom name="7609f.bin" size="1024" crc="8049a6bd" sha1="215b068663e431582591001cbe028929fa96d49f" region="maincpu" offset="800"/>
<rom name="7609e.bin" size="1024" crc="773264e2" sha1="de3f2e6841122bbe6e2fda5b87d37842c072289a" region="maincpu" offset="c00"/>
<device_ref name="i8080"/>
<device_ref name="screen"/>
<device_ref name="mb14241"/>
<device_ref name="gunfight_audio"/>
<device_ref name="speaker"/>
<device_ref name="speaker"/>
<device_ref name="samples"/>
<device_ref name="samples"/>
<sample name="gunshot"/>
<sample name="killed"/>
<sample name="gunshot"/>
<sample name="killed"/>



ROM: gmissile


<machine name="gmissile" sourcefile="mw8080bw.cpp" sampleof="gmissile">
<description>Guided Missile</description>
<year>1977</year>
<manufacturer>Midway</manufacturer>
<rom name="gm_623.h" size="2048" crc="a3ebb792" sha1="30d9613de849c1a868056c5e28cf2a8608b63e88" region="maincpu" offset="0"/>
<rom name="gm_623.g" size="2048" crc="a5e740bb" sha1="963c0984953eb58fe7eab84fabb724ec6e29e706" region="maincpu" offset="800"/>
<rom name="gm_623.f" size="2048" crc="da381025" sha1="c9d0511567ed571b424459896ce7de0326850388" region="maincpu" offset="1000"/>
<rom name="gm_623.e" size="2048" crc="f350146b" sha1="a07000a979b1a735754eca623cc880988924877f" region="maincpu" offset="1800"/>
<device_ref name="i8080"/>
<device_ref name="screen"/>
<device_ref name="watchdog"/>
<device_ref name="mb14241"/>
<device_ref name="gmissile_audio"/>
<device_ref name="speaker"/>
<device_ref name="speaker"/>
<device_ref name="samples"/>
<device_ref name="samples"/>
<sample name="1"/>
<sample name="2"/>
<sample name="1"/>
<sample name="2"/>


ROM: m4

<machine name="m4" sourcefile="mw8080bw.cpp" sampleof="m4">
<description>M-4</description>
<year>1977</year>
<manufacturer>Midway</manufacturer>
<rom name="m4.h" size="2048" crc="9ee2a0b5" sha1="b81b4001c90ac6db25edd838652c42913022d9a9" region="maincpu" offset="0"/>
<rom name="m4.g" size="2048" crc="0e84b9cb" sha1="a7b74851979aaaa16496e506c487a18df14ab6dc" region="maincpu" offset="800"/>
<rom name="m4.f" size="2048" crc="9ded9956" sha1="449204a50efd3345cde815ca5f1fb596843a30ac" region="maincpu" offset="1000"/>
<rom name="m4.e" size="2048" crc="b6983238" sha1="3f3b99b33135e144c111d2ebaac8f9433c269bc5" region="maincpu" offset="1800"/>
<device_ref name="i8080"/>
<device_ref name="screen"/>
<device_ref name="watchdog"/>
<device_ref name="mb14241"/>
<device_ref name="m4_audio"/>
<device_ref name="speaker"/>
<device_ref name="speaker"/>
<device_ref name="samples"/>
<device_ref name="samples"/>
<sample name="1"/>
<sample name="2"/>
<sample name="1"/>
<sample name="2"/>

User avatar
Tafoid
Posts: 170
Joined: Thu Nov 06, 2014 12:50 pm
Location: USA
Contact: Website

Re: samples listed TWICE?

JessicaJones wrote:
Thu Feb 13, 2020 8:42 pm
Hi

In -listxml I found 3 games which have sample file names listed TWICE. How is this possible?
If you look at gunfight, there can be only 1 sample file name gunshot.wav and killed.wav
BUT they are listed twice (same for the 2 other examples).

Anybody can explain what this means or is this a MAME bug in generating -listxml?


Below the games:

ROM gunfight

<machine name="gunfight" sourcefile="mw8080bw.cpp" sampleof="gunfight">
<description>Gun Fight (set 1)</description>
<year>1975</year>
<manufacturer>Dave Nutting Associates / Midway</manufacturer>
<rom name="7609h.bin" size="1024" crc="0b117d73" sha1="99d01313e251818d336281700e206d9003c71dae" region="maincpu" offset="0"/>
<rom name="7609g.bin" size="1024" crc="57bc3159" sha1="c177e3f72db9af17ab99b2481448ca26318184b9" region="maincpu" offset="400"/>
<rom name="7609f.bin" size="1024" crc="8049a6bd" sha1="215b068663e431582591001cbe028929fa96d49f" region="maincpu" offset="800"/>
<rom name="7609e.bin" size="1024" crc="773264e2" sha1="de3f2e6841122bbe6e2fda5b87d37842c072289a" region="maincpu" offset="c00"/>
<device_ref name="i8080"/>
<device_ref name="screen"/>
<device_ref name="mb14241"/>
<device_ref name="gunfight_audio"/>
<device_ref name="speaker"/>
<device_ref name="speaker"/>
<device_ref name="samples"/>
<device_ref name="samples"/>
<sample name="gunshot"/>
<sample name="killed"/>
<sample name="gunshot"/>
<sample name="killed"/>



ROM: gmissile


<machine name="gmissile" sourcefile="mw8080bw.cpp" sampleof="gmissile">
<description>Guided Missile</description>
<year>1977</year>
<manufacturer>Midway</manufacturer>
<rom name="gm_623.h" size="2048" crc="a3ebb792" sha1="30d9613de849c1a868056c5e28cf2a8608b63e88" region="maincpu" offset="0"/>
<rom name="gm_623.g" size="2048" crc="a5e740bb" sha1="963c0984953eb58fe7eab84fabb724ec6e29e706" region="maincpu" offset="800"/>
<rom name="gm_623.f" size="2048" crc="da381025" sha1="c9d0511567ed571b424459896ce7de0326850388" region="maincpu" offset="1000"/>
<rom name="gm_623.e" size="2048" crc="f350146b" sha1="a07000a979b1a735754eca623cc880988924877f" region="maincpu" offset="1800"/>
<device_ref name="i8080"/>
<device_ref name="screen"/>
<device_ref name="watchdog"/>
<device_ref name="mb14241"/>
<device_ref name="gmissile_audio"/>
<device_ref name="speaker"/>
<device_ref name="speaker"/>
<device_ref name="samples"/>
<device_ref name="samples"/>
<sample name="1"/>
<sample name="2"/>
<sample name="1"/>
<sample name="2"/>


ROM: m4

<machine name="m4" sourcefile="mw8080bw.cpp" sampleof="m4">
<description>M-4</description>
<year>1977</year>
<manufacturer>Midway</manufacturer>
<rom name="m4.h" size="2048" crc="9ee2a0b5" sha1="b81b4001c90ac6db25edd838652c42913022d9a9" region="maincpu" offset="0"/>
<rom name="m4.g" size="2048" crc="0e84b9cb" sha1="a7b74851979aaaa16496e506c487a18df14ab6dc" region="maincpu" offset="800"/>
<rom name="m4.f" size="2048" crc="9ded9956" sha1="449204a50efd3345cde815ca5f1fb596843a30ac" region="maincpu" offset="1000"/>
<rom name="m4.e" size="2048" crc="b6983238" sha1="3f3b99b33135e144c111d2ebaac8f9433c269bc5" region="maincpu" offset="1800"/>
<device_ref name="i8080"/>
<device_ref name="screen"/>
<device_ref name="watchdog"/>
<device_ref name="mb14241"/>
<device_ref name="m4_audio"/>
<device_ref name="speaker"/>
<device_ref name="speaker"/>
<device_ref name="samples"/>
<device_ref name="samples"/>
<sample name="1"/>
<sample name="2"/>
<sample name="1"/>
<sample name="2"/>

These appear to be the odd case where stereo was used in an early machine requiring shots and death sounds from both L+R sides of the speakers were presented for accuracy. MAME appears to play them on the appropriate side as coded. It is safe to assume that you can ignore such name repeating.

Return to “MAME Discussion”