Skip to content

Instantly share code, notes, and snippets.

View ItsCrocoSwine's full-sized avatar

ItsCrocoSwine

View GitHub Profile
@ItsCrocoSwine
ItsCrocoSwine / Dump-Pokemon.gm9
Last active April 12, 2025 00:27
A gm9 script to dump the romfs and exefs of 3DS mainline Pokémon games. Original script by ZetaDesigns and GlazedBelmont https://github.com/GlazedBelmont/Pokemon-Randomizing-GM9-Scripts
#ItsCrocoSwine
#version 1.0
#last updated: 2025-01-28
set PREVIEW_MODE "Dumping script for PK3DS\n\nmade possible by:\nZeta\nJisagi\nGlazed_Belmont\nItsCrocoSwine"
if isdir 0:/gm9/out/romfs
if ask -o -s "Previous dump detected.\nWould you like to remove the files?"
rm 0:/gm9/out/romfs
rm -o -s 0:/gm9/out/exefs
else
@ItsCrocoSwine
ItsCrocoSwine / ID0_Calc_Backups.gm9
Last active September 29, 2024 03:34
gm9 scripts to calculate the ID0 of several different forms of backups
#This script calculates the ID0 of several different files containing your movable.sed
#Could potentialy be useful to quickly check if all your backups are the same, but mostly I was just having fun
#Backups should be placed in 0:/gm9/out or set your own with the BACKPATH variable
#ItsCrocoSwine
set PREVIEW_COLOR_COMMENT 32CD32 #Lime green
set PREVIEW_COLOR_ACTIVE 5D3FD3 #Iris
set PREVIEW_COLOR_CODE E37383 #Watermelon pink
set BACKPATH 0:/gm9/out # <-Can change your backup directory by changing this variable
@ItsCrocoSwine
ItsCrocoSwine / MovableMoveover.gm9
Last active January 29, 2025 10:29
A gm9 script to perform a Movable Moveover, including FixupMovable - https://wiki.hacks.guide/wiki/3DS:Movable_Moveover
No longer being updated, script moved to https://github.com/nh-server/scripts
@ItsCrocoSwine
ItsCrocoSwine / Dump-DSiWare-All.gm9
Last active September 19, 2024 05:14
gm9 scripts that dump DSiWare titles and saves to be used with TWiLight Menu++
# ItsCrocoSwine
# v1.0
if ask "Dump all DSiWare?"
for 2:title/00030004 *
strsplit TIDLOW $[FORPATH] /
set NAME 00030004$[TIDLOW]
if find $[FORPATH]/content/*.app GAME
cp -w -o -s $[GAME] 0:/gm9/out/DSiWare-Dumps/$[NAME].nds
if find $[FORPATH]/data/private.sav PRIVATE
cp -w -o -s $[PRIVATE] 0:/gm9/out/DSiWare-Dumps/saves/$[NAME].prv
# Pokemon Cart Redirect Helper script https://gist.github.com/ItsCrocoSwine/e9bf17d1e3d685d0dda5322a85e7e910 by - ItsCrocoSwine
# for use with https://github.com/zaksabeast/DreamRadarCartRedirect by - zaksabeast
# V1.3
# Copy the contents of patches/out/ to sd:/3ds/CartRedirectPatches/ before following this script
#check for patches
set PREVIEW_MODE "Checking for problems..."