Commit Graph

25 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
Robbbert
efdbbb6593 (nw) hash: removed not needed offset from some files 2019-05-03 00:20:01 +10:00
Vas Crabb
97b6717027 (nw) Clean up the mess on master
This effectively reverts b380514764 and
c24473ddff, restoring the state at
598cd52272.

Before pushing, please check that what you're about to push is sane.
Check your local commit log and ensure there isn't anything out-of-place
before pushing to mainline.  When things like this happen, it wastes
everyone's time.  I really don't need this in a week when real work™ is
busting my balls and I'm behind where I want to be with preparing for
MAME release.
2019-03-26 11:13:37 +11:00
andreasnaive
b380514764 Revert "conflict resolution (nw)"
This reverts commit c24473ddff, reversing
changes made to 009cba4fb8.
2019-03-25 23:13:40 +01:00
Vas Crabb
0ed2d2684e srcclean (nw) 2019-02-24 14:25:42 +11:00
Wintermute 0110
e3ad8c6d2d Fixes in SL ROM names (leading and trailing spaces) (#3501)
* Fix ROM name (remove trailing space).

* Fix trailing spaces in ROM name.

* Fix trailing spaces in ROM names.

* Fix leading spaces in ROM names.
2018-05-01 04:45:19 +10:00
Scott Stone
5c334d982f Misc errors fixed in a800.zml and adam_flop.xml (nw) 2016-09-11 23:08:28 -04:00
Miodrag Milanovic
68785dccfe Cleanups and version bump 2016-05-25 08:19:21 +02:00
etabeta78
e933913849 A few addition to A800 software lists [K1W1] 2016-05-01 16:34:54 +02:00
Oliver Stöneberg
18b8ce2f94 fixed softwarelist validation errors (nw) 2014-11-26 09:34:22 +01:00
etabeta78
420dba88af test. nw. 2014-10-20 22:02:09 +02:00
etabeta78
980d69b9d0 Fixed German mistake + xml missing ending, on behalf of K1W1. nw. 2014-10-20 21:39:53 +02:00
Fabio Priuli
784f5b3f8b (MESS) a800.xml: added some more cart dumps, including AtariScreiber, the extremely
rare German version of AtariWriter. [K1W1]
2014-10-20 06:34:06 +00:00
Fabio Priuli
2ad103296f (MESS) a800: added sketchy support for some more mappers.
only a few carts have actually improved, but it is a start. nw.
2014-09-04 21:21:07 +00:00
Fabio Priuli
991bcbd1e5 (MESS) atari400.c progress: [Fabio Priuli]
- Rewritten cart emulation to use slot devices (many 
  "mappers" do not fully work) and unified cart handling 
  among 8bit home computers, XEGS and Atari 5200
- Added support for loading carts with bankswitch to all XL/XE 
  models
- Added support for loading XEGS carts in Atari 8bits home
  computers (XEGS instead will only load XEGS games until
  support for the keyboard add-on is included)
- Big clean up of the driver, simplifying memory map, removing
  writes to ROM, etc.
- Changed NOT_WORKING flag to IMPERFECT_GRAPHICS
  in 600XL, 65XE, 800XE and XEGS since they should now be 
  working to the same extent of the 800XL, and bugs shall be 
  reported.


as a consequence of the above changes, the new softlists a800.xml, a5200.xml
and xegs.xml are not compatible anymore with 0.154: keep the old xmls until
0.155 if you don't compile your own exe
2014-09-02 05:02:02 +00:00
Fabio Priuli
653694656f (MESS) a800.xml: A couple of new cartridge additions. [K1W1] 2013-04-05 06:53:22 +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
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
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
fba7666294 (MESS) ibm5150.xml: Added another PC Booter. [K1W1]
(MESS) a800.xml: Added a couple of prototypes. [K1W1]

(MESS) xegs.xml: moved here a few xegs repro carts which were in the a800 list, from K1W1. no whatsnew.
2012-10-02 07:39:36 +00:00
Miodrag Milanovic
960ae0c0de Sync software lists from MESS into hash (no whatsnew) 2012-08-21 10:47:55 +00:00