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 02-14-12, 08:13 PM   #1
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default

You are really excellent
BIGREG is offline   Reply With Quote
Old 02-14-12, 08:18 PM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by BIGREG View Post
You are really excellent
I'm more the determined type. Once I have my mind on doing something I will do it and I will succeed

Thanks for your patience and testing BIGREG. I'll eventually get everything working correctly

Now I must work on putting this bug of not being able to add new bones to certain GR2 files (Waypoints_Room_QR1 for instance) to bed...
TheDarkWraith is offline   Reply With Quote
Old 02-14-12, 08:22 PM   #3
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default

Of course it will work, just with that, there are ways to do something already
and as I said, learning is like sex, it's exciting
BIGREG is offline   Reply With Quote
Old 02-14-12, 11:19 PM   #4
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Fixed the problem with adding bones to some GR2 files Man it was a sinister one. Problem was in two places - the linked list class and how the classes when writing their data were getting their offsets from the linked list class. Glad that is behind me

Here are Waypoint_Room_QR1 and 2 to verify for yourself: http://www.mediafire.com/?0zc8bv9aatnj796

Load them up in GrannyViewer and the app to ensure there are no errors. I couldn't find any!

I successfully added a new bone to Waypoints_Room_QR2 (and even set the new exporter info to boot ):


Once I test this on several files and I find no errors with the changes I'll release a new test version


Last edited by TheDarkWraith; 02-15-12 at 12:11 AM.
TheDarkWraith is offline   Reply With Quote
Old 02-15-12, 12:52 AM   #5
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

So far any non-special GR2 file I added a new bone to worked flawlessly. I did get a failure on NSS_Undine though (special GR2 file). That file is a bastard (and is why it's part of my testing files) I'll look into why tomorrow
TheDarkWraith is offline   Reply With Quote
Old 02-15-12, 03:53 AM   #6
Vanilla
Lieutenant
 
Join Date: Nov 2006
Location: St. Petersburg, Russia
Posts: 264
Downloads: 73
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
Fixed the problem with adding bones to some GR2 files Man it was a sinister one. Problem was in two places - the linked list class and how the classes when writing their data were getting their offsets from the linked list class. Glad that is behind me

Here are Waypoint_Room_QR1 and 2 to verify for yourself: http://www.mediafire.com/?0zc8bv9aatnj796

Load them up in GrannyViewer and the app to ensure there are no errors. I couldn't find any!

I successfully added a new bone to Waypoints_Room_QR2 (and even set the new exporter info to boot ):

...

Once I test this on several files and I find no errors with the changes I'll release a new test version

Wow! Cannot wait to add those bones!
Vanilla is offline   Reply With Quote
Old 02-15-12, 04:30 AM   #7
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default

Hi

For the bones, I have a small question: Why, the pointer of the bones they are outside of the room, even in the original files

BIGREG is offline   Reply With Quote
Old 02-15-12, 06:57 AM   #8
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by BIGREG View Post
Hi

For the bones, I have a small question: Why, the pointer of the bones they are outside of the room, even in the original files
Your guess is as good as mine. Been trying to figure out the reasoning for this since I started working on this app. At first it made me think I was not reading something correctly from the file till I did what you did and viewed them in Goblin
The thing that really doesn't make any sense is the bone bindings. Every mesh has an entry called bone bindings. In skinned mesh animations you assign a mesh to a bone so that as the bone is transformed the mesh is automatically transformed also. SH5 ignores the bone bindings. The only thing it uses from the bone bindings are the max properties entries (whether the mesh should be visible, cast shadows, receive shadows, etc.). The mesh itself has max properies entries but it seems they are not used for anything. Really confusing.
TheDarkWraith is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 04:42 PM.


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.