UZ.- Posted May 4 Posted May 4 Hello everyone, I hope you're all doing well. I need help converting these TBD files to TGA, DDS, or PNG formats, or unpacking/extracting the images they contain. They belong to the game mentioned, and unfortunately, I haven't had much success with common tools like Dragon UnPACKer, QuickBMS, Watto Extractor, or Magic Viewer. I've also tried some utilities for inspecting different image formats, but I don't know how to use them correctly, as I have no programming knowledge. I think the file containt the textures in PCX format If anyone could guide me or suggest a method or tool that works, I would greatly appreciate it. I've attached the TBD file. Thank you very much in advance for your time and help! tbd unpack-convert.rar
Moderators ikskoks Posted May 5 Moderators Posted May 5 Try with ImageHeat https://github.com/bartlomiejduda/ImageHeat There are some uncompressed fonts in your sample file 1
UZ.- Posted May 5 Author Posted May 5 hi @ikskoks Thank you so much for the program, but I have a few questions I'd like to understand and learn. How did you arrive at the image size without any information? And how did you calculate the offsets? Also, I tried every option that Pixel Format displays, but none of them give me the correct colors when I copy your settings. The closest to the original is RGBA4444, but it has a gray layer that dulls the images. Could you please help me with these questions?
Moderators Solution ikskoks Posted May 5 Moderators Solution Posted May 5 3 hours ago, UZ.- said: How did you arrive at the image size without any information? And how did you calculate the offsets? By guessing 😄 It gets easier with some experience. You try some settings until image is visible, it may take you few minutes to get it right. I did more research on this format and it seems to be chunk-based custom archive format used in some games by "Zono Inc". I put all the details on wiki archive here https://rewiki.miraheze.org/wiki/Zono_Inc_TBD All the image data seems to be located in TEMP chunk. First you can see 16-bytes image header which holds the information like image width, image height, bpp etc. For first image, there is a header at offset 17736 and image data starts at 17752. So correct parameters in ImageHeat should look like this for the first image: And it should look like this after you open extracted image in GIMP:
Moderators ikskoks Posted May 5 Moderators Posted May 5 Btw, just checked this "hand" icon and fonts in some gameplay: And maybe BGRA444 is more accurate:
UZ.- Posted May 5 Author Posted May 5 hi @ikskoks Thank you very much for all your help, you are a very knowledgeable person. It’s a shame that there isn’t a proper tutorial to understand how to use ImageHeat, because it’s a great tool that could really help me with my hobby. I hope you don’t mind me asking one more question — would it be possible for you to help me use this program to try to figure out the attached UPT file? I made a post about this before but didn’t receive any help. There is a program that can view it, but not extract it. Wiki: https://rewiki.miraheze.org/wiki/Kingdom_Under_Fire_UPT upt file.rar
Moderators ikskoks Posted May 6 Moderators Posted May 6 21 hours ago, UZ.- said: would it be possible for you to help me use this program to try to figure out the attached UPT file? I made a post about this before but didn’t receive any help. There is a program that can view it, but not extract it. Sorry, but animations are not my thing. You should try to bump your topic.
Engineers h3x3r Posted May 8 Engineers Posted May 8 (edited) Send more samples. It's hard to tell just from one sample. Well i got it I think. Can't find the resource index so file is parsed resource by resource. First is 4 bytes signature and then resource size and after that are resource data. Resources starts at offset 0x18. Not sure where are file names. Edited May 8 by h3x3r
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