mirror of
https://gitlab.com/Nanolx/patchimage.git
synced 2024-11-25 02:26:57 +01:00
20 lines
258 B
Bash
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
|
|
|
|
}
|