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 10-29-13, 03:42 PM   #1
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

I have a program the reads all dats, sims, zon, etc., and finds all ID,s.
It then compares to see all confilicting ID's in known files in the Whole Game.
(It was written by ref for the GWX Team)

Unknown ID's at that time were ID's that we did not know were ID's. Such as some of the Mesh Animation stuff in SH3.

Since then I've discovered ID's in SH4's animations that do not follow the 64 byte rule we were use to.


Random number generation is a whole science in itself. Some very big Companies are still dumping lots of cash into the whole thing!
The problem faced in SH Games is makeing sure you don't pop an already used number! And that has happened many times.

I posted before that Sergbuto seems to have figured out how the SH Engine gets the ID's from a name.
Maybe I should ask one of the Dev's that signed the poster they sent me for more details?
  Reply With Quote
Old 10-29-13, 04:10 PM   #2
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by privateer View Post
I have a program the reads all dats, sims, zon, etc., and finds all ID,s.
It then compares to see all confilicting ID's in known files in the Whole Game.
(It was written by ref for the GWX Team)
Useful tool. My question was actually pleonastic: I was almost sure you had deviced one of your tricks for keeping track of all those ID's

Quote:
Originally Posted by privateer View Post
Unknown ID's at that time were ID's that we did not know were ID's. Such as some of the Mesh Animation stuff in SH3.

Since then I've discovered ID's in SH4's animations that do not follow the 64 byte rule we were use to.
I see

Quote:
Originally Posted by privateer View Post
Random number generation is a whole science in itself. Some very big Companies are still dumping lots of cash into the whole thing!
The problem faced in SH Games is makeing sure you don't pop an already used number! And that has happened many times.

I posted before that Sergbuto seems to have figured out how the SH Engine gets the ID's from a name.
Maybe I should ask one of the Dev's that signed the poster they sent me for more details?


Since Goblin Editor is able to generate GR2 Id's, if I had the skills I would try digging for the algorythm into its code rather than in game
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 10-29-13, 04:15 PM   #3
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

I asked the Dev that sent me the poster how they get an ID from a name.
IF he can provide that info?
We can write a whole new scanner program without the pain.
  Reply With Quote
Old 10-29-13, 04:57 PM   #4
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by privateer View Post
I asked the Dev that sent me the poster how they get an ID from a name.
IF he can provide that info?
We can write a whole new scanner program without the pain.
Fingers crossed. While we wait for answers, you could show us a picture of the poster
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 10-29-13, 05:03 PM   #5
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

This link will allow you to zoom in real good!


http://s108.photobucket.com/user/pri..._0833.jpg.html
  Reply With Quote
Old 10-29-13, 06:23 PM   #6
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by privateer View Post
This link will allow you to zoom in real good!


http://s108.photobucket.com/user/pri..._0833.jpg.html
wow... beautiful!
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 10-29-13, 06:34 PM   #7
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Sent you an E-Mail with IMPORTANT info!
  Reply With Quote
Old 10-29-13, 09:57 PM   #8
Mikemike47
Grey Wolf
 
Join Date: Sep 2006
Location: NY
Posts: 989
Downloads: 1081
Uploads: 6
Default

Quote:
Originally Posted by privateer View Post
I have a program the reads all dats, sims, zon, etc., and finds all ID,s.
It then compares to see all confilicting ID's in known files in the Whole Game.
(It was written by ref for the GWX Team)

I posted before that Sergbuto seems to have figured out how the SH Engine gets the ID's from a name.
Maybe I should ask one of the Dev's that signed the poster they sent me for more details?
Sweet. Good to hear about another tool for the game.
I am working on Voices Reloaded which have IDs in the data\cfg folder for dialogs.cfg. I haven't even attempted to figure out what IDs do here.

Last edited by Mikemike47; 11-01-13 at 12:48 PM.
Mikemike47 is offline   Reply With Quote
Old 11-02-13, 04:41 PM   #9
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Given good contacts with the Devs I am told several things that adjust what I believed.
All ID's for SH3/4 and maybe SH5 non-GR2 files are random generations.
They do have a way to insure that ID's are not repeated and it seems anything in the same file has a close ID with only a few bytes changed.

So what Sergbuto posted is close to being the actual case but not the whole story.

The GR2's seem to use a hash function which I have not figured out but have some clue to thanks again to a Dev.
I also will no longer hide nor protect any companies interests in any Game or software.
Shoud that bother you? Look into the companies that payed me to do such things.

Last edited by Madox58; 11-02-13 at 07:19 PM.
  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 02:02 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.