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

Reply
 
Thread Tools Display Modes
Old 11-10-21, 08:50 AM   #1
JapLance
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default CTD adding a SH3 ship... only sometimes.

I've come into something I had never faced before when adding ships to SH4, something I've been doing for a long time with very few failures. When I failed, the ship simply crashed the game. Always, no exceptions. It meant back to work and check all the stuff I usually check when doing this kind of work.

But now I've found a ship that crashes the museum while loading (for the ship to be considered "successfully added to SH4" I want it to display OK in museum), but only sometimes. I can start the museum and get a crash to desktop halfway the loading bar, or sometimes it loads till the end and the ship displays beautifully. I've discarded other possible causes for the crash.

The aforementioned ship is The_Frog's SH3 Southampton class cruiser. A SUPERB 3D model with a ton of textures. The ship came in a pack together with a beautiful substitute for the SH3 Fiji, and initially I wanted to add them both, but had constant crashes, so I split the pack into single ships, to try to discern what was going on.

The first time I loaded the new folder with only the Southampton the museum loaded fine.



I thought the problem was then the other ship... but I was wrong. Without loading or unloading anything in JSGME I run the game again, go to the museum to take some screenshots and... CTD . Tried many different times, and randomly sometimes it crashed, sometimes it loaded fine.

Does anybody have an idea about what could cause this apparently random behaviour? I'm kinda lost with this ship, and would hate to have to remove it from my Dark Waters installation because it looks gorgeous.
  Reply With Quote
Old 11-10-21, 08:59 AM   #2
JapLance
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Ooops, this was supposed to be sent to the SH4 forum. My apologies.
  Reply With Quote
Old 11-10-21, 10:30 AM   #3
Mister_M
Grey Wolf
 
Join Date: Feb 2021
Posts: 778
Downloads: 26
Uploads: 0


Default

Hello. Great model/textures indeed !

Maybe, open NCL_Southampton.cfg and remove the text :

[AirGroup 1]
StartDate=19370305
EndDate=19480101
Squadron1Class=LBSWalrus
Squadron1No=2

Or add the air unit Walrus to the game.
Mister_M is offline   Reply With Quote
Old 11-10-21, 12:06 PM   #4
JapLance
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by Mister_M View Post
Hello. Great model/textures indeed !

Maybe, open NCL_Southampton.cfg and remove the text :

[AirGroup 1]
StartDate=19370305
EndDate=19480101
Squadron1Class=LBSWalrus
Squadron1No=2

Or add the air unit Walrus to the game.
Oh, yes, those lines are already removed. But in case I hadn't and the plane wasn't properly added, it's not the museum that crashes, but the whole game. I just would not be able to get to the main menu and select the museum.

And regarding the ship, I can't but recommend ALL of The Frog's ships for SH3. They're nothing short of "works of art".
  Reply With Quote
Old 11-10-21, 12:49 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

Caustics or DynamicShadow in the model still? Do you have UnifiedRenderControler? (yes, only one "EL"... lol)
__________________

"...and bollocks to the naysayer/s" - Jimbuna
propbeanie is offline   Reply With Quote
Old 11-10-21, 02:20 PM   #6
JapLance
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by propbeanie View Post
Caustics or DynamicShadow in the model still? Do you have UnifiedRenderControler? (yes, only one "EL"... lol)
Caustics and DynamicShadow controllers removed, and UnifiedRenderController has been added.
  Reply With Quote
Old 11-10-21, 05:31 PM   #7
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

I assumed you had, from your excellent past work, of which we have some in FotRSU (thank you very much), but ya never know - doesn't hurt to ask.
__________________

"...and bollocks to the naysayer/s" - Jimbuna
propbeanie is offline   Reply With Quote
Old 11-21-21, 05:11 AM   #8
JapLance
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Finally the culprit was found and "eliminated", thanks to s7rikeback who put me in the right path.

Now the frog's Southampton sails in SH4

  Reply With Quote
Old 11-21-21, 09:02 AM   #9
Mister_M
Grey Wolf
 
Join Date: Feb 2021
Posts: 778
Downloads: 26
Uploads: 0


Default

Quote:
Originally Posted by JapLance View Post
Finally the culprit was found and "eliminated", thanks to s7rikeback who put me in the right path.

Now the frog's Southampton sails in SH4

So, who was the culprit ?
Mister_M is offline   Reply With Quote
Old 11-21-21, 10:25 AM   #10
JapLance
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by Mister_M View Post
So, who was the culprit ?
There were two waterreflection controllers (nodes 263 and 335) wrongly setup. Apparently this has no effect in SH3 (or at least nobody reported crashes other than related to the plane addition in the .cfg file of the ship), but turned out to be critical in SH4. As soon as I fixed them, the ship worked.

The Fiji has exactly the same problem.
  Reply With Quote
Old 11-21-21, 11:01 AM   #11
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

Excellent work, team!
__________________

"...and bollocks to the naysayer/s" - Jimbuna
propbeanie is offline   Reply With Quote
Old 11-21-21, 06:00 PM   #12
Mister_M
Grey Wolf
 
Join Date: Feb 2021
Posts: 778
Downloads: 26
Uploads: 0


Default

Quote:
Originally Posted by JapLance View Post
There were two waterreflection controllers (nodes 263 and 335) wrongly setup. Apparently this has no effect in SH3 (or at least nobody reported crashes other than related to the plane addition in the .cfg file of the ship), but turned out to be critical in SH4. As soon as I fixed them, the ship worked.

The Fiji has exactly the same problem.
Well done !
Mister_M 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 05:35 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.