Commit Graph

19 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
Wintermute 0110
73012fdbfa Improve Commodore SL names. (#5926) 2019-11-30 21:14:17 +11:00
Robbbert
efdbbb6593 (nw) hash: removed not needed offset from some files 2019-05-03 00:20:01 +10:00
Scott Stone
30eff20e4a (MESS) Softlist Updates: [Kaylee]
amigaxxx_flop: Added two recently released files and corrected wrongly placed sets.
atari2600_cass: Four cassette prototypes added.
2013-07-29 19:27:23 +00:00
Fabio Priuli
35a1fad54f (MESS) softlist: Added year and publisher info to most games in Amiga OCS, ECS, AGA and Atari ST softlist,
fixed shortnames and descriptions where needed, improved parent/clone relationships, made better use of
part_id features in multidisk sets. Also, re-ordered sets in ZX softlist. [Anonymous, Fabio Priuli]

out of whatsnew: I have temporarily marked as unsupported the Atari ST disks since the majority does not seem 
to load and/or being playable. per-game tests will be done soon, so to give the correct status to each entry.

for the record (and to acknowledge credits where it's due), most work came from the same external contributor 
who cleaned up our a2600 list in the past, with some intervention by myself here and there...
2013-05-01 07:56:20 +00:00
Miodrag Milanovic
4337250fbe used old version of srcclean, so I put back old files and run it again, it produce much less changes, sorry for this (nw) 2013-03-19 11:38:58 +00:00
Miodrag Milanovic
0e1f5ad25b Cleanups and version bump 2013-03-19 07:22:20 +00:00
Fabio Priuli
9c49b3fa69 (MESS) softlist: misc updates from Kaylee. 2013-03-13 15:58:36 +00:00
Fabio Priuli
a788e1cd44 (MESS) a800.xml: Added 3 new dumps, removed a confirmed bad dump and added more cartridge info [K1W1]
(MESS) amigaaga/amigaocs.xml: Added a few more dumps from CAPS releases [Kaylee]
(MESS) apfm1000.xml: Verified compatibility in some entries [Shideravan]
2013-02-06 05:35:37 +00:00
Fabio Priuli
302511d6b0 consolidating list descriptions. no whastnew. 2013-01-14 14:32:28 +00:00
smf-
19a14cbba6 use spaces in xml comments. This is the output from a local srcclean change applied after reverting the 0.148 cleanup, to avoid losing previous formatting. 2013-01-11 16:23:29 +00:00
Miodrag Milanovic
0e19f641d3 Cleanups and version bump 2013-01-11 07:32:46 +00:00
David Haywood
ee3329220a re-order some floppy discs (nw) 2012-12-30 21:37:09 +00:00
David Haywood
71df55ebe7 shuffle floppies around based on minimum chipset requirement (nw) 2012-12-30 20:40:32 +00:00
David Haywood
a0ef569e93 amiga SL improvements (nw) 2012-12-30 19:43:26 +00:00
David Haywood
6e4f057c2b Amiga SL work in progress (SPS based) (nw)
this is an active work in progress, only the first pass + ensuring it passes validation is done.
2012-12-30 02:40:31 +00:00
Miodrag Milanovic
6bfc7e54f9 Clean-ups and version bump 2012-10-30 07:07:38 +00:00
Miodrag Milanovic
274bab4ac8 spectrum and amiga changes from Haze (no whatsnew) 2012-10-27 12:32:44 +00:00