Jump to content
whocares8128

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.

 

 

Share this post


Link to post

Took a quick look just now and this is great! Way better than extracting/inserting the .dds with HxD.

 

Thanks!

Share this post


Link to post

I don't see the "(Optional)" folder in the archive file.

 

Oh, I see that it already support AdvTextE.cat. Thanks for this.

Share this post


Link to post

 That's because I forgot to include it.   :shy:   Thanks for the pointing that out.  The download link has been updated.

Share this post


Link to post

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.

Share this post


Link to post

With this mod, would it be possible to mix and match textures from other mods?

 

I really like the Goumou hair pubic hair mod, but it mostly has nipple textures, would be cool to mix it with the 8k smooth skin because those nipples are better

 

Thanks in advance

Share this post


Link to post

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.

Share this post


Link to post

I was interested in using this tool, but for some reason it doesn't open correctly/needs to find a program to use it with. Any suggestions on what to do?

Share this post


Link to post

The links seem to no longer be working. Anyone have a mirror, or source other than this one? Would be much appreciated.

 

***EDIT*** Never mind, you must make an account to download, otherwise it has a weird redirect for anyone else that runs into the same problem ********

Share this post


Link to post

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...