Jump to content

7th Dragon 2020-II & tpk Archive Help!


Go to solution Solved by Thief1987,

Recommended Posts

Posted

I've been trying to rip models from the game to do a self model study, but I've been banging my head against a wall for the past couple days trying to extract them. I'm new to this and the biggest problem I've been running into is conflicting information on how to extract the MDL files from these TPK files. I've managed to extract everything from the games DNS file (which as I understand is just an encrypted CPK file), giving me the TPK files, but I've been hard stuck since.

This old post is where I got the most useful info from, but I don't really understand what I'm supposed to be doing since all of the pics showing what people are doing have been deleted. I couldn't really figure out how to make my own quickbms script after several days of trying and offzip wasn't working either. 

https://web.archive.org/web/20230812014934/https://forum.xentax.com/viewtopic.php?t=10468

Here are some of the tpk files that I've extracted for reference. Any help would be greatly appreciated. I love the look of this game and I can't find rips of the models anywhere online. 

7th Dragon tpks.zip

  • Solution
Posted
Quote

get id long
get files long
get fsize asize
for i = 0 < files
get offset long
getdstring name 0x1C
savepos pos
get next_offset long
goto pos
xmath check "files - 1"
if i == check
xmath size "fsize - offset"    
else
xmath size "next_offset - offset"
endif    
log name offset size
next i

Not sure that it will work with all files, because I'm not 100% certain about filenames length

Posted

Thank you so much! You made my day! It works for the models, which was what I wanted the most by far. Doesn't seem to work for other things like map environments. If it's not too much to ask, how exactly should I go about changing the script to accommodate something like this?

Landform tpk.zip

Posted

Oops sorry wrong files. These are the right ones. It looks like these tpk archives have a bunch of different types of files crammed into them, so I'm not really sure if it's possibly to extract everything without making a complicated script. Here's what the script spits out for the first file.

 image.png.0b14e233f85f9ddadde65058633a8f65.png

Landform Maps.zip

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...