From 9af601f9de422a7005832f1452c338cb9c06c8f8 Mon Sep 17 00:00:00 2001 From: ZetaDesigns Date: Tue, 21 Nov 2017 19:58:23 +0100 Subject: [PATCH] USUM support --- Pokemon_Randomizing-Cartridge-UltraMoon.gm9 | 13 +++++++++++++ Pokemon_Randomizing-Cartridge-UltraSun.gm9 | 13 +++++++++++++ Pokemon_Randomizing-Digital-UltraMoon.gm9 | 13 +++++++++++++ Pokemon_Randomizing-Digital-UltraSun.gm9 | 13 +++++++++++++ 4 files changed, 52 insertions(+) create mode 100644 Pokemon_Randomizing-Cartridge-UltraMoon.gm9 create mode 100644 Pokemon_Randomizing-Cartridge-UltraSun.gm9 create mode 100644 Pokemon_Randomizing-Digital-UltraMoon.gm9 create mode 100644 Pokemon_Randomizing-Digital-UltraSun.gm9 diff --git a/Pokemon_Randomizing-Cartridge-UltraMoon.gm9 b/Pokemon_Randomizing-Cartridge-UltraMoon.gm9 new file mode 100644 index 0000000..cdaac75 --- /dev/null +++ b/Pokemon_Randomizing-Cartridge-UltraMoon.gm9 @@ -0,0 +1,13 @@ +b# author: zeta +set ERRORMSG "Dumping failed.\nUnknown error." +set SUCCESSMSG "Dumping succeeded!\nFiles are in gm9/out" +echo "PKMN Randomizer script\nby Zeta\nTYPE: GAMECART\nGAME: ULTRAMOON" +ask "Is this corrrect?" +set ERRORMSG "Dumping failed.\nMounting the 3ds file failed" +find C:/*.trim.3ds CARTRIDGE +imgmount $[CARTRIDGE] +mkdir 0:/gm9/out/romfs +mkdir 0:/gm9/out/exefs +set ERRORMSG "Dumping failed.\nCopying romfs/exefs failed." +cp G:/content0.game/romfs/ 0:/gm9/out/romfs +cp G:/content0.game/exefs/ 0:/gm9/out/exefs diff --git a/Pokemon_Randomizing-Cartridge-UltraSun.gm9 b/Pokemon_Randomizing-Cartridge-UltraSun.gm9 new file mode 100644 index 0000000..1c4749b --- /dev/null +++ b/Pokemon_Randomizing-Cartridge-UltraSun.gm9 @@ -0,0 +1,13 @@ +b# author: zeta +set ERRORMSG "Dumping failed.\nUnknown error." +set SUCCESSMSG "Dumping succeeded!\nFiles are in gm9/out" +echo "PKMN Randomizer script\nby Zeta\nTYPE: GAMECART\nGAME: ULTRASUN" +ask "Is this corrrect?" +set ERRORMSG "Dumping failed.\nMounting the 3ds file failed" +find C:/*.trim.3ds CARTRIDGE +imgmount $[CARTRIDGE] +mkdir 0:/gm9/out/romfs +mkdir 0:/gm9/out/exefs +set ERRORMSG "Dumping failed.\nCopying romfs/exefs failed." +cp G:/content0.game/romfs/ 0:/gm9/out/romfs +cp G:/content0.game/exefs/ 0:/gm9/out/exefs diff --git a/Pokemon_Randomizing-Digital-UltraMoon.gm9 b/Pokemon_Randomizing-Digital-UltraMoon.gm9 new file mode 100644 index 0000000..ff46cd0 --- /dev/null +++ b/Pokemon_Randomizing-Digital-UltraMoon.gm9 @@ -0,0 +1,13 @@ +# author: zeta +set ERRORMSG "Dumping failed." +set SUCCESSMSG "Dumping succeeded!\nFiles are in gm9/out" +echo "PKMN Randomizer script\nby Zeta\nTYPE: DIGITAL\nGAME: ULTRASUN" +ask "Is this corrrect?" +set ERRORMSG "Dumping failed.\nMounting the 3ds file failed." +filesel "Please select the correct .app file" A:/title/00040000/001b5100/content/*.app GAME +imgmount $[GAME] +mkdir 0:/gm9/out/romfs +mkdir 0:/gm9/out/exefs +set ERRORMSG "Dumping failed.\nCopying romfs/exefs failed." +cp G:/romfs/ 0:/gm9/out/romfs +cp G:/exefs/ 0:/gm9/out/exefs \ No newline at end of file diff --git a/Pokemon_Randomizing-Digital-UltraSun.gm9 b/Pokemon_Randomizing-Digital-UltraSun.gm9 new file mode 100644 index 0000000..5d7235d --- /dev/null +++ b/Pokemon_Randomizing-Digital-UltraSun.gm9 @@ -0,0 +1,13 @@ +# author: zeta +set ERRORMSG "Dumping failed." +set SUCCESSMSG "Dumping succeeded!\nFiles are in gm9/out" +echo "PKMN Randomizer script\nby Zeta\nTYPE: DIGITAL\nGAME: ULTRASUN" +ask "Is this corrrect?" +set ERRORMSG "Dumping failed.\nMounting the 3ds file failed." +filesel "Please select the correct .app file" A:/title/00040000/001b5000/content/*.app GAME +imgmount $[GAME] +mkdir 0:/gm9/out/romfs +mkdir 0:/gm9/out/exefs +set ERRORMSG "Dumping failed.\nCopying romfs/exefs failed." +cp G:/romfs/ 0:/gm9/out/romfs +cp G:/exefs/ 0:/gm9/out/exefs \ No newline at end of file