Cloth Hex Editing Does Not Work
Moderator: Moderators
- StarkillerMarek
- Rebel Colonel

- Posts: 611
- Joined: Wed Aug 12, 2009 4:42 pm
- Location: I may be back.
Cloth Hex Editing Does Not Work
I read RepSharpshooters adding capes hex editing tutorial, but every time I try to do it my map
crashes. Can somebody write an easier to understand tutorial with pictures fo a numbskull like me? It would be very helpful.
crashes. Can somebody write an easier to understand tutorial with pictures fo a numbskull like me? It would be very helpful.
-
Deviss
- Master of the Force

- Posts: 3772
- Joined: Tue Aug 12, 2008 7:59 pm
- Projects :: Clone Wars Extended
Re: Cloth Hex Editing Does Not Work
yeah you say kama cloth?StarkillerMarek wrote:I read RepSharpshooters adding capes hex editing tutorial, but every time I try to do it my map
crashes. Can somebody write an easier to understand tutorial with pictures fo a numbskull like me? It would be very helpful.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Cloth Hex Editing Does Not Work
That sounds a lot like a request, for which GT has a special thread.
Deviss, kama isn't much different than most other cloths. I suppose that's what he means.
Deviss, kama isn't much different than most other cloths. I suppose that's what he means.
- StarkillerMarek
- Rebel Colonel

- Posts: 611
- Joined: Wed Aug 12, 2009 4:42 pm
- Location: I may be back.
Re: Cloth Hex Editing Does Not Work
I'm very sorry. I'm new here.
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: Cloth Hex Editing Does Not Work
If you want help fixing your problem, then you need to post what you think might be wrong (which steps confused you the most) and your debug log (see the FAQ topic on how to create the log).
If you don't want help fixing it and instead continue in the request thread, then this topic will be locked and/or deleted.
Everyone can see your join date in each post. There isn't a reason to post 'I'm new'.
If you don't want help fixing it and instead continue in the request thread, then this topic will be locked and/or deleted.
Everyone can see your join date in each post. There isn't a reason to post 'I'm new'.
- StarkillerMarek
- Rebel Colonel

- Posts: 611
- Joined: Wed Aug 12, 2009 4:42 pm
- Location: I may be back.
Re: Cloth Hex Editing Does Not Work
I know how to make a log, but the Bf2log did not show anything above a message severity of 2. I downloaded the Caped Trooper Assets and compared them to my hexedited versions of Ep3 trooper with sniper cape and they did not match. The steps that confused me the most were the ones about longints.
I'm not a hex editor, so would it be easier to download XSI and add cloth?
I'm not new at modding.
I'm not a hex editor, so would it be easier to download XSI and add cloth?
I'm not new at modding.
Last edited by StarkillerMarek on Thu Aug 13, 2009 2:36 pm, edited 1 time in total.
-
Deviss
- Master of the Force

- Posts: 3772
- Joined: Tue Aug 12, 2008 7:59 pm
- Projects :: Clone Wars Extended
Re: Cloth Hex Editing Does Not Work
i understand you, i take very time for learn/understand the repsharpshooter tutorial XD, PM me i help you with hex editing thingsStarkillerMarek wrote:I can't find how to create a debug log in th FAQ, but I downloaded the Caped Trooper Assets and compared them to my hexedited versions of Ep3 trooper with sniper cape and they did not match. The steps that confused me the most were the ones about longints. I have the mod tools obviously, and ran the aplication Modtools.exe in the SWBF2 folder.
The Bf2log did not show anything above a message severity of 2. I'm not a hex editor, so would it be easier to download XSI and add cloth?
I'm not new at modding.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Cloth Hex Editing Does Not Work
For the record, it would not be worth it to download and pay for the full version of XSI just to add/remove cloth. Hexing is easier.
- AceMastermind
- Gametoast Staff

- Posts: 3285
- Joined: Mon Aug 21, 2006 6:23 am
- Contact:
Re: Cloth Hex Editing Does Not Work
You can't purchase the XSI versions that work with the Pandemic Tools anyway since they're no longer available, you can however download one of the four old XSI Foundation trials that do work with the Pandemic Tools then make your cloth look like whatever you want instead of using the same tired shape.Fiodis wrote:For the record, it would not be worth it to download and pay for the full version of XSI just to add/remove cloth. Hexing is easier.
- StarkillerMarek
- Rebel Colonel

