patchimage/scripts/common/helper-3ds.sh
Christopher Roy Bratusek d124fbdeee modularize common.sh
2016-08-24 18:41:53 +02:00

20 lines
258 B
Bash

#!/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
}