Commit Graph

30 Commits

Author SHA1 Message Date
Barry Rodewald
a5fd7497d0 cpc_flop.xml: Separate and reorganise the Indiana Jones games (Temple of Doom, Last Crusade and Fate of Atlantis). 2020-08-28 14:08:21 +12:00
Barry Rodewald
e7635a993e cpc_flop.xml: Separated and reorganised Thunderbirds, Thunder Blade and Thunder Burner. 2020-08-23 21:46:41 +12:00
Barry Rodewald
3e36d3646b cpc_flop.xml: re-organised and cleaned up entries for Sly Spy - Secret Agent 2020-07-19 22:54:14 +12: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
Scott Stone
dcd7dd25be cpc_cass.xml, cpc_flop.xml: -validation fixed for label length (nw) 2020-04-19 21:34:52 -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
Robbbert
134944e4e6 (nw) c*.xml : removed not needed offset=0 2019-05-16 13:11:31 +10:00
mahlemiut
471eb4fe1f cpc_flop.xml: switched some clones of The Vindicator to be as such, instead of clones of Vindicators. (nw) 2017-02-04 21:57:34 +13:00
sparrowred
1a5561dab6 fixed whitespace for publishers and descriptions in softwarelist xmls (nw) 2015-10-28 11:40:10 +01:00
Miodrag Milanovic
44caf08662 fix for cpc_flop from remax (nw) 2013-11-04 09:38:48 +00:00
Fabio Priuli
4e80d70007 (MESS) cpc_flop.xml: added the available SPS release. [Kaylee] 2013-05-25 08:13:13 +00:00
Miodrag Milanovic
1c05ccc93b Cleanups and version bump 2013-05-20 06:51:25 +00:00
Fabio Priuli
e7368bcefc (MESS) cpc_flop.xml: further back-up for some sorting wip... nw. 2013-05-15 18:33:05 +00:00
Fabio Priuli
bddf7a9a1f (MESS) cpc_flop.xml: backing up some sorting wip for games starting with #b. nw. 2013-05-13 17:39:49 +00:00
Fabio Priuli
9ebe46b04f (MESS) softlist: misc consistency fixes, mostly to have common shortnames for the same games
across different lists. nw.
2013-05-01 08:05:35 +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
Miodrag Milanovic
a440a8e020 Cleanups and version bump 2013-02-11 07:44:56 +00:00
Wilbert Pol
827657a0b7 (MESS) Changed DTD to make year mandatory and added reload_plain to the list of rom loadflags. Fixed some xmls there were failing validation tests. 2013-02-03 12:16:19 +00:00
Fabio Priuli
60e4d54893 cpc_flop.xml: another small step in the sorting of this set. no whatsnew.
gba.xml: fixed mislabeled info. no whastnew/
fm77av.xml: added another disk from black2 (thanks to Anna for loading instructions). no whatsnew.
+ added a few gb/gbc dumps from other sets
2013-01-20 10:29:36 +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
Fabio Priuli
13b26b6748 softlists: hopefully silencing cmpro. no whatsnew. 2013-01-09 17:13:14 +00:00
Fabio Priuli
78667dfcb4 misc fixes (resp. BOM, list name, &Amp;). no whatsnew. 2013-01-08 09:32:40 +00:00
Fabio Priuli
6309ec9ffe cpc_flop: sorted some more sets. basically all games starting with #-A are properly sorted now. at some point I will start with the 'B'... no whatsnew. 2013-01-06 14:58:41 +00:00
Fabio Priuli
db2e8fd71c cpc_flop.xml: some more sorting before 2013. no whatsnew. 2012-12-31 18:54:12 +00:00
Miodrag Milanovic
960ae0c0de Sync software lists from MESS into hash (no whatsnew) 2012-08-21 10:47:55 +00:00