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-22-10, 12:57 PM   #1
LGN1
Ace of the Deep
 
Join Date: Mar 2006
Posts: 1,138
Downloads: 147
Uploads: 12
Default [REQ] Re-cloning of the AI subs

Hi,

I just encountered another problem caused by an ID conflict between the human and AI subs (more precise: their turm files) It seems the AI subs have tons of IDs in common with the human subs resulting in problems when both subs are loaded.

I am wondering whether it's not a good idea to re-clone the AI subs and their turms completely Unfortunately, I don't know how to do it. So, could anyone please give me some hints how to clone the subs again?

Cheers, LGN1
LGN1 is offline   Reply With Quote
Old 04-22-10, 01:13 PM   #2
flakmonkey
Grey Wolf
 
Join Date: Jul 2006
Location: Staffordshire, Uk
Posts: 944
Downloads: 78
Uploads: 0


Default

you could try just remapping the IDs of the affected models with s3d.
__________________
flakmonkey is offline   Reply With Quote
Old 04-23-10, 06:31 AM   #3
LGN1
Ace of the Deep
 
Join Date: Mar 2006
Posts: 1,138
Downloads: 147
Uploads: 12
Default

Hi flakmonkey,

thanks for the reply. I was thinking about remapping all the IDs, however, I don't know which other files link to the IDs and must be changed accordingly

Anyway, I have changed some IDs in the AI turm files that cause problems. For the time being it's fine.

Cheers, LGN1
LGN1 is offline   Reply With Quote
Old 04-23-10, 06:49 AM   #4
h.sie
Admiral
 
Join Date: Jul 2008
Posts: 2,192
Downloads: 131
Uploads: 0


Default

Hi LGN1,

you can use S3D v0.99 to search for all Items that are linked to a certain ID. It searches multiple files. You can find this search tool somewhere in the S3D menu. I don't remember exactly where it is.

Regards,
h.sie
__________________
My Mediafire page: http://www.mediafire.com/hsie
h.sie is offline   Reply With Quote
Old 04-23-10, 07:17 AM   #5
SquareSteelBar
Sea Lord
 
Join Date: May 2006
Location: U-73
Posts: 1,638
Downloads: 632
Uploads: 0
Default

Pack3D does it by only one click.
All sub files have to be placed into the same folder, then load the *.dat file into Pack3D, click 'Clone' - done...
SquareSteelBar is offline   Reply With Quote
Old 04-23-10, 08:11 AM   #6
LGN1
Ace of the Deep
 
Join Date: Mar 2006
Posts: 1,138
Downloads: 147
Uploads: 12
Default

Thanks for the comments.

@h.sie: I am just too lazy to check all the IDs. There are quite a few.

@SquareSteelBar: I thought that originally Pack3D was used and the IDs were not all remapped

Cheers, LGN1
LGN1 is offline   Reply With Quote
Old 04-23-10, 12:24 PM   #7
SquareSteelBar
Sea Lord
 
Join Date: May 2006
Location: U-73
Posts: 1,638
Downloads: 632
Uploads: 0
Default

Quote:
Originally Posted by LGN1 View Post
...@SquareSteelBar: I thought that originally Pack3D was used and the IDs were not all remapped...
AFAIK Pack3D does the job properly. Backup AI sub files and give it a try...
SquareSteelBar is offline   Reply With Quote
Old 04-23-10, 01:59 PM   #8
flakmonkey
Grey Wolf
 
Join Date: Jul 2006
Location: Staffordshire, Uk
Posts: 944
Downloads: 78
Uploads: 0


Default

I always had trouble with pack3d, there were 4 or 5 different versions, some would open only some dat files others could open others but not all dats, some would reverse the meshes when extracting etc... it all got a bit confusing in the end, not that it wasnt an invaluable tool at the time, but for a simpleton like me, s3d is much more user friendly

Anyway, s3d has a remap Ids function, (tools>remap ids), it`ll change every id in the dat, should do the trick.
__________________
flakmonkey is offline   Reply With Quote
Old 04-23-10, 03:12 PM   #9
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Pack3d will NOT remap all ID's
Animations are one example of ID's not remapped.
Simple Key framed animations yes.
But not Mesh or complex Key Frame.
  Reply With Quote
Old 04-23-10, 03:39 PM   #10
LGN1
Ace of the Deep
 
Join Date: Mar 2006
Posts: 1,138
Downloads: 147
Uploads: 12
Default

Quote:
Originally Posted by flakmonkey View Post
I always had trouble with pack3d, there were 4 or 5 different versions, some would open only some dat files others could open others but not all dats, some would reverse the meshes when extracting etc... it all got a bit confusing in the end, not that it wasnt an invaluable tool at the time, but for a simpleton like me, s3d is much more user friendly

Anyway, s3d has a remap Ids function, (tools>remap ids), it`ll change every id in the dat, should do the trick.
Hi flakmonkey,

I am aware of S3D's remap function, however, I think that one has to be careful because there will be a problem if some other files contain a link to the IDs. When using the remap function one has to make sure that the links to the IDs are changed accordingly in other files. Now you need to know which other files contain links to the IDs you want to change. As h.sie wrote, you can use S3D again to check which files contain a link, however, this is a lot of work.

Do you know which files contain references to some IDs from the AI turms?

Cheers, LGN1
LGN1 is offline   Reply With Quote
Old 04-23-10, 04:01 PM   #11
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Do you REALLY want a list?
I have one sitting on my desktop right now I can upload.


It lists all turms, all files, all duplicate ID's!
  Reply With Quote
Old 04-23-10, 04:08 PM   #12
LGN1
Ace of the Deep
 
Join Date: Mar 2006
Posts: 1,138
Downloads: 147
Uploads: 12
Default

Quote:
Originally Posted by privateer View Post
Do you REALLY want a list?
I have one sitting on my desktop right now I can upload.


It lists all turms, all files, all duplicate ID's!
Hi privateer,

thanks for the offer. Sounds like a looooooooooong list Seems a more practical way is to just change the IDs in the AI turms when one observes a problem.

BTW, any news on the stuff I sent you?

Best, LGN1
LGN1 is offline   Reply With Quote
Old 04-23-10, 04:39 PM   #13
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

You need to remind me of what you sent.
Sorry Mate.
It's my bad!


Yes the list is long.
But many ID's were re-used in the original SH3.
Most times that causes no problems.
As people cloned stuff with Pack3d?
The problem was compounded as Pack3d does not change all ID's.
With so many new mods?
We have seen the problem of Duplicate ID's raise it's ugly head.


I did not write the program that can scan a folder for duplicate ID's.
Ref did.

It's a very nice program to have.
As I have tried to contact him?
And many others have tried also.
With no responce.

I believe it's time to release his tool.
If I catch flak over this?
So be it.
But Ref always believed in helping the SubSim Community.

So once again Ref helps everyone.
Thanks to Ref!
I hope to see you return one day Mate!


http://www.mediafire.com/?knmmqnzibt0
  Reply With Quote
Old 04-24-10, 01:08 AM   #14
SquareSteelBar
Sea Lord
 
Join Date: May 2006
Location: U-73
Posts: 1,638
Downloads: 632
Uploads: 0
Default

Quote:
Originally Posted by privateer View Post
Pack3d will NOT remap all ID's
Animations are one example of ID's not remapped.
Simple Key framed animations yes.
But not Mesh or complex Key Frame.
Sorry, didn't know that...

IDDuplicateFinder should be integrated in S3Ditor....
SquareSteelBar is offline   Reply With Quote
Old 04-24-10, 09:14 PM   #15
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Some of the Duplicates found are needed.
For connecting things to objects in the dat and such.
But it's a great tool for really tracking what's going on.
Index the Library once!
  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 07:49 PM.


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.