Well, this is kinda stupid, but I believe I tried another script... Your script works on all files!
I got all the .TPF and .BND, which leads me back to here.
.TPF are textures. No problem here.
.BND is another archive for .SMD, .FLVER and .HKX.
I found this code by chrrox on Xentax (
https://forum.xentax.com/viewtopic.php? ... 2&start=16):
Code:
endian big
idstring "BND307D7R6"
goto 0x10
get files long
get start long
goto 0x20
savepos tbl
for i = 0 < files
goto tbl
get unk01 long
get zsize long
get offset long
get unk02 long
get nameoff long
get size long
savepos tbl
math nameoff + 3
goto nameoff
get name string
if zsize == size
log name offset zsize
else
clog name offset zsize size
endif
next i
It works on the BND, but I have to change the idstring on every file. Lol
Is there an easier way? I don't know very well what I'm doing.

bnd samples if you need them:
https://drive.google.com/open?id=0B2yGn ... 0NUdGJEU3cThanks for your help.