- Posts: 611
- Joined: Wed Aug 12, 2009 4:42 pm
- Location: I may be back.
Re: Cloth Hex Editing Does Not Work
I tried hex-editing something after DEVISS-REX helped me and it still crashed and the log still says it can not find the msh.
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Cloth Hex Editing Does Not Work
The most likely error giving you a crashing error is going to be an incorrect header length (meaning somewhere along the line you did your math wrong). You can check this before you munge by using the Unwrap 3D demo, which will tell you when you try to load the mesh if it has a non-matching header length.
Without seeing the mesh itself, we can't really nail down what your problem is; all we can say is try doing the tutorial more carefully and try again - it does work, but you have to follow the steps carefully.
Without seeing the mesh itself, we can't really nail down what your problem is; all we can say is try doing the tutorial more carefully and try again - it does work, but you have to follow the steps carefully.
- StarkillerMarek
- Rebel Colonel

- Posts: 611
- Joined: Wed Aug 12, 2009 4:42 pm
- Location: I may be back.
Re: Cloth Hex Editing Does Not Work
Maveritchell wrote:The most likely error giving you a crashing error is going to be an incorrect header length (meaning somewhere along the line you did your math wrong). You can check this before you munge by using the Unwrap 3D demo, which will tell you when you try to load the mesh if it has a non-matching header length.
Without seeing the mesh itself, we can't really nail down what your problem is; all we can say is try doing the tutorial more carefully and try again - it does work, but you have to follow the steps carefully.
Well, I'll try!
This is what my HEDR and MSH2 look like
Hidden/Spoiler:
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Cloth Hex Editing Does Not Work
That doesn't tell us anything, really. If you want to upload your msh file somewhere and post the link I'll take a look at it.StarkillerMarek wrote:This is what my HEDR and MSH2 look like
I was trying to add anakin's cloak to stormtrooper han solo.Hidden/Spoiler:
- StarkillerMarek
- Rebel Colonel

- Posts: 611
- Joined: Wed Aug 12, 2009 4:42 pm
- Location: I may be back.
Re: Cloth Hex Editing Does Not Work
Where could I upload it?
-
Master_Ben
- Lieutenant General

- Posts: 675
- Joined: Wed Nov 12, 2008 9:50 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Watching your PC over your shoulder. No, the other sholder....
- StarkillerMarek
- Rebel Colonel

- Posts: 611
- Joined: Wed Aug 12, 2009 4:42 pm
- Location: I may be back.
Re: Cloth Hex Editing Does Not Work
Here is the link:
http://www.filefront.com/14320887/all-i ... nsolo.msh/
I really appreciate you guys helping me with this
.
http://www.filefront.com/14320887/all-i ... nsolo.msh/
I really appreciate you guys helping me with this
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Cloth Hex Editing Does Not Work
For starters, I can tell you that your HEDR isn't the correct length, as mentioned above (it was 29 units too low, note that these will always be numbers divisible by four anyway). Probably as a result, your MSH2 was too small as well. Another problem you have (and would have noticed ingame) is that you didn't copy over the cloth collision chunks the cape references (c_ribcage, c_l_thigh, c_l_calf, c_r_thigh, c_r_calf). The tutorial doesn't mention it, but you'll always want to copy over cloth collision chunks because usually the model you're adding it to doesn't have any (and they will need to be there for the new model to work right). All of the necessary cloth collision chunks are referenced in the "COLL" section of the cloth's MODL chunk.StarkillerMarek wrote:Here is the link:
http://www.filefront.com/14320887/all-i ... nsolo.msh/
I really appreciate you guys helping me with this.
Because it is easier than trying to talk you through adding in all those cloth collisions, please look at this model for a reference. I went ahead and added in the cape and cloth collisions for you:
http://www.filefront.com/14325093/all_i ... n_cape.msh
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Cloth Hex Editing Does Not Work
As an addendum to Mav's post, if you don't copy over the collisions correctly, I understand that the cape flys over the character's head and get stuck there, as if it were being blown up.
- StarkillerMarek
- Rebel Colonel

- Posts: 611
- Joined: Wed Aug 12, 2009 4:42 pm
- Location: I may be back.
Re: Cloth Hex Editing Does Not Work
How was it 29 units too small
? Was it because it has to be divisible by four?
The CL12 number was the same as the number I encoded.
Thank you anyway.
The CL12 number was the same as the number I encoded.
Thank you anyway.
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Cloth Hex Editing Does Not Work
You did your math wrong, that's all it was. Like I said, download the one I posted and compare it. Make sure when you are following the tutorial that you do it carefully, and also like I said, use the Unwrap 3D demo to check your work (it will spit out an error if your HEDR or MSH2 size is wrong). Seeing that it wasn't divisible by four is just a really easy catch, because you know you've done something wrong if that pops up.StarkillerMarek wrote:How was it 29 units too small? Was it because it has to be divisible by four?
The CL12 number was the same as the number I encoded.
Thank you anyway.
