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] mySH3-TooL_v1 small SH3 Mod-Helper Tool (this is not a Mod) (https://www.subsim.com/radioroom/showthread.php?t=227227)

Hebe Vollmaus 10-20-21 06:13 PM

Quote:

Originally Posted by s7rikeback (Post 2775148)
Like pb above, I always copy into the actual game folder, I have been doing this since the day I found this wonderful tool.
:up:

Hey, whatever works best. If this is the fastest way to get it running - fine.

Mister_M 11-02-21 08:38 AM

Hello !

Can I renumber the DefSide.cfg file in the Roster with your tool ?
Entries are in this format : "[SideEntry --]"

EDIT : I've found the answer, thank you !

Hebe Vollmaus 04-10-22 05:40 AM

v2.0
 
[Bump]

Proud to present Update to v2.0

This version introduce some more headaches.
You may study the ReadMe again. Please have a look onto the changelog.
If you have the old v1.9 version of the "ReadMe" you can use WinMerge to see some of the differences very fast.

And once more, the mass of things that can be found now does not mean each and every quirk is found.
Over all, whats left, is a complete Binary part.
I'm always faszinated, by this great amount of quirks, the game runs almost smooth. So the original Devellopers had made a very good job. In most cases, so my impression, when Users ask for a "fix" LOL, the origin reason is based on Modders work.

This version has the Campaign-Check splitted into a "Danger only" and a "Full blown" part. The 'Danger only' will find the typical 'Crash'-things only, in-game Campaign-related and MissionEditor.

Also mentioning a new Check-Button dedicated and around to interrelated en|de_menu.txt, Flotilla.cfg and Campaign_LND.mis. Also here - not all what should be checked are really integrated. I make a break and decided to release it now, instead of never, in the hope it will be useful.

-----
-----
The "Must have" of WinMerge is no longer true. Now you may use your favorite Compare-Tool instead, if you like. But the use of WinMerge is highly recommended!

To stress yourself you can use the HEX-Editor "HxD" for the CMP= entry Compare, or a Tool like "WinDiff" out of the MS Platform SDK, or "Notepad++" with Compare plugin, or something like that.

If you prefer a bit more challenge and absolut unwilling to use an additional external Compare-Tool you can even use the "FC" Command out of the Operating-System. This has to be embedded into a Batchfile like this:
Code:

@echo off
set FCout="%~dpnx1_FC.txt"
echo.
cmd.exe /C FC /L /N "%1" "%2" >%FCout%
echo.
IF %ERRORLEVEL% EQU 0 (
  echo No differences found.
) ELSE (
  echo files are different.
  Start "" /WAIT Notepad.exe %FCout%
)
del %FCout%

echo READY.
echo.
set FCout=
pause

The Config-file entry should then look like this:
CMP=C:\Batch\mySH3TooL_TEST_Run-CMD-FC.bat

LOL :doh:

I'm sure you will comeback to WinMerge asap.
Using WinMerge is a Feature, not a Mistake. :)


-----
-----
In the past there was a feature-request to include a check for SNS- and EQP-dates the same way as it is released in "SHValidator" for DefSide.cfg. The next StartDate should be one day later as the last EndDate.

Some of the points against including it:

Thread SUBSIM Kendras "[TEC] My discoveries about wrong appearance dates":
https://www.subsim.com/radioroom//sh....php?p=2470026

The EQP-files in blanc SH3 have a big amount of these quirks. For example in 5 of 8 Submarines and 31 of 49 Sea-units have these quirks.
To me it looks like the pedantic change of these dates have no real impact in-game due to the games great amount of randomization of these dates.
I have only included a check when next StartDate lives befor the last EndDate, since Modders has written those dates too often to my gusto, original GameMakers only once.
For SNS-files the sittuation is not better. If there is a need for more dates for one node i have not found any single sns-file in unmodified SH3 which is 'correct' in that sense.

There is a nice description in the SH3_MISSION_EDITOR_EN.pdf page 15:
"One word on the unit versions – supply during wartime can never be 100% counted
on. Sometimes, units that are supposed to receive a certain loadout may end up with an
older one."

This clearly shows that this is a Feature of the game, not a Bug. It may be a waste of time to go further in this direction. Before do so i need to look into the Source-codes, to know whats really going on internally.

-----
-----
BTW, two hints for find some things a little bit faster related to the [csv Campaign Check]:

You may ask how to find a --CHECK--entry among of thousends of entries in the original Campaign file using Sh3Missioneditor (ME).
Its easy, but needs a temporary file to work with (for Security-reason).
For example you try to find "[Unit 1708];Name=BR Armed Trawler#67;Class=PCTrawler" in the original v1.4 Campaign_SCR.mis. Open this file with Notepad and change Name= to "xBR Armed Trawler#67". Little x just before its Name. So the result will be "Name=xBR Armed Trawler#67". Then save this file with a New Name(!), for example as Campaign_SCR--TEMP.mis and open this newly created file in ME. In the right pane TreeView-Window move the Cursor to "Units" and press "x" on the Keybord. The Cursor jumps magicaly to the interested item. After you know what you are look for, delete this TEMP-file.
If the Search is a Group, then use the "GroupName=x" and not the Units Name for this x-Name change.

You may ask how to find only one sort of --CHECK--entries in the Mass-amount of different --CHECK--entries to compare only these entries with WinMerge.
Also easy, and needs also some TEMP-files.
You can use the Operating-systems Commandline Tool "FIND" for this task. Only reverse its output to not show the uninterested things with the Operator "/V". Do this as long as the interested entries remain.
For example:
find /V "--CHECK-- SpeedWP" Drive:\Path\Campaign_RND--mis2--Check.csv >Drive:\Path\Campaign_RND--mis2--Check1.csv
will get out all SpeedWP entries.

-----
-----
If you have more then one SH3-installation and/or more then one "mySH3-TooL" running, strange things may happen. For example the [csv Campaigne Check] puts out some Quirks you cannot find a reason why. The lastly created DB-files may be for the Other one, and not for the currently used. Therefor i have integrated another Requester to ask if you be sure you have actual upto-date DB-files created with [MakeDBs].

-----
-----
Greetings.
Have fun!

--
487 Mods found (94 activated)

Hebe Vollmaus 12-17-22 03:17 PM

v2.1
 
[Bump]
Update to v2.1

After the last discussion i had to wait for my eyebrows come back, since someone has shaved them LOL, so i get time to make changes to the Tool.
There is not really something unbelievable new, here and there some changes, and the biggest change are the handling to the "Campaign Check", now somewhat configurable.

In the last version the "--CHECK-- ME" does not always work as intended.
It should be more clearly now.

To cross ckeck these "--CHECK-- ME" entries you may open DB_Roster.csv or the new DB_ALL.csv in a Spreadsheet-Tool like "SCalc" or whatever Tool you use, and set the first line to AutoFilter (Data/Filter/AutoFilter). Then you can use the Rows "Nation" and "UnitType" to restrict the search to what is used in-game.
In the Rows "Appear" and "Disapp" can be seen what dates are used in the Roster-files without open each and every Roster-file allone.

Some of these "--CHECK-- ME" entries are useful.
For example if they show a Destroyer-Escort in RND-Group that comes into the group on a later date, when its introduced in Roster, as after the GameEntryDate for the group. The same way for the GameExitDate. The unit may no longer be shown in the end of the Groups lifetime. Thats what the game has for good. Another random entry injected into a random group.
Thats why i let these lines as they are, if the reason for the popup is a Type 3/4 destoyer-escort.

Another part are these painful embarrassing "Ghost"-things:
2020-08-08 >>"Ghost ships"
https://www.subsim.com/radioroom/sho...d.php?t=246278

2022-08-20 >>"Enemy task forces disappearing, Impossible to intercept task force"
https://www.subsim.com/radioroom/sho...d.php?t=253411

For those i have added some more Text like "<==NoSpawn" and "<==Ghost==".
Please check the dates, as i have written above with SCalc, to see what is wrong here.

Every TaskForce with Cargo-Ships is now marked to remind you to decide if it should be a TaskForce or not. For an example look into [RndGroup 103] in original SH3 v1.4 Campaign_RND.mis.

Greetings.
Have fun.

--
522 Mods found (93 activated)

itadriver 12-19-22 02:07 AM

really useful. Thank you :Kaleun_Cheers:

propbeanie 12-19-22 07:40 AM

Quote:

Originally Posted by Hebe Vollmaus (Post 2842941)
[Bump]
Update to v2.1

After the last discussion i had to wait for my eyebrows come back, since someone has shaved them LOL, so i get time to make changes to the Tool....

Hebe Vollmaus, as always, a scholar and a gentleman, and constantly improving your tool, which has been quite useful for years. We really appreciate you and your work - and the tool, already so very useful, and this just adds to it. Thank you very much for this! Hopefully, your eyebrows do not grow back as bushy as mine...


