Commit Graph

75 Commits

Author SHA1 Message Date
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
Vas Crabb
438a497c37 (nw) More license shuffling
Get rid of a couple of copies of the CC0 text.  Add header comment to
CC0 files to remind people editing them what the terms are.  Also add
some missing XML headers.  The header comments in layouts won't bloat
the binary - they get stripped out before compressing, same as any other
comments.
2020-03-07 22:02:56 +11:00
Scott Stone
1d3ecff45d vz_snap.xml: dtd validation fix (nw)
Many assorted XML files fixed for errant spaces, missing linefeed, improper format, and other oddness (nw)
2019-10-06 21:12:33 -04:00
Vas Crabb
97b6717027 (nw) Clean up the mess on master
This effectively reverts b380514764 and
c24473ddff, restoring the state at
598cd52272.

Before pushing, please check that what you're about to push is sane.
Check your local commit log and ensure there isn't anything out-of-place
before pushing to mainline.  When things like this happen, it wastes
everyone's time.  I really don't need this in a week when real work™ is
busting my balls and I'm behind where I want to be with preparing for
MAME release.
2019-03-26 11:13:37 +11:00
andreasnaive
b380514764 Revert "conflict resolution (nw)"
This reverts commit c24473ddff, reversing
changes made to 009cba4fb8.
2019-03-25 23:13:40 +01:00
Vas Crabb
711dd4fc61 srcclean the softlists, add pinyin for C2 Color (nw) 2019-02-08 12:11:06 +11:00
Scott Stone
fb5ab33c98 Fixed XML file structure for files in HASH folder which required it. (nw) 2019-02-07 19:55:57 -05:00
Vas Crabb
4c29419cab srcclean (nw) 2017-10-22 12:34:30 +11:00
Scott Stone
2b0b6f1eba New working software list additions
-----------------------------------
msx1_cart: Roc'n Rope [Anonymous]
2017-10-17 21:18:31 -04:00
hap
38c8af32c1 msx1 legend of kage (jpn., alt) crc b581f746 is corrupted, thanks derek2 (nw) 2016-10-09 00:43:44 +02:00
etabeta78
16f2a92f89 final round of consistency fixes. nw. 2016-06-28 08:00:26 +02:00
Robbbert
167f345bab msx1_cart:begbasic: fixed offset syntax error (issue #874) 2016-05-15 15:13:25 +10:00
sparrowred
1a5561dab6 fixed whitespace for publishers and descriptions in softwarelist xmls (nw) 2015-10-28 11:40:10 +01:00
Wilbert Pol
75d6cb9f0d softlist.c: Sync software list rom name validation with regular rom name validation. (nw) 2015-07-30 14:07:19 +02:00
Wilbert Pol
e79b9c12e9 msx1_cart.xml: fix validation (nw) 2015-07-30 12:44:33 +02:00
Wilbert Pol
a2c4291690 msx1_cart.xml: Added fs_sr002 mapper based on internal bunsetsu mapper (nw) 2015-07-30 12:17:47 +02:00
Wilbert Pol
94754d1bcc msx1_cart.xml: Partially implemented mapper used for msx write. (nw) 2015-07-28 09:30:35 +02:00
Wilbert Pol
50a508608f msx1_cart.xml: Mark hylide3k as supported (nw) 2015-07-25 21:30:24 +02:00
David Haywood
7c76dd74ca fix validation (nw) 2015-07-25 17:35:45 +01:00
Wilbert Pol
91a83d0b3b msx1_cart.xml: A few more small updates (nw) 2015-07-25 16:14:39 +02:00
Wilbert Pol
bbe1ece933 msx1_cart.xml: Several fixes and notes added. Remove tape-to-cartridge hacks for software that was never released on cartridge. (nw) 2015-07-25 14:16:39 +02:00
Wilbert Pol
fec0e6ad36 msx1_cart.xml: Several small fixes (nw) 2015-07-24 21:38:44 +02:00
Wilbert Pol
ff63d596ce msx1_cart.xml: Fixed a few arabian entries. (nw) 2015-07-23 22:47:19 +02:00
Wilbert Pol
907a751fc4 msx1_cart.xml: Mark 2face as requiring an Arabic msx. (nw) 2015-07-23 22:13:21 +02:00
Wilbert Pol
32fd5e1405 msx1_cart.xml: Activsion 16kb roms are mirrored in all pages. Removed some overdumps. Fixes MT05949. 2015-07-14 23:06:55 +02:00
etabeta78
f1255b59d6 a bunch of new dumps and many consistency fixes. nw. 2015-05-12 13:24:02 +02:00
etabeta78
a4b45efad3 (MESS) softlist: Added new software lists for MSX2 tapes, MSX2+ disks
and MSX Turbo-R disks [Riley110, Fabio Priuli]

(MESS) msx1_cart: added several new dumps of Korean games [Fabio
Priuli]

(MESS) msx1_cass: added hundreds of tapes from existing collections
[Riley110, Fabio Priuli]

out of whatsnew: the work on msx1 disks is still ongoing and it will be ready hopefully soon.
2015-04-11 09:16:35 +02:00
etabeta78
2e9296f0a5 (MESS) softlist: Added new lists for Sord M5 and PTC SOL-20 cassettes. [Riley110]
(MESS) softlist: Added info in many Eastern Europe computer softlists. [Riley110]

also, renamed a few lists for consistency.
2014-11-05 07:41:36 +01:00
Miodrag Milanovic
c93ed344fb Cleanups and version bump 2014-10-15 07:19:47 +00:00
Wilbert Pol
12349cda6a (MESS) msx.c: Added support for National FS-CF351 + FS-FD351 external floppy controller and drive (nw) 2014-08-11 19:56:26 +00:00
Wilbert Pol
8f9d373af7 msx1_cart.xml: Removed duplicate entry (nw) 2014-08-11 18:26:55 +00:00
Wilbert Pol
62780ebc7b (MESS) msx.c: Added support for the Panasonic FS-FD1 and FS-FD1A external floppy controllers and drives. (nw) 2014-08-10 14:08:22 +00:00
Wilbert Pol
9beb4b9dc3 (MESS) msx.c: Added support for Philips VY-0010 external floppy interface and drive (nw) 2014-08-08 14:35:40 +00:00
Wilbert Pol
517c6f12e6 (MESS) msx1_cart.xml: Small update for fsca1 (nw) 2014-07-25 08:16:48 +00:00
Miodrag Milanovic
79246ab917 More cleanups, there is issue with srcclean that needs to be taken care as well, just doing now what we can 2014-07-22 06:21:54 +00:00
Scott Stone
532bfb9e2b Alignment fixes for XML hashes. (nw) 2014-07-01 00:17:55 +00:00
Wilbert Pol
ee2e620553 (MESS) msx1_cart.xml: Renamed a few Yamaha cartridges. (nw) 2014-06-18 20:51:17 +00:00
Wilbert Pol
8d559f580c (MESS) msx.c: Added support for protection used by Baby Dinosaur Dooly (hopefully complete). (nw) 2014-06-04 19:13:06 +00:00
Wilbert Pol
db5294cec3 (MESS) msx.c: Added support for mapper used by Holy Quran. [hap, Wilbert Pol] 2014-06-04 17:57:35 +00:00
Oliver Stöneberg
313146fcaf (MESS) flagged some software as unsupported (nw) 2014-06-04 14:18:38 +00:00
Wilbert Pol
fbe825d59c (MESS) msx.c: Added support for keyboard master prototype. (nw) 2014-06-03 19:30:04 +00:00
Wilbert Pol
5582b6aba7 (MESS) msx1/msx2_cart.xml: Notes (nw) 2014-06-03 17:08:27 +00:00
Wilbert Pol
519dfaece7 (MESS) msx.c: Added harry fox mapper (nw) 2014-06-02 19:22:54 +00:00
Wilbert Pol
b62fbf9b2e (MESS) msx.c: Added support for mapper used by Super Swangi (nw) 2014-06-01 20:57:05 +00:00
Wilbert Pol
27f2c334d5 (MESS) msx1_cart.xml: Removed nms1205v11, it was just a hacked up version of nms1205 to skip the internal software when booting. (nw) 2014-05-26 18:36:05 +00:00
Wilbert Pol
64e68ec429 (MESS) msx.c: Fixed support for FS-CA1 MSX Audio firmware and added some notes (nw) 2014-05-25 13:55:03 +00:00
Wilbert Pol
6bcdb3c5e7 fix xml validation (nw) 2014-05-24 18:57:42 +00:00
Wilbert Pol
7b51d02baf (MESS) msx.c: Some small msx audio related updates (nw) 2014-05-24 18:28:39 +00:00
Wilbert Pol
9b1c2dfc19 (MESS) msx.c: Some small msx audio changes. Renamed the msx audio soft list sets. (nw) 2014-05-22 19:04:16 +00:00
Wilbert Pol
0c1e68d4cd (MESS) msx.c: Some small fixes. (nw) 2014-05-20 21:18:46 +00:00