SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 08-26-10, 03:21 PM   #11
SteelViking
The Old Man
 
Join Date: Mar 2010
Location: U.S.A.-East Coast
Posts: 1,587
Downloads: 86
Uploads: 4
Default

Quote:
Originally Posted by reaper7 View Post
Hi steelviking how do you hex the gr2 file to point to different textures.
I'm trying to point the ship lod.gr2 files to point to different textures. Having no luck with Hex though.
You'd think I'd remember hex from my college days.
It is pretty easy. All you have to do is open the file with the hex editor, do a "find string" search, run a search for the current texture it is using, and change it to what ever file name you want. The limitation here, is that you cannot add or subtract any characters. In other words, you cannot add any file names that were not already there, and you have to make sure that when you change the existing file name to the one you want, that you do not change how long that file name is in the .GR2.

What exactly are you trying to do? Do you have multiple .GR2 files that are pointing to the same texture file? In that case, you could make different .dds files and change them however you wanted, giving them different names obviously, and then pointing each ships .GR2 to the .dds file you wanted.

I will take a look at an LOD file in hex right now just to get a better idea of what is going on.
__________________

He sank 198,650 tons....who you ask?....Erich Topp, that's who!
SteelViking is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:21 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.