diff --git a/games/3d-kirbys-adventure/game.dat b/games/3d-kirbys-adventure/game.dat index 87b9f0c..416700d 100644 --- a/games/3d-kirbys-adventure/game.dat +++ b/games/3d-kirbys-adventure/game.dat @@ -15,7 +15,7 @@ region = "eur" release_date = "2011-11-17" [[ releases ]] -title = "000400000004e800" +title = "000400000004E800" region = "jpn" release_date = "2012-04-25" diff --git a/games/bravely-default/game.dat b/games/bravely-default/game.dat index c3b25f4..4798b28 100644 --- a/games/bravely-default/game.dat +++ b/games/bravely-default/game.dat @@ -5,22 +5,22 @@ needs_system_files = true needs_shared_font = false [[ releases ]] -title = "00040000000fc500" +title = "00040000000FC500" region = "usa" release_date = "2014-02-07" [[ releases ]] -title = "00040000000fc600" +title = "00040000000FC600" region = "eur" release_date = "2013-12-06" [[ releases ]] -title = "000400000005e900" +title = "000400000005E900" region = "jpn" release_date = "2012-10-11" [[ testcases ]] -title = "00040000000fc600" +title = "00040000000FC600" compatibility = "1" date = "2017-09-07" version = "HEAD-e0cdaf7" diff --git a/games/club-nintendo-picross/game.dat b/games/club-nintendo-picross/game.dat index 686c5b7..73de4d2 100644 --- a/games/club-nintendo-picross/game.dat +++ b/games/club-nintendo-picross/game.dat @@ -5,12 +5,12 @@ needs_shared_font = false game_type = "eshop" [[ releases ]] -title = "00040000000bb500" +title = "00040000000BB500" region = "jpn" release_date = "2012-09-13" [[ testcases ]] -title = "00040000000bb500" +title = "00040000000BB500" compatibility = "0" date = "2017-06-05" version = "HEAD-8f0a23b" diff --git a/games/cursed-castilla-ex/game.dat b/games/cursed-castilla-ex/game.dat index 8c9280b..43cab09 100644 --- a/games/cursed-castilla-ex/game.dat +++ b/games/cursed-castilla-ex/game.dat @@ -6,12 +6,12 @@ needs_shared_font = false game_type = "eshop" [[releases]] -title = "00040000001bf000" +title = "00040000001BF000" region = "usa" release_date = "2017-07-13" [[testcases]] -title = "00040000001bf000" +title = "00040000001BF000" compatibility = "4" date = "2017-10-18" version = "HEAD-e9d1e8c" diff --git a/games/dr-mario-miracle-cure/game.dat b/games/dr-mario-miracle-cure/game.dat index e55c35a..49cee51 100644 --- a/games/dr-mario-miracle-cure/game.dat +++ b/games/dr-mario-miracle-cure/game.dat @@ -5,12 +5,12 @@ needs_shared_font = false game_type = "eshop" [[ releases ]] -title = "000400000013bb00" +title = "000400000013BB00" region = "all" release_date = "2015-05-31" [[ testcases ]] -title = "000400000013bb00" +title = "000400000013BB00" compatibility = "1" date = "2017-06-08" version = "HEAD-8c22334" diff --git a/games/gaki-no-tsukai/game.dat b/games/gaki-no-tsukai/game.dat index b9fe023..4d14244 100644 --- a/games/gaki-no-tsukai/game.dat +++ b/games/gaki-no-tsukai/game.dat @@ -4,12 +4,12 @@ needs_system_files = false needs_shared_font = false [[ releases ]] -title = "000400000017d800" +title = "000400000017D800" region = "jpn" release_date = "2015-12-17" [[ testcases ]] -title = "000400000017d800" +title = "000400000017D800" compatibility = "0" date = "2017-06-10" version = "HEAD-8f0a23b" diff --git a/games/hey-pikmin/game.dat b/games/hey-pikmin/game.dat index 2f8a9c5..ce5cc9b 100644 --- a/games/hey-pikmin/game.dat +++ b/games/hey-pikmin/game.dat @@ -4,12 +4,12 @@ needs_system_files = false needs_shared_font = true [[releases]] -title = "00040000001af800" +title = "00040000001AF800" region = "eur" release_date = "2017-07-13" [[testcases]] -title = "00040000001af800" +title = "00040000001AF800" compatibility = "1" date = "2017-09-11" version = "HEAD-5880771" diff --git a/games/nemuneko-puzzle/game.dat b/games/nemuneko-puzzle/game.dat index 11bee11..2d8f06c 100644 --- a/games/nemuneko-puzzle/game.dat +++ b/games/nemuneko-puzzle/game.dat @@ -5,12 +5,12 @@ needs_shared_font = false game_type = "eshop" [[ releases ]] -title = "00040000001b6700" +title = "00040000001B6700" region = "jpn" release_date = "2017-01-25" [[ testcases ]] -title = "00040000001b6700" +title = "00040000001B6700" compatibility = "0" date = "2017-06-10" version = "HEAD-9a8a90b" diff --git a/games/picross-3d-round-2/game.dat b/games/picross-3d-round-2/game.dat index 0c5f883..9020408 100644 --- a/games/picross-3d-round-2/game.dat +++ b/games/picross-3d-round-2/game.dat @@ -5,12 +5,12 @@ needs_system_files = false needs_shared_font = false [[ releases ]] -title = "0004000000187d00" +title = "0004000000187D00" region = "usa" release_date = "2016-09-01" [[ testcases ]] -title = "0004000000187d00" +title = "0004000000187D00" compatibility = "4" date = "2017-06-05" version = "HEAD-8f0a23b" diff --git a/games/picross-e/game.dat b/games/picross-e/game.dat index 1cd6432..68acbf7 100644 --- a/games/picross-e/game.dat +++ b/games/picross-e/game.dat @@ -5,12 +5,12 @@ needs_shared_font = false game_type = "eshop" [[ releases ]] -title = "00040000000e5d00" +title = "00040000000E5D00" region = "usa" release_date = "2013-06-13" [[ releases ]] -title = "00040000000e9200" +title = "00040000000E9200" region = "eur" release_date = "2012-09-06" @@ -20,7 +20,7 @@ region = "jpn" release_date = "2011-06-27" [[ testcases ]] -title = "00040000000e9200" +title = "00040000000E9200" compatibility = "0" date = "2017-06-05" version = "HEAD-8f0a23b" diff --git a/games/picross-e2/game.dat b/games/picross-e2/game.dat index d8d1604..7b50e6a 100644 --- a/games/picross-e2/game.dat +++ b/games/picross-e2/game.dat @@ -5,12 +5,12 @@ needs_shared_font = false game_type = "eshop" [[ releases ]] -title = "00040000000cd400" +title = "00040000000CD400" region = "usa" release_date = "2013-07-15" [[ releases ]] -title = "00040000000cbc00" +title = "00040000000CBC00" region = "eur" release_date = "2013-01-24" @@ -20,7 +20,7 @@ region = "jpn" release_date = "2011-12-28" [[ testcases ]] -title = "00040000000cbc00" +title = "00040000000CBC00" compatibility = "0" date = "2017-06-05" version = "HEAD-8f0a23b" diff --git a/games/picross-e3/game.dat b/games/picross-e3/game.dat index f9d5ef6..f31ed13 100644 --- a/games/picross-e3/game.dat +++ b/games/picross-e3/game.dat @@ -5,7 +5,7 @@ needs_shared_font = false game_type = "eshop" [[ releases ]] -title = "0004000000101d00" +title = "0004000000101D00" region = "usa" release_date = "2013-10-03" @@ -15,7 +15,7 @@ region = "eur" release_date = "2013-12-14" [[ releases ]] -title = "00040000000eea00" +title = "00040000000EEA00" region = "jpn" release_date = "2013-06-12" diff --git a/games/picross-e4/game.dat b/games/picross-e4/game.dat index cf160cb..b7c5c8d 100644 --- a/games/picross-e4/game.dat +++ b/games/picross-e4/game.dat @@ -15,7 +15,7 @@ region = "eur" release_date = "2014-05-22" [[ releases ]] -title = "000400000010f000" +title = "000400000010F000" region = "jpn" release_date = "2013-11-20" diff --git a/games/picross-e5/game.dat b/games/picross-e5/game.dat index 2a12859..bc70c0a 100644 --- a/games/picross-e5/game.dat +++ b/games/picross-e5/game.dat @@ -10,7 +10,7 @@ region = "usa" release_date = "2014-11-13" [[ releases ]] -title = "000400000014d200" +title = "000400000014D200" region = "eur" release_date = "2014-11-13" diff --git a/games/picross-e6/game.dat b/games/picross-e6/game.dat index e6589f7..79b950a 100644 --- a/games/picross-e6/game.dat +++ b/games/picross-e6/game.dat @@ -5,17 +5,17 @@ needs_shared_font = false game_type = "eshop" [[ releases ]] -title = "000400000016ef00" +title = "000400000016EF00" region = "usa" release_date = "2015-08-06" [[ releases ]] -title = "000400000016e800" +title = "000400000016E800" region = "eur" release_date = "2015-06-30" [[ testcases ]] -title = "000400000016ef00" +title = "000400000016EF00" compatibility = "0" date = "2017-06-05" version = "HEAD-8f0a23b" diff --git a/games/picross-e7/game.dat b/games/picross-e7/game.dat index b9e4db1..21e156c 100644 --- a/games/picross-e7/game.dat +++ b/games/picross-e7/game.dat @@ -5,17 +5,17 @@ needs_shared_font = false game_type = "eshop" [[ releases ]] -title = "00040000001adb00" +title = "00040000001ADB00" region = "usa" release_date = "2016-12-15" [[ releases ]] -title = "00040000001ad600" +title = "00040000001AD600" region = "eur" release_date = "2016-12-22" [[ testcases ]] -title = "00040000001adb00" +title = "00040000001ADB00" compatibility = "0" date = "2017-06-05" version = "HEAD-8f0a23b" diff --git a/games/pokemon-mystery-dungeon-gates-to-infinity/game.dat b/games/pokemon-mystery-dungeon-gates-to-infinity/game.dat index d8455de..c2ab6c0 100644 --- a/games/pokemon-mystery-dungeon-gates-to-infinity/game.dat +++ b/games/pokemon-mystery-dungeon-gates-to-infinity/game.dat @@ -5,17 +5,17 @@ needs_system_files = false needs_shared_font = false [[ releases ]] -title = "00040000000ba800" +title = "00040000000BA800" region = "usa" release_date = "2013-03-24" [[ releases ]] -title = "00040000000ba900" +title = "00040000000BA900" region = "eur" release_date = "2013-05-17" [[ testcases ]] -title = "00040000000ba900" +title = "00040000000BA900" compatibility = "1" date = "2017-06-05" version = "HEAD-8f0a23b" diff --git a/games/pokemon-picross/game.dat b/games/pokemon-picross/game.dat index 23fbccf..2ae49fe 100644 --- a/games/pokemon-picross/game.dat +++ b/games/pokemon-picross/game.dat @@ -6,12 +6,12 @@ needs_shared_font = false game_type = "eshop" [[ releases ]] -title = "000400000017c100" +title = "000400000017C100" region = "all" release_date = "2015-12-02" [[ testcases ]] -title = "000400000017c100" +title = "000400000017C100" compatibility = "1" date = "2017-06-05" version = "HEAD-8f0a23b" diff --git a/games/shovel-knight/game.dat b/games/shovel-knight/game.dat index 9cfa475..9b8d3ee 100644 --- a/games/shovel-knight/game.dat +++ b/games/shovel-knight/game.dat @@ -9,12 +9,12 @@ region = "jpn" release_date = "2015-11-03" [[releases]] -title = "0004000000119a00" +title = "0004000000119A00" region = "usa" release_date = "2015-11-03" [[releases]] -title = "000400000012cb00" +title = "000400000012CB00" region = "eur" release_date = "2015-11-03" @@ -29,7 +29,7 @@ os = "Windows 7 7601" author = "flaviculpus" [[testcases]] -title = "0004000000119a00" +title = "0004000000119A00" compatibility = "0" date = "2017-10-24" version = "HEAD-e9d1e8c" diff --git a/games/smb-the-lost-levels/game.dat b/games/smb-the-lost-levels/game.dat index 7db9895..4c285d9 100644 --- a/games/smb-the-lost-levels/game.dat +++ b/games/smb-the-lost-levels/game.dat @@ -7,22 +7,22 @@ game_type = "vc" vc_system = "nes" [[ releases ]] -title = "0004000000093e00" +title = "0004000000093E00" region = "jpn" release_date = "2012-07-25" [[ releases ]] -title = "0004000000094e00" +title = "0004000000094E00" region = "usa" release_date = "2012-12-27" [[ releases ]] -title = "0004000000094f00" +title = "0004000000094F00" region = "eur" release_date = "2012-12-27" [[ testcases ]] -title = "0004000000093e00" +title = "0004000000093E00" compatibility = "1" date = "2017-06-05" version = "HEAD-8c22334" diff --git a/games/smb-the-lost-levels/savefiles/World-3-2.dat b/games/smb-the-lost-levels/savefiles/World-3-2.dat index 2090bb3..5843d97 100644 --- a/games/smb-the-lost-levels/savefiles/World-3-2.dat +++ b/games/smb-the-lost-levels/savefiles/World-3-2.dat @@ -1,4 +1,4 @@ title = "World 3-2" description = "Restore Point at World 3-2 with 5 Lives and 65 Coins, Luigi Game and with Small Fire Luigi" author = "Clector" -title_id = "0004000000093e00" +title_id = "0004000000093E00" diff --git a/games/sonic-lost-world/game.dat b/games/sonic-lost-world/game.dat index 7e076a2..3868947 100644 --- a/games/sonic-lost-world/game.dat +++ b/games/sonic-lost-world/game.dat @@ -4,12 +4,12 @@ needs_system_files = false needs_shared_font = false [[releases]] -title = "00040000000c8c00" +title = "00040000000C8C00" region = "usa" release_date = "2013-10-29" [[testcases]] -title = "00040000000c8c00" +title = "00040000000C8C00" compatibility = "5" date = "2017-08-17" version = "HEAD-21204ba" diff --git a/games/super-mario-bros-3/game.dat b/games/super-mario-bros-3/game.dat index 4650dc7..1941f28 100644 --- a/games/super-mario-bros-3/game.dat +++ b/games/super-mario-bros-3/game.dat @@ -7,22 +7,22 @@ game_type = "vc" vc_system = "nes" [[ releases ]] -title = "000400000006e700" +title = "000400000006E700" region = "jpn" release_date = "2013-01-01" [[ releases ]] -title = "000400000006e900" +title = "000400000006E900" region = "eur" release_date = "2013-12-26" [[ releases ]] -title = "000400000006e800" +title = "000400000006E800" region = "usa" release_date = "2014-04-17" [[ testcases ]] -title = "000400000006e700" +title = "000400000006E700" compatibility = "1" date = "2017-06-05" version = "HEAD-8c22334" diff --git a/games/tetris/game.dat b/games/tetris/game.dat index 31b181c..7129d46 100644 --- a/games/tetris/game.dat +++ b/games/tetris/game.dat @@ -7,12 +7,12 @@ game_type = "vc" vc_system = "gb" [[ releases ]] -title = "000400000007e700" +title = "000400000007E700" region = "usa" release_date = "2011-12-22" [[ testcases ]] -title = "000400000007e700" +title = "000400000007E700" compatibility = "1" date = "2017-06-04" version = "HEAD-8f0a23b" diff --git a/validation/app.js b/validation/app.js index a4cf8a8..885a37a 100644 --- a/validation/app.js +++ b/validation/app.js @@ -201,7 +201,7 @@ function validateTOML(path) { validateContents(release, "title", field => { if (field.length !== 16) { validationError(`Release #${i + 1}: Game title ID has an invalid length`); - } else if (!field.match(/^([a-zA-Z0-9]){16}$/)) { + } else if (!field.match(/^([A-Z0-9]){16}$/)) { validationError(`Release #${i + 1}: Game title ID is not a hexadecimal ID`); } }); @@ -225,7 +225,7 @@ function validateTOML(path) { validateContents(testcase, "title", field => { if (field.length !== 16) { validationError(`Testcase #${i + 1}: Game title ID has an invalid length`); - } else if (!field.match(/^([a-zA-Z0-9]){16}$/)) { + } else if (!field.match(/^([A-Z0-9]){16}$/)) { validationError(`Testcase #${i + 1}: Game title ID is not a hexadecimal ID`); } }); @@ -261,9 +261,6 @@ function validateTOML(path) { validationError("Test case dates are not properly sorted in ascending order."); }); } - /* else { - validationError("No testcases.") - }*/ // We only check these if we have a known test result (we cannot know if a game needs // resources if it doesn't even run!) @@ -291,7 +288,7 @@ function validateSaveTOML(path) { validateContents(tomlDoc, "title_id", field => { if (field.length !== 16) { validationError(`Game save data: Game title ID has an invalid length`); - } else if (!field.match(/^([a-zA-Z0-9]){16}$/)) { + } else if (!field.match(/^([A-Z0-9]){16}$/)) { validationError(`Game save data: Game title ID is not a hexadecimal ID`); } });