SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SHIII Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=195)
-   -   [REQ] Re-cloning of the AI subs (https://www.subsim.com/radioroom/showthread.php?t=168304)

LGN1 04-22-10 12:57 PM

[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 :hmmm: 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

flakmonkey 04-22-10 01:13 PM

you could try just remapping the IDs of the affected models with s3d.

LGN1 04-23-10 06:31 AM

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 :06:

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

Cheers, LGN1

h.sie 04-23-10 06:49 AM

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

SquareSteelBar 04-23-10 07:17 AM

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...

LGN1 04-23-10 08:11 AM

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 :hmmm:

Cheers, LGN1

SquareSteelBar 04-23-10 12:24 PM

Quote:

Originally Posted by LGN1 (Post 1370696)
...@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...

flakmonkey 04-23-10 01:59 PM

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:up:

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

Madox58 04-23-10 03:12 PM

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.

LGN1 04-23-10 03:39 PM

Quote:

Originally Posted by flakmonkey (Post 1371131)
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:up:

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

Madox58 04-23-10 04:01 PM

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

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

LGN1 04-23-10 04:08 PM

Quote:

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

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

Hi privateer,

thanks for the offer. Sounds like a looooooooooong list :D 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

Madox58 04-23-10 04:39 PM

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

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.
:nope:

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!
:salute:

http://www.mediafire.com/?knmmqnzibt0

SquareSteelBar 04-24-10 01:08 AM

Quote:

Originally Posted by privateer (Post 1371257)
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.... ;)

Madox58 04-24-10 09:14 PM

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!
:haha:


All times are GMT -5. The time now is 12:27 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.