The file is right here. Included is the .lua file, which I assume is also part of the character file.
Palettes are here, incase they're needed
Thanks
i start modifiing lua decompiler for new file types (KoF and M2 i believe) so if i succes it should help understand what exactly is pcs fileNega wrote:After getting my hands on KOF XIII, I was wondering if it was possible if the .pcs file (character file) was able to be looked into and possibly cracked?
The file is right here. Included is the .lua file, which I assume is also part of the character file.
Palettes are here, incase they're needed
Thanks

Code: Select all
get SIZE asize
for
getdstring BLOCKNAME 8
get BLOCKSIZE longlong
savepos BLOCKPOS
if BLOCKNAME == "TEXLIST"
callfunction getTexList
elif BLOCKNAME == "IMGLIST"
callfunction getImgList
else
print "unhandled block %BLOCKNAME%"
cleanexit
endif
savepos POS
if POS == SIZE
cleanexit
endif
next
startfunction getTexList
math BLOCKPOS += BLOCKSIZE
for i = 1
idstring "TEXTURE\0"
get TEXSIZE longlong
getdstring datakind 4
idstring "ZIP\0"
get un1 long
get un2 long # 8
get chunks long
get un3 long # 4
log MEMORY_FILE 0 0
append
for c = 0 < chunks
get size long
savepos pos
clog MEMORY_FILE pos size 0x10000
math pos += size
goto pos
next c
append
get size asize MEMORY_FILE
string txt p= "texture_%s_%02i.dat" datakind i
log txt 0 size MEMORY_FILE
savepos POS
if POS == BLOCKPOS
break
endif
next i
endfunction
startfunction getImgList
print "unhandled"
cleanexit
endfunction
i thought they were small files too but they were in tha "fighter" folder which kinda made me automaticly think characters :D...JohnGrimm wrote: Those texture files are really small and probably insignificant, I'd be willing to bet there's more files in the .pcs archives. Like WRS said the script is incomplete. Also, I'm still rather curious about what's in those texture files, but I can't seem to get them open. Tried messing around with headers in a Hex editor and tried opening them in the DirectX texture viewer, but it didn't work.
The characters ARE in there, but the script doesn't extract all the files because more work needs to be done with it.protosk8 wrote:i thought they were small files too but they were in tha "fighter" folder which kinda made me automaticly think characters...
i checked tha other folders and they got palettes,bg stuff,shaders, and stuff thats on tha menu, like font and portiats.
in tha "fighter" folder theres 'bout 88 lua + pcs files. tha pcs are around 5-14mb
and i think it's just tha headers missing cuz tha "incomplete script".
JohnGrimm wrote:The characters ARE in there, but the script doesn't extract all the files because more work needs to be done with it.protosk8 wrote:i thought they were small files too but they were in tha "fighter" folder which kinda made me automaticly think characters :D...
i checked tha other folders and they got palettes,bg stuff,shaders, and stuff thats on tha menu, like font and portiats.
in tha "fighter" folder theres 'bout 88 lua + pcs files. tha pcs are around 5-14mb
and i think it's just tha headers missing cuz tha "incomplete script".

I'm sure you probably already figured as much but you just need to fill out the else block in the main loop as well as the getImgList function.how to complete that script