![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 |
GLOBAL MODDING TERRORIST
|
![]()
I've found the 4 verts that need moved.
I'm changing them by hex editing the GR2 file. That insure the VIIB GR2 remains stock for all intents and purposes. File size does not grow that way and future edits are as if it was a stock file. It's easier to do simple edits like this rather then take the risk of borking the files for future work. Should anyone want the information on how I do this? I'd be happy to post the how to. Last edited by Jeff-Groves; 02-26-21 at 12:39 PM. |
![]() |
![]() |
![]() |
#2 |
Grey Wolf
![]() Join Date: Oct 2010
Location: Poland
Posts: 874
Downloads: 72
Uploads: 3
|
![]()
Absolutely! While GR2Editor is fine tool, it does cause files to grow (at least with loose import, I didn't try strict a lot) so for simple edits like this another method would be very useful.
|
![]() |
![]() |
![]() |
#3 |
GLOBAL MODDING TERRORIST
|
![]()
It may seem hard at first if your not a hex editing Guy!
But it is really simple once you do it a few times. 1st I export the deck to an object file. What you use to do that does not matter. No tool out there will give you the EXACT vert information! They all round to 6 places and that is where the secret lies! Next, I edit the exported object file in any 3D program to have just the area I want. I delete anything not important to the area we want to edit. Then save the file as 2 different obj files so I can compare them. I end up with 2 faces in each obj file and 6 verts in each. I'm only interested in 4 verts in each file. 4 of those are the ones to adjust! At this point you should have 2 files that look like this in note pad. Forward section........... # 3ds Max Wavefront OBJ Exporter v0.97b - (c)2007 guruware # File Created: 26.02.2021 10:04:53 # # object NSS_Uboat7b_deck_41 # v 0.102030 0.141436 -2.210532 v 0.104960 0.144917 -2.081790 v -0.102031 0.141436 -2.210532 v -0.104961 0.144917 -2.081790 v 0.000000 0.141436 -2.210532 v 0.000000 0.141436 -2.210532 # 6 vertices g NSS_Uboat7b_deck_41 f 6 3 4 f 2 1 5 # 2 faces Rearward section......... (This one I exported with 12 precision but that didn't help) # 3ds Max Wavefront OBJ Exporter v0.97b - (c)2007 guruware # File Created: 26.02.2021 09:17:14 # # object NSS_Uboat7b_deck_41 # v 0.098945997655 0.138082996011 -2.316945075989 v -0.098947003484 0.138082996011 -2.316945075989 v 0.101992003620 0.141395002604 -2.211843013763 v -0.101993001997 0.141395002604 -2.211843013763 v 0.000000 0.141395002604 -2.211843 v 0.000000000000 0.141395002604 -2.211843013763 # 6 vertices g NSS_Uboat7b_deck_41 f 6 3 1 f 2 4 5 # 2 faces You can copy the above info and save as an obj and get both my working files. |
![]() |
![]() |
![]() |
#4 |
GLOBAL MODDING TERRORIST
|
![]()
If you look at the Y position? (It is an XYZ layout)
There are 4 exact matches in each file. Those are what we want to edit! Now the secret of how we find those in a Hex Editor for the changes! I use a site to convert the decimal numbers to a float as a start. I know the results will not find the float I want so I do a wild card search. In 010 I open the GR2 file and search for * C9 10 3E I get 17 results so I narrow those down by starting at the bottom of the results! Reason is the deck is far down in the GR2 file! I then compare the floats ahead and behind the find results to the obj files and narrow down to the floats I want! C7 C9 10 3E ends up being the match 9 times. We only need 4 so we look at all of them. |
![]() |
![]() |
![]() |
#5 |
GLOBAL MODDING TERRORIST
|
![]()
Now I do the something with the forward section I saved to get the final editing settings.
Once I find that information? I edit the GR2 file and it's as if it was never touched! I also recalculate the CRC so it is correct. I've Ghosted the file in a way that no Tool out there does! I don't put my name in it. I don't change the format. ![]() By the way? You can Ghost TDW's tools to do a strict import with just NotePad. |
![]() |
![]() |
![]() |
#7 |
GLOBAL MODDING TERRORIST
|
![]()
It will be.
|
![]() |
![]() |
![]() |
#8 |
Grey Wolf
![]() Join Date: Oct 2010
Location: Poland
Posts: 874
Downloads: 72
Uploads: 3
|
![]() |
![]() |
![]() |
![]() |
#9 |
GLOBAL MODDING TERRORIST
|
![]()
Sorry. Had to do some real world stuff that slowed me down.
My Son was in a Bowling Tournament and I went to support him. He Won! What I did find is that there are actually 5 verts that need moved! Not a problem once I narrow down a few things. I'll probably move all the verts that meet my findings then check in Granny Viewer. |
![]() |
![]() |
![]() |
#10 |
GLOBAL MODDING TERRORIST
|
![]() |
![]() |
![]() |
![]() |
#11 |
GLOBAL MODDING TERRORIST
|
![]()
For some reason my connection when logged in is bad.
Took me 3 days to post the above link! Test it and give me feed back. |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|