Commit Graph

36 Commits

Author SHA1 Message Date
Scott Stone
f7f0aee0c4 Various XML format fixes including some comment placement fixes (nw) 2020-05-09 15:36:25 -04:00
Scott Stone
346031fb6d Fixed some label duplicates. In cases where the label was an actual rom label, sldh (same label different hash comments were added (nw) 2020-04-19 23:02:28 -04:00
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
8f393f526f softlist_dev.cpp: start adding validation for data areas
romload.cpp: reduce copy-pasta (nw)

(nw) I fixed the errors found by adding validation to software list data areas.
Most of them seem to be simple copy-paste errors hidden by the fact that the
default device_image_interface loader ignores the data area size (as opposed to
the "ROM" loader).  There was one C64 cartridge with a missing zero on the data
area size that was pretty clearly wrong.
2020-04-16 00:11:41 +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
Robbbert
206d3b88c2 (nw) more removal of offset=0 from swlists 2019-10-03 13:33:11 +10:00
einstein95
b9f2f7ebb6 Rearrange amtruck/amtrckm2 disks (nw) 2016-11-20 16:03:22 +13:00
etabeta78
16f2a92f89 final round of consistency fixes. nw. 2016-06-28 08:00:26 +02:00
etabeta78
be406134ae more consistency fixes. nw. 2016-05-29 11:38:55 +02:00
Miodrag Milanovic
68785dccfe Cleanups and version bump 2016-05-25 08:19:21 +02:00
Scott Stone
ee4f0bb6a4 Fix for megadriv.xml duplicate publisher and numerous format fixes for recent XML additions and changes (nw) 2016-05-17 14:23:10 -04:00
etabeta78
dae2e7afbb another bunch of items from my backlog + a new NES dump
from TeamEurope (it's not working due to unemulated board). nw.
2016-05-07 14:28:29 +02:00
cracyc
9cbda7e838 pc8801: hand fix dslayer (nw) 2016-05-01 17:54:07 -05:00
sparrowred
1a5561dab6 fixed whitespace for publishers and descriptions in softwarelist xmls (nw) 2015-10-28 11:40:10 +01:00
etabeta78
f1255b59d6 a bunch of new dumps and many consistency fixes. nw. 2015-05-12 13:24:02 +02:00
etabeta78
45193e8451 (MESS) softlist: added a bunch of new dumps from various sources, and
improved consistency across a few lists. nw.
2015-04-22 22:35:15 +02:00
etabeta78
fa66b1dcab (MESS) added a few new dumps, and performed some consistency fix. nw. 2015-04-11 09:18:03 +02:00
etabeta78
3d2c821651 one more dump, courtesy of Anna's reminder, and a small cmpro fix. nw. 2015-03-24 16:04:15 +01:00
etabeta78
8e0608371f (MESS) misc round of new dump additions (from multiple sources) and consistency fixes. nw. 2015-03-23 08:28:08 +01:00
etabeta78
33154b06ea whops... these had escaped my previous round of consistency fixes. nw. 2014-11-24 06:58:09 +01:00
etabeta78
f3a70a2de1 (MESS) added some more disks to fm7_disk.xml and fixed a bunch of
naming inconsistencies. nw.
2014-11-23 16:39:59 +01:00
Fabio Priuli
b3bae5a204 (MESS) softlist: misc fixes to descriptions (to match title screens), to publishers, and to
shortnames (to be consistent across lists, where possible). nw.
2013-05-13 17:42:03 +00:00
Fabio Priuli
b94a029a4e (MESS) snes.xml: documentation fix from ReadOnly. nw.
+ some consistency fix/cleanups in several softlists
2013-04-29 04:08:14 +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
Scott Stone
c7254e6408 Alignment fixes for XML hashes. (nw) 2013-02-21 05:04:54 +00:00
Fabio Priuli
bc23730a9a (MESS) softlists: Misc naming and description consistency fixes. no whatsnew. 2013-01-20 10:16:20 +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
Justin Kerk
c990d4b75b softlists: More fullwidth->halfwidth and NFC normalization 2012-10-07 19:51:22 +00:00
Curt Coder
31387945c8 srcclean (nw) 2012-10-07 09:12:56 +00:00
Fabio Priuli
13a1905b8e (MESS) pc98.xml: backing up some system disks. no whatsnew.
(MESS) pc88_flop.xml: added some music disks from snakemeat + more precise info on some disks already listed. no whatsnew.
(MESS) pc88_flop.xml: added some games and utilities from Tokugawa boards + some previously very hard to find games which got submitted anonymously. no whatsnew.
(MESS) pc88_flop.xml: started cleaning up some of the utilities, lots more to be sorted. no whatsnew.
2012-10-05 19:58:16 +00:00
Justin Kerk
268bc19da2 Replace most fullwidth characters in Japanese software lists - they exist for backwards compatibility and there is generally no good reason to use them nowadays (nw)
Also replaced combining dakuten with precomposed forms and made a few romanization tweaks
2012-09-09 23:41:25 +00:00
Fabio Priuli
1710c16689 (MESS) softlist: misc cleanup (thanks to souxx), added bits of info (thanks to Anna) and some fix to the nes list. no whatsnew. 2012-08-29 19:25:48 +00:00
Miodrag Milanovic
960ae0c0de Sync software lists from MESS into hash (no whatsnew) 2012-08-21 10:47:55 +00:00