mame/hash/mac_flop.xml
Vas Crabb 1a5c013c33 (nw) softlist_dev.cpp: validate ROM labels
The free-for-all on labels in software lists is not working.  There's no
consistency, labels are getting excessively long, people are starting to
use non-ASCII characters in labels making it harder for others to type
them when manipulating files on the command line, and there's too much
markup being put in labels.

The length limit is 127 characters, same as for labels in MAME itself.
This should be long enough to be descriptive.  Remember that the Win32
path limit is 260 characters, and many applications and frameworks have
issues with longer paths, including Windows Explorer and the .NET
framework.  Labels are used as filenames, so concessions need to be
made for this.

I have not abbreviated excessively long labels myself - they're
currently causing 135 validity errors.  Someone else can fix them.

Printable ASCII characters are allowed, with a few exceptions.  The
exceptions are limited to characters most likely to cause issues for
interactive shells and scripts:
* ! - csh event substitution (very difficult to escape properly)
* $ - sh varibale expansion
* % - csh job control, cmd variable expansion
* / - UNIX directory separator
* : - sh path separator, Windows drive qualifier
* \ - sh escape, Windows directory separator

Most of the labels that had to be edited were using ! for markup, or
using ! and % for titles in labels.  Strangely, titles in labels are
often forced to lower case, despite this never being enforced for
software lists.  There are also various other edits to titles used for
labels, such as moving articles to the end (with or without a comma),
or replacing spaces with underscores.  As I already said, there's no
consistency at all.

There is far too much markup in labels.  They're even being used for
notes in some cases (e.g. at least one case where a dumper's name is in
the label).  The XML schema supports metadata - use it.  For example,
you can use part_id for an unrestricted display name for a software
part.  You can also use XML comments for notes.

And while on the topic of metadata, vgmplay.xml is putting the same
thing in the part_id as well as the label.  The part_id should have
the actual title, not the title mangled to make it more suitable for
use as a filename.  Addressing this would be a lot of work, given how
large the file is.

For now, empty data areas in software lists cause a verbose message
rather than a validation warning.  There are thousands of software
lists using empty data areas to indicate the size/width of cartridge
RAM/EEPROM/etc.
2020-04-16 14:04:06 +10:00

234 lines
8.8 KiB
XML

<?xml version="1.0"?>
<!DOCTYPE softwarelist SYSTEM "softwarelist.dtd">
<!--
license:CC0
-->
<softwarelist name="mac_flop" description="Macintosh 400K/800K Disk images">
<software name="airborne">
<description>Airborne!</description>
<year>1984</year>
<publisher>Silicon Beach</publisher>
<part name="flop1" interface="floppy_3_5">
<dataarea name="flop" size = "409600">
<rom name="Airborne.image" size="409600" crc="5d3729c2" sha1="2519b4afa8f803d0d7098d1b33f1c39abe0a50fa" offset="0"/>
</dataarea>
</part>
</software>
<software name="botp">
<description>Balance of the Planet</description>
<year>1990</year>
<publisher>Chris Crawford</publisher>
<part name="flop1" interface="floppy_3_5">
<dataarea name="flop" size = "819200">
<rom name="balance of the planet disk 1.img" size="819200" crc="dda09592" sha1="a7e8c323c9b9a744c06057c6f4ec541627eb3633"/>
</dataarea>
</part>
<part name="flop2" interface="floppy_3_5">
<dataarea name="flop" size = "819200">
<rom name="balance of the planet disk 2.img" size="819200" crc="05ad9b36" sha1="23eead8fa153ac8a9390bccc9590daf861dee455"/>
</dataarea>
</part>
</software>
<software name="bdrkcast">
<description>Beyond Dark Castle</description>
<year>1987</year>
<publisher>Silicon Beach Software</publisher>
<part name="flop1" interface="floppy_3_5">
<dataarea name="flop" size = "819200">
<!-- modified with a saved preference file -->
<rom name="disk1.img" size="819200" crc="7b51b582" sha1="d5856e6504cf652b8601e9e60f45703ce7458fa1" offset="0" status="baddump"/>
</dataarea>
</part>
<part name="flop2" interface="floppy_3_5">
<dataarea name="flop" size = "819200">
<rom name="disk2.img" size="819200" crc="8c63ffcc" sha1="587392d1937b9d776d30be48bd272217265c737b" offset="0"/>
</dataarea>
</part>
</software>
<software name="loderun">
<description>Lode Runner</description>
<year>1984</year>
<publisher>Broderbund Software</publisher>
<part name="flop1" interface="floppy_3_5">
<dataarea name="flop" size = "409600">
<rom name="lode runner.img" size="409600" crc="685597f2" sha1="d2058a28284e196b2b9f14978e0158d9bd93c8e4"/>
</dataarea>
</part>
</software>
<software name="macbtx">
<description>MacBTX 1&amp;1</description>
<year>1994</year>
<publisher>format Verlag</publisher>
<info name="developer" value="1&amp;1 Telekommunikation" />
<part name="flop1" interface="floppy_3_5">
<dataarea name="flop" size = "819200">
<rom name="disk1.img" size="819200" crc="91244158" sha1="9181122e95c740da555056ef227088ddcefc8fd5" offset="0"/>
</dataarea>
</part>
</software>
<software name="macdrawde">
<description>MacDraw 1.9.5 (German)</description>
<year>1986</year>
<publisher>Apple</publisher>
<info name="version" value="D2-1.9.5" />
<part name="flop1" interface="floppy_3_5">
<dataarea name="flop" size = "819200">
<rom name="disk1.img" size="819200" crc="73599d46" sha1="5b883383827d2742220b89de083c646c308853d0" offset="0"/>
</dataarea>
</part>
</software>
<software name="ps25lede">
<description>Photoshop 2.5.1 Limited Edition (German)</description>
<year>1993</year>
<publisher>Adobe</publisher>
<info name="serial" value="SGG250R3007877-635" />
<part name="flop1" interface="floppy_3_5">
<dataarea name="flop" size = "819200">
<rom name="disk1.img" size="819200" crc="d3978ea5" sha1="d44173c57f2385406555d3fff7fd6b30c68b2116" offset="0"/>
</dataarea>
</part>
<part name="flop2" interface="floppy_3_5">
<dataarea name="flop" size = "819200">
<rom name="disk2.img" size="819200" crc="b422f894" sha1="1682a6b07fa4b88fa8f6860944736f1a85df0805" offset="0"/>
</dataarea>
</part>
<part name="flop3" interface="floppy_3_5">
<dataarea name="flop" size = "819200">
<rom name="disk3.img" size="819200" crc="09866adc" sha1="93a20fe8d7e2d352cd42631962a7c7d9c918a472" offset="0"/>
</dataarea>
</part>
</software>
<software name="radius" supported="no">
<description>RadiusWare</description>
<year>1991</year>
<publisher>Radius</publisher>
<part name="flop1" interface="floppy_3_5">
<dataarea name="flop" size = "819200">
<rom name="disk1.img" size="819200" crc="7c11fe05" sha1="5256aece3878fbe4479d7e8c0fd3bb38d71db0f1" offset="0"/>
</dataarea>
</part>
</software>
<software name="suprcars" supported="no">
<description>The Supercars - Test Drive II Car Disk</description>
<year>1989</year>
<publisher>Accolade</publisher>
<part name="flop1" interface="floppy_3_5">
<dataarea name="flop" size = "819200">
<rom name="the supercars.img" size="819200" crc="5d243d81" sha1="e61306317cf39ef3ddce9751e3c4ce5b72c942db"/>
</dataarea>
</part>
</software>
<software name="sys11">
<description>System Software 1.1</description>
<year>1984</year>
<publisher>Apple</publisher>
<part name="flop1" interface="floppy_3_5">
<dataarea name="flop" size = "409600">
<rom name="System Disk.img" size="409600" crc="de4046ba" sha1="cbee2d1ceffb15c312066b7b35ad022ce1895cdb" offset="0"/>
</dataarea>
</part>
</software>
<software name="sys30">
<description>System Software 3.0</description>
<year>1986</year>
<publisher>Apple</publisher>
<part name="flop1" interface="floppy_3_5">
<dataarea name="flop" size = "819200">
<rom name="System Tools.img" size="819200" crc="d3768bcb" sha1="0546dd0fa34f4e6d913e4254ddb5350e1e42800c" offset="0"/>
</dataarea>
</part>
</software>
<software name="sys603">
<!-- This version of the System Software was shipped with the Macintosh IIcx and SE/30 -->
<description>System Software 6.0.3</description>
<year>1990</year>
<publisher>Apple</publisher>
<part name="flop1" interface="floppy_3_5">
<dataarea name="flop" size="819200">
<rom name="system tools.img" size="819200" crc="297023b0" sha1="ced0f8d2e950ef59bc4ff2477e09ea4cc6f7b24c" offset="0" />
</dataarea>
</part>
<part name="flop2" interface="floppy_3_5">
<dataarea name="flop" size="819200">
<rom name="utilities 1.img" size="819200" crc="67ab3033" sha1="247a99f42237a780ea08f068473e6ee127a5eab7" offset="0" />
</dataarea>
</part>
<part name="flop3" interface="floppy_3_5">
<dataarea name="flop" size="819200">
<rom name="utilities 2.img" size="819200" crc="0b1d1e4d" sha1="4969936683619562dfd1437849da9119118cb695" offset="0" />
</dataarea>
</part>
<part name="flop4" interface="floppy_3_5">
<dataarea name="flop" size="819200">
<rom name="printing tools.img" size="819200" crc="8b69b1ed" sha1="087e19062715c59a9ce01106ed03049a364b4018" offset="0" />
</dataarea>
</part>
</software>
<software name="sys605">
<!-- This version of the System Software was shipped with the Macintosh IIfx -->
<description>System Software 6.0.5</description>
<year>1990</year>
<publisher>Apple</publisher>
<part name="flop1" interface="floppy_3_5">
<dataarea name="flop" size="819200">
<rom name="system tools.img" size="819200" crc="9b8df224" sha1="0dd936f001ad8884382d20b4d7beb2e082194feb" offset="0" />
</dataarea>
</part>
<part name="flop2" interface="floppy_3_5">
<dataarea name="flop" size="819200">
<rom name="utilities 1.img" size="819200" crc="2ba093df" sha1="fc9b8f7b7ba941ff778703e262f0c6992b368610" offset="0" />
</dataarea>
</part>
<part name="flop3" interface="floppy_3_5">
<dataarea name="flop" size="819200">
<rom name="utilities 2.img" size="819200" crc="279123df" sha1="0519b697c13a407b46fe4079d2889adf37dc9864" offset="0" />
</dataarea>
</part>
<part name="flop4" interface="floppy_3_5">
<dataarea name="flop" size="819200">
<rom name="printing tools.img" size="819200" crc="3496eee8" sha1="ba396f501180467db34d3c22eab94b900b14dc22" offset="0" />
</dataarea>
</part>
</software>
<software name="sys608">
<!-- This version of the System Software was an update to System Software 6.0.7 with added System 7 printer compatibility -->
<description>System Software 6.0.8</description>
<year>1991</year>
<publisher>Apple</publisher>
<part name="flop1" interface="floppy_3_5">
<dataarea name="flop" size="819200">
<rom name="system tools.img" size="819200" crc="febb735f" sha1="fb89deb29ff341e92fd30307934f7c7616c2c8e2" offset="0" />
</dataarea>
</part>
<part name="flop2" interface="floppy_3_5">
<dataarea name="flop" size="819200">
<rom name="utilities 1.img" size="819200" crc="936e35d8" sha1="85e1667b236451149e06db76a60b8852432622a3" offset="0" />
</dataarea>
</part>
<part name="flop3" interface="floppy_3_5">
<dataarea name="flop" size="819200">
<rom name="utilities 2.img" size="819200" crc="4d00c41a" sha1="3d5261d6ec11b11c16e745cd957aa77c4bebdf08" offset="0" />
</dataarea>
</part>
<part name="flop4" interface="floppy_3_5">
<dataarea name="flop" size="819200">
<rom name="printing tools.img" size="819200" crc="e7ba71b1" sha1="bd7194407769a2f2f4ebde8b94f8d85e92419d32" offset="0" />
</dataarea>
</part>
</software>
</softwarelist>