patchimage/scripts/common/helper-3ds.sh

20 lines
258 B
Bash
Raw Normal View History

2016-08-24 18:41:53 +02:00
#!/bin/bash
unpack_3dsrom () {
${CTRTOOL} -p --romfs=romfs.bin "${1}" &>/dev/null
}
unpack_3dsromfs () {
${CTRTOOL} -t romfs --romfsdir=romfs "${1}" &>/dev/null
}
repack_3dsromfs () {
${FDSTOOL} -ctf romfs "${2}" --romfs-dir "${1}" &>/dev/null
}