Code: Select all
endian big
idstring "UnityFS\x00"
get archiveSize long
get unknownValue long
get fileCount long
for i = 0 < fileCount
get pointer long
get length long
getdstring name 0x8
log name pointer length
next i
Code: Select all
endian big
idstring "UnityFS\x00"
get archiveSize long
get unknownValue long
get fileCount long
for i = 0 < fileCount
get pointer long
get length long
getdstring name 0x8
log name pointer length
next i
aluigi wrote:The script is correct but UnityFS is a complex format that cannot be handled in that way.
For Unity take a look at this topic:
viewtopic.php?f=17&t=12
Code: Select all
encryption xor "UnityFS\0\0\0"
get SIZE asize
get NAME filename
log NAME 0 SIZE
aluigi wrote:Do you mean this?
https://www.vg-resource.com/thread-3607 ... #pid658878
If it's just xor why don't you try with the xor tool or a script?Code: Select all
encryption xor "UnityFS\0\0\0"
get SIZE asize
get NAME filename
log NAME 0 SIZE
Code: Select all
encryption xor "UnityFS\0\0\0"
get SIZE asize
get NAME filename
log NAME 0 SIZE
for i = 0 < fileCount
get pointer long
get length long
getdstring name 0x8
log name pointer length
next i
TheUltDark wrote:aluigi wrote:Do you mean this?
https://www.vg-resource.com/thread-3607 ... #pid658878
If it's just xor why don't you try with the xor tool or a script?Code: Select all
encryption xor "UnityFS\0\0\0"
get SIZE asize
get NAME filename
log NAME 0 SIZE
so this is the main problem most of the sites I tried don't work and those people who have done it don't share the software that they used (and apparently everybody have the same person that created it since they can't share because is from their friend), so this is one solution I found to do it and that eveyone will be able to do tooCode: Select all
encryption xor "UnityFS\0\0\0"
get SIZE asize
get NAME filename
log NAME 0 SIZE
for i = 0 < fileCount
get pointer long
get length long
getdstring name 0x8
log name pointer length
next i
btw I updated my code but this appearing