Jump to content

Need help with Cartagra's Remake image files


Sigma57f

Recommended Posts

Yesterday I downloaded Cartagra «Rebirth FHD Size Edition» (Innocent Grey / Gungnir), mostly because of the remastered character sprites and backgrounds, but I've come across a wall at the moment of extracting them. Unlike previous games, this one has the images in a .cz file format, and so I can't view them or convert them to PNG. I've noticed that GarBro is able to view some of these .cz files, so I did some digging and it seems it's because of this:

8KIOZu7.png The files with CZ1 work fine.

gj7Sfde.png The ones I'm interested in have this and GarBro can't view them.

If I manually change it to CZ0, CZ1 or CZ3, it does "work" and GarBro can view them, but the image ends up being really, really distorted.

I'm not sure if this is some kind of compression or encryption thing, but this is where I'm at right now, so any help would be highly appreciated. I'm not sure where to go from here, I just want to be able to convert them to PNG, at least.

If there are any tools or scripts that may be able to help, please let me know!

Edited by Sigma57f
Link to comment
Share on other sites

  • 2 weeks later...
10 hours ago, REtransInternational said:

What does the distortion look like? A picture is worth at least 1k words.

CZ0:
5MlPidx.png

CZ1:
D1wHkFG.png

CZ3:
HEY979m.png

 

The images are definitely made with libpng from what I could find. I've also tracked down some of the locations where this CZ encoding appears. Here's one of them.

AW3RNTi.png

I might as well attach some of the game files if anyone wants to check them out.
.cz ImageGame's executableGame's executable .bak

Link to comment
Share on other sites

17 hours ago, REtransInternational said:

Thank you for the additional information and sample. Does this look correct for an extraction of your sample image?

dnzHIBe.png

If it is correct, please provide a few more samples, preferably of different dimensions, for validation.

It is, yes!! Tysm! I may be asking too much here, but would it be possible to make them transparent, without the black background? That'd be great.

In any case, here are the other samples. There are background images, character sprites and some system images too:
Samples.zip (You may need to add ".cz" at the end of the filenames manually)

Edited by Sigma57f
Link to comment
Share on other sites

  • 5 months later...
On 6/26/2023 at 2:51 AM, Sigma57f said:

Can confirm it works like a charm! I was able to convert the decoded files to PNG with a simple Python script.
I highly appreciate all the help. Thank you very very much!! 

Hi, I know I’m replying half a year later but I’m currently attempting the same thing you did (extracting the sprites from FHD) and I was wondering if you could share your Python script you used to convert the decoded file to PNG? I’ve tried searching online for a script and writing my own to no avail. 

Thank you in advance for your time ^^

Link to comment
Share on other sites

  • 1 month later...
On 12/6/2023 at 5:12 AM, corruptingheart said:

Hi, I know I’m replying half a year later but I’m currently attempting the same thing you did (extracting the sprites from FHD) and I was wondering if you could share your Python script you used to convert the decoded file to PNG? I’ve tried searching online for a script and writing my own to no avail. 

Thank you in advance for your time ^^

Sorry for the late reply, here you go! Took me a bit to find it:
Cartagra Rebirth - PNG Conversor Script

I've included a batch file to speed up the process. Just needs to be in the same folder as cz4dec.exe. The Python script only needs Pillow to be installed

Link to comment
Share on other sites

Hi there. I don't know A THING about extracting files from games. I've tried using garbro but that didn't work on my gamefiles, maybe I just downloaded corrupted files.

I need your help please. Did anyone managed to extract the CGs from that game? If you, can you please send an archive link? 🙏 

Link to comment
Share on other sites

Since I've been asked twice for CGs, I went ahead and made a guide for converting the assets. This should suffice, hopefully. The file where the CGs are located at is called EVENTCG.PAK.
Video guide for converting CZ assets to PNGs
The "decoded" and "PNGs" folders must be created as the guide shows. Can be modified by editing the batch file anyway

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...