Commit Graph

15 Commits

Author SHA1 Message Date
ArcadeShadow
0cb1d86266
mindset_flop.xml; adam_flop.xml; next_hdd: Normalize software list description (#12046)
mindset_flop.xml: Lower case on storage media's name (Mindset Corporation Mindset floppy discs).
adam_flop.xml: Keep upper case only on the first letter of the system's name (Coleco Adam diskettes).
next_hdd.xml: Put the manufacturer's name on first place (NeXT hard disk images)
2024-02-23 21:30:51 -05:00
Vas Crabb
878a16dda1 housekeeping: Use proper SPDX ID for CC0 license. 2022-12-23 02:49:34 +11:00
ArcadeShadow
3ee7d8cf1a
adam_flop.xml: Use lowercase for descriptive text and unabbreviated country names in descriptions. (#10285) 2022-08-28 07:01:23 +10: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
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
efdbbb6593 (nw) hash: removed not needed offset from some files 2019-05-03 00:20:01 +10:00
Scott Stone
5c334d982f Misc errors fixed in a800.zml and adam_flop.xml (nw) 2016-09-11 23:08:28 -04:00
sparrowred
1bc02104ce fixed and unified some unknown years 2015-10-02 15:34:13 +02:00
Miodrag Milanovic
e6f78d5ed2 Cleanups and version bump 2014-12-31 07:53:27 +01:00
etabeta78
6557e56358 (MESS) adam: added info and some images from sacnews website. [Riley110] 2014-11-30 18:25:35 +01:00
Curt Coder
3677fc1652 (MESS) adam: Added a second floppy drive and verified 160KB floppy image gap sizes. [Curt Coder]
(MESS) adam_flop.xml: Added disk utilities. [Curt Coder]
2013-11-18 19:31:27 +00:00
Curt Coder
200321ecfb (MESS) adam_flop.xml: Fixed region size. (nw) 2013-11-05 15:05:14 +00:00
Curt Coder
10c44eabfd (MESS) adam: Fixed software list. (nw) 2012-11-06 16:12:22 +00:00
Curt Coder
134c907025 (MESS) adam: Added floppies to software list. (nw) 2012-11-05 15:31:44 +00:00
Curt Coder
5620ca3801 (MESS) adam: Added cartridge, cassette and floppy software lists. (nw) 2012-11-02 19:19:48 +00:00