The VG Resource
Legend of Korra .dat files - Printable Version

+- The VG Resource (https://www.vg-resource.com)
+-- Forum: The Resources (https://www.vg-resource.com/forum-109.html)
+--- Forum: The Models Resource (https://www.vg-resource.com/forum-111.html)
+---- Forum: Ripping Help (https://www.vg-resource.com/forum-115.html)
+---- Thread: Legend of Korra .dat files (/thread-32074.html)



Legend of Korra .dat files - Konnie - 12-17-2017

Hey, I know this is on several forums but I'm still struggling with getting the models out of the game, I've managed to use a quickBMS script for the textures and extracted the .cpk files, my problem is with getting the .dat files to extract, the MGRR link to download is down, upon finding one on the internet, it doesn't give out any extracted files when saying it's done extracted, hence why I'm asking here, if someone knows how to extract the models from the game, preferrably to extract the .dat files.
[Image: Ed9pRSL.png]

Sample: https://drive.google.com/open?id=1piqPZUKeshs9c22mlmF4vc5F8tplulLK

Thank you for any info!


RE: Legend of Korra .dat files - Pingus! - 12-17-2017

A little reading could help you:
https://www.vg-resource.com/thread-26460.html

As well, had you also seen the other thread that was posted, I already wrote a script for the DAT files:
Code:
# The Legend of Korra *.DAT
# Written By Anex For QuickBMS

idstring "DAT\x00"
get FCOUNT long
xmath CHECK "FCOUNT - 0x1"
get HEADERSIZE long
get FOLDNAMPOINTER long
get FNAMEPOINTER long
goto HEADERSIZE
savepos OFFTABLE
goto FNAMEPOINTER
get FNSIZE long
savepos FNAMETB

for i = 0 < FCOUNT
    getdstring NAME FNSIZE
    savepos FNAMETB
    goto OFFTABLE

if i == CHECK
  get OFFSET long
  goto OFFSET
  goto 0 0 SEEKEND
  savepos OFF2
  xmath SIZE "OFF2 - OFFSET"    
else
  get OFFSET long
  get OFF2 long
  xmath SIZE "OFF2 - OFFSET"
  math OFFTABLE + 0x4
endif
    log NAME OFFSET SIZE
    goto FNAMETB
next i

The models can be imported into Noesis using the attached scripts in that first thread I linked you to.