Jump to content

Senran Kagura Estival Versus PC Hex editing(Body, and making thing invisible)


Recommended Posts

 

Is there any tool for extracting costumes and textures like catpack for SK SV?

 

Looks like there's a basic command-line tool for unpacking and repacking. I haven't tested it to see if repacking actually produces valid files.

http://mercury.bbspink.com/test/read.cgi/pinkcafe/1489747901/677

 

Thank you it works :D

 

Is there a tool that you can see the texture of the cat file instead of exctracting it? There was also a version for SKSV

 

Link to comment

Can someone please explain how to do the invisible bra edits? I want to do all the outfits.

Is written in the previous pages @teals03 (posts number #57 and #70)

 

I'd like to make invisible all the undies of the lottery shop but I can't understand how, I tried but I really can't.

Link to comment

 

Can someone please explain how to do the invisible bra edits? I want to do all the outfits.

Is written in the previous pages @teals03 (posts number #57 and #70)

 

I'd like to make invisible all the undies of the lottery shop but I can't understand how, I tried but I really can't.

 

 

He just explained how to get rid of the panties. I don't need that because there's already the edit that makes lingerie 11 and 31 invisible. I need to know how to make the bras invisible.

Link to comment

I've finished testing the school swimsuit, and have confirmed that it works in every case (dressing room, battle, frantic, transformation).  With this, you should never see a bra while wearing the school swimsuit (nor sandals for that matter).  Paired with a mod to remove panties which works off the method described here, you should never see panties either (Who wears underwear under a swimsuit?).

BralessSchoolSwimsuit.7z

Link to comment

@TreeHugger829 I posted some examples of how people are removing the bras from outfits in my #70 post. You make the bra disappear by editing the outfit itself. While it might not be that complicated to edit them, its nowhere near as simple as removing the panties, for example, and I personally don't quite understand how its done. You can however absolutely take a look at what the mods are changing and try to figure it out from there. That was what I had posted about in #70.

Link to comment

@whocares8128

 

I would love to know how to determine which values to edit, cause even looking at your edits for the swimsuit, I still just don't quite follow. I know general area that I need to look at, but its the actual specific values that I am struggling with.

Link to comment

Panty-free mod:

-Edits all lingerie sets so panties should be invisible

-Should work across all game modes

-Does not affect bottoms that aren't part of a lingerie set (costumes with panties that cover worn panties, costumes on generic enemies, etc)

-Does not affect bras or other tops (appears that these need to be done on a per-costume basis, rather than per underwear set)

 

This mod overwrites all data sets in the Gamedata/Model/Costume/Swim folder. Please back up your files prior to installation as these files have not been extensively tested.

 

Reproducibility:

All files were changed with simple hex edits; if you don't trust downloading large chunks of data from a stranger you can do these edits by hand.

-xx_xx_L.cat:

--Zeroed out byte 655h

-xx_xx_H.cat:

--Zeroed out bytes 8D0-8D1h

--Zeroed out bytes 685h and 68Dh

 

Password: kagura

Use at your own risk

attachicon.gifgamedata_pfm.zip

 

I feel like I've misunderstood how this is meant to work?

 

It removes panties from the dressing room and the main menu screens but not from in battle or frantic mode?

 

http://imgur.com/a/vpwKC

Link to comment

I think in your screenshots that is a swimsuit, which is not underwear and thus not edited.

 

 

 

-Does not affect bottoms that aren't part of a lingerie set (costumes with panties that cover worn panties, costumes on generic enemies, etc)

 

Link to comment

The menu scenes, for whatever reason, seem to use default lingerie sets instead of swimsuits. No idea why. But yeah, that looks like a bikini outfit, which I think overrides the underwear set even though it's not included with the rest of the underwear files.

Link to comment

@whocares8128

 

I would love to know how to determine which values to edit, cause even looking at your edits for the swimsuit, I still just don't quite follow. I know general area that I need to look at, but its the actual specific values that I am struggling with.

At this point, I can only recognize the region that needs to be changed.  Each mesh has an ID, and most define a material to use.  The IDs start at 00 and increment 1 in order.

 

Here is a snippet from the School Swimsuit file (FreeCos\02_00_H.cat):

Note: I have underlined each individual record to help illustrate the data structure.

 

     Offset

Address   0   1   2   3  4   5   6   7  8   9   a   b  c   d   e    f

======================================

0xce0    00 60 00 40 00 30 00 10 01 60 01 40 01 30 00 10

0xcf0     02 60 02 40 02 30 00 10 00 60 03 40 03 30 00 10

0xd00    03 60 04 40 04 30 00 10 00 60 05 40 05 30 00 10

0xd10    01 60 06 40 06 30 00 10 02 60 07 40 07 30 00 10

...

 

 

Key: Material ID Element ID (Don't change this) Reference ID Visibility

Areas not highlighted are regions I don't yet fully understand.

 

 

 

The Material IDsElement IDs, and Visibility refer to the following:

Offset

0/8   Material ID

        00=Skin

        01=Swimsuit (Normal)

        02=Name Tag

        03=Sandals

        [below are not shown in the example]

        04=Swimsuit (1st Break)

        05=Swimsuit (2nd Break)

        06=Selected Underwear

 

2/a   Element ID Note: "Close Up" occurs during Transformation Scene and also during Ninpo use (but perhaps not always)

        00=Upper Body (Normal) (Large Chest)

        01=Swimsuit (Normal) (Large Chest)

        02=Name Tag (Normal) (Large Chest)

        03=Legs

        04=Sandals

        05=Upper Body (Normal) (Small Chest)

        06=Swimsuit (Normal) (Small Chest)

        07=Name Tag (Normal) (Small Chest)

        [below are not shown in example]

        08=Upper Body (1st Break) (Large Chest)

        09=Swimsuit (1st Break) (Large Chest)

        0a=Name Tag (1st Break) (Large Chest)

        0b=Upper Body (1st Break) (Small Chest)

        0c=Name Tag (1st Break) (Small Chest)

        0d=Swimsuit (1st Break) (Small Chest)

        0e=Swimsuit (2nd Break) (Large Chest)

        0f=Upper Body (2nd Break) (Large Chest)

        10=Bra (Large Chest)

        11=Upper Body (2nd Break) (Small Chest)

        12=Bra (Small Chest)

        13=Upper Body (FULL) (Large Chest)

        14=Upper Body (FULL) (Small Chest)

        15=Legs (FULL)

        16=Close Up (Fingertips)

        17=Close Up (Legs)

        18=Close Up (Feet)

        19=Close Up (Bra) (Large Chest)

        1a=Close Up (Bra) (Small Chest)

        1b=Close Up (Swimsuit) (Large Chest)

        1c=Close Up (Name Tag) (Large Chest)

        1d=Close Up (Sandals)

        1e=Close Up (Swimsuit) (Small Chest)

        1f=Close Up (Name Tag) (Small Chest)

 

5/d   Visibility

        00=Not visible

        30=Visible

 

 

 

 

 

 

Of course there are additional definitions for broken and fully broken states.

 

To switch out one item for another, simply change the Reference ID to the desired Element ID.

 

For example, to make everyone wearing the school swimsuit to appear flat chested in the normal state, you'd make the following changes:

 

     Offset

Address   0   1   2   3  4   5   6   7  8   9   a   b  c   d   e    f

======================================

0xce0     00 60 00 40 05 30 00 10 01 60 01 40 06 30 00 10

0xcf0     02 60 02 40 07 30 00 10 00 60 03 40 03 30 00 10

0xd00    03 60 04 40 04 30 00 10 00 60 05 40 05 30 00 10

...

 

Note that the Element IDs remain the same; only the Reference IDs are changed to point to a different Element ID.  To hide a given element (e.g. the bra, which is 10 and 12 in this case for large and small chests respectively), simply change the Visibility of "30" following the Reference ID to "00".

 

In order to learn which Element IDs referenced what, I simply placed at least 1 busty and 1 non-busty girl wearing the costume under consideration in the dressing room.  Then, I would edit the CAT file in a hex editor, making 1 element invisible.  Then Choose the Dressing Room option from the main screen (from the very beginning screen, without the girls in the background), and look for what went missing.  Note: If you change the file while in the Dressing Room, you may not see the difference (simply back out and select the Dressing Room again).  The "Close Up" information was far more tedious, as I had to repeat a similar process, but actually load into a mission and transform to look for the missing pieces.  If anyone finds a better way to figure out what is what, please let me know.

 

The Close Up parts are where things get weird.  Check out the following snippet of the School Swimsuit file:

Note: Because #15 doesn't have the last 2 bytes, #16, 18, 1a, 1c, and 1e all wrap around to the next line.  Why this is and how the reading program knows this is coming I haven't figured out yet, but it is definitely something to watch out for.  Also #16 doesn't define a material for whatever reason.

 

     Offset

Address   0   1   2   3  4   5   6   7  8   9   a   b  c   d   e    f

======================================

...

0xd80    00 60 14 40 14 30 00 10 00 60 15 40 15 30 16 40->

0xd90    16 30 00 10 00 60 17 40 17 30 00 10 00 60 18 40->

0xda0    18 30 00 10 07 60 19 40 19 30 00 10 07 60 1a 40->

0xdb0    1a 30 00 10 08 60 1b 40 1b 30 00 10 09 60 1c 40->

0xdc0    1c 30 00 10 0a 60 1d 40 1d 30 00 10 08 60 1e 40->

0xde0    1e 30 00 10 09 60 1f 40 1f 30 00 10 00 00 00 00 

 

 

Notice that despite the strange wrapping, the data is largely the same.  While I hadn't bothered to write it down at the time (because I was still figuring all this out), we can see that materials 07, 08, 09, and 0a are for the transformation of the Bra, Swimsuit, Name Tag, and Sandals respectively.  So as you start to learn what the materials mean, it is easier to figure out what must be the "Small Chest" versions of the same resources.

 

Of course each costume has different numbers of elements and materials, and there is no guarantee of common meanings between any 2 files (the exception being variants of the same costume, e.g. 02_01_H.cat, 02_02_H.cat, etc.).  As you may have noticed, even the general order of defining things wasn't the same for Large and Small Chest.  About the only thing that seems to be consistent is that all the "Normal State" things come before the "1st Break" things, which come before the "2nd Break" things.  At least, that was true in the prequel.

 

I apologize for the alignment, but as you can see, using the code block keeps everything nice and neat, but hides all the formatting (though not while composing the post).  Hopefully, it is good enough to get the point across.

	 Offset
Address	 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f 
========================================================
...
0xd80	00 60 14 40 14 30 00 10 00 60 15 40 15 30 16 40->
0xd90	16 30 00 10 00 60 17 40 17 30 00 10 00 60 18 40->
0xda0	18 30 00 10 07 60 19 40 19 30 00 10 07 60 1a 40->
0xdb0	1a 30 00 10 08 60 1b 40 1b 30 00 10 09 60 1c 40->
0xdc0	1c 30 00 10 0a 60 1d 40 1d 30 00 10 08 60 1e 40->
0xde0	1e 30 00 10 09 60 1f 40 1f 30 00 10 00 00 00 00 
Link to comment

I had to actually go in and write down the blocks that you changed for 02_00_H.cat, in order to figure out exactly what your saying, but I think I might actually be able to figure things out from here. I hope that the 02_00_L.cat is just as simple to follow.

Link to comment

It is.  The _L versions lack the "Close Up" information, but otherwise have identical structure, i.e. smaller list of the same values.  They exist at a different address as well, but that's because they lack the higher quality textures of the _H.

 

I've finished updating the Braless Bubbles version as well.  Though I didn't explicitly check it for smaller chested girls this time, I'm fairly confident it should be okay, based on the material usage I was seeing.

 

Once again, you can (as I did) use this in conjunction with an invisible pair of panties for a fully nude underneath effect.

BralessBubbles.7z

Link to comment

This is for those of you that might be more visual learners like myself. Use the information provided by whocares8128 to help you follow along, otherwise this might not make much sense. The values highlighted in green and green are the values being changed to make the bra invisible for the School Swimsuit in the 02_00_H.cat and 02_00_L.cat files. 

 

02_00_H.cat - The H.cat file makes changes to the higher res model you see in the various cut scenes.

 

Offset at D00 - 03 60 04 40 04 30 00 10 - Change 30 to 00 - The Sandals (04) are made invisible.

Offset at D20 - 00 60 08 40 08 30 00 10 - Change 08 to 13 - The 1st Break State for Large Chest (08) changes its reference to FULL Large Chest (13).

Offset at D38 - 00 60 0B 40 0B 30 00 10 - Change 0B to 14 - The 1st Break State for Small Chest (0B) changes its reference to FULL Small Chest (14).

Offset at D58 - 00 60 0F 40 0F 30 00 10 - Change 0F to 13 - The 2nd Break State for Large Chest (0F) changes its reference to FULL Large Chest (13).

Offset at D60 - 06 60 10 40 10 30 00 10 - Change 30 to 00 - The Bra Large Chest (10) is made invisible.

Offset at D68 - 00 60 11 40 11 30 00 10 - Change 11 to 14 - The 2nd Break State for Small Chest (11) changes its reference to FULL Large Chest (14).

Offset at D70 - 06 60 12 40 12 30 00 10 - Change 30 to 00 - The Bra Small Chest (12) is made invisible.

Offset at DA4 - 07 60 19 40 19 30 00 10 - Change 30 to 00 - The Close up Bra Large Chest (19) is made invisible.

Offset at DAC - 07 60 1A 40 1A 30 00 10 - Change 30 to 00 - The Close up Bra Small Chest (1A) is made invisible.

Offset at DC4 - 0A 60 1D 40 1D 30 00 10 - Change 30 to 00 - The Close up Sandals (1D) are made invisible.

 

02_00_L.cat - The L.cat file makes changes to the lower res model you see during normal battle.

 

Offset at B70 - 03 60 04 40 04 30 00 10 - Change 30 to 00 - The Sandals (04) are made invisible.

Offset at B90 - 00 60 08 40 08 30 00 10 - Change 08 to 13 - The 1st Break State for Large Chest (08) changes its reference to FULL Large Chest (13).

Offset at BA8 - 00 60 0B 40 0B 30 00 10 - Change 0B to 14 - The 1st Break State for Small Chest (0B) changes its reference to FULL Small Chest (14).

Offset at BC8 - 00 60 0F 40 0F 30 00 10 - Change 0F to 13 - The 2nd Break State for Large Chest (0F) changes its reference to FULL Large Chest (13).

Offset at BD0 - 06 60 10 40 10 30 00 10 - Change 30 to 00 - The Bra Large Chest (10) is made invisible.

Offset at BD8 - 00 60 11 40 11 30 00 10 - Change 11 to 14 - The 2nd Break State for Small Chest (11) changes its reference to FULL Large Chest (14).

Offset at BE0 - 06 60 12 40 12 30 00 10 - Change 30 to 00 - The Bra Small Chest (12) is made invisible.

 

Since there are no close ups during normal battle that aren't cut scenes, there are no close values that need to be changed in the L.cat files. Between this and whocares8128 information you should be able to figure out how to make the bras invisible for the various outfits. *Fingers Crossed*

 

*Edit* Unless of course, I have absolutely no idea what I am talking about.

Link to comment

@TAKUE

 

This is probably not the thread to be asking that, but that nude mod can be found at http://mercury.bbspink.com/test/read.cgi/pinkcafe/1489747901/

 

I cannot remember exactly which post it is (there are a lot of posts), but it should be at least about half way down or further. It shouldn't be too difficult to find. Just click the links that goto pictures and you will eventually find a picture similar to the one you posted. A link to that file should be directly below it.

 

 

@whocares8128

 

And here I though I might have had it. I just took a look at your edits on the Soap Swimsuit, and I am not "completely" bamboozled, but I am pretty damn close. It doesn't seem to be drastically different, it follows the same basic idea, but I am wondering if the values for the Element IDs or Material IDs are different for each costume? Or does it maybe have to do with the fact that some swimsuits don't have break states? 

 

An example of my noob status, at offset EA4 you change a reference value of 16 to 1A. For the School Swimsuit, 16 refers to Close Up (Fingertips) and 1A is Close Up (Bra) (Small Chest). Whats going on there?

 

I should probably add that I am very new to hex editing. I know how to make edits to the scales for the individual girls, and I get how the underwear works, but removing the bras is appearing to be a bit over my head at the moment. I am using HxD to view the .cat files if that makes a difference. Sorry in advance for all the questions.

Link to comment

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
×
×
  • 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