├── .gitignore ├── 1_sanity_check.sh ├── 2_backup_flash.sh ├── 3_backup_internal_flash.sh ├── 4_unlock_device.sh ├── 5_restore.sh ├── README.md ├── config.sh ├── install_pwnadventure.sh ├── openocd ├── flash.cfg ├── interface_cmsis-dap.cfg ├── interface_jlink.cfg ├── interface_rpi.cfg ├── interface_stlink.cfg ├── rdp0.cfg ├── rdp1.cfg ├── rpi.cfg ├── stm32h7x_spiflash.cfg ├── target_mario.cfg └── target_zelda.cfg ├── payload ├── payload.S ├── payload.bin └── payload.elf ├── prebuilt └── gw_retrogo_nes.elf ├── python └── tcm_encrypt.py ├── restore_only_external_flash.sh ├── scripts └── rdp1.sh └── shasums ├── flash_backup_checksummed_mario.bin.sha1 ├── flash_backup_checksummed_zelda.bin.sha1 ├── internal_flash_backup_mario.bin.sha1 ├── internal_flash_backup_zelda.bin.sha1 ├── itcm_backup_mario.bin.sha1 └── itcm_backup_zelda.bin.sha1 /.gitignore: -------------------------------------------------------------------------------- 1 | backups/* 2 | new_flash_image.bin 3 | logs/* 4 | -------------------------------------------------------------------------------- /1_sanity_check.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghidraninja/game-and-watch-backup/HEAD/1_sanity_check.sh -------------------------------------------------------------------------------- /2_backup_flash.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghidraninja/game-and-watch-backup/HEAD/2_backup_flash.sh -------------------------------------------------------------------------------- /3_backup_internal_flash.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghidraninja/game-and-watch-backup/HEAD/3_backup_internal_flash.sh -------------------------------------------------------------------------------- /4_unlock_device.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghidraninja/game-and-watch-backup/HEAD/4_unlock_device.sh -------------------------------------------------------------------------------- /5_restore.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghidraninja/game-and-watch-backup/HEAD/5_restore.sh -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghidraninja/game-and-watch-backup/HEAD/README.md -------------------------------------------------------------------------------- /config.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghidraninja/game-and-watch-backup/HEAD/config.sh -------------------------------------------------------------------------------- /install_pwnadventure.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghidraninja/game-and-watch-backup/HEAD/install_pwnadventure.sh -------------------------------------------------------------------------------- /openocd/flash.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghidraninja/game-and-watch-backup/HEAD/openocd/flash.cfg -------------------------------------------------------------------------------- /openocd/interface_cmsis-dap.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghidraninja/game-and-watch-backup/HEAD/openocd/interface_cmsis-dap.cfg -------------------------------------------------------------------------------- /openocd/interface_jlink.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghidraninja/game-and-watch-backup/HEAD/openocd/interface_jlink.cfg -------------------------------------------------------------------------------- /openocd/interface_rpi.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghidraninja/game-and-watch-backup/HEAD/openocd/interface_rpi.cfg -------------------------------------------------------------------------------- /openocd/interface_stlink.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghidraninja/game-and-watch-backup/HEAD/openocd/interface_stlink.cfg -------------------------------------------------------------------------------- /openocd/rdp0.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghidraninja/game-and-watch-backup/HEAD/openocd/rdp0.cfg -------------------------------------------------------------------------------- /openocd/rdp1.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghidraninja/game-and-watch-backup/HEAD/openocd/rdp1.cfg -------------------------------------------------------------------------------- /openocd/rpi.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghidraninja/game-and-watch-backup/HEAD/openocd/rpi.cfg -------------------------------------------------------------------------------- /openocd/stm32h7x_spiflash.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghidraninja/game-and-watch-backup/HEAD/openocd/stm32h7x_spiflash.cfg -------------------------------------------------------------------------------- /openocd/target_mario.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghidraninja/game-and-watch-backup/HEAD/openocd/target_mario.cfg -------------------------------------------------------------------------------- /openocd/target_zelda.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghidraninja/game-and-watch-backup/HEAD/openocd/target_zelda.cfg -------------------------------------------------------------------------------- /payload/payload.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghidraninja/game-and-watch-backup/HEAD/payload/payload.S -------------------------------------------------------------------------------- /payload/payload.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghidraninja/game-and-watch-backup/HEAD/payload/payload.bin -------------------------------------------------------------------------------- /payload/payload.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghidraninja/game-and-watch-backup/HEAD/payload/payload.elf -------------------------------------------------------------------------------- /prebuilt/gw_retrogo_nes.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghidraninja/game-and-watch-backup/HEAD/prebuilt/gw_retrogo_nes.elf -------------------------------------------------------------------------------- /python/tcm_encrypt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghidraninja/game-and-watch-backup/HEAD/python/tcm_encrypt.py -------------------------------------------------------------------------------- /restore_only_external_flash.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghidraninja/game-and-watch-backup/HEAD/restore_only_external_flash.sh -------------------------------------------------------------------------------- /scripts/rdp1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghidraninja/game-and-watch-backup/HEAD/scripts/rdp1.sh -------------------------------------------------------------------------------- /shasums/flash_backup_checksummed_mario.bin.sha1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghidraninja/game-and-watch-backup/HEAD/shasums/flash_backup_checksummed_mario.bin.sha1 -------------------------------------------------------------------------------- /shasums/flash_backup_checksummed_zelda.bin.sha1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghidraninja/game-and-watch-backup/HEAD/shasums/flash_backup_checksummed_zelda.bin.sha1 -------------------------------------------------------------------------------- /shasums/internal_flash_backup_mario.bin.sha1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghidraninja/game-and-watch-backup/HEAD/shasums/internal_flash_backup_mario.bin.sha1 -------------------------------------------------------------------------------- /shasums/internal_flash_backup_zelda.bin.sha1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghidraninja/game-and-watch-backup/HEAD/shasums/internal_flash_backup_zelda.bin.sha1 -------------------------------------------------------------------------------- /shasums/itcm_backup_mario.bin.sha1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghidraninja/game-and-watch-backup/HEAD/shasums/itcm_backup_mario.bin.sha1 -------------------------------------------------------------------------------- /shasums/itcm_backup_zelda.bin.sha1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghidraninja/game-and-watch-backup/HEAD/shasums/itcm_backup_zelda.bin.sha1 --------------------------------------------------------------------------------