Hex Editing Out Transparency Problems

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
Marvel4
Rebel Colonel
Rebel Colonel
Posts: 556
Joined: Mon Jun 21, 2010 12:57 pm
Projects :: Marvel4s BF1 Conversion Pack + Era Mod

Re: Where did the floor go?

Post by Marvel4 »

I had no problems using the stock .msh files, all I did was removing transparency, because of the issues with lightsabers etc.
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Re: Where did the floor go?

Post by modmaster13 »

Marvel4 wrote:I had no problems using the stock .msh files, all I did was removing transparency, because of the issues with lightsabers etc.
How did you remove transperency? By deleting "ATRB" or changig it to like "AAAA"?
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Where did the floor go?

Post by AQT »

You should have been clear from the start as to what changes you already made and what you are trying to accomplish. You didn't need to edit or make any changes to the textures, so swap them back to the original ones. You just need to edit the MSH files. That said, in a hex editor search for all instances of ATRB. Now on the hexadecimal side, corresponding to the bytes after ATRB, there are the following values:

Code: Select all

04 XX XX XX XX XX XX XX
The X's are placeholders in this example. Change it to the following:

Code: Select all

04 00 00 00 00 00 00 00
That should get rid of the transparency in the MATD's. I suggest you edit fresh copies of the original MSH's.
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Re: Where did the floor go?

Post by modmaster13 »

I checked in rhn1_prop_tunnel_height.msh and it is 04 00 00 00 00 00 00 00. So...what now?
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Where did the floor go?

Post by Teancum »

Are all of them set that way? There should be multiple instances in the MSH.
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Re: Where did the floor go?

Post by modmaster13 »

There are only a couple MSHs that are like that.

:quotes:
Marvel4 wrote:I had no problems using the stock .msh files, all I did was removing transparency, because of the issues with lightsabers etc.
Can I have your Ice Cave MSH files? Please? :bowdown:
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Where did the floor go?

Post by AQT »

modmaster13 wrote:I checked in rhn1_prop_tunnel_height.msh and it is 04 00 00 00 00 00 00 00. So...what now?
Is it still transparent? Did you search after all ATRB's within the same MSH? You're making this a lot harder than it is.
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Re: Where did the floor go?

Post by modmaster13 »

AQT wrote:
modmaster13 wrote:I checked in rhn1_prop_tunnel_height.msh and it is 04 00 00 00 00 00 00 00. So...what now?
Is it still transparent? Did you search after all ATRB's within the same MSH? You're making this a lot harder than it is.
Yes I did, and sorry I am a slow learner. :(
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Hex Editing Out Translucence Problems

Post by Maveritchell »

There's no reason this should be a two-page topic. What you need to do is start over and make smaller, incremental changes.

Replace any modified .mshs with the original mesh files, and replace any .tgas with the original textures. Clean and remunge. Verify that the stock models work as they should - that's your baseline.

Then modify your texture like you wanted. If you see the same problem you saw in the first post, then the problem is with your texture, and that's what you need to address - not all this hexediting you're trying to do.

Bottom line - get something working correctly, and then work from there.
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Re: Hex Editing Out Translucence Problems

Post by modmaster13 »

I am sorry, but I even tried it on a different, fresh new map and it didn't work. :runaway:
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Hex Editing Out Translucence Problems

Post by AQT »

^
Maveritchell wrote:Replace any modified .mshs with the original mesh files, and replace any .tgas with the original textures.
Did you even do this part? If you did, then there's no reason why it shouldn't work.
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Hex Editing Out Transparency Problems

Post by THEWULFMAN »

Manual Clean, ReMunge. :plokoon:
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Re: Hex Editing Out Translucence Problems

Post by modmaster13 »

AQT wrote:^
Maveritchell wrote:Replace any modified .mshs with the original mesh files, and replace any .tgas with the original textures.
Did you even do this part? If you did, then there's no reason why it shouldn't work.
Yes, I did.
THEWULFMAN wrote:Manual Clean, ReMunge. :plokoon:
I made a new map project w/ my world/script files, I munged and it was still like that. :?

I do get what you are telling me, this should be VERY easy, idk why it is working though. :runaway:
Post Reply