Jump to content
 

Repacking ch pach without losing physics? SOLVED


Recommended Posts

Posted (edited)

Solved it myself. click this link to see method to build pach, the problem was some files need to be in a specific order.

 

I am having problems repacking a pach file, I seem to lose the physics property of things like tassels and hair model disappearing.

I even tried simply extracting the unmodified zlibs from a pach then creating a new pach file with the originals to make a duplicate and even this fails too.

If I use a dummy ch pac file and put the original pach file in it works fine but using new pach builds seems to have problems with the physics of certain clothing objects.

I've tried making a new pach of all uncompressed files and also tried all compressed files but both have the problem.

I've tried using the original pach file and injecting the original compressed zlibs but this just gives the "must be same size" message despite being identical to the original.

I'd like to be able to rebuild attire pach files by simply repacking them and injecting the pach into a dummy pac if possible.

With all due respect I really don't wish to see answers that are vague like "make sure the files are the same size" as this doesn't really explain the problem and also doesn't explain why I have the same problems using the unmodified zlibs extracted from the original pach and injecting them into a fresh build pach.

ff67a14f3446b8ea59eae107611fe9bc.png

 

Update: After some further testing I have found that repacking all the files except the 00CD file seems to look somewhat fine except for some glitchy interactions with ropes (stood on apron holding rope for example).

Does anybody know what the files 00CD, 00FA and 00FB are specifically? I'd like to complete this list.

Common files in a ch pach.

0000 / 0    Yobj 3D Model
000A / 10
    Extra/Attire Textures
000C / 12    Face and Body Textures
00CA / 202    Muscles
00CD / 205    ? (Physics properties for interaction?)
00CE / 206    Masking
00FA / 250    ?
00FB / 251    ? (Hex shows similar to masking, could be the material type?)
2580 / 9600    ? (Hex shows body labels and hair, possibly hair physics properties?)
2715 / 10005    Hair
4E22 / 20002    Eye Lash/Lid Model

0050 / 0080    ?

Am I missing any other commonly included files found in ch pach's?

Edited by Perfectplex
  • Like 1
Posted

00CA are muscles? Thanks, that's new for me. How can i use the 00CA file?

Posted (edited)

Not sure how you can use it as such but if you open it with HexEdit you will see a list of muscle names, if you make a pach and not include that file it messes up the body model as the muscles are frozen to the root of the model and lack animation.

To prevent double posting I will update this post.

I can't seem to get any success doing anything with xpacker and ch files.

I can't make new pach's because of the issue of the physics properties seemingly failing.

I can't seem to inject anything into the original pach without it saying its the wrong size.

I can't even compress and inject anything outside of the 0000.yobj file, not even the unmodified original 000A or 000C files.

I don't know how to precompress a file and the file change into a proper zlib, I have used both compress using zlib and compress using zlib 4.5 but neither seem to convert to a proper zlib file even if I change the extension to .zlib, so I cant try injecting them files into the slots of the original pach either.

I keep running around in circles with this. :mad:

Opened Bo Dallas pac file (default)

Decompressed all files from the pach

Tried simply recompressing and injecting the original 000A file back into the pach

Size error warning pops up

Used the Utilities and Compressed the file using Zlib and renamed it to .zlib

Installed it directly.

Put the pach into the pac

Started the game with Bo Dallas (removed his entrance attire for testing)

Result

db3e6c8bb9926cb32cf2ca8ecfc00892.png

So for whatever reason everytime I inject something it kills all files beyond the injected file.

I can't make a new pach because it messes up the physics properties.

What on Earth is going on?

---------------------

Another update, this time I managed to inject the original uncompressed files directly into the pach file without problems.

It seems X-PacKer is being temperamental for me, now to reattempt what I originally set out to do and see if I get problems again.

Edited by Perfectplex

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

  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.

×
×
  • Create New...

Important Information

Terms of Use Privacy Policy Guidelines 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.