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)
-   -   [REL] SH3 Validator (https://www.subsim.com/radioroom/showthread.php?t=187453)

TheDarkWraith 09-07-11 11:48 PM

Quote:

Originally Posted by JapLance (Post 1743723)
Hi TDW,


any plans to release a similar tool for SH4? I did try to force it to use the SH4 folder, but it wouldn't work (as expected, just had to try it :D).

v2.0.0 included support for SH4 up to patch 1.4: http://www.subsim.com/radioroom/show...11&postcount=1

JapLance 09-08-11 08:08 AM

Quote:

Originally Posted by TheDarkWraith (Post 1745212)
v2.0.0 included support for SH4 up to patch 1.4: http://www.subsim.com/radioroom/show...11&postcount=1

Roger :D.

TheDarkWraith 09-08-11 10:07 AM

Quote:

Originally Posted by Kentas (Post 1745246)
Hi TDW,

How should I fix campaign errors ?

D:\Games\Ubisoft\SilentHunterIII\data\Campaigns\Ca mpaign\Campaign_RND.mis:
Type 0 not defined in \data\Roster\Venezuela
Type 0 not defined in \data\Roster\Venezuela
Type 0 not defined in \data\Roster\Venezuela

I'll use an American entry as an example. Type 0 defines the class of unit that the campaign is looking for. Type 0 just happens to be Type0=Patrol Craft from \data\Roster\English.cfg. Knowing this it's pretty obvious that the intended unit is the PT Elco boat. This Type x is used as a generic class by the game engine. Many units can be Type x and this is how you get ship variety. IIRC the only Type 0 defined in stock SHIII is the PT Elco boat.
Now knowing this we can either create a new roster entry or copy an existing one and modify it. We'll do the latter.
Copy the \data\Roster\American\Sea\PTElco.cfg file to \data\Roster\Venezuela\Sea. That will fix the error. Now you can 'customize' this new roster entry by opening up the new PTElco.cfg file and editing the items below in yellow:

[UnitClass]
ClassName=PTElco
UnitType=0
AppearanceDate=19380101
DisappearanceDate=19460101
DisplayName=US PT Boat

Stiebler 09-16-11 09:33 AM

Quote:

You'll like v2.0.0 even more ;)

v2.0.0 released. See post #1 for details :|\\
Got it, thanks. Great work again!

And latest version of NYGM (forthcoming fix 3.5A) contains no errors at all, in the Validator!

Stiebler.

Victor Schutze 12-16-11 10:29 PM

Quote:

Originally Posted by TheDarkWraith (Post 1743851)
Yours are pretty easy for the most part.

1\BuV_Dock1.eqp does not contain sequentially ordered entries (found duplicate [Equipment 119]) @ line number 810 *********
*********

Can be fixed by editing their .eqp files and renumbering the entries to ensure sequential ordering. i.e.:
[Equipment 1]
.....

[Equipment 2]
......

[Equipment 3]
......

etc.

:88) I have this error but all [Equipment x] are in sequential order?!

Mine says:

[Equipment 119]
NodeName=A01
LinkName=Bootsmann5
StartDate=19380101
EndDate=19451231
Loadout=Allied_Merchant

How do I fix this? All the equipment numbers before (1-118) and after(120-134) are in sequential order. :06:

TheDarkWraith 12-17-11 01:54 AM

Quote:

Originally Posted by Victor Schutze (Post 1806354)
:88) I have this error but all [Equipment x] are in sequential order?!

Mine says:

[Equipment 119]
NodeName=A01
LinkName=Bootsmann5
StartDate=19380101
EndDate=19451231
Loadout=Allied_Merchant

How do I fix this? All the equipment numbers before (1-118) and after(120-134) are in sequential order. :06:

Which file is this? Can you send it to me? Maybe I have something wrong in my code :hmmm:

PapaKilo 12-17-11 02:23 AM

Did the program actually shows you an error at:

Equipment 119 ?

TDW just made an example to make it more clear what should be fixed if you get this type of error, but it doesn't mean you necessarily have a problem at Equipment 119.

But if you do, it would be better if you copy also the Equipments 118 and 120 together with 119

Victor Schutze 12-17-11 12:34 PM

Quote:

Originally Posted by TheDarkWraith (Post 1806413)
Which file is this? Can you send it to me? Maybe I have something wrong in my code :hmmm:

You have a PM

Victor Schutze 12-17-11 12:50 PM

Quote:

Originally Posted by PapaKilo (Post 1806416)
Did the program actually shows you an error at:

Equipment 119 ?


Yes it does

Quote:

Originally Posted by PapaKilo (Post 1806416)
But if you do, it would be better if you copy also the Equipments 118 and 120 together with 119

I am not sure what you mean? :hmmm:

Here are my Equipments 118, 119 and 120. How do I proceed?

[Equipment 118
NodeName=M02
LinkName=Bootsmann2
StartDate=19380101
EndDate=19451231
Loadout=Allied_Merchant

[Equipment 119]
NodeName=A01
LinkName=Bootsmann5
StartDate=19380101
EndDate=19451231
Loadout=Allied_Merchant

[Equipment 120]
NodeName=A02
LinkName=Bootsmann5
StartDate=19380101
EndDate=19451231
Loadout=Allied_Merchant

Edit: I just noticed "[Equipment 118" does not have a "]". I add it. Just in case it is the cause of the problem. I run a ShValidator scan now to check for errors.

Edit 2: You won't believe it but the error is gone by adding the "]" to "[Equipment 118"
So the ShValidator "sees" the error at "[Equipment 119]" instead of "[Equipment 118"

TheDarkWraith 12-17-11 01:18 PM

Quote:

Originally Posted by Victor Schutze (Post 1806657)
Here are my Equipments 118, 119 and 120. How do I proceed?

[Equipment 118
NodeName=M02
LinkName=Bootsmann2
StartDate=19380101
EndDate=19451231
Loadout=Allied_Merchant

[Equipment 119]
NodeName=A01
LinkName=Bootsmann5
StartDate=19380101
EndDate=19451231
Loadout=Allied_Merchant

[Equipment 120]
NodeName=A02
LinkName=Bootsmann5
StartDate=19380101
EndDate=19451231
Loadout=Allied_Merchant

Edit: I just noticed "[Equipment 118" does not have a "]". I add it. Just in case it is the cause of the problem. I run a ShValidator scan now to check for errors.

The missing ] will do it :up:

Also you cannot receive PMs so there is no way for anyone to respond to you :-?

Victor Schutze 12-17-11 01:26 PM

Quote:

Originally Posted by TheDarkWraith (Post 1806673)
The missing ] will do it :up:

Also you cannot receive PMs so there is no way for anyone to respond to you :-?

Ha! Thanks for telling me. (I was not aware of this :oops: )

"If you do not want to send or receive private messages, you may disable the private messaging system.
Enable Private Messaging

You may limit the receipt of private messages to just moderators and your contacts. Other members who attempt to send messages to you will be told that you have disabled private messaging.
Receive Private Messages only from Contacts and Moderators"

Fixed :shucks:

I mean... I think it is... :O:

Edit: I had the same "]" error in the BuV_Dock2.eqp file(on "[Equipment 118")!
Modder error?

TheDarkWraith 12-17-11 02:11 PM

Quote:

Originally Posted by Victor Schutze (Post 1806676)
Edit: I had the same "]" error in the BuV_Dock2.eqp file(on "[Equipment 118")!
Modder error?

Who knows. I'm not really certain that the missing ] is a problem to the game engine or not. Being a perfectionist I want everything correct and that's how I coded the app.

Victor Schutze 12-17-11 03:32 PM

Quote:

Originally Posted by TheDarkWraith (Post 1806699)
Who knows. I'm not really certain that the missing ] is a problem to the game engine or not. Being a perfectionist I want everything correct and that's how I coded the app.

The errors are gone! :yeah:

I mean... I still have to take care of the others... in a few hours time... RL obligations.

Victor Schutze 12-17-11 11:54 PM

I can't find the error in this NSS_Uboat7a.eqp file:


;equiment cfg file, high level of detail

;coning with 1 AA mount
[Equipment 1]
NodeName=Z01
LinkName=data/objects/Turm7a_1_hd
StartDate=19380101
EndDate=19411231

;coning with 2 AA mounts
[Equipment 2]
NodeName=Z01
LinkName=data/objects/Turm7a_1_hd
StartDate=19420101
EndDate=19451231

; deck mount
[Equipment 3]
NodeName=M01
LinkName=88mm_UDeck_Gun_High
StartDate=19380101
EndDate=19421231

[Equipment 4]
NodeName=M01
LinkName=NULL
StartDate=19430101
EndDate=19451231

; first conning tower mount
[Equipment 5]
NodeName=A01
LinkName=20mmSingle_UFlak_High
StartDate=19380101
EndDate=19401231

[Equipment 6]
NodeName=A01
LinkName=20mmShield_Single_UFlak_High
StartDate=19410101
EndDate=19421231

[Equipment 7]
NodeName=A01
LinkName=20mmTwin_UFlak_High
StartDate=19430101
EndDate=19431231

[Equipment 8]
NodeName=A01
LinkName=20mmShield_Twin_UFlak_High
StartDate=19440101
EndDate=19451231

;Snorkel

[Equipment 13]
NodeName=SNK
LinkName=NSS_Uboattype7_SNK_mask
StartDate=19380101
EndDate=19430701

[Equipment 14]
NodeName=SNK
LinkName=NSS_Uboattype7_SNK
StartDate=19430701
EndDate=19451231

Any idea(s)?

May be the last 2 [Equipment x] are supposed to be

[Equipment 9]

[Equipment 10]

instead of

[Equipment 13]

[Equipment 14]

:hmmm:

Edit: Ok, this was the actual solution. Forget it. :up:

Victor Schutze 12-18-11 12:35 AM

I still have these errors though:

D:\Ubisoft\SilentHunterIII\data\Sea\L02A\L02A.cfg missing!
D:\Ubisoft\SilentHunterIII\data\Sea\L03A\L03A.cfg missing!
D:\Ubisoft\SilentHunterIII\data\Sea\M33B\M33B.cfg missing!
D:\Ubisoft\SilentHunterIII\data\Sea\T06A\T06A.cfg missing!
D:\Ubisoft\SilentHunterIII\data\Sea\T06B\T06B.cfg missing!
D:\Ubisoft\SilentHunterIII\data\Sea\T15B\T15B.cfg missing!

Does someone have these files?

Edit: These are my last errors! Corrected everything else. :up:


All times are GMT -5. The time now is 12:31 PM.

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.