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 08-07-07, 03:19 AM   #1
Bando
Commodore
 
Join Date: May 2007
Location: Where you don't see me
Posts: 607
Downloads: 23
Uploads: 0
Default

It's great
__________________
Regards,

Bando
Bando is offline   Reply With Quote
Old 08-07-07, 05:12 AM   #2
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Default

The end of the Minitweaker draws near hail the Minitweaker
And long live S3D:p
__________________
CaptainCox is offline   Reply With Quote
Old 08-07-07, 10:28 AM   #3
pontius
Gunner
 
Join Date: Jul 2005
Location: Flensburg - Germany
Posts: 99
Downloads: 26
Uploads: 0
Default

Thank you again for your great tool, it is a very good help for me.

One thing I came across is:

When i am adding manually a new 3D- or Non3d- Node I tried to give them new ID and the correct Parent-ID using your tool. So I changed the ID's and your Tool shows the correct changes, but somehow it didn't work correctly.
Looking into the nodes with the hexeditor I saw, it only changed the first appaerance of the Node-ID and Parent-ID. I found also a second appearance of these ID's in the nodes that had to be changed, it would be great if your tool could do this too.

It was the really first time i tried hex-editing, so maybe i am just overlooking something

greetings,
pontius
pontius is offline   Reply With Quote
Old 08-07-07, 11:34 AM   #4
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,547
Downloads: 26
Uploads: 3
Default

This is by design (right now). As you've seen, changing an id breaks the tree as child nodes no longer reference an existing node. You'll have to go through the file and update each place where the id is referenced.

There's a few reasons why I didn't implement this (yet): it is complicated and risky. The main reason is there may be places where an id sits, but I don't know about it (in particular: specific properties with an id, other external files, or even unknown chunks). If I'd update the places I know about now, you'll run the risk of having the file only partial updated. Inexperienced modders will assume 'all is good' and there the trouble starts. At least now you know there's a manual fix up to go through.

So, it is up to the modder to rebuild a tree structure chunk by chunk (node by node) where changing id's is involved.
skwasjer is offline   Reply With Quote
Old 08-07-07, 05:47 PM   #5
pontius
Gunner
 
Join Date: Jul 2005
Location: Flensburg - Germany
Posts: 99
Downloads: 26
Uploads: 0
Default

Thanks for the answer, it sounds reasonable to me. As long as we put new Nodes in manually, it will be no problem also changing the ID's manually.
(But maybe in future it will be possible to just get a new node with correct ID's just by pressing a button? :hmm

Keep up the good work!
Ah, and I really love the way you made assigning materials really easy

Greetings,
pontius
pontius is offline   Reply With Quote
Old 08-07-07, 06:52 PM   #6
tater
Navy Seal
 
Join Date: Mar 2007
Location: New Mexico, USA
Posts: 9,023
Downloads: 8
Uploads: 2
Default

Found something it won't open.

Data/Library/ShipParts/guns_radars.sim and Data/Library/ShipParts/guns_radars_02.sim. _03.sim opens fine.

The error dialog says, "The specified Type must not be a generic type definition. Parameter name: t"

tater
tater is offline   Reply With Quote
Old 08-07-07, 07:21 PM   #7
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,547
Downloads: 26
Uploads: 3
Default

Thanks, I'll have a look... I've made some improvements to the parser already, and it should show better messages (indicating the actual problem), and hopefully less too...
skwasjer is offline   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 04:29 AM.


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.