https://media0.giphy.com/media/IzCO8...giphy.gif&ct=g

lol - :salute:

itadriver 02-03-23 03:22 AM

Thanks again for your great work.
Can you explain this line please?
I haven't found any errors anywhere.

NBB_Littorio - "C:\giochi\SH3-MIO\data\Sea\NBB_Littorio\NBB_Littorio.cfg" - "BBLittorio" (Sea) ==not (or Err) in Roster==

and this:

AFB_A6M2_Zero;C:\giochi\SH3-MIO\data\Air\AFB_A6M2_Zero\AFB_A6M2_Zero.cfg;A6M2Z ero;==Not SH3 entry== "CrewComplement SurvivalRate SurvivalPercentage"

Thank you

s7rikeback 02-03-23 04:36 PM

Quote:

Originally Posted by itadriver (Post 2851020)
Thanks again for your great work.
Can you explain this line please?
I haven't found any errors anywhere.

NBB_Littorio - "C:\giochi\SH3-MIO\data\Sea\NBB_Littorio\NBB_Littorio.cfg" - "BBLittorio" (Sea) ==not (or Err) in Roster==

and this:

AFB_A6M2_Zero;C:\giochi\SH3-MIO\data\Air\AFB_A6M2_Zero\AFB_A6M2_Zero.cfg;A6M2Z ero;==Not SH3 entry== "CrewComplement SurvivalRate SurvivalPercentage"

Thank you

NBB_Littorio - "C:\giochi\SH3-MIO\data\Sea\NBB_Littorio\NBB_Littorio.cfg" - "BBLittorio" (Sea) ==not (or Err) in Roster==
Suggests to me that there is no roster file for the above unit, might be a spelling error somewhere.

AFB_A6M2_Zero;C:\giochi\SH3-MIO\data\Air\AFB_A6M2_Zero\AFB_A6M2_Zero.cfg;A6M2Z ero;==Not SH3 entry== "CrewComplement SurvivalRate SurvivalPercentage"
data\Air\AFB_A6M2_Zero\AFB_A6M2_Zero.cfg has SH4 values attached.
- CrewComplement
- SurvivalRate
- SurvivalPercentage

Hebe Vollmaus 02-05-23 01:39 PM

Quote:

Originally Posted by s7rikeback (Post 2851129)
NBB_Littorio - "C:\giochi\SH3-MIO\data\Sea\NBB_Littorio\NBB_Littorio.cfg" - "BBLittorio" (Sea) ==not (or Err) in Roster==
Suggests to me that there is no roster file for the above unit, might be a spelling error somewhere.

AFB_A6M2_Zero;C:\giochi\SH3-MIO\data\Air\AFB_A6M2_Zero\AFB_A6M2_Zero.cfg;A6M2Z ero;==Not SH3 entry== "CrewComplement SurvivalRate SurvivalPercentage"
data\Air\AFB_A6M2_Zero\AFB_A6M2_Zero.cfg has SH4 values attached.
- CrewComplement
- SurvivalRate
- SurvivalPercentage

Hi all, nice words, Thanks!
Jep, s7rikeback has the key.
"not (or Err) in Roster" means two things.
o not in Roster or
o Error in Roster(file)
If there is no Littorio-entry under the Main-Entry-Roster in the list then it means "not in Roster".

I dont like SH4-values in my SH3-install. So the tool will write them out.


Greetings.

itadriver 02-08-23 01:57 AM

Sorry but I can't find the problem.
What am I missing?

https://i.postimg.cc/BnDwH7Zk/littorio.jpg

propbeanie 02-08-23 07:57 AM

The error is a comparison itadriver. Since you have the Roster cfg file, compare your Roster cfg file versus the Sea cfg file for the same ship, and look at the ClassName= and UnitType= lines. Are they the same in both files? If they are not, then neither the game nor mySH3-Tool can find the link between them either.

btw - Your EnglishNames are what show in the RecMan, but you do have RMLittorio and RM Italia in the Roster cfg, and RN Littorio in the EnglishNames - but that is not what's throwing the "err". That file follows the BBLittorio ClassName call. You could call it BBLittorio=Bubble Bath Littorio if you wanted, so long as the ClassName is spelled correctly, and you would not get that "err".

itadriver 02-08-23 09:14 AM

i probably found the error. I will answer you after a few tests

Hebe Vollmaus 02-13-23 01:53 PM

Thanks propbeanie, good explanation, as ever!

itadriver,
the information provided is a little too less for me to say something more.
In general i think to post the full content of the related files here is useless, and will other readers here make a bit angry.

You may send me all the related files, so i can have a deeper look into whats going on.

o DB_Diffs.txt
o DB_AirLndOrdSeaSub.csv
o DB_Roster.csv
o SH3-MIO\data\Sea\NBB_Littorio\NBB_Littorio.cfg
and the *.cfg what is your Littorio be in the Roster drawer, maybe
o SH3-MIO\data\Roster\Italian\Sea\[anyName what your Littorio.cfg is]

Put them all together into a compressed Single-Archive like Zip or better 7Zip and send me a link per PM where i can download it. Maybe use https://www.sendspace.com/ or send it to me directly. Address in mySH3-TooL, under icon/About...
My Mail-Space is somewhat restricted. I have no idea what it is exactly, but if you send me a file more then 10 MB this may fail. But that much should these five Text-files not go if compressed.

Lets see then.
Greetings.

itadriver 02-15-23 03:46 AM

Quote:

Originally Posted by Hebe Vollmaus (Post 2852815)
Thanks propbeanie, good explanation, as ever!

itadriver,
the information provided is a little too less for me to say something more.
In general i think to post the full content of the related files here is useless, and will other readers here make a bit angry.

You may send me all the related files, so i can have a deeper look into whats going on.

o DB_Diffs.txt
o DB_AirLndOrdSeaSub.csv
o DB_Roster.csv
o SH3-MIO\data\Sea\NBB_Littorio\NBB_Littorio.cfg
and the *.cfg what is your Littorio be in the Roster drawer, maybe
o SH3-MIO\data\Roster\Italian\Sea\[anyName what your Littorio.cfg is]

Put them all together into a compressed Single-Archive like Zip or better 7Zip and send me a link per PM where i can download it. Maybe use https://www.sendspace.com/ or send it to me directly. Address in mySH3-TooL, under icon/About...
My Mail-Space is somewhat restricted. I have no idea what it is exactly, but if you send me a file more then 10 MB this may fail. But that much should these five Text-files not go if compressed.

Lets see then.
Greetings.

Thanks Hebe Vollmaus. The program is great. There was my mistake. :Kaleun_Cheers:

Hebe Vollmaus 02-15-23 01:22 PM

Quote:

Originally Posted by itadriver (Post 2853051)
Thanks Hebe Vollmaus. The program is great. There was my mistake. :Kaleun_Cheers:

Nice to see it must be solved then. :up:

Hebe Vollmaus 07-22-23 09:22 AM

v2.1a
 
[Bump]
small Update to 2.1a

Added renumbering for the Menu.cfg.
As a user needs it. :salute:

Greetings.
Have fun.
--
530 Mods found (96 activated)

FUBAR295 07-22-23 10:35 AM

Quote:

Originally Posted by Hebe Vollmaus (Post 2877455)
[Bump]
small Update to 2.1a

Added renumbering for the Menu.cfg.
As a user needs it. :salute:

Greetings.
Have fun.
--
530 Mods found (96 activated)




Thank you! :Kaleun_Salute:

s7rikeback 07-22-23 10:56 AM

Quote:

Originally Posted by Hebe Vollmaus (Post 2877455)
[Bump]
small Update to 2.1a

Added renumbering for the Menu.cfg.
As a user needs it. :salute:

Greetings.
Have fun.
--
530 Mods found (96 activated)

Thank you very much Hebe.
:salute:

Hebe Vollmaus 12-03-23 01:48 PM

2.1d
 
*Bump*
Update to 2.1d

Renumber now accept EQP-file CargoDef.cfg DefSide.cfg Dials.cfg Locations.cfg

add mkDBs "DB_Dat.csv" info about near-Zero-sized 3D-objects, images, shadows, index
add Config DatNoZero3D= search will ignore named files (without Path and Extension)
add Config Max3DobjSize= search for limited variable Size 3D-objects
add Button [sns Check]

add ButtonMenu [Dat Del.All.Idx.2.NewMod]
Will create a Mod-Directory (JSGME ready) of all found Dat-files with index. The index will be deleted.
With this Mod you can test your install if there will be any time-difference on Load the Game for example into the Museum with and without an index in DAT-files.


Greetings.
Have fun!

FUBAR295 12-03-23 03:02 PM

Thank you Hebe !:up:


All times are GMT -5. The time now is 12:26 AM.

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.