Commit Graph

100 Commits

Author SHA1 Message Date
quasiscroto
6e2678a4f6 more metadata corrections 2020-06-07 10:49:23 -07: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
4c5f229a2b (nw) gameboy.xml : removed invalid characters 2020-02-04 21:55:49 +11:00
quasiscroto
674d092afe
Add files via upload (#6220) 2020-01-29 10:17:23 -05:00
Vas Crabb
826db8a22b srcclean (nw) 2019-12-21 15:15:32 +11:00
Vas Crabb
d506479fdd minimaws: load and index some software list data (no way to display it yet)
also fix up some software lists with duplicate part features (nw)
2019-12-15 00:19:29 +11:00
Scott Stone
0c693c73cb gameboy.xml: Fixed a small format issue (nw) 2019-12-09 22:13:04 -05:00
Vas Crabb
ecde9c07b7 gameboy.xml: rename 'compatibility' feature to 'enhancement' 2019-12-10 12:32:23 +11:00
Rebecca Wallander
20f63f5009 Update gameboy.xml (#5775)
* gameboy.xml - Update with info from No-Intro - A

* gameboy.xml - Update with info from No-Intro - B

* gameboy.xml - Update with info from No-Intro - C

* gameboy.xml - Update with info from No-Intro - D

* gameboy.xml - Update with info from No-Intro - E-F

* gameboy.xml - Update with info from No-Intro - G

* gameboy.xml - Update with info from No-Intro - H

* gameboy.xml - Update with info from No-Intro - I

* gameboy.xml - Update with info from No-Intro - J

* gameboy.xml - Update with info from No-Intro - K

* gameboy.xml - Update with info from No-Intro - L

* gameboy.xml - Update with info from No-Intro - M

* gameboy.xml - Update with info from No-Intro - N

* gameboy.xml - More documenetation of GB carts

* gameboy.xml - Document many more carts

* gameboy.xml - Update with info from No-Intro - P-Q

* gameboy.xml - Update with info from No-Intro - R

* gameboy.xml - Update with info from No-Intro - S

* More gameboy clean

* SGB info added to all

* SGB info added to all

* change endings, run formatter

* I think I fixed the broken indent

* But I also forgot to save

* revert commit 25e931611d31ab3de16db077e34dbdf00fea4282

* Remove tab/space mix

* superfluous space

* make compatibility a feature
2019-12-10 12:25:58 +11:00
Scott Stone
1d3ecff45d vz_snap.xml: dtd validation fix (nw)
Many assorted XML files fixed for errant spaces, missing linefeed, improper format, and other oddness (nw)
2019-10-06 21:12:33 -04:00
Robbbert
cf0ac1bfae (nw) f,g*.xml : removed offset=0 2019-05-16 14:35:34 +10:00
ClawGrip
b327e2f989
gameboy.xml: New NOT_WORKING software list addition
---------------------------------
Game Boy Test Cartridge (Euro, USA)
2019-05-10 19:08:19 +02: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
ClawGrip
c8d551a362 Fix typo (nw) (#4805) 2019-03-23 16:27:07 +01:00
ClawGrip
d3f7794c36
gameboy.xml: Add alternate game serials (nw) 2019-01-03 16:54:59 +01:00
Vas Crabb
f99c502820 srcclean and fixup (nw) 2018-11-25 11:49:51 +11:00
ClawGrip
d03a5a7190
Update carts hardware info (nw) 2018-11-21 21:51:39 +01:00
ClawGrip
a11e9eafcf Add notes about "Barcode Boy" and "GBKiss" compatible games (nw) (#4254)
* Add notes about "Barcode Boy" and "GBKiss" compatible games (nw)

* Small correction (nw)
2018-11-09 09:47:08 -05:00
Vas Crabb
e1ffc337ff srcclean and manual fixup (nw) 2018-08-26 13:50:14 +10:00
Rebecca Wallander
bacce2c5ba gameboy.xml - Add some documentation research from No-Intro 2018-08-20 12:29:19 +02:00
Risugami
ba1da30df2 Gameboy camera rom functional (#3442)
* cleaned up midvunit inputs and outputs. cleaned up seattle outputs.

* better motion inputs and sorted main buttons for midvunit

* keep case the same

* removed runtime tagmap lookup

* gameboy camera functional
2018-04-16 22:35:03 -04:00
ClawGrip
46eddc8ae7 Regional game names fixes (Spanish special characters)
Checked against emu and with original cart on real hardware
2018-03-27 10:06:24 +11:00
Vas Crabb
ba3d0a88d6 srcclean (nw) 2017-07-23 13:29:00 +10:00
Tauwasser
c33f141c53 gameboy: fix SGB VRAM transfers (#2504)
* gameboy.xml: remove misleading comment

Sachen 4B-003 was recently added

Signed-off-by: Tauwasser <tauwasser@tauwasser.eu>

* gameboy: fix Super Game Boy VRAM transfer

A basic implementation of VRAM transfer. It fixes a number of games and removes
the SGB border hack. However, it's very likely that the bahvior is much more
complex. The old implementation was good enough for the majority of games,
so this should suffice until such time when SGB is implemented on top of SNES.

The attribute data was resized to 4096 bytes, so a whole VRAM transfer can take place
even though only 4050 bytes are used. The idea is that the whole 4096 bytes are
_probably_ transferred to WRAM and a game might theoretically upload a small executable
and use that data. However, running native SNES code is currently unsupported anyway.

Signed-off-by: Tauwasser <tauwasser@tauwasser.eu>

* gameboy: various code style/comment fixes

 - return GB_MBC_NONE instead of magic 0 value
 - add MLT_REQ case in sgb code and mention where it's actually handled
 - add PAL_PRI to list of known SGB commands (not implemented)
 - fix two comments

Signed-off-by: Tauwasser <tauwasser@tauwasser.eu>

* gameboy: coding style fixes for gb_lcd

Signed-off-by: Tauwasser <tauwasser@tauwasser.eu>
2017-07-22 12:40:09 -04:00
Tauwasser
7aad252b34 Gameboy v8 (#2477)
Miscellaneous Game Boy changes:
* gameboy: add Super Chinese Land 1.2.3' to MBC1 Collection check code
* gameboy: fix MMM01 zero-adjust logic for ROM bank

New working software list additions
--------------------------------
* gameboy.xml: Sachen 4 in 1 (Euro, 4B-003) [Tauwasser]
2017-07-15 14:17:28 +10:00
Tauwasser
a8ef5381bf gameboy.xml: clean up Gowin information
Add information from archived Gowin website as well as Gowin catalogue

Signed-off-by: Tauwasser <tauwasser@tauwasser.eu>
2017-06-21 15:27:40 +02:00
Vas Crabb
dac6dc4f62 srcclean (nw) 2017-04-23 12:27:42 +10:00
Scott Stone
e3de7849b2 gameboy.xml: Added double cart Song of the Pipa / Magic Ball (NOT WORKING) [James, TeamEurope and Tauwasser] 2017-03-26 21:13:30 -04:00
sparrowred
0f96900b29 correct clone relationship for zoopj (nw) 2016-12-23 14:57:21 +01:00
sparrowred
3cd0e74eb4 reverted last change (nw) 2016-12-23 14:49:39 +01:00
sparrowred
d0b0de1aec Merge remote-tracking branch 'upstream/master' 2016-12-23 14:48:09 +01:00
sparrowred
c0561727b4 correct clone relationship for zoopj (nw) 2016-12-23 14:14:32 +01:00
Justin Kerk
422e9978d9 New WORKING software list additions
-----------------------------------
gameboy.xml: Pokémon - Cock Version (Bootleg) [Zeipher]
2016-10-19 08:30:50 -07:00
etabeta78
c021c962b5 now that we document (some) pcb, it makes a lot of sense
to include Tauwasser's notes. nw.
2016-06-03 11:57:04 +02:00
etabeta78
b8ea3937b0 clean up. nw. 2016-06-02 11:50:01 +02:00
etabeta78
f47c89d9bf added more info to pippin.xml and a couple of additional
PCBs info in gameboy.xml. nw.
2016-05-30 07:22:58 +02:00
etabeta78
809d20439c Merge pull request #896 from Tauwasser/gameboy_v5
Gameboy Changes (M161, MMM01 support)
2016-05-25 20:14:35 +02:00
Miodrag Milanovic
68785dccfe Cleanups and version bump 2016-05-25 08:19:21 +02:00
Tauwasser
a4f8bef6e7 Gameboy: clean-up of Sachen ROM support
Signed-off-by: Tauwasser <tauwasser@tauwasser.eu>
2016-05-24 17:01:14 +02:00
Tauwasser
9cadcbf829 Gameboy: add correct M161 implementation
Signed-off-by: Tauwasser <tauwasser@tauwasser.eu>
2016-05-24 14:06:17 +02:00
Tauwasser
765f625779 Gameboy: remove M12 from M161 mapper designation
M161 is used as mapper, M12 is just a PCB revision.

M01 PCB uses a discrete ROM IC
M12 PCB uses a glob top COB ROM

Signed-off-by: Tauwasser <tauwasser@tauwasser.eu>
2016-05-24 12:47:20 +02:00
etabeta78
6d69c89500 another (and last for this development cycle) round of
naming consistency "enforcement", especially for saturn.xml. nw.
2016-05-24 06:47:23 +02:00
Scott Stone
ee4f0bb6a4 Fix for megadriv.xml duplicate publisher and numerous format fixes for recent XML additions and changes (nw) 2016-05-17 14:23:10 -04:00
etabeta78
c1c93b569b gameboy.xml: Finally started documenting Game Boy PCBs,
based on no-intro and Tauwasser's pictures [Fabio Priuli]
2016-05-16 22:39:47 +02:00
etabeta78
1aee00307f misc info updates and a couple of redumps that I missed
earlier. nw.
2016-05-09 11:52:40 +02:00
etabeta78
b3c5e8d324 many more from my backlog. in particular: replaced Teshu Budui 2
(aka Terrifying 9/11) hacked GBC dump with the correct one,
courtesy of Taizou, and fixed Policeman NES graphical emulation.
nw.
2016-05-06 07:59:42 +02:00
sparrowred
1a5561dab6 fixed whitespace for publishers and descriptions in softwarelist xmls (nw) 2015-10-28 11:40:10 +01:00
etabeta78
45193e8451 (MESS) softlist: added a bunch of new dumps from various sources, and
improved consistency across a few lists. nw.
2015-04-22 22:35:15 +02:00