Skip to content

Instantly share code, notes, and snippets.

@MisterSheeple
Last active February 17, 2024 12:49
Show Gist options
  • Select an option

  • Save MisterSheeple/27391a75095ed85f25b2baa69554360d to your computer and use it in GitHub Desktop.

Select an option

Save MisterSheeple/27391a75095ed85f25b2baa69554360d to your computer and use it in GitHub Desktop.
SpotPass (BOSS) Cache Dumper Script for GodMode9
# SpotPass (BOSS) GM9 Dumper Script v1.4 by MisterSheeple
set ERRORMSG "Something went terribly wrong\nin an unexpected way.\nPlease contact Pretendo for support."
ask -s "Press A to continue or B to abort."
set DISA_IMAGE "1:/data/$[SYSID0]/sysdata/00010034/00000000"
if exist $[DISA_IMAGE]
imgmount $[DISA_IMAGE]
else
echo "ERROR: No SpotPass cache was found.\nThis is not normal and may indicate that your system\nhas been tampered with.\nPlease contact Pretendo for support."
echo "Press the A button to power off the system."
poweroff
end
set PARTITION_A "D:/partitionA.bin"
if exist $[PARTITION_A]
cp -h -w -n $[PARTITION_A] $[GM9OUT]/partitionA.bin
echo "PartitionA found."
else
echo "PartitionA not found."
set PARTITION_A "not_found"
end
set PARTITION_B "D:/partitionB.bin"
if exist $[PARTITION_B]
cp -h -w -n $[PARTITION_B] $[GM9OUT]/partitionB.bin
echo "You have partitionB!!\nThis is an undocumented occurrence\nand is highly unusual.\nPlease contact Pretendo so they\ncan figure out how this happened."
else
echo "PartitionB not found. (this is normal)"
set PARTITION_B "not_found"
end
imgumount
ask -s "Your SpotPass cache has been dumped to the SD card\nat /gm9/out/\nPress A to power off the system or press B to exit."
poweroff
@NAEL2XD
Copy link

NAEL2XD commented Feb 14, 2024

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment