Commit Graph

63 Commits

Author SHA1 Message Date
AJR
19b87b747b c64_cart: Workaround for "Unknown slot option 'ar2' in slot 'exp'" with many unsupported cartridge types 2020-04-16 21:14:27 -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
Vas Crabb
edec6b6d9e (nw) restore zero offsets in regions where more than one ROM file is loaded, and remove a few zero offsets from disk regions and regions loading a single ROM file 2019-09-24 02:45:41 +10:00
hap
d09e5fa603 chessm/finalchs is PC XT/AT software, so move to ibm5150.xml (nw)
New working software list additions
-----------------------------------
ibm5150: The ChessMachine (The ChessMachine (v2.1, Gideon v1.7)) [hap, fhub]
2019-06-05 22:04:40 +02:00
hap
8660a20178 finalchs: company official name is Tasc anyway, not TASC (nw) 2019-05-24 00:49:13 +02:00
hap
f560cef0a4 New working software list additions
-----------------------------------
ibm5170: The Final ChessCard [hap]
2019-05-23 23:23:45 +02:00
Robbbert
134944e4e6 (nw) c*.xml : removed not needed offset=0 2019-05-16 13:11:31 +10:00
hap
9300a0c518 c64 fcc: rename roms (nw) 2019-05-13 16:41:31 +02:00
hap
87f72ffe10 c64 fcc: don't use romh for external rom (nw) 2019-05-13 16:12:16 +02:00
hap
f748a7fe59 Software list items promoted to working
---------------------------------------
c64_cart: The Final ChessCard (Ger, v1.0) [hap]

New working software list additions
-----------------------------------
c64_cart: The Final ChessCard (Eng, v1.0) [hap, Ratuv]
c64_cart: The Final ChessCard (Ger, v1.5) [hap, DDI]
2019-05-12 01:28:02 +02:00
Scott Stone
8cae70c9b1 Made a pass over the source to eliminate uppercase hex in hashes (nw) 2018-07-13 21:15:33 -04:00
Curt Coder
4485c0c7eb c64_cart.xml: Added accompanying disk to 4040+Fast Hack'em cartridge. [Curt Coder] 2017-08-28 21:17:58 +03:00
Curt Coder
73efab3f3e c64_cart.xml, c128_cart.xml: Added some diagnostic carts. [World of Jani] 2016-02-18 22:36:28 +02:00
Curt Coder
ee9bca746e c64_cart.xml: Added KoalaPainter. [Curt Coder] 2016-01-17 16:42:33 +02:00
Curt Coder
9ee29390ad Fixed typo. (nw) 2015-05-21 16:06:41 +03:00
Curt Coder
f4a5975d4d (MESS) c64_cart.xml: Added Diagnose64 cartridge. [Ray Carlsen] 2015-04-12 13:09:11 +03: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
Alex W. Jackson
3b017bd93f c64.xml: remove useless chasehq2 joined ROM (nw) 2014-10-19 09:10:16 +00:00
Curt Coder
6ec29c5c30 (MESS) c64_cart.xml: Added another version of Super Snapshot 5. [Malice] 2014-07-20 06:19:53 +00:00
Oliver Stöneberg
5c0a2624c6 (MESS) more unsupported software flagging (nw) 2014-06-05 10:46:50 +00:00
Oliver Stöneberg
5cd95bf6f6 (MESS) more unsupported software flagging (nw) 2014-06-04 14:43:21 +00:00
Oliver Stöneberg
313146fcaf (MESS) flagged some software as unsupported (nw) 2014-06-04 14:18:38 +00:00
Curt Coder
93a0352d1c c64_cart.xml: Added Insta-Calc v2.0. [Curt Coder] 2014-02-27 16:30:27 +00:00
Curt Coder
2777a10ec5 (MESS) c64: Fixed Magic Formel cartridge. [Curt Coder] 2014-01-08 15:38:45 +00:00
Miodrag Milanovic
44d5c1b8ab Cleanups and version bump 2013-11-05 06:59:51 +00:00
Curt Coder
d77a52f5e4 (MESS) c64: Triton Quick Disk WIP. (nw) 2013-10-14 18:01:59 +00:00
Curt Coder
b364eda107 (MESS) c64_cart.xml: Added PK-232 driver cartridge. [Curt Coder] 2013-10-13 20:31:09 +00:00
Curt Coder
ed44165efd (MESS) c64: Emulated the PARTNER 64 cartridge. [Curt Coder] 2013-09-22 10:22:35 +00:00
Curt Coder
67328a0ccd (MESS) c64: Implemented logic for PARTNER 64 cartridge. (nw) 2013-09-21 21:20:33 +00:00
Curt Coder
3edb1bb9b0 (MESS) c64: Added placeholder for PARTNER 64 cartridge. (nw) 2013-09-20 20:05:55 +00:00
Miodrag Milanovic
96aa5e1c08 Cleanups and version bump 2013-09-17 06:47:03 +00:00
Curt Coder
21c4aba60d (MESS) c64: Emulated the digital parts of the Magic Voice cartridge. Speech synthesis is not supported yet. [Curt Coder, Stefan Uhlmann] 2013-09-04 18:14:17 +00:00
Curt Coder
373f2ec13e (MESS) c64: Magic Voice WIP. (nw) 2013-08-29 13:34:09 +00:00
Curt Coder
268de4b9d0 (MESS) c64: Emulated the Wersi Wersiboard Music 64 / Siel CMK 49 Keyboard. [Curt Coder] 2013-08-28 18:24:46 +00:00
Miodrag Milanovic
1c05ccc93b Cleanups and version bump 2013-05-20 06:51:25 +00:00
Curt Coder
eac0827686 (MESS) c64: Added Super Snapshot family cartridge ROMs to the software list. [Curt Coder] 2013-05-15 20:40:50 +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
c6cd8a09c8 Cleanups and version bump 2013-04-09 06:46:57 +00:00
Curt Coder
54cf165752 (MESS) c64: Added some Polish cartridges. (nw) 2013-03-24 20:16: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
Curt Coder
8acbf9de2c (MESS) c64: Documentation update. (nw) 2013-02-12 15:00:40 +00:00
Curt Coder
60f43f04f4 (MESS) Softlist additions. (nw) 2013-02-11 15:09:25 +00:00
Miodrag Milanovic
a440a8e020 Cleanups and version bump 2013-02-11 07:44:56 +00:00
Curt Coder
ae951920f0 (MESS) c64: Added support for the VizaStar cartridge. [Curt Coder] 2013-02-10 19:58:50 +00:00
Curt Coder
e43b050866 (MESS) c64: Added dummy dataarea for dummy entries. (nw) 2013-02-02 08:20:50 +00:00
Curt Coder
30b6014d2d (MESS) Softlist additions. (nw) 2013-01-30 16:36:43 +00:00
Curt Coder
e2312fd2b9 (MESS) c64: Cartridge WIP. (nw) 2013-01-29 15:11:04 +00:00