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 03-16-17, 05:59 PM   #1
Machariel
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by Kendras View Post
I remember such CTD with supermods. It was because some units had wrong parameters : the type number in data\sea\unit\.cfg file was not the same as in data\roster ... so first check if all is good by opening the mission editor : does it show an error message ?
Yes, even before the editor is started an Engine Message appears saying:

The unit class AMM from country American not found in the platforms library
and
The unit KLAKE from country American not found in the platforms library
and
And so forth....it keeps repeating messages it can't find some unit of country American (and many other countries).
  Reply With Quote
Old 03-16-17, 06:41 PM   #2
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by Machariel View Post
Yes, even before the editor is started an Engine Message appears saying:

The unit class AMM from country American not found in the platforms library
and
The unit KLAKE from country American not found in the platforms library
and
And so forth....it keeps repeating messages it can't find some unit of country American (and many other countries).
So, that's why your game is crashing !

Open SH3\data\roster\american\sea and the file of each units that are written in the error messages you get with mission editor.

For example : NKLK_.cfg

It is written :

[UnitClass]
ClassName=KLAKE
UnitType=104
AppearanceDate=19380101
DisappearanceDate=19470101
DisplayName=GreatLakes-Steamer


So the type number is 104.

Now, open SH3\data\Sea\ and NKLK_ for example. Open NKLK_.cfg

The type number has to be 104 too. If not, change it.

The difficulty is to find the right folders, as they have sometimes not the same name as the unit (example : "NKLK" instead of "KLAKE")

When you have corrected all the files needed, open again mission editor to check if there is still some error messages.

Good luck !

Last edited by Kendras; 03-16-17 at 06:52 PM.
  Reply With Quote
Old 03-16-17, 06:46 PM   #3
Machariel
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by Kendras View Post
So, that's why your game is crashing !

Open SH3\data\roster\american\sea and the file of each units that are written in the error messages you get with mission editor.

For example : NKLK_.cfg

It is written :

[UnitClass]
ClassName=KLAKE
UnitType=104
AppearanceDate=19380101
DisappearanceDate=19470101
DisplayName=GreatLakes-Steamer


So the type number is 104.

Now, open SH3\data\Sea\ and NKLK_ for example. Open NKLK_.cfg

The type number has to be 104 too. If not, change it.

The difficulty is to find the right folders, as they have sometimes not the same name as the unit (example : "NKLK" instead of "KLAKE")

When you have corrected all the files needed, open again mission editor to check if there is still some error messages.

Good luck !
Yes, I tested this already with one class and that produces one error message less indeed. But there are so many wrong! Looks like probably all of them. LSH Fullversion mod changes that number as it most likely replaces that file. What's the point of changing all that. Others don't have that problem it seems, so where does it come from?

Last edited by Machariel; 03-16-17 at 06:55 PM.
  Reply With Quote
Old 03-16-17, 06:54 PM   #4
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Change the type only in data\sea, not in data\roster .... it will be far easier. If you change the type in data\roster ... you will have to change the type for each country !

IIRC, there are only 2 or 3 ships that have wrong parameters.
  Reply With Quote
Old 03-16-17, 06:56 PM   #5
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by Machariel View Post
Others don't have that problem it seems, so where does it come from?
I don't know. Check if this doesn't come from another mod.
  Reply With Quote
Old 03-16-17, 07:33 PM   #6
Machariel
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by Kendras View Post
I don't know. Check if this doesn't come from another mod.
Yes, that solved it for me. Old GWX didn't unload properly with an older version of JSGME for some reason. Installed it virgin and now it works! Thanks for mentioning "another mod" which made re-think what could be wrong.
  Reply With Quote
Old 03-17-17, 04:39 AM   #7
THEBERBSTER
Growing Old Disgracefully
 
THEBERBSTER's Avatar
 
Join Date: Dec 2012
Location: Hythe - Southampton
Posts: 9,609
Downloads: 1133
Uploads: 0


Default

Hi Machariel
Your problem should not be happening in the first place, and so should not need to be fixed.
You have some sort of corruption going on from one or more of the installation files.
It is recommended after downloading to check the file byte sizes before installing.
Peter
THEBERBSTER 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 03:48 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.