Skip to content

Commit

Permalink
made everything do things properly
Browse files Browse the repository at this point in the history
dumping the updates for xy/oras is now fully working
  • Loading branch information
ZetaDesigns committed Jul 26, 2017
1 parent a9a5228 commit 6a13f69
Show file tree
Hide file tree
Showing 12 changed files with 118 additions and 22 deletions.
7 changes: 3 additions & 4 deletions Pokemon Randomizing-Cartridge-OmegaRuby.gm9
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,16 @@
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.\Mounting the 3ds file failed\nMake sure the cartridge is inserted"
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\nis inserted"
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/.code 0:/gm9/out/exefs/.code
mkdir 0:/gm9/out/romfs
cp G:/exefs 0:/gm9/out/exefs
cp G:/romfs 0:/gm9/out/romfs
6 changes: 3 additions & 3 deletions Pokemon Randomizing-Cartridge-Sun.gm9
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
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.\Mounting the 3ds file failed\nMake sure the cartridge is inserted"
imgmount C:/0004000000164800_v00.trim.3ds
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\nis inserted"
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."
Expand Down
11 changes: 5 additions & 6 deletions Pokemon Randomizing-Cartridge-X.gm9
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,16 @@
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.\Mounting the 3ds file failed\nMake sure the cartridge is inserted"
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/romfsbase
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/romfsbase
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/.code 0:/gm9/out/exefs/.code
mkdir 0:/gm9/out/romfs
cp G:/exefs 0:/gm9/out/exefs
cp G:/romfs 0:/gm9/out/romfs
17 changes: 17 additions & 0 deletions Pokemon_Randomizing-Digital-AS.gm9
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# 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
16 changes: 16 additions & 0 deletions Pokemon_Randomizing-Digital-Moon.gm9
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# author: Slade
set ERRORMSG "Dumping failed.\nUnknown error."
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"
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 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
17 changes: 17 additions & 0 deletions Pokemon_Randomizing-Digital-OR.gm9
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# 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
16 changes: 16 additions & 0 deletions Pokemon_Randomizing-Digital-Sun.gm9
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# author: Slade
set ERRORMSG "Dumping failed.\nUnknown error."
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"
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 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
17 changes: 17 additions & 0 deletions Pokemon_Randomizing-Digital-X.gm9
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# 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: 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"
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
cp G:/exefs 0:/gm9/out/exefs
cp G:/romfs 0:/gm9/out/romfs
17 changes: 17 additions & 0 deletions Pokemon_Randomizing-Digital-Y.gm9
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# 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: 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"
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
cp G:/exefs 0:/gm9/out/exefs
cp G:/romfs 0:/gm9/out/romfs
7 changes: 3 additions & 4 deletions Pokemon_Randomizing_-_Cartridge_-_AlphaSapphire.gm9
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,16 @@
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.\Mounting the 3ds file failed\nMake sure the cartridge is inserted"
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\nis inserted"
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/.code 0:/gm9/out/exefs/.code
mkdir 0:/gm9/out/romfs
cp G:/exefs 0:/gm9/out/exefs
cp G:/romfs 0:/gm9/out/romfs
2 changes: 1 addition & 1 deletion Pokemon_Randomizing_-_Cartridge_-_Moon.gm9
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
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.\Mounting the 3ds file failed\nMake sure the cartridge is inserted"
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
Expand Down
7 changes: 3 additions & 4 deletions Pokemon_Randomizing_-_Cartridge_-_Y.gm9
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@ 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/romfsbase
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/romfsbase
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/.code 0:/gm9/out/exefs/.code
mkdir 0:/gm9/out/romfs
cp G:/exefs 0:/gm9/out/exefs
cp G:/romfs 0:/gm9/out/romfs

0 comments on commit 6a13f69

Please sign in to comment.