Closed AuroraWright closed 7 years ago
With the latest commit, if I do:
./3dstool -f file.cxi -x --header header --exh exheader --exefs exefs --romfs romfs --plain plain --exh-xor exheader.xorpad
and then:
./3dstool -f file2.cxi -t cxi -c --header header --exh exheader --exefs exefs --romfs romfs --plain plain --exh-xor exheader.xorpad --not-update-exefs-hash --not-update-romfs-hash
It outputs:
"ERROR: romfs is too short
ERROR: create file failed"
It works fine with the previous commit. Using Mac OS X. EDIT: looking at the code, I think this is caused from trying to read data from the romFS header, which is encrypted.
With the latest commit, if I do:
./3dstool -f file.cxi -x --header header --exh exheader --exefs exefs --romfs romfs --plain plain --exh-xor exheader.xorpad
and then:
./3dstool -f file2.cxi -t cxi -c --header header --exh exheader --exefs exefs --romfs romfs --plain plain --exh-xor exheader.xorpad --not-update-exefs-hash --not-update-romfs-hash
It outputs:
"ERROR: romfs is too short
ERROR: create file failed"
It works fine with the previous commit. Using Mac OS X. EDIT: looking at the code, I think this is caused from trying to read data from the romFS header, which is encrypted.