mirror of
https://gitlab.com/Nanolx/patchimage.git
synced 2024-11-01 07:15:06 +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
|
|
|
|
}
|