Jump to content

Cat Texture Editor (for Senran Kagura: Estival Versus)


Recommended Posts

About:

When I started playing Senran Kagura: Estival Versus, I realized that I'd want to make some texture replacements.  I set out to create a tool to do so.  At first it was very crude, but as time went on, I discovered more about the structure of Cat files and improved the tool.  Now I feel that the time has arrived to share this tool, so that it will hopefully make it easier for others to discover what textures lie within the various Cat files of the game and to extract/replace them easily too.

 

 

Download Link:

CatTextureEditor_v1_5_9.7z

CatTextureEditor_v1_5_8.7z

 

 

Requirements:
64-bit version of Windows
.NET Framework 4.0+
 
 
Known Issues:
  • DDS files with widths that are not a power of 2 display incorrectly within the tool.  The actual data is fine however, when viewed in the game or an image editor.
  • Trying to use textures extracted via the SKEV_cat_ana tool will result in an error if the textures are not actually DDS files.  Either extracting the textures again with this tool (from the original Cat file) or renaming the extension appropriately will resolve this issue.
  • Some forms of JPEG files may not be recognized after being placed into a Cat file.  This should be fixed in the next release.
 
Changelog:

v1.5.9
  • Added broader recognition support for JPEG formats, including EXIF & SPIFF.
  • Replacement image type is no longer influenced by the given extension, i.e. giving a PNG file a DDS extension will not prevent the program from correctly identifying it.
 
v1.5.8
  • Initial Release

 
Instructions (included in the ReadMe.txt):

Basic Operation:
Drag'n'drop a Cat file onto the left side.  When opened, you can browse the various images by changing the Index below the image.
 
You can also drag'n'drop DDS/PNG/JPEG/CAT files onto the right side for viewing, comparing, or replacing.
 
Note: The window size can be changed or maximized to see more details of the images.
 
 
Extraction:
With the desired Cat file texture displayed via the Index, click Export
OR
Simply click Export All.
 
Note: For each image extracted, a file will be created in the source folder with name of the source Cat file along with the Index and Name (if available).  
For example, "pl05_00_H.cat.2.skin00_EE.dds" would be created when exporting the DDS texture at Index 2, named "skin00_EE" from the Cat file "pl05_00_H.cat".
 
 
Replacing Textures:
With the desired Cat file texture for replacement displayed via the Index, and the Replace Image loaded on the right side, click Replace under the image to inject.  The file is then **immediately updated**, so be sure to make any desired backups before clicking.
 
Note: At this time, DDS, PNG, and JPEG are supported.
 
 
Custom Replacement of Text:
1) Copy "CatTextureEditor.exe.config" from the "(Optional)" folder within this archive to the same directory as the Cat Texture Editor program.
 
2) Add items within "string" elements, where each item is a pair of old text and new text separated by a "|" (vertical pipe).
For example, to replace "Kafuru" with "Baka", the setting would like the following:
 
            ...
            <setting name="TextToReplace" serializeAs="Xml">
                <value>
                    <ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                        xmlns:xsd="http://www.w3.org/2001/XMLSchema">
                        <string>Kafuru|Baka</string>
                    </ArrayOfString>
                </value>
            </setting>
            ...
 
You could also substitute "Kafuru" with "バカ" similarly:
 
                        ...
                        <string>Kafuru|バカ</string>
                        ...
 
Each item to be replaced must appear with its own "string" element.  You can define as many as you like.
 
Note: The order is important!  If "123|New Text" appeared before "ABC123|Some Other Text", then the latter would never find anything to replace, because all "123"s would already be "New Text".
 
3) Save changes.
Note: The configuration is encoded in UTF-8, so be sure you save the file in a format that can handle the characters present in the file.
 
4) Drag'n'drop the desired Cat file (likely within the "GameData\Binary" path of the game) onto the program.
 
Keep in mind that this will only change the text.  Any changes to graphical text will require further effort.  Also, any changes made in the configuration will only take effect the next time the program is launched.
 
Note: Be sure to *backup* the original file before confirming the changes.
 
5) Confirm the replacement.  The file is **immediately updated**.  Likely, you'll receive a message that the Cat file contains no textures.  This is normal and the changes are already saved.

 

 

Link to comment

New release (download link in the first post)

 

v1.5.9
  • Added broader recognition support for JPEG formats, including EXIF & SPIFF.
  • Replacement image type is no longer influenced by the given extension, i.e. giving a PNG file a DDS extension will not prevent the program from correctly identifying it.
Link to comment
  • 3 months later...
  • 3 weeks later...

i wanted to edit the 4k pink skin texture, but it won't show up in the cat editor when i drag in the cat file so i can't extract it. does anyone know why this is happening?

 

I'm trying to edit the same texture and It's inefficient trying to scale and then paste parts from the 2K version into Softman Realistic and the results are not the prettiest. So I thought that this would be a good question for this thread too.

Link to comment
  • 4 months later...
  • 1 month later...
  • 10 months later...
  • 2 months later...
  • 3 years later...
  • 3 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use