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
get files long
get start long
for i = 0 < files
get unk01 long
get zsize long
get offset long
get unk02 long
get nameoff long
get size long
math nameoff + 3
get name string
if zsize == size
log name offset zsize
clog name offset zsize size
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 ... 0NUdGJEU3c
Thanks for your help.