CMPR texture file decoding - Printable Version +- The VG Resource (https://www.vg-resource.com) +-- Forum: The Resources (https://www.vg-resource.com/forum-109.html) +--- Forum: The Textures Resource (https://www.vg-resource.com/forum-113.html) +---- Forum: Ripping Help (https://www.vg-resource.com/forum-117.html) +---- Thread: CMPR texture file decoding (/thread-30086.html) |
CMPR texture file decoding - Mattrio - 10-27-2016 Hi everyone, A few months ago I've created this thread, but since then I got further. I'm trying to get MySims Kingdom Wii's texture files that are stored in compressed archive-like files called packages, used by many Sims games but are different from a game to an another. Thanks to S3PE software (it's the only package editor able to open almost every MySims packages) I got into a MySims Kingdom package, but it only let me export files from package because the software is not designed for this kind of package. When extracted, I got the unreadable image file, and thanks to Dolphin's texture compression format detector I know the game uses CMPR (or DXT1). User TGE created a script that let us extract models from specific packages from an another MySims game and it also extracts the package's TPLs, even if package format is different and does not work for MySims Kingdom's packages I'm pretty sure that texture compression is similar so the maxscript could contains useful informations: Code: gc() Like said in my previous thread, this is the error I get in S3PE when trying to get a preview of the image file, it could be also useful: Code: Error reading resource 0x00B2D882-0x00000000-0xBA6D3A63FDA1EED7 The file format is definitely not DDS. So what could it be, and if it's custom, how could I find the way to get a view of these image files? Dolphin is useful for getting textures from the game, but what I'm trying to get is fully unused in the game, that's why it's so interesting for me to view these files. What do you think guys? Is someone able to get something from the file I have attached? In this archive, the first file is a random texture extracted from a package exactly how S3PE extracts it, even if .DDS is not correct. The other file is a whole (light) package containing exactly two image files in case the file I extracted is broken and/or someone wants to create a program or something that could extracts readable textures directly from the package. I have not tested Wimgt from Wiimms SZS tools because for an unknown reason my computer doesn't want to install it. However this software seems to be the most complete one for this use so it's possible it can decode the files. Like said below, all other tools, including BrawlBox, are not working. Help is truly appreciated, thanks a lot. RE: TPL CMPR multiple files decoding - TGE - 11-05-2016 You can use BrawlBox to open up the TPL texture container. S3PE crashes because it expects a valid DDS header, but seeing as the format doesn't use DDS, it will crash. RE: TPL CMPR multiple files decoding - Mattrio - 11-07-2016 (11-05-2016, 06:37 AM)TGE Wrote: You can use BrawlBox to open up the TPL texture container. S3PE crashes because it expects a valid DDS header, but seeing as the format doesn't use DDS, it will crash. I tried BrawlBox and many other TPL opener software but none is opening them. In the case of BrawlBox, I got the following error: "Unable to recognize input file". RE: CMPR texture file decoding - Mattrio - 06-27-2017 Any idea? |