Commit Graph

15 Commits

Author SHA1 Message Date
Vas Crabb
878a16dda1 housekeeping: Use proper SPDX ID for CC0 license. 2022-12-23 02:49:34 +11:00
Scott Stone
63af0bdb5c - hash\*.xml: Cleanup of some software lists of various spacing and format issues. More to come. [Tafoid] 2022-08-09 18:41:22 -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
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
9018b30dba (nw) b*.xml : removed not needed offset=0 2019-05-16 11:21:57 +10:00
Nigel Barnes
66fb855743 bbcb_flop_orig.xml: correct rom interface (nw) 2018-11-20 21:55:05 +00:00
Wintermute 0110
c9d7570023 Fix Acorn SL names so they show in the right position in front-ends. (#3503)
* Fix Acorn SL names so they show in the right position in front-ends.

* Fix mistake in BBC Bridge Companion. Thanks to Pernod70.

* Fixed more names. Thanks to Pernod70.

* Some more name fixes.

* Fix names for hardware manufactured by Casper and Torch.

* SL title disc lowercase for coherence.
2018-05-02 15:18:52 -04:00
Nigel Barnes
9a00e5b172 New working software list additions
-----------------------------------
bbc_flop_6502: Advanced BASIC
bbc_flop_80186: Problem Solver 2.0, Rat Driver 1.0
2018-01-16 17:23:58 +00:00
Nigel Barnes
1a77f08161 bbcb_flop_orig: minor corrections (nw) 2017-06-15 18:43:33 +01:00
Nigel Barnes
004d64d1a7 Software List additions:
- archimedes.xml (many coverdisks and commercial applications)
- bbc_flop_6502.xml (Hi-InterSheet, Hi-View, Hi-Wordwise+)
- bbc_flop_65c102.xml (info only)
- bbcb_cass.xml (The Music System)
- bbcb_flop_orig (redumped Farm Management Suite double sided)
- bbcmc_flop.xml (ALPS)
- electron_cass.xml (info only)
- electron_flop.xml (all known 5.25" DFS releases)
- pro128s_flop.xml (Disco Welcome)
2016-11-19 17:41:02 +00:00
Nigel Barnes
8ecbd318d1 bbc: various additions to floppy softlists 2016-09-23 13:52:18 +01:00
Vas Crabb
0036e43b7b check characters in softlist setnames, fix errors (nw) 2016-09-12 16:21:16 +10:00
Nigel Barnes
ade09362f1 bbc/electron: softlist info (nw) 2016-07-18 18:04:03 +01:00
Nigel Barnes
d54fe1f251 bbc/electon: softlists info and corrections (nw) 2016-06-05 22:53:37 +01:00
Nigel Barnes
81adce108e bbc: added softlist for 6502 co-processor, and renamed others (nw) 2016-01-18 20:34:48 +00:00