The Forum is up for sale: XeNTaX Forum looking for new owner

King of Fighters XIII .pcs file

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
Nega
beginner
Posts: 27
Joined: Wed Sep 29, 2010 9:57 pm
Has thanked: 5 times
Been thanked: 12 times

King of Fighters XIII .pcs file

Post by Nega »

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 :)
SirLoon
advanced
Posts: 45
Joined: Fri Dec 18, 2009 5:26 pm
Has thanked: 2 times
Been thanked: 3 times

Re: King of Fighters XIII .pcs file

Post by SirLoon »

Nega 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 :)
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 file
WRS
ultra-veteran
ultra-veteran
Posts: 603
Joined: Fri Nov 06, 2009 12:13 am
Has thanked: 74 times
Been thanked: 136 times

Re: King of Fighters XIII .pcs file

Post by WRS »

just a compressed block format

incomplete script because the data needs headers or something

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
Useful tool links:
JohnGrimm
n00b
Posts: 12
Joined: Sun Nov 20, 2011 9:22 am
Has thanked: 2 times

Re: King of Fighters XIII .pcs file

Post by JohnGrimm »

Any advancements on this at all?
protosk8
advanced
Posts: 42
Joined: Sat Feb 12, 2011 5:13 pm
Has thanked: 12 times
Been thanked: 2 times

Re: King of Fighters XIII .pcs file

Post by protosk8 »

The contents of this post was deleted because of possible forum rules violation.
JohnGrimm
n00b
Posts: 12
Joined: Sun Nov 20, 2011 9:22 am
Has thanked: 2 times

Re: King of Fighters XIII .pcs file

Post by JohnGrimm »

The contents of this post was deleted because of possible forum rules violation.
protosk8
advanced
Posts: 42
Joined: Sat Feb 12, 2011 5:13 pm
Has thanked: 12 times
Been thanked: 2 times

Re: King of Fighters XIII .pcs file

Post by protosk8 »

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.
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".
JohnGrimm
n00b
Posts: 12
Joined: Sun Nov 20, 2011 9:22 am
Has thanked: 2 times

Re: King of Fighters XIII .pcs file

Post by JohnGrimm »

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".
The characters ARE in there, but the script doesn't extract all the files because more work needs to be done with it.
protosk8
advanced
Posts: 42
Joined: Sat Feb 12, 2011 5:13 pm
Has thanked: 12 times
Been thanked: 2 times

Re: King of Fighters XIII .pcs file

Post by protosk8 »

JohnGrimm wrote:
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".
The characters ARE in there, but the script doesn't extract all the files because more work needs to be done with it.

yea i gotcha kinda figured while i was typing x:
JohnGrimm
n00b
Posts: 12
Joined: Sun Nov 20, 2011 9:22 am
Has thanked: 2 times

Re: King of Fighters XIII .pcs file

Post by JohnGrimm »

So it doesn't look like anyone is interested in cracking these files, so if anyone can point me in the right direction on how to complete that script I'd like to undertake it myself.
finale00
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2382
Joined: Sat Apr 09, 2011 1:22 am
Has thanked: 170 times
Been thanked: 307 times

Re: King of Fighters XIII .pcs file

Post by finale00 »

how to complete that 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.
Post Reply