Skip to content

Do not merge bios files into roms #6

@palmerj

Description

@palmerj

As far as I can tell, there is no option when fixing a set of roms to not merge the bios files into the game roms. Can we please add a feature for this? I guess as a work around I could filter the DAT XML to remove the bios files, but that's a real pain.

Here's an example of a machine romset in my DAT that's auto generated out of mame2003-plus:

	<game name="kof2000n" sourcefile="neogeo.c" cloneof="kof2000" romof="kof2000">
		<description>The King of Fighters 2000 (not encrypted)</description>
		<year>2000</year>
		<manufacturer>SNK</manufacturer>
		<biosset name="euro" description="Europe MVS (Ver. 2)" default="yes"/>
		<biosset name="euro-s1" description="Europe MVS (Ver. 1)"/>
		<biosset name="us" description="US MVS (Ver. 2?)"/>
		<biosset name="us-e" description="US MVS (Ver. 1)"/>
		<biosset name="asia" description="Asia MVS (Ver. 3)"/>
		<biosset name="japan" description="Japan MVS (Ver. 3)"/>
		<biosset name="japan-s2" description="Japan MVS (Ver. 2)"/>
		<biosset name="unibios40" description="Universe Bios (Hack, Ver. 4.0)"/>
		<biosset name="unibios33" description="Universe Bios (Hack, Ver. 3.3)"/>
		<biosset name="unibios20" description="Universe Bios (Hack, Ver. 2.0)"/>
		<biosset name="unibios13" description="Universe Bios (Hack, Ver. 1.3)"/>
		<biosset name="unibios11" description="Universe Bios (Hack, Ver. 1.1)"/>
		<biosset name="unibios10" description="Universe Bios (Hack, Ver. 1.0)"/>
		<biosset name="debug" description="Debug MVS (Hack?)"/>
		<biosset name="asia-aes" description="Asia AES"/>
		<rom name="257-p1n.bin" size="1048576" crc="5f809dbe" sha1="2bc233dcff5622de86d01e3b74b840c7caf12982" region="cpu1" offset="0"/>
		<rom name="257-p2n.bin" size="4194304" crc="693c2c5e" sha1="dc9121b7369ef46596343cac055a00aec81704d4" region="cpu1" offset="100000"/>
		<rom name="sfix.sfx" merge="sfix.sfx" size="131072" crc="354029fc" sha1="4ae4bf23b4c2acff875775d4cbff5583893ce2a1" region="gfx2" offset="0"/>
		<rom name="sp-s2.sp1" merge="sp-s2.sp1" bios="euro" size="131072" crc="9036d879" sha1="4f5ed7105b7128794654ce82b51723e16e389543" region="user1" offset="0"/>
		<rom name="sp-s.sp1" merge="sp-s.sp1" bios="euro-s1" size="131072" crc="c7f2fa45" sha1="09576ff20b4d6b365e78e6a5698ea450262697cd" region="user1" offset="0"/>
		<rom name="usa_2slt.bin" merge="usa_2slt.bin" bios="us" size="131072" crc="e72943de" sha1="5c6bba07d2ec8ac95776aa3511109f5e1e2e92eb" region="user1" offset="0"/>
		<rom name="sp-e.sp1" merge="sp-e.sp1" bios="us-e" size="131072" crc="2723a5b5" sha1="5dbff7531cf04886cde3ef022fb5ca687573dcb8" region="user1" offset="0"/>
		<rom name="asia-s3.rom" merge="asia-s3.rom" bios="asia" size="131072" crc="91b64be3" sha1="720a3e20d26818632aedf2c2fd16c54f213543e1" region="user1" offset="0"/>
		<rom name="vs-bios.rom" merge="vs-bios.rom" bios="japan" size="131072" crc="f0e8f27d" sha1="ecf01eda815909f1facec62abf3594eaa8d11075" region="user1" offset="0"/>
		<rom name="sp-j2.sp1" merge="sp-j2.sp1" bios="japan-s2" size="131072" crc="acede59c" sha1="b6f97acd282fd7e94d9426078a90f059b5e9dd91" region="user1" offset="0"/>
		<rom name="uni-bios_4_0.rom" merge="uni-bios_4_0.rom" bios="unibios40" size="131072" crc="a7aab458" sha1="938a0bda7d9a357240718c2cec319878d36b8f72" region="user1" offset="0"/>
		<rom name="uni-bios_3_3.rom" merge="uni-bios_3_3.rom" bios="unibios33" size="131072" crc="24858466" sha1="0ad92efb0c2338426635e0159d1f60b4473d0785" region="user1" offset="0"/>
		<rom name="uni-bios_2_0.rom" merge="uni-bios_2_0.rom" bios="unibios20" size="131072" crc="0c12c2ad" sha1="37bcd4d30f3892078b46841d895a6eff16dc921e" region="user1" offset="0"/>
		<rom name="uni-bios_1_3.rom" merge="uni-bios_1_3.rom" bios="unibios13" size="131072" crc="b24b44a0" sha1="eca8851d30557b97c309a0d9f4a9d20e5b14af4e" region="user1" offset="0"/>
		<rom name="uni-bios_1_1.rom" merge="uni-bios_1_1.rom" bios="unibios11" size="131072" crc="5dda0d84" sha1="4153d533c02926a2577e49c32657214781ff29b7" region="user1" offset="0"/>
		<rom name="uni-bios_1_0.rom" merge="uni-bios_1_0.rom" bios="unibios10" size="131072" crc="0ce453a0" sha1="3b4c0cd26c176fc6b26c3a2f95143dd478f6abf9" region="user1" offset="0"/>
		<rom name="neodebug.rom" merge="neodebug.rom" bios="debug" size="131072" crc="698ebb7d" sha1="081c49aa8cc7dad5939833dc1b18338321ea0a07" region="user1" offset="0"/>
		<rom name="neo-epo.bin" merge="neo-epo.bin" bios="asia-aes" size="131072" crc="d27a71f1" sha1="1b3b22092f30c4d1b2c15f04d1670eb1e9fbea07" region="user1" offset="0"/>
		<rom name="mame.sm1" merge="mame.sm1" size="131072" crc="97cf998b" sha1="977387a7c76ef9b21d0b01fa69830e949a9a9626" region="0xa3" offset="0"/>
		<rom name="257-m1.bin" merge="257-m1.bin" size="262144" crc="4b749113" sha1="2af2361146edd0ce3966614d90165a5c1afb8de4" region="0xa3" offset="0"/>
		<rom name="mamelo.lo" merge="mamelo.lo" size="65536" crc="e09e253c" sha1="2b1c719531dac9bb503f22644e6e4236b91e7cfc" region="gfx4" offset="0"/>
		<rom name="257-v1.bin" merge="257-v1.bin" size="4194304" crc="17cde847" sha1="4bcc0205b70dc6d9216b29025450c9c5b08cb65d" region="sound1" soundonly="yes" offset="0"/>
		<rom name="257-v2.bin" merge="257-v2.bin" size="4194304" crc="1afb20ff" sha1="57dfd2de058139345ff2b744a225790baaecd5a2" region="sound1" soundonly="yes" offset="400000"/>
		<rom name="257-v3.bin" merge="257-v3.bin" size="4194304" crc="4605036a" sha1="51b228a0600d38a6ec37aec4822879ec3b0ee106" region="sound1" soundonly="yes" offset="800000"/>
		<rom name="257-v4.bin" merge="257-v4.bin" size="4194304" crc="764bbd6b" sha1="df23c09ca6cf7d0ae5e11ff16e30c159725106b3" region="sound1" soundonly="yes" offset="c00000"/>
		<rom name="257-c1.bin" merge="257-c1.bin" size="8388608" crc="cef1cdfa" sha1="6135080f3a6b4712b76cc217edcc58e72b55c2b9" region="gfx3" offset="0"/>
		<rom name="257-c2.bin" merge="257-c2.bin" size="8388608" crc="f7bf0003" sha1="9f7b19a2100cf7d12867e742f440dd5277b4f895" region="gfx3" offset="1"/>
		<rom name="257-c3.bin" merge="257-c3.bin" size="8388608" crc="101e6560" sha1="8073ae1139e215d1167f8d32c14079a46ce3ee1c" region="gfx3" offset="1000000"/>
		<rom name="257-c4.bin" merge="257-c4.bin" size="8388608" crc="bd2fc1b1" sha1="da0006761923ad49b404a08d7a151193ee307a69" region="gfx3" offset="1000001"/>
		<rom name="257-c5.bin" merge="257-c5.bin" size="8388608" crc="89775412" sha1="b221b30224bc4239f1b3c2d2fd1cd4fa84e3523c" region="gfx3" offset="2000000"/>
		<rom name="257-c6.bin" merge="257-c6.bin" size="8388608" crc="fa7200d5" sha1="6f2b0d38af34e280d56a58955400e5c679906871" region="gfx3" offset="2000001"/>
		<rom name="257-c7.bin" merge="257-c7.bin" size="8388608" crc="7da11fe4" sha1="065336cf166807acb6c8569d59d3bf37a19b0a42" region="gfx3" offset="3000000"/>
		<rom name="257-c8.bin" merge="257-c8.bin" size="8388608" crc="b1afa60b" sha1="b916184f5cfe4121752270f4f65abf35d8eb0519" region="gfx3" offset="3000001"/>
		<chip type="cpu" name="68000" clock="12000000"/>
		<chip type="cpu" soundonly="yes" name="Z80" clock="4000000"/>
		<chip type="audio" name="YM2610" clock="8000000"/>
		<video screen="raster" orientation="horizontal" width="304" height="224" aspectx="4" aspecty="3" refresh="59.185608"/>
		<sound channels="2"/>
		<input players="2" control="joy8way" buttons="4" coins="2"/>
		<dipswitch name="Test Switch">
			<dipvalue name="Off" default="yes"/>
			<dipvalue name="On"/>
		</dipswitch>
		<dipswitch name="Coin Chutes?">
			<dipvalue name="1?"/>
			<dipvalue name="2?" default="yes"/>
		</dipswitch>
		<dipswitch name="Autofire (in some games)">
			<dipvalue name="Off" default="yes"/>
			<dipvalue name="On"/>
		</dipswitch>
		<dipswitch name="COMM Setting">
			<dipvalue name="Off" default="yes"/>
			<dipvalue name="1"/>
			<dipvalue name="2"/>
			<dipvalue name="3"/>
			<dipvalue name="4"/>
		</dipswitch>
		<dipswitch name="Free Play">
			<dipvalue name="Off" default="yes"/>
			<dipvalue name="On"/>
		</dipswitch>
		<dipswitch name="Freeze">
			<dipvalue name="Off" default="yes"/>
			<dipvalue name="On"/>
		</dipswitch>
		<driver status="good" color="good" sound="good" graphic="good" palettesize="4096"/>
	</game>

As you can see it's possible to filter out bios files based on the bios attribute within the rom element.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions