Users browsing this thread: 1 Guest(s)
.cmp conversion (Shin Megami Tensei 4 Apocalypse)
#1
Hey, trying to convert some .cmp files from Shin Megami Tensei 4 Apocalypse, but there's virtually nothing online to help do so, it's all dead-ends. I've got nowhere else to turn to. Can someone help me out? Here's some samples: 
https://mega.nz/#!64VwgQ4C!T6B9HKH8S5OIw...KGLMogDGM0
Hello.
Reply
Thanked by:
#2
To decompress them get the "lzx.exe" from here
The command is "lze -d (file)" but you can make a batch script to loop though all files
Code:
for %%f in (*.cmp) do (
   lzx.exe -d %%f
)
copy that into a text document and rename it to ".bat"
put that bat and the lze.exe into the same folder as the .cmp files and run the bat

To view them stex files there are probably programs out there, 
but if you can't find any you can manually view the decompressed files with [this]

The first part is the format, which most of these will be ETC1, then width height of the image, which you may need to guess, then offset to data, which seems to always be 80.
The width and height can be found in 0x0C and 0x10 respectively in the decompressed files if you can't figure them out. 
[Image: VXJt7uG.png]
Reply
Thanked by:
#3
I want to say the decoding has worked but I am unsure, I dont get any new files in the folder where the .cmp files are, and I receive this message when a file is decompressed:
 [Image: Capture.png]
And it finishes with 'Done' at the end, but the files do not seem to change, nor can I view them in the 3DS Image Genie, but as a whole I'm pretty new to this. What should I do?
Hello.
Reply
Thanked by:
#4
Hey, update on how things are going. 

Backgrounds are all done and figured out, trying to tackle the character bustups.
Some of the character bustups extract properly, others do not, such as this one:
[Image: output.png]
Not sure what to do from here, I've tried every format and changed offset a bunch. 80 for the offset seems to yield best results, along with this format type. Enemy images dont even remotely appear as they should regardless of any format used.
Hello.
Reply
Thanked by:
#5
Swap the width and height on that one.

Upload a few of the enemy ones.
Reply
Thanked by: Axiz
#6
Your suggestion works on those character bustups, good stuff.

On the other hand, enemy bustups dont go so well. The best most similar result looks something like this:
[Image: Capture.png]
I tried the other selections, and the W/H, but this is the closest I can get it to the actual thing.
Here's another one. ETC1A4 doesn't work well at all for it, and does not produce an output:
[Image: Capture.png]
Hello.
Reply
Thanked by:


Forum Jump: