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 > SHIII Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 04-04-20, 03:33 PM   #1
s7rikeback
I break things
 
s7rikeback's Avatar
 
Join Date: Jan 2013
Location: Merry Old England
Posts: 771
Downloads: 1105
Uploads: 10


Default Mods, Units & IDs

During my time modding Silent Hunter 3 & 4, I have created many excel spreadsheets, recording different aspects of the units used in the game or mod I am working with.

As an example, please see the sample below...



After working with VonDos recently, he suggested that I release my SH3 versions to the masses. As these would help other modders or players when making or introducing units to their games.

My friend & mentor Jeff-Groves, first introduced the importance of making sure we had no shared unit IDs, as we are working on SH4 - FotRSU. And over the years, I have lost soo much of my modding and game time in pursuit of this goal.

If any of you play FotRSU, you would see some of the work the team uses to narrow down the problems we face.
goto > Support > MissionEditing > FotRSU - Equipment & Unit list.xlsx
goto > Support > MissionEditing > FotRSU - Loadouts_Air list.xlsx
goto > Support > MissionEditing > FotRSU - Sensors.xlsx

These were created and grew as we faced different problems, and needed a record of the data for that area.

What does a shared ID mean? It can be a one way ticket to a CTD, during the loading of your game, the first time you introduce your new mod. And in my experience it will continue until the offending unit is either removed, or has it's top level ID remapped to a new unused number within your mod.

00_SH3 Rosters.xlsx > Download
01_SH3 with GWX 3.0 Rosters.xlsx > Download
02_bbw's GWX 3 Wilhemshafen,St Naz,Schluese and xtra ships V7 Rosters.xlsx > Download
03_WAC4.1 SubPen_animated_18.02.2010 > No Rosters
04_New Lorient v1 - GWX3+Wilhelmshafen_et_al_V7 > No Rosters
05_WB's USAM v69.61 Rosters.xlsx > Download
06_MFM-V3.3 Rosters.xlsx > Download

VonDos ShipYard Datasheet - WIP

My initial aim, was to combine all the above mods, together with:
WAC4.1 SubPen_animated_18.02.2010
New Lorient v1 - GWX3+Wilhelmshafen_et_al_V7


To enlarge my GWX3.0 experience, after many ID changes, model changes, it's now fully playable...
I seem to be waffling and going off course here..

Will I do more mod lists, perhaps... Lets see where I sail from next...
So, without further fanfare.
__________________

Last edited by s7rikeback; 04-19-20 at 08:05 AM. Reason: FotRSU links Updated
s7rikeback is offline   Reply With Quote
Old 04-04-20, 03:40 PM   #2
Jeff-Groves
Village Idiot
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,299
Downloads: 130
Uploads: 0


Default

OUTSTANDING!!!


Now. These are only the very top Parent ID's.
There's a WHOLE lot more ID's in every dat file and THOSE ID's can cause conflicts.

The information provided will come in handy though IF you use it properly.
__________________
I don't do Stupid. So don't ask.

Last edited by Jeff-Groves; 04-04-20 at 04:24 PM.
Jeff-Groves is offline   Reply With Quote
Old 04-04-20, 04:19 PM   #3
Anvar1061
Ocean Warrior
 
Join Date: May 2012
Location: In the sea, on land and above
Posts: 3,340
Downloads: 843
Uploads: 0
Default

__________________
Anvar1061 is offline   Reply With Quote
Old 04-04-20, 05:35 PM   #4
Jeff-Groves
Village Idiot
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,299
Downloads: 130
Uploads: 0


Default

GWX 3, Before install has 122,693 Unique ID's.
Some may be duplicated as calls to other objects in other files.
I'm currently scan ALL GWX files for duplicates.
__________________
I don't do Stupid. So don't ask.
Jeff-Groves is offline   Reply With Quote
Old 04-04-20, 07:08 PM   #5
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 9,719
Downloads: 439
Uploads: 2


Default

s7rikeback's spreadsheets are a massive time saver, even for a campaign and single mission author - he is an XL wiz, I tell ya... It takes me two days to do half of what he does in one hour of building a spreadsheet... and then I have to re-do half of what I did because I used an incorrect data variable, such as an an unsigned integer, when it should have been a float... - as they used to say on Hee Haw here in the US: "SA-LUTE!!!" for s7rikeback!
__________________

"...and bollocks to the naysayer/s" - Jimbuna
propbeanie is offline   Reply With Quote
Old 04-04-20, 07:42 PM   #6
Kpt. Lehmann
GWX Project Director
 
Kpt. Lehmann's Avatar
 
Join Date: Jul 2005
Location: The Republic of Texas
Posts: 6,875
Downloads: 115
Uploads: 0


Default

Queue 'Ride of the Valkyries' by Wagner please.
__________________

www.thegreywolves.com
All you need is good men. - Heinrich Lehmann-Willenbrock
Kpt. Lehmann is offline   Reply With Quote
Old 04-05-20, 09:36 AM   #7
Jeff-Groves
Village Idiot
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,299
Downloads: 130
Uploads: 0


Default

Final scan of all GWX 3 files show 102,000+ Duplicate ID's.
I've narrowed the checks to 43,000+ to look at and eliminate.
Duplicate DOES NOT mean conflicting ID's.

A Duplicate ID means only that some files call or use the same ID.
Such as the Harbors and Cities, Shells, etc. to place or use something

Conflicting ID's means an ID assigned to one object is also assigned to a different object.
__________________
I don't do Stupid. So don't ask.

Last edited by Jeff-Groves; 04-05-20 at 10:01 AM.
Jeff-Groves is offline   Reply With Quote
Old 04-05-20, 09:59 AM   #8
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 9,719
Downloads: 439
Uploads: 2


Default

This is also a relatively "new" discipline, which helps immensely in making FotRSU more efficient with its resources - again, thanks to Jeff-Groves. Now if we could only get the Campaign guy to fix the layer files...
__________________

"...and bollocks to the naysayer/s" - Jimbuna
propbeanie is offline   Reply With Quote
Old 04-05-20, 10:11 AM   #9
Jeff-Groves
Village Idiot
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,299
Downloads: 130
Uploads: 0


Default

All the tools should be out there to scan the files for ID duplicates.
The problem is to take that information and figure out if a Duplicate is a Conflict. Thank SweetScape for a Tool that can do that!
I drop 10's of thousands in minutes!
__________________
I don't do Stupid. So don't ask.
Jeff-Groves is offline   Reply With Quote
Old 04-16-20, 11:32 AM   #10
Jeff-Groves
Village Idiot
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,299
Downloads: 130
Uploads: 0


Default

Launched a new script for 010 hex editor that caught 15,000+ ID's
that can be removed from GWX3 given one does it right.
That does NOT mean they are bad ID's! Nor conflicting ID's!
You just have to know what to look for.
__________________
I don't do Stupid. So don't ask.
Jeff-Groves is offline   Reply With Quote
Old 04-19-20, 05:04 AM   #11
Anvar1061
Ocean Warrior
 
Join Date: May 2012
Location: In the sea, on land and above
Posts: 3,340
Downloads: 843
Uploads: 0
Default

Quote:
Originally Posted by Jeff-Groves View Post
Launched a new script
#Jeff-Groves
I encountered one error that no program known to me reveals. This applies to eqp.
For example, in .cfg there is an entry [Loadout 1]
Name = 2x250Kg Bombs
.eqp also has a record; 2x250Kg Bombs Loadout, but in one of [Equipment *]
Loadout = 2x250Kg Bomb (instead of Bombs) In this case, the equipment will not be assigned.
__________________
Anvar1061 is offline   Reply With Quote
Old 04-19-20, 06:39 AM   #12
s7rikeback
I break things
 
s7rikeback's Avatar
 
Join Date: Jan 2013
Location: Merry Old England
Posts: 771
Downloads: 1105
Uploads: 10


Default

Quote:
Originally Posted by Anvar1061 View Post
#Jeff-Groves
I encountered one error that no program known to me reveals. This applies to eqp.
For example, in .cfg there is an entry [Loadout 1]
Name = 2x250Kg Bombs
.eqp also has a record; 2x250Kg Bombs Loadout, but in one of [Equipment *]
Loadout = 2x250Kg Bomb (instead of Bombs) In this case, the equipment will not be assigned.
Hello Anvar1061

If I may offer some help.

The campaign / mission file will request a loadout that has been inserted into these files.

The campaign / mission file will then match this loadout request with the available loadouts available in the unit.cfg.

This then leaves the unit.cfg, to request the loadout from the unit.eqp.

If all these 3 elements matches, the unit will get it's loadout as declared above.

As you highlighted above, just one missing letter, wrong word or number, will stop your unit having the required loadout.

In FotRSU, I had to record all the loadout requests from the campaign / mission files, like above match them all up. This took nearly two weeks to do. We found many, many errors, in spelling, wrong nodes declared, sequancial date errors, number of bombs mismatch in the above files etc...

I hope that makes sense?
__________________
s7rikeback is offline   Reply With Quote
Old 04-19-20, 01:50 PM   #13
Jeff-Groves
Village Idiot
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,299
Downloads: 130
Uploads: 0


Default

010 will expose that error IF one knows how to use it!
It's simple scripting in a C language if you want an automatic change.
And just from the base UI? You can tell it to Replace things.
I'd highly suggest you buy a copy of 010 from SweetScape.
Tell them I sent you.
__________________
I don't do Stupid. So don't ask.
Jeff-Groves is offline   Reply With Quote
Old 04-19-20, 03:23 PM   #14
Jeff-Groves
Village Idiot
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,299
Downloads: 130
Uploads: 0


Default

You might want to ask your Buddy to fix this for you.
Blitzkrieg is a thief. He takes programs from other and proclaims to be God.
You should be ashamed to be a part of his deceptions!
You will no longer get answers from me.
I suspect you as a Spy for him and that will not go well for you!
__________________
I don't do Stupid. So don't ask.

Last edited by Jeff-Groves; 04-20-20 at 03:14 PM.
Jeff-Groves is offline   Reply With Quote
Old 04-20-20, 08:46 AM   #15
Hebe Vollmaus
Officer
 
Join Date: Jun 2010
Location: Germany
Posts: 243
Downloads: 3
Uploads: 1
Default

Quote:
Originally Posted by s7rikeback View Post
[8<--...]
In FotRSU, I had to record all the loadout requests from the campaign / mission files, like above match them all up. This took nearly two weeks to do. We found many, many errors, in spelling, wrong nodes declared, sequancial date errors, number of bombs mismatch in the above files etc...
I hope it sounds not much arrogant, for an SH3-install my v1.8 Tool will find some of these quirks within seconds. How do you "record" these loadout requests that it takes so long?


As an hunter-gatherer i have to say Thank You, not only for your excel spreadsheets but also for your Online-Collection.

Greetings.
Hebe Vollmaus 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:01 PM.


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