Rby Posted Monday at 12:47 PM Posted Monday at 12:47 PM 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 Thief1987 Posted Monday at 02:17 PM Solution Posted Monday at 02:17 PM 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
Rby Posted Monday at 04:05 PM Author Posted Monday at 04:05 PM 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
Thief1987 Posted Monday at 06:39 PM Posted Monday at 06:39 PM script unpacks archives that you provided. What's exactly don't work on your side?
Rby Posted Wednesday at 04:30 PM Author Posted Wednesday at 04:30 PM 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. Landform Maps.zip
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now