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

Reply
 
Thread Tools Display Modes
Old 12-16-21, 07:01 PM   #1
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 10,246
Downloads: 466
Uploads: 4


Default

You must mean when one clicks on the "hit", as in

Quote:
Originally Posted by s7rikeback
Duplicated Id :1254C8704732486B
C:\Users\s7rikeback\Desktop\New folder\Terrain\Locations\Pearl_Sub_Base.dat at : 2758
C:\Users\s7rikeback\Desktop\New folder\Terrain\Locations\Pearl_Sub_Base.dat at : 2283


Notice though, that I are not skilled enough at this, and have to use the services of the knowledgeable one...
__________________

"...and bollocks to the naysayers" - Jimbuna
propbeanie is offline   Reply With Quote
Old 12-17-21, 08:00 AM   #2
s7rikeback
I break things
 
s7rikeback's Avatar
 
Join Date: Jan 2013
Location: Merry Old England
Posts: 770
Downloads: 1179
Uploads: 10


Default

Quote:
Originally Posted by propbeanie View Post
You must mean when one clicks on the "hit", as in




Notice though, that I are not skilled enough at this, and have to use the services of the knowledgeable one...
In MS Office 365.
We can load our database,which was created from above.
Select the ID column, go to Home Tab > and select Conditional Formatting button, select "Highlight Cell Rules > then Duplicate Values, by default this shows up as red...
And we get this when go up or down the list of ID's....



Which only tells us, we have an ID conflict, no idea where at this point... without using the IDDuplicator, which would to re-index the files and then scan for duplicates, which can take hours on a large mod, you then have to view the output log to find the ID's above to understand what file is the issue. Or manually do each line in the output window at a time.

I have not yet found Jeff's link trail from 010 / database to the file of concern, still looking very hard at the details...
__________________
s7rikeback is offline   Reply With Quote
Old 12-17-21, 10:41 AM   #3
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 4,242
Downloads: 149
Uploads: 0


Default

Look!!!



Now there are a bunch of NON-ID assigned entries in that whole section.
Gonna have to figure out a way to filter those out. BUT that would create a more comprehensive Date Base.
Remember that SOME ID's are repetitive legitimately!
EnvColors dat files for example, have the same ID's but only one dat is loaded at a time!
Some ID's are calls to other files! But show as duplicates.
Take a look at any Location dat file and you'll see the Placement controller! Notorious for popping Duplicates!
But those are ALL legit usages!

Once good data bases are created? Simple to Script 010 to allow us to enter an ID and have it scan that.
We tell it to create a random ID and if it finds one exists? Re do.
All this would be done in Memory using Arrays and simply checking through the Arrays.
You could do it with Vectors but they use more memory.


Thinking about this? I probably HAVE 90% of the Code written in C++ that could be changed into a Stand Alone program so one would not need 010.

Last edited by Jeff-Groves; 12-17-21 at 12:25 PM.
Jeff-Groves 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 06:21 AM.


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.