diff --git a/Pokemon Randomizing-Cartridge-OmegaRuby.gm9 b/Pokemon Randomizing-Cartridge-OmegaRuby.gm9 deleted file mode 100644 index 36a2687..0000000 --- a/Pokemon Randomizing-Cartridge-OmegaRuby.gm9 +++ /dev/null @@ -1,17 +0,0 @@ -# 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: OMEGA RUBY" -set ERRORMSG "Dumping failed.\nMounting the 3ds file failed\nMake sure the cartridge is inserted" -imgmount C:/000400000011C400_v00.trim.3ds -set ERRORMSG "Dumping failed.\nCreating the folders failed.\nMake sure the SD is not locked" -mkdir 0:/gm9/out/romfsbase -mkdir 0:/gm9/out/exefs -set ERRORMSG "Dumping failed.\nCopying romfs/exefs failed.\nMake sure the correct cartridge is inserted" -cp G:/content0.game/romfs/ 0:/gm9/out/romfsbase -cp G:/content0.game/exefs/ 0:/gm9/out/exefs -echo "romfs and exefs dumping done\nDumping code.bin now." -set ERRORMSG "Dumping failed.\nDumping the update failed.\nIs there even an update?" -imgmount A:/title/0004000e/0011C400/content/00000004.app -cp G:/exefs 0:/gm9/out/exefs -cp G:/romfs 0:/gm9/out/romfs \ No newline at end of file diff --git a/Pokemon Randomizing-Cartridge-Sun.gm9 b/Pokemon Randomizing-Cartridge-Sun.gm9 deleted file mode 100644 index 7b50c5c..0000000 --- a/Pokemon Randomizing-Cartridge-Sun.gm9 +++ /dev/null @@ -1,16 +0,0 @@ -# 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: SUN" -set ERRORMSG "Dumping failed.\nMounting the 3ds file failed\nMake sure the cartridge is inserted" -imgmount C:/0000400000164800_v00.trim.3ds -set ERRORMSG "Dumping failed.\nCreating the folders failed.\nMake sure the SD is not locked" -mkdir 0:/gm9/out/romfs -mkdir 0:/gm9/out/exefs -set ERRORMSG "Dumping failed.\nCopying romfs/exefs failed.\nMake sure the correct cartridge is inserted" -cp G:/content0.game/romfs/ 0:/gm9/out/romfs -cp G:/content0.game/exefs/ 0:/gm9/out/exefs -echo "romfs and exefs dumping done\nDumping code.bin now." -set ERRORMSG "Dumping failed.\nDumping the update failed.\nIs there even an update?" -imgmount A:/title/0004000e/00164800/content/00000002.app -cp G:/exefs/.code 0:/gm9/out/exefs/.code \ No newline at end of file diff --git a/Pokemon Randomizing-Cartridge-X.gm9 b/Pokemon Randomizing-Cartridge-X.gm9 deleted file mode 100644 index 16190fe..0000000 --- a/Pokemon Randomizing-Cartridge-X.gm9 +++ /dev/null @@ -1,17 +0,0 @@ -# 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: X" -set ERRORMSG "Dumping failed.\nMounting the 3ds file failed\nMake sure the cartridge is inserted" -imgmount C:/0004000000055D00_v00.trim.3ds -set ERRORMSG "Dumping failed.\nCreating the folders failed.\nMake sure the SD is not locked" -mkdir 0:/gm9/out/romfs -mkdir 0:/gm9/out/exefs -set ERRORMSG "Dumping failed.\nCopying romfs/exefs failed.\nMake sure the correct cartridge is inserted" -cp G:/content0.game/romfs/ 0:/gm9/out/romfs -cp G:/content0.game/exefs/ 0:/gm9/out/exefs -echo "romfs and exefs dumping done\nDumping code.bin now." -set ERRORMSG "Dumping failed.\nDumping the update failed.\nIs there even an update?" -imgmount A:/title/0004000e/00055D00/content/00000004.app -cp G:/exefs 0:/gm9/out/exefs -cp G:/romfs 0:/gm9/out/romfs \ No newline at end of file diff --git a/Pokemon_Randomizing-Cartridge-AlphaSapphire.gm9 b/Pokemon_Randomizing-Cartridge-AlphaSapphire.gm9 new file mode 100644 index 0000000..f28c777 --- /dev/null +++ b/Pokemon_Randomizing-Cartridge-AlphaSapphire.gm9 @@ -0,0 +1,19 @@ +# author: zeta +set ERRORMSG "Dumping failed." +set SUCCESSMSG "Dumping succeeded!\nFiles are in gm9/out" +echo "PKMN Randomizer script\nby Zeta\nTYPE: GAMECART\nGAME: ALPHA SAPPHIRE" +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 +echo "RomFS and ExeFS dumping done\nDumping the update now." +set ERRORMSG "Dumping failed.\nDumping the update failed." +find A:/title/0004000e/0011C500/content/0000000?.app UPDATE +imgmount $[UPDATE] +cp G:/exefs 0:/gm9/out/exefs +cp G:/romfs 0:/gm9/out/romfs \ No newline at end of file diff --git a/Pokemon_Randomizing-Cartridge-Moon.gm9 b/Pokemon_Randomizing-Cartridge-Moon.gm9 new file mode 100644 index 0000000..d2bd111 --- /dev/null +++ b/Pokemon_Randomizing-Cartridge-Moon.gm9 @@ -0,0 +1,18 @@ +# 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: MOON" +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 +echo "RomFS and ExeFS dumping done\nDumping the update now." +set ERRORMSG "Dumping failed.\nDumping the update failed." +find A:/title/0004000e/00175E00/content/0000000?.app UPDATE +imgmount $[UPDATE] +cp G:/exefs/.code 0:/gm9/out/exefs/.code \ No newline at end of file diff --git a/Pokemon_Randomizing-Cartridge-OmegaRuby.gm9 b/Pokemon_Randomizing-Cartridge-OmegaRuby.gm9 new file mode 100644 index 0000000..d86af82 --- /dev/null +++ b/Pokemon_Randomizing-Cartridge-OmegaRuby.gm9 @@ -0,0 +1,19 @@ +# author: zeta +set ERRORMSG "Dumping failed." +set SUCCESSMSG "Dumping succeeded!\nFiles are in gm9/out" +echo "PKMN Randomizer script\nby Zeta\nTYPE: GAMECART\nGAME: OMEGA RUBY" +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 +echo "RomFS and ExeFS dumping done\nDumping the update now." +set ERRORMSG "Dumping failed.\nDumping the update failed." +find A:/title/0004000e/0011C400/content/0000000?.app UPDATE +imgmount $[UPDATE] +cp G:/exefs 0:/gm9/out/exefs +cp G:/romfs 0:/gm9/out/romfs \ No newline at end of file diff --git a/Pokemon_Randomizing-Cartridge-Sun.gm9 b/Pokemon_Randomizing-Cartridge-Sun.gm9 new file mode 100644 index 0000000..a3e2bb3 --- /dev/null +++ b/Pokemon_Randomizing-Cartridge-Sun.gm9 @@ -0,0 +1,18 @@ +# 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: SUN" +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 +echo "RomFS and ExeFS dumping done\nDumping the update now." +set ERRORMSG "Dumping failed.\nDumping the update failed." +find A:/title/0004000e/00164800/content/0000000?.app UPDATE +imgmount $[UPDATE] +cp G:/exefs/.code 0:/gm9/out/exefs/.code \ No newline at end of file diff --git a/Pokemon_Randomizing-Cartridge-X.gm9 b/Pokemon_Randomizing-Cartridge-X.gm9 new file mode 100644 index 0000000..14b65c4 --- /dev/null +++ b/Pokemon_Randomizing-Cartridge-X.gm9 @@ -0,0 +1,19 @@ +# author: zeta +set ERRORMSG "Dumping failed." +set SUCCESSMSG "Dumping succeeded!\nFiles are in gm9/out" +echo "PKMN Randomizer script\nby Zeta\nTYPE: GAMECART\nGAME: X" +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 +echo "RomFS and ExeFS dumping done\nDumping the update now." +set ERRORMSG "Dumping failed.\nDumping the update failed." +find A:/title/0004000e/00055D00/content/0000000?.app UPDATE +imgmount $[UPDATE] +cp G:/exefs 0:/gm9/out/exefs +cp G:/romfs 0:/gm9/out/romfs \ No newline at end of file diff --git a/Pokemon_Randomizing-Cartridge-Y.gm9 b/Pokemon_Randomizing-Cartridge-Y.gm9 new file mode 100644 index 0000000..86c40ad --- /dev/null +++ b/Pokemon_Randomizing-Cartridge-Y.gm9 @@ -0,0 +1,19 @@ +# author: zeta +set ERRORMSG "Dumping failed." +set SUCCESSMSG "Dumping succeeded!\nFiles are in gm9/out" +echo "PKMN Randomizer script\nby Zeta\nTYPE: GAMECART\nGAME: Y" +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 +echo "RomFS and ExeFS dumping done\nDumping the update now." +set ERRORMSG "Dumping failed.\nDumping the update failed." +find A:/title/0004000e/00055E00/content/0000000?.app UPDATE +imgmount $[UPDATE] +cp G:/exefs 0:/gm9/out/exefs +cp G:/romfs 0:/gm9/out/romfs \ No newline at end of file diff --git a/Pokemon_Randomizing-Digital-AS.gm9 b/Pokemon_Randomizing-Digital-AS.gm9 deleted file mode 100644 index 9850d79..0000000 --- a/Pokemon_Randomizing-Digital-AS.gm9 +++ /dev/null @@ -1,17 +0,0 @@ -# author: zeta -set ERRORMSG "Dumping failed.\nUnknown error." -set SUCCESSMSG "Dumping succeeded!\nFiles are in gm9/out" -echo "PKMN Randomizer script\nby Zeta\nTYPE: DIGITAL\nGAME: AS" -set ERRORMSG "Dumping failed.\nMounting the app file failed\nMake sure the title is installed" -imgmount A:/title/00040000/0011C500/content/00000000.app -set ERRORMSG "Dumping failed.\nCreating the folders failed.\nMake sure the SD is not locked" -mkdir 0:/gm9/out/romfs -mkdir 0:/gm9/out/exefs -set ERRORMSG "Dumping failed.\nMounting the app file failed\nMake sure the title is installed" -cp G:/romfs 0:/gm9/out/romfs -cp G:/exefs 0:/gm9/out/exefs -echo "romfs and exefs dumping done\nDumping update data now." -set ERRORMSG "Dumping failed.\nDumping the update failed.\nIs there even an update?" -imgmount A:/title/0004000e/0011C500/content/00000004.app -cp G:/exefs 0:/gm9/out/exefs -cp G:/romfs 0:/gm9/out/romfs \ No newline at end of file diff --git a/Pokemon_Randomizing-Digital-AlphaSapphire.gm9 b/Pokemon_Randomizing-Digital-AlphaSapphire.gm9 new file mode 100644 index 0000000..94fc6e6 --- /dev/null +++ b/Pokemon_Randomizing-Digital-AlphaSapphire.gm9 @@ -0,0 +1,19 @@ +# author: zeta +set ERRORMSG "Dumping failed." +set SUCCESSMSG "Dumping succeeded!\nFiles are in gm9/out" +echo "PKMN Randomizer script\nby Zeta\nTYPE: DIGITAL\nGAME: ALPHA SAPPHIRE" +ask "Is this corrrect?" +set ERRORMSG "Dumping failed.\nMounting the 3ds file failed." +filesel "Please select the correct .app file" A:/title/00040000/0011E400/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:/content0.game/romfs/ 0:/gm9/out/romfs +cp G:/content0.game/exefs/ 0:/gm9/out/exefs +echo "RomFS and ExeFS dumping done\nDumping the update now." +set ERRORMSG "Dumping failed.\nDumping the update failed." +find A:/title/0004000e/0011C500/content/0000000?.app UPDATE +imgmount $[UPDATE] +cp G:/exefs 0:/gm9/out/exefs +cp G:/romfs 0:/gm9/out/romfs \ No newline at end of file diff --git a/Pokemon_Randomizing-Digital-Moon.gm9 b/Pokemon_Randomizing-Digital-Moon.gm9 index 4b1227b..1aa9f84 100644 --- a/Pokemon_Randomizing-Digital-Moon.gm9 +++ b/Pokemon_Randomizing-Digital-Moon.gm9 @@ -1,16 +1,18 @@ -# author: Slade -set ERRORMSG "Dumping failed.\nUnknown error." +# author: zeta +set ERRORMSG "Dumping failed." set SUCCESSMSG "Dumping succeeded!\nFiles are in gm9/out" -echo "PKMN Randomizer script\nby Slade\nTYPE: DIGITAL\nGAME: MOON" -set ERRORMSG "Dumping failed.\nMounting the app file failed\nMake sure the title is installed" -imgmount A:/title/00040000/00175E00/content/00000000.app -set ERRORMSG "Dumping failed.\nCreating the folders failed.\nMake sure the SD is not locked" +echo "PKMN Randomizer script\nby Zeta\nTYPE: DIGITAL\nGAME: MOON" +ask "Is this corrrect?" +set ERRORMSG "Dumping failed.\nMounting the 3ds file failed." +filesel "Please select the correct .app file" A:/title/00040000/00175E00/content/*.app GAME +imgmount $[GAME] mkdir 0:/gm9/out/romfs mkdir 0:/gm9/out/exefs -set ERRORMSG "Dumping failed.\nMounting the app file failed\nMake sure the title is installed" -cp G:/romfs 0:/gm9/out/romfs +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 +echo "RomFS and ExeFS dumping done\nDumping the update now." +set ERRORMSG "Dumping failed.\nDumping the update failed." +find A:/title/0004000e/00164800/content/0000000?.app UPDATE +imgmount $[UPDATE] cp G:/exefs 0:/gm9/out/exefs -echo "romfs and exefs dumping done\nDumping code.bin now." -set ERRORMSG "Dumping failed.\nDumping the update failed.\nIs there even an update?" -imgmount A:/title/0004000e/00175E00/content/00000002.app -cp G:/exefs/.code 0:/gm9/out/exefs/.code \ No newline at end of file diff --git a/Pokemon_Randomizing-Digital-OR.gm9 b/Pokemon_Randomizing-Digital-OR.gm9 deleted file mode 100644 index 4395394..0000000 --- a/Pokemon_Randomizing-Digital-OR.gm9 +++ /dev/null @@ -1,17 +0,0 @@ -# author: zeta -set ERRORMSG "Dumping failed.\nUnknown error." -set SUCCESSMSG "Dumping succeeded!\nFiles are in gm9/out" -echo "PKMN Randomizer script\nby Zeta\nTYPE: DIGITAL\nGAME: OR" -set ERRORMSG "Dumping failed.\nMounting the app file failed\nMake sure the title is installed" -imgmount A:/title/00040000/0011C400/content/00000000.app -set ERRORMSG "Dumping failed.\nCreating the folders failed.\nMake sure the SD is not locked" -mkdir 0:/gm9/out/romfs -mkdir 0:/gm9/out/exefs -set ERRORMSG "Dumping failed.\nMounting the app file failed\nMake sure the title is installed" -cp G:/romfs 0:/gm9/out/romfs -cp G:/exefs 0:/gm9/out/exefs -echo "romfs and exefs dumping done\nDumping update data now." -set ERRORMSG "Dumping failed.\nDumping the update failed.\nIs there even an update?" -imgmount A:/title/0004000e/0011C400/content/00000004.app -cp G:/exefs 0:/gm9/out/exefs -cp G:/romfs 0:/gm9/out/romfs \ No newline at end of file diff --git a/Pokemon_Randomizing-Digital-OmegaRuby.gm9 b/Pokemon_Randomizing-Digital-OmegaRuby.gm9 new file mode 100644 index 0000000..f1fe569 --- /dev/null +++ b/Pokemon_Randomizing-Digital-OmegaRuby.gm9 @@ -0,0 +1,19 @@ +# author: zeta +set ERRORMSG "Dumping failed." +set SUCCESSMSG "Dumping succeeded!\nFiles are in gm9/out" +echo "PKMN Randomizer script\nby Zeta\nTYPE: DIGITAL\nGAME: OMEGA RUBY" +ask "Is this corrrect?" +set ERRORMSG "Dumping failed.\nMounting the 3ds file failed." +filesel "Please select the correct .app file" A:/title/00040000/0011C400/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:/content0.game/romfs/ 0:/gm9/out/romfs +cp G:/content0.game/exefs/ 0:/gm9/out/exefs +echo "RomFS and ExeFS dumping done\nDumping the update now." +set ERRORMSG "Dumping failed.\nDumping the update failed." +find A:/title/0004000e/0011C400/content/0000000?.app UPDATE +imgmount $[UPDATE] +cp G:/exefs 0:/gm9/out/exefs +cp G:/romfs 0:/gm9/out/romfs \ No newline at end of file diff --git a/Pokemon_Randomizing-Digital-Sun.gm9 b/Pokemon_Randomizing-Digital-Sun.gm9 index 32c6c18..ab2d3e5 100644 --- a/Pokemon_Randomizing-Digital-Sun.gm9 +++ b/Pokemon_Randomizing-Digital-Sun.gm9 @@ -1,16 +1,18 @@ -# author: Slade -set ERRORMSG "Dumping failed.\nUnknown error." +# author: zeta +set ERRORMSG "Dumping failed." set SUCCESSMSG "Dumping succeeded!\nFiles are in gm9/out" -echo "PKMN Randomizer script\nby Slade\nTYPE: DIGITAL\nGAME: SUN" -set ERRORMSG "Dumping failed.\nMounting the app file failed\nMake sure the title is installed" -imgmount A:/title/00040000/00164800/content/00000000.app -set ERRORMSG "Dumping failed.\nCreating the folders failed.\nMake sure the SD is not locked" +echo "PKMN Randomizer script\nby Zeta\nTYPE: DIGITAL\nGAME: SUN" +ask "Is this corrrect?" +set ERRORMSG "Dumping failed.\nMounting the 3ds file failed." +filesel "Please select the correct .app file" A:/title/00040000/00164800/content/*.app GAME +imgmount $[GAME] mkdir 0:/gm9/out/romfs mkdir 0:/gm9/out/exefs -set ERRORMSG "Dumping failed.\nMounting the app file failed\nMake sure the title is installed" -cp G:/romfs 0:/gm9/out/romfs +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 +echo "RomFS and ExeFS dumping done\nDumping the update now." +set ERRORMSG "Dumping failed.\nDumping the update failed." +find A:/title/0004000e/00164800/content/0000000?.app UPDATE +imgmount $[UPDATE] cp G:/exefs 0:/gm9/out/exefs -echo "romfs and exefs dumping done\nDumping code.bin now." -set ERRORMSG "Dumping failed.\nDumping the update failed.\nIs there even an update?" -imgmount A:/title/0004000e/00164800/content/00000002.app -cp G:/exefs/.code 0:/gm9/out/exefs/.code \ No newline at end of file diff --git a/Pokemon_Randomizing-Digital-X.gm9 b/Pokemon_Randomizing-Digital-X.gm9 index 1a147cd..a4bb389 100644 --- a/Pokemon_Randomizing-Digital-X.gm9 +++ b/Pokemon_Randomizing-Digital-X.gm9 @@ -1,17 +1,19 @@ # author: zeta -set ERRORMSG "Dumping failed.\nUnknown error." +set ERRORMSG "Dumping failed." set SUCCESSMSG "Dumping succeeded!\nFiles are in gm9/out" echo "PKMN Randomizer script\nby Zeta\nTYPE: DIGITAL\nGAME: X" -set ERRORMSG "Dumping failed.\nMounting the app file failed\nMake sure the title is installed" -imgmount A:/title/00040000/00055D00/content/00000000.app -set ERRORMSG "Dumping failed.\nCreating the folders failed.\nMake sure the SD is not locked" +ask "Is this corrrect?" +set ERRORMSG "Dumping failed.\nMounting the 3ds file failed." +filesel "Please select the correct .app file" A:/title/00040000/00055D00/content/*.app GAME +imgmount $[GAME] mkdir 0:/gm9/out/romfs mkdir 0:/gm9/out/exefs -set ERRORMSG "Dumping failed.\nMounting the app file failed\nMake sure the title is installed" -cp G:/romfs 0:/gm9/out/romfs -cp G:/exefs 0:/gm9/out/exefs -echo "romfs and exefs dumping done\nDumping update data now." -set ERRORMSG "Dumping failed.\nDumping the update failed.\nIs there even an update?" -imgmount A:/title/0004000e/00055D00/content/00000004.app +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 +echo "RomFS and ExeFS dumping done\nDumping the update now." +set ERRORMSG "Dumping failed.\nDumping the update failed." +find A:/title/0004000e/00055D00/content/0000000?.app UPDATE +imgmount $[UPDATE] cp G:/exefs 0:/gm9/out/exefs cp G:/romfs 0:/gm9/out/romfs \ No newline at end of file diff --git a/Pokemon_Randomizing-Digital-Y.gm9 b/Pokemon_Randomizing-Digital-Y.gm9 index 6611a99..014e609 100644 --- a/Pokemon_Randomizing-Digital-Y.gm9 +++ b/Pokemon_Randomizing-Digital-Y.gm9 @@ -1,17 +1,19 @@ # author: zeta -set ERRORMSG "Dumping failed.\nUnknown error." +set ERRORMSG "Dumping failed." set SUCCESSMSG "Dumping succeeded!\nFiles are in gm9/out" echo "PKMN Randomizer script\nby Zeta\nTYPE: DIGITAL\nGAME: Y" -set ERRORMSG "Dumping failed.\nMounting the app file failed\nMake sure the title is installed" -imgmount A:/title/00040000/00055E00/content/00000000.app -set ERRORMSG "Dumping failed.\nCreating the folders failed.\nMake sure the SD is not locked" +ask "Is this corrrect?" +set ERRORMSG "Dumping failed.\nMounting the 3ds file failed." +filesel "Please select the correct .app file" A:/title/00040000/00055E00/content/*.app GAME +imgmount $[GAME] mkdir 0:/gm9/out/romfs mkdir 0:/gm9/out/exefs -set ERRORMSG "Dumping failed.\nMounting the app file failed\nMake sure the title is installed" -cp G:/romfs 0:/gm9/out/romfs -cp G:/exefs 0:/gm9/out/exefs -echo "romfs and exefs dumping done\nDumping update data now." -set ERRORMSG "Dumping failed.\nDumping the update failed.\nIs there even an update?" -imgmount A:/title/0004000e/00055E00/content/00000004.app +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 +echo "RomFS and ExeFS dumping done\nDumping the update now." +set ERRORMSG "Dumping failed.\nDumping the update failed." +find A:/title/0004000e/00055E00/content/0000000?.app UPDATE +imgmount $[UPDATE] cp G:/exefs 0:/gm9/out/exefs cp G:/romfs 0:/gm9/out/romfs \ No newline at end of file diff --git a/Pokemon_Randomizing_-_Cartridge_-_AlphaSapphire.gm9 b/Pokemon_Randomizing_-_Cartridge_-_AlphaSapphire.gm9 deleted file mode 100644 index 9426d48..0000000 --- a/Pokemon_Randomizing_-_Cartridge_-_AlphaSapphire.gm9 +++ /dev/null @@ -1,17 +0,0 @@ -# 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: ALPHA SAPPHIRE" -set ERRORMSG "Dumping failed.\nMounting the 3ds file failed\nMake sure the cartridge is inserted" -imgmount C:/000400000011C500_v00.trim.3ds -set ERRORMSG "Dumping failed.\nCreating the folders failed.\nMake sure the SD is not locked" -mkdir 0:/gm9/out/romfsbase -mkdir 0:/gm9/out/exefs -set ERRORMSG "Dumping failed.\nCopying romfs/exefs failed.\nMake sure the correct cartridge is inserted" -cp G:/content0.game/romfs/ 0:/gm9/out/romfsbase -cp G:/content0.game/exefs/ 0:/gm9/out/exefs -echo "romfs and exefs dumping done\nDumping code.bin now." -set ERRORMSG "Dumping failed.\nDumping the update failed.\nIs there even an update?" -imgmount A:/title/0004000e/0011C500/content/00000004.app -cp G:/exefs 0:/gm9/out/exefs -cp G:/romfs 0:/gm9/out/romfs \ No newline at end of file diff --git a/Pokemon_Randomizing_-_Cartridge_-_Moon.gm9 b/Pokemon_Randomizing_-_Cartridge_-_Moon.gm9 deleted file mode 100644 index a82ef0c..0000000 --- a/Pokemon_Randomizing_-_Cartridge_-_Moon.gm9 +++ /dev/null @@ -1,16 +0,0 @@ -# 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: MOON" -set ERRORMSG "Dumping failed.\nMounting the 3ds file failed\nMake sure the cartridge is inserted" -imgmount C:/0004000000175E00_v00.trim.3ds -set ERRORMSG "Dumping failed.\nCreating the folders failed.\nMake sure the SD is not locked" -mkdir 0:/gm9/out/romfs -mkdir 0:/gm9/out/exefs -set ERRORMSG "Dumping failed.\nCopying romfs/exefs failed.\nMake sure the correct cartridge\nis inserted" -cp G:/content0.game/romfs/ 0:/gm9/out/romfs -cp G:/content0.game/exefs/ 0:/gm9/out/exefs -echo "romfs and exefs dumping done\nDumping code.bin now." -set ERRORMSG "Dumping failed.\nDumping the update failed.\nIs there even an update?" -imgmount A:/title/0004000e/00175E00/content/00000002.app -cp G:/exefs/.code 0:/gm9/out/exefs/.code \ No newline at end of file diff --git a/Pokemon_Randomizing_-_Cartridge_-_Y.gm9 b/Pokemon_Randomizing_-_Cartridge_-_Y.gm9 deleted file mode 100644 index 3aa1661..0000000 --- a/Pokemon_Randomizing_-_Cartridge_-_Y.gm9 +++ /dev/null @@ -1,17 +0,0 @@ -# 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: Y" -set ERRORMSG "Dumping failed.\Mounting the 3ds file failed\nMake sure the cartridge is inserted" -imgmount C:/0004000000055E00_v00.trim.3ds -set ERRORMSG "Dumping failed.\nCreating the folders failed.\nMake sure the SD is not locked" -mkdir 0:/gm9/out/romfs -mkdir 0:/gm9/out/exefs -set ERRORMSG "Dumping failed.\nCopying romfs/exefs failed.\nMake sure the correct cartridge\nis inserted" -cp G:/content0.game/romfs/ 0:/gm9/out/romfs -cp G:/content0.game/exefs/ 0:/gm9/out/exefs -echo "romfs and exefs dumping done\nDumping code.bin now." -set ERRORMSG "Dumping failed.\nDumping the update failed.\nIs there even an update?" -imgmount A:/title/0004000e/00055E00/content/00000004.app -cp G:/exefs 0:/gm9/out/exefs -cp G:/romfs 0:/gm9/out/romfs \ No newline at end of file