![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
10-20-11, 05:51 PM
|
#1 |
|
Ace of the deep .
|
I opened Silent Hunter 5\data\Terrain\Textures_and_Vegetation\0.Taigas and Dry Lands\vegetation the other day ok with an older version . Cannot remember which one . Doesnt work with the latest version though .
|
|
|
10-20-11, 06:07 PM
|
#2 | |
|
Black Magic
![]() |
Yes there is still more work to do on the importer. I hope to have that resolved soon
Quote:
v1.0.147.0 released. See post #1. No more shredded meshes due to not reading all vertex component data. I wasn't happy with that section of code anyways so it needed a rewrite Let me know if you find any other shredded meshes. There shouldn't be anymore. |
|
|
|
10-20-11, 06:14 PM
|
#3 | |
|
Black Magic
![]() |
Quote:
EDIT: did the same thing to the materials. Fixing it also. Just tried opening lifeboat with changes and it failed. Have to figure out why.... |
|
|
|
10-20-11, 06:20 PM
|
#4 |
|
Chief
![]() Join Date: Jan 2008
Posts: 319
Downloads: 81
Uploads: 0
|
One can smell the hate growing !
__________________
-Fighting is a lifestyle-
|
|
|
10-20-11, 06:21 PM
|
#5 |
|
Black Magic
![]() |
|
|
|
10-20-11, 06:29 PM
|
#6 |
|
Ace of the deep .
|
I couldnt open
C:\Ubisoft\Silent Hunter 5\data\Env\cloud_models C:\Ubisoft\Silent Hunter 5\data\Characters\HumanDialogIndicator C:\Ubisoft\Silent Hunter 5\data\Terrain\Locations\CustomAreas\Port_pieces\P ort_U (opens but doesnt show anything) |
|
|
10-20-11, 06:32 PM
|
#7 | |
|
Black Magic
![]() |
Quote:
I fixed the problem with the lifeboat. Problem was if number of textures = 1 then I had to dereference the pointer and find the actual pointer to the texture. I think the same thing has to be done with the materials but not sure. Anyone know any GR2 file that has only 1 material defined? GrannyViewer will tell you how many materials a GR2 file has. I need to test the app on a GR2 file with only 1 material
|
|
|
|
10-20-11, 07:05 PM
|
#8 | |
|
Black Magic
![]() |
Quote:
v1.0.155.0 released. See post #1. You can see it now ![]() Now it's time to render with textures.... |
|
|
|
10-20-11, 07:12 PM
|
#9 |
|
Ace of the deep .
|
I can open them now . Couldnt find a GR2 with 1 material defined .
|
|
|
10-20-11, 06:36 PM
|
#10 |
|
Chief
![]() Join Date: Jan 2008
Posts: 319
Downloads: 81
Uploads: 0
|
I meant that i havent seen you in such a frenzy since IRAI's beginning i think.
__________________
-Fighting is a lifestyle-
|
|
|
10-20-11, 06:49 PM
|
#11 | |
|
Black Magic
![]() |
Quote:
v1.0.153.0 released. See post #1. This will fix the problem of when only 1 texture is defined I had to do something for it. The problem in previous version probably applies to a GR2 file with only 1 material defined but until we can find a GR2 file with only one material defined I can't test my theory. @Sober - this fix fixes the problem with the GR2 files you posted that wouldn't open. The last one where it shows no meshes is odd (Port U). I think I know why. I need to open up my camera parameters for clipping
|
|
|
|
10-20-11, 10:01 PM
|
#12 |
|
Ace of the deep .
|
Cannot open
C:\Ubisoft\Silent Hunter 5\data\Library\undersea |
|
|
10-20-11, 10:05 PM
|
#13 |
|
Ace of the deep .
|
This might be interesting > it throws an exception and gives a bug report when trying to open .
C:\Ubisoft\Silent Hunter 5\data\Submarine\NSS_Uboat2a\NSS_Uboat2a |
|
|
10-20-11, 10:09 PM
|
#14 | |
|
Black Magic
![]() |
Quote:
|
|
|
|
10-21-11, 12:48 AM
|
#15 |
|
Black Magic
![]() |
v1.0.181.0 released. See post #1.
Started reading the bone extended data. Currently can only read one type of extended data for the bones. If you run DbgView before the app you'll catch where this bone extended data resides in the file. Try opening the file with hex editor and changing some of the bone extended data values based on the (0x__) given. Then fire up SH5 and see what happens Working on the rest of the bone extended datas (currently I've found there are 2 more types) Plan is after I can read all the bone extended data to have a screen in the app available for editing this data. Once edited you'll be able to save the changes to the GR2 file. |
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
