mame/hash/snes_strom.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

217 lines
8.5 KiB
XML

<?xml version="1.0"?>
<!DOCTYPE softwarelist SYSTEM "softwarelist.dtd">
<!--
license:CC0
-->
<softwarelist name="snes_strom" description="Nintendo SNES - Sufami Turbo cartridges">
<software name="sailrfp2">
<description>Bishoujo Senshi Sailormoon Sailorstars - Fuwafuwa Panic 2</description>
<year>1996</year>
<publisher>Bandai</publisher>
<info name="serial" value="SFT-0112-JPN" />
<info name="release" value="19960927" />
<info name="alt_title" value="美少女戦士セーラームーン セーラースターズ ~ふわふわパニック2" />
<part name="cart" interface="st_cart">
<feature name="slot" value="strom" />
<dataarea name="rom" size="1048576">
<rom name="bishoujo senshi sailormoon sailorstars - fuwafuwa panic 2 (japan).st" size="1048576" crc="bb5c4238" sha1="f72ea67468cf34360042bdd7974fd588a2407566" offset="0x000000" />
</dataarea>
</part>
</software>
<software name="crayon">
<description>Crayon Shin-chan - Nagagutsu Dobon!!</description>
<year>1996</year>
<publisher>Bandai</publisher>
<info name="serial" value="SFT-0113-JPN" />
<info name="release" value="19960927" />
<info name="alt_title" value="クレヨンしんちゃん 長ぐつどぼ ん!!" />
<part name="cart" interface="st_cart">
<feature name="slot" value="strom" />
<dataarea name="rom" size="524288">
<rom name="crayon shin-chan - nagagutsu dobon (japan).st" size="524288" crc="8eb753f3" sha1="98a99807a958c1175a2b257166d7b08b2be6d442" offset="0x000000" />
</dataarea>
</part>
</software>
<software name="gegege">
<description>GeGeGe no Kitarou - Youkai Donjara</description>
<year>1996</year>
<publisher>Bandai</publisher>
<info name="serial" value="SFT-0106-JPN" />
<info name="release" value="19960719" />
<info name="alt_title" value="ゲゲゲの鬼太郎 妖怪ドンジャラ" />
<part name="cart" interface="st_cart">
<feature name="slot" value="strom" />
<dataarea name="rom" size="524288">
<rom name="gegege no kitarou - youkai donjara (japan).st" size="524288" crc="4296500d" sha1="965b2582b13ee361eca93937b1b093049bc8d958" offset="0x000000" />
</dataarea>
</part>
</software>
<software name="carrangr">
<description>Gekisou Sentai Carranger - Zenkai! Racer Senshi</description>
<year>1996</year>
<publisher>Bandai</publisher>
<info name="serial" value="SFT-0109-JPN" />
<info name="release" value="19960823" />
<info name="alt_title" value="激走戦隊カーレンジャー 全開!レーサー戦士" />
<part name="cart" interface="st_cart">
<feature name="slot" value="strom" />
<dataarea name="rom" size="524288">
<rom name="gekisou sentai carranger - zenkai racer senshi (japan).st" size="524288" crc="14c66fca" sha1="50b9d6ebf0e3f4b9dad5d0660d6c834820cbe391" offset="0x000000" />
</dataarea>
</part>
</software>
<software name="poipoi">
<description>Poi Poi Ninja World</description>
<year>1996</year>
<publisher>Bandai</publisher>
<info name="serial" value="SFT-0103-JPN" />
<info name="release" value="19960628" />
<info name="alt_title" value="ぽいぽい忍者ワールト" />
<part name="cart" interface="st_cart">
<feature name="slot" value="strom" />
<dataarea name="rom" size="524288">
<rom name="poi poi ninja world (japan).st" size="524288" crc="32b2b3dd" sha1="ae7421b87a9f4cc7c189680dfbb39453905aa5e6" offset="0x000000" />
</dataarea>
</part>
</software>
<software name="sdgunas">
<description>SD Gundam Generation - Axis Senki</description>
<year>1996</year>
<publisher>Bandai</publisher>
<info name="serial" value="SFT-0107-JPN" />
<info name="release" value="19960823" />
<info name="alt_title" value="SDガンダムジェネレーション アクシズ戦記" />
<part name="cart" interface="st_cart">
<feature name="slot" value="strom" />
<dataarea name="rom" size="524288">
<rom name="sd gundam generation - axis senki (japan).st" size="524288" crc="72b4235f" sha1="6f5be110a606f34bb797a30c1f07b84b2ff38425" offset="0x000000" />
</dataarea>
</part>
</software>
<software name="sdgunbks">
<description>SD Gundam Generation - Babylonia Kenkoku Senki</description>
<year>1996</year>
<publisher>Bandai</publisher>
<info name="serial" value="SFT-0108-JPN" />
<info name="release" value="19960823" />
<info name="alt_title" value="SDガンダムジェネレーション バヒロニア建国戦記" />
<part name="cart" interface="st_cart">
<feature name="slot" value="strom" />
<dataarea name="rom" size="524288">
<rom name="sd gundam generation - babylonia kenkoku senki (japan).st" size="524288" crc="792d884c" sha1="f18f680b981077cfa025161cfe6c9594b6d18078" offset="0x000000" />
</dataarea>
</part>
</software>
<software name="sdgunck">
<description>SD Gundam Generation - Colony Kakutouki</description>
<year>1996</year>
<publisher>Bandai</publisher>
<info name="serial" value="SFT-0111-JPN" />
<info name="release" value="19960927" />
<info name="alt_title" value="SDガンダムジェネレーション コロニー格闘記" />
<part name="cart" interface="st_cart">
<feature name="slot" value="strom" />
<dataarea name="rom" size="524288">
<rom name="sd gundam generation - colony kakutouki (japan).st" size="524288" crc="c5dfa8fd" sha1="0a335ef645d058c2da5389ad622c62d0bffce944" offset="0x000000" />
</dataarea>
</part>
</software>
<software name="sdgungs">
<description>SD Gundam Generation - Gryps Senki</description>
<year>1996</year>
<publisher>Bandai</publisher>
<info name="serial" value="SFT-0105-JPN" />
<info name="release" value="19960726" />
<info name="alt_title" value="SDガンダムジェネレーション グリプス戦記" />
<part name="cart" interface="st_cart">
<feature name="slot" value="strom" />
<dataarea name="rom" size="524288">
<rom name="sd gundam generation - gryps senki (japan).st" size="524288" crc="48ecae44" sha1="f280004dd92b70b1bf4518e054b4181a9bbba245" offset="0x000000" />
</dataarea>
</part>
</software>
<software name="sdgunis">
<description>SD Gundam Generation - Ichinen Sensouki</description>
<year>1996</year>
<publisher>Bandai</publisher>
<info name="serial" value="SFT-0104-JPN" />
<info name="release" value="19960726" />
<info name="alt_title" value="SDガンダムジェネレーション 一年戦争記" />
<part name="cart" interface="st_cart">
<feature name="slot" value="strom" />
<dataarea name="rom" size="524288">
<rom name="sd gundam generation - ichinen sensouki (japan).st" size="524288" crc="afd74dcb" sha1="adc7716a4b081aba5cde3525881c51ee6d600396" offset="0x000000" />
</dataarea>
</part>
</software>
<software name="sdgunzs">
<description>SD Gundam Generation - Zanscare Senki</description>
<year>1996</year>
<publisher>Bandai</publisher>
<info name="serial" value="SFT-0110-JPN" />
<info name="release" value="19960927" />
<info name="alt_title" value="SDガンダムジェネレーション ザンスカール戦記" />
<part name="cart" interface="st_cart">
<feature name="slot" value="strom" />
<dataarea name="rom" size="524288">
<rom name="sd gundam generation - zanscare senki (japan).st" size="524288" crc="efd3a865" sha1="d0ebe3cfcc76ec275151c3b9392fc2ff5d3b50da" offset="0x000000" />
</dataarea>
</part>
</software>
<software name="ubattleu">
<description>SD Ultra Battle - Ultraman Densetsu</description>
<year>1996</year>
<publisher>Bandai</publisher>
<info name="serial" value="SFT-0101-JPN" />
<info name="release" value="19960628" />
<info name="alt_title" value="SDウルトラバトル ウルトラマン伝説" />
<part name="cart" interface="st_cart">
<feature name="slot" value="strom" />
<dataarea name="rom" size="524288">
<rom name="sd ultra battle - ultraman densetsu (japan).st" size="524288" crc="04939d14" sha1="5527fcc136ff0c0ef53a1c9c2756d4a27afa1526" offset="0x000000" />
</dataarea>
</part>
</software>
<software name="ubattle7">
<description>SD Ultra Battle - Seven Densetsu</description>
<year>1996</year>
<publisher>Bandai</publisher>
<info name="serial" value="SFT-0102-JPN" />
<info name="release" value="19960628" />
<info name="alt_title" value="SDウルトラバトル セブン伝説" />
<part name="cart" interface="st_cart">
<feature name="slot" value="strom" />
<dataarea name="rom" size="524288">
<rom name="sd ultra battle - seven densetsu (japan).st" size="524288" crc="43ad5a45" sha1="bfe85a6e6e8c24584ed5983dbf56048c4c8f2287" offset="0x000000" />
</dataarea>
</part>
</software>
</softwarelist>