Cloth Hex Editing Does Not Work

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

User avatar
StarkillerMarek
Rebel Colonel
Rebel Colonel
Posts: 611
Joined: Wed Aug 12, 2009 4:42 pm
Location: I may be back.

Re: Cloth Hex Editing Does Not Work

Post by StarkillerMarek »

Does this model work ingame? I'm asking this so I can compare to a hex-edited model I make.

I keep trying the tutorial over and over again, and it still doesn't work.
What is the correct way to change the HEDR and MSH2 sizes in a more literal form?
Last edited by StarkillerMarek on Thu Aug 20, 2009 9:29 am, edited 2 times in total.
kinetosimpetus
Imperial Systems Expert
Imperial Systems Expert
Posts: 2381
Joined: Wed Mar 25, 2009 4:15 pm
Projects :: A secret project
Games I'm Playing :: Warframe STO

Re: Cloth Hex Editing Does Not Work

Post by kinetosimpetus »

Yes, it works ingame.
User avatar
StarkillerMarek
Rebel Colonel
Rebel Colonel
Posts: 611
Joined: Wed Aug 12, 2009 4:42 pm
Location: I may be back.

Re: Cloth Hex Editing Does Not Work

Post by StarkillerMarek »

Is there a video tutrial on how to do this?
User avatar
Fiodis
Master of the Force
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

Post by Fiodis »

No, there is not.
User avatar
StarkillerMarek
Rebel Colonel
Rebel Colonel
Posts: 611
Joined: Wed Aug 12, 2009 4:42 pm
Location: I may be back.

Re: Cloth Hex Editing Does Not Work

Post by StarkillerMarek »

I would really appreciate it if someone did make a video tut.
MandeRek
Sith Master
Sith Master
Posts: 2766
Joined: Tue Oct 02, 2007 10:51 am
Projects :: Battlefront Zer0
Games I'm Playing :: SWTOR
xbox live or psn: No gamertag set
Location: Ghosting around GT
Contact:

Re: Cloth Hex Editing Does Not Work

Post by MandeRek »

Dunno if this will help you, it's mostly the same as Rep's tut, but I always do this:

1. Copy and insert the cape (starting from MODL till it tells you to stop, you're doing this correct reading Mav's post) into another model
2. Go to the top, and use the search function. Search for CL1L.
3. It stops at the byte of C, anyhow, you used the search function. At the bottom left is an address, write this on your paper.
4. Go back to the top, and click on the byte AFTER HEDR (so not the R). Click Tools (Topbar) and then Encode Number. Tick the longint box, and type the address you wrote on a paper in the Number box at top.
5. Now go to one byte AFTER MSH2, click again Tools>Encode Number, tick the longint box and write the SAME NUMBER as you wrote on the paper (It'll probably be still in the box) minus 16. So, when i encode the longint after HEDR with 11032, then I encode the longint after MSH2 with (11032-16)=11016
6. Save the file, and test it in Ultimate Unwrap 3D.

It really isn't difficult, but when checking my first posts on GT you'll notice I've had a lot of problems with this. Just keep on trying, take some breaks (from like a week or so) and at a sudden moment it'll work, and believe me: it'll never fail again ;)
User avatar
CodaRez
Field Commander
Field Commander
Posts: 940
Joined: Mon May 25, 2009 6:49 am
Projects :: I would like one.....
Location: Ride around the world! And I won't give you anything :P

Re: Cloth Hex Editing Does Not Work

Post by CodaRez »

MandeRek wrote:Dunno if this will help you, it's mostly the same as Rep's tut, but I always do this:

1. Copy and insert the cape (starting from MODL till it tells you to stop, you're doing this correct reading Mav's post) into another model
2. Go to the top, and use the search function. Search for CL1L.
3. It stops at the byte of C, anyhow, you used the search function. At the bottom left is an address, write this on your paper.
4. Go back to the top, and click on the byte AFTER HEDR (so not the R). Click Tools (Topbar) and then Encode Number. Tick the longint box, and type the address you wrote on a paper in the Number box at top.
5. Now go to one byte AFTER MSH2, click again Tools>Encode Number, tick the longint box and write the SAME NUMBER as you wrote on the paper (It'll probably be still in the box) minus 16. So, when i encode the longint after HEDR with 11032, then I encode the longint after MSH2 with (11032-16)=11016
6. Save the file, and test it in Ultimate Unwrap 3D.

It really isn't difficult, but when checking my first posts on GT you'll notice I've had a lot of problems with this. Just keep on trying, take some breaks (from like a week or so) and at a sudden moment it'll work, and believe me: it'll never fail again ;)
Models can be hex-edited this way right?
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Cloth Hex Editing Does Not Work

Post by Maveritchell »

MandeRek wrote:Dunno if this will help you, it's mostly the same as Rep's tut, but I always do this:

1. Copy and insert the cape (starting from MODL till it tells you to stop, you're doing this correct reading Mav's post) into another model
2. Go to the top, and use the search function. Search for CL1L.
3. It stops at the byte of C, anyhow, you used the search function. At the bottom left is an address, write this on your paper.
4. Go back to the top, and click on the byte AFTER HEDR (so not the R). Click Tools (Topbar) and then Encode Number. Tick the longint box, and type the address you wrote on a paper in the Number box at top.
5. Now go to one byte AFTER MSH2, click again Tools>Encode Number, tick the longint box and write the SAME NUMBER as you wrote on the paper (It'll probably be still in the box) minus 16. So, when i encode the longint after HEDR with 11032, then I encode the longint after MSH2 with (11032-16)=11016
6. Save the file, and test it in Ultimate Unwrap 3D.

It really isn't difficult, but when checking my first posts on GT you'll notice I've had a lot of problems with this. Just keep on trying, take some breaks (from like a week or so) and at a sudden moment it'll work, and believe me: it'll never fail again ;)
That is not correct. Your MSH2 size isn't always 16 fewer than your HEDR size, and if you use that as a hard-and-fast rule you will inevitably end up with problems. It's a pain, but the best way to do it is to do it right and make the habit of always doing your math. Work through the tutorial slowly and get used to it. Once you've done it more than a few times it will be easier and you'll know what you should be doing. But don't take shortcuts.
MandeRek
Sith Master
Sith Master
Posts: 2766
Joined: Tue Oct 02, 2007 10:51 am
Projects :: Battlefront Zer0
Games I'm Playing :: SWTOR
xbox live or psn: No gamertag set
Location: Ghosting around GT
Contact:

Re: Cloth Hex Editing Does Not Work

Post by MandeRek »

Maveritchell wrote:That is not correct. Your MSH2 size isn't always 16 fewer than your HEDR size, and if you use that as a hard-and-fast rule you will inevitably end up with problems. It's a pain, but the best way to do it is to do it right and make the habit of always doing your math. Work through the tutorial slowly and get used to it. Once you've done it more than a few times it will be easier and you'll know what you should be doing. But don't take shortcuts.
QFT, I'm just saying what I always do. I've used this to hex edit several capes to several player models, also custom ones, and till now, it always worked for me. I know at one point I might end up with problems, but this might be easier to understand for now, and I know that I'm doing this 'wrong' so when it's not working, I'll use Rep's advanced tutorial.. Just telling what I'm used to do, all creds to Rep though :)
User avatar
StarkillerMarek
Rebel Colonel
Rebel Colonel
Posts: 611
Joined: Wed Aug 12, 2009 4:42 pm
Location: I may be back.

Re: Cloth Hex Editing Does Not Work

Post by StarkillerMarek »

Thanks.

But what do you mean, Mav, "do your math"?

And when Unwrap 3d says there is a error, does it say the right HEDR value?

And shouldn't the CL1L number be the correct HEDR size?

If so, I purposely checked this before I tried it.


Update Aug 21 2009: I did it :D !

Wow, I was reading the tutorial again last night and I finally realized what he was saying in the confusing parts!

Thank you guys so much!

The clone troopers in my test world all have capes!
Post Reply