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

Reply
 
Thread Tools Display Modes
Old 03-09-13, 12:04 AM   #1936
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Just did a test to see how my code was coming along. Test worked beautifully. What I did was add subsets to the headgear mesh on the montezuma. I added the subsets from the sub's periscope (5 subsets added). You can see the scale of the montezuma compared to SH5's items:


This test proved that I can read/write 16bit floats and read/write 16bit indices and that I can add data/remove data from a GR2 file whose alignment value is not 0x4 (this one is 0x20 for each section!). Still more work to do
TheDarkWraith is offline   Reply With Quote
Old 03-09-13, 02:45 PM   #1937
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

well this montezuma GR2 file is a real pain in the neck. It's a good pain though as it shows the weaknesses and problems with my app. I'm still working through all the problems it has exposed. Lots of new 'rules' are defined by this GR2 file in regards to alignment. Some items are always aligned and some are not Still chugging along...
TheDarkWraith is offline   Reply With Quote
Old 03-09-13, 06:51 PM   #1938
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

Testing the last version of your application with 20mm_C30.GR2, on loading the GR2 I get the usual message that "This GR2 file is missing the following essential embedded strings", but no string is listed below. Is that normal?
gap is offline   Reply With Quote
Old 03-09-13, 08:27 PM   #1939
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by gap View Post
Testing the last version of your application with 20mm_C30.GR2, on loading the GR2 I get the usual message that "This GR2 file is missing the following essential embedded strings", but no string is listed below. Is that normal?
Yes, it's the blank embedded string. I should update the app so that it encloses each one in 's.

Go into Sentinel (press F1) and type:

dumpsectiondata all

If any of the section's Alignment value doesn't equal 0x4 the app WILL corrupt the file if you try to save it.
TheDarkWraith is offline   Reply With Quote
Old 03-09-13, 08:37 PM   #1940
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
Yes, it's the blank embedded string. I should update the app so that it encloses each one in 's.

Go into Sentinel (press F1) and type:

dumpsectiondata all

If any of the section's Alignment value doesn't equal 0x4 the app WILL corrupt the file if you try to save it.
Okay

I have been looking into gun animations during the last 30 minutes. I wonder if this problem (see also following posts for further information) is related with animations/trackgroups
gap is offline   Reply With Quote
Old 03-15-13, 12:11 PM   #1941
V13dweller
Grey Wolf
 
Join Date: Dec 2012
Location: Perth, Western Australia
Posts: 768
Downloads: 101
Uploads: 2
Default

Could you post a link for the newest version?
The front page's link is not usable.
V13dweller is offline   Reply With Quote
Old 03-15-13, 12:15 PM   #1942
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by V13dweller View Post
Could you post a link for the newest version?
The front page's link is not usable.
Still working on it. A GR2 file I tried to load (non-SH5 one) exposed many problems with my app that I'm having to fix
TheDarkWraith is offline   Reply With Quote
Old 03-15-13, 12:16 PM   #1943
V13dweller
Grey Wolf
 
Join Date: Dec 2012
Location: Perth, Western Australia
Posts: 768
Downloads: 101
Uploads: 2
Default

What about a link to the previous version?
I can't seem to find any links, and I don't have the patience to scan though all 130 pages...

Last edited by V13dweller; 03-15-13 at 12:32 PM.
V13dweller is offline   Reply With Quote
Old 03-18-13, 06:27 AM   #1944
V13dweller
Grey Wolf
 
Join Date: Dec 2012
Location: Perth, Western Australia
Posts: 768
Downloads: 101
Uploads: 2
Default

I managed to find an old version on my mac, so Don't worry.
V13dweller is offline   Reply With Quote
Old 03-18-13, 11:59 AM   #1945
Targor Avelany
Ace of the Deep
 
Join Date: Jan 2010
Location: Vancouver, BC, Canada
Posts: 1,183
Downloads: 225
Uploads: 0


Default

having trouble with cloning bones in 271. When I attempt to clone a bone it throws an error, after which a secondarry attempts screams with reference of "0" errors.

When I try to make a new bone: nothing happens (no new bone

I will post a screenshot later today.
Targor Avelany is offline   Reply With Quote
Old 03-18-13, 07:33 PM   #1946
Targor Avelany
Ace of the Deep
 
Join Date: Jan 2010
Location: Vancouver, BC, Canada
Posts: 1,183
Downloads: 225
Uploads: 0


Default

Here we go.

So, this is what's happening when I'm trying to clone a bone in the model:











Targor Avelany is offline   Reply With Quote
Old 03-21-13, 03:46 PM   #1947
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Targor Avelany View Post
Here we go.

So, this is what's happening when I'm trying to clone a bone in the model:











I'll check it out this weekend
TheDarkWraith is offline   Reply With Quote
Old 03-21-13, 05:34 PM   #1948
Ekmek
Mate
 
Join Date: Nov 2011
Posts: 53
Downloads: 4
Uploads: 0
Default

To guys that have been using the tool for awhile: Is there a way to export the gr2 to a different format yet? I thought there was but couldn't find it.

Thanks
Ekmek is offline   Reply With Quote
Old 03-21-13, 06:00 PM   #1949
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Ekmek View Post
To guys that have been using the tool for awhile: Is there a way to export the gr2 to a different format yet? I thought there was but couldn't find it.

Thanks
3D meshes can be exported in obj format, and textures can be saved in a bunch of formats, if this is what you meant
gap is offline   Reply With Quote
Old 03-21-13, 06:35 PM   #1950
Ekmek
Mate
 
Join Date: Nov 2011
Posts: 53
Downloads: 4
Uploads: 0
Default

Quote:
Originally Posted by gap View Post
3D meshes can be exported in obj format, and textures can be saved in a bunch of formats, if this is what you meant

yes it is. thanks.

Can we export skeletons?
Ekmek is offline   Reply With Quote
Reply


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 03:12 AM.


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