Page 1 of 2
Cloth Hex Editing Does Not Work
Posted: Wed Aug 12, 2009 5:08 pm
by StarkillerMarek
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.
Re: Cloth Hex Editing Does Not Work
Posted: Wed Aug 12, 2009 5:55 pm
by Deviss
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.
yeah you say kama cloth?
Re: Cloth Hex Editing Does Not Work
Posted: Wed Aug 12, 2009 5:57 pm
by Fiodis
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.
Re: Cloth Hex Editing Does Not Work
Posted: Wed Aug 12, 2009 6:09 pm
by StarkillerMarek
I'm very sorry. I'm new here.
Re: Cloth Hex Editing Does Not Work
Posted: Wed Aug 12, 2009 6:58 pm
by [RDH]Zerted
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'.
Re: Cloth Hex Editing Does Not Work
Posted: Wed Aug 12, 2009 7:45 pm
by StarkillerMarek
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.
Re: Cloth Hex Editing Does Not Work
Posted: Wed Aug 12, 2009 8:08 pm
by Deviss
StarkillerMarek 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.
i understand you, i take very time for learn/understand the repsharpshooter tutorial XD, PM me i help you with hex editing things

Re: Cloth Hex Editing Does Not Work
Posted: Thu Aug 13, 2009 10:45 am
by Fiodis
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.
Re: Cloth Hex Editing Does Not Work
Posted: Thu Aug 13, 2009 4:55 pm
by AceMastermind
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.
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.

Re: Cloth Hex Editing Does Not Work
Posted: Tue Aug 18, 2009 10:01 am
by StarkillerMarek
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.
Re: Cloth Hex Editing Does Not Work
Posted: Tue Aug 18, 2009 10:55 am
by Maveritchell
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.
Re: Cloth Hex Editing Does Not Work
Posted: Tue Aug 18, 2009 11:45 am
by StarkillerMarek
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
I was trying to add anakin's cloak to stormtrooper han solo.
Re: Cloth Hex Editing Does Not Work
Posted: Tue Aug 18, 2009 5:52 pm
by Maveritchell
StarkillerMarek wrote:This is what my HEDR and MSH2 look like
I was trying to add anakin's cloak to stormtrooper han solo.
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.
Re: Cloth Hex Editing Does Not Work
Posted: Tue Aug 18, 2009 6:55 pm
by StarkillerMarek
Where could I upload it?
Re: Cloth Hex Editing Does Not Work
Posted: Tue Aug 18, 2009 7:30 pm
by Master_Ben
Search File hosting. (

)
At GT we mostly use
http://www.filefront.com/ (Click)
Re: Cloth Hex Editing Does Not Work
Posted: Wed Aug 19, 2009 9:29 am
by StarkillerMarek
Here is the link:
http://www.filefront.com/14320887/all-i ... nsolo.msh/
I really appreciate you guys helping me with this

.
Re: Cloth Hex Editing Does Not Work
Posted: Wed Aug 19, 2009 5:54 pm
by Maveritchell
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.
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
Re: Cloth Hex Editing Does Not Work
Posted: Wed Aug 19, 2009 6:09 pm
by Fiodis
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.
Re: Cloth Hex Editing Does Not Work
Posted: Wed Aug 19, 2009 6:18 pm
by StarkillerMarek
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.
Re: Cloth Hex Editing Does Not Work
Posted: Wed Aug 19, 2009 6:20 pm
by Maveritchell
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.
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.