SUBSIM Radio Room Forums
Mods and files for every subsim!

SUBSIM: The Web's #1 BBS for all submarine and 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 08-08-2016, 02:40 PM   #1
Hebe Vollmaus
Swabbie
 
Join Date: Jun 2010
Location: Germany
Posts: 15
Downloads: 2
Uploads: 1
Default mySH3-TooL_v1 small SH3 Mod-Helper Tool (this is not a Mod)

[EDIT] v1.2

Hello boys, and girls!

This is a perfect moment to say thank you, all you Modders out there. This time i would like to give some feedback, with a small Helper-Tool.

In the old days my computer seams to be not smart enough running a lot Mods or some bigMods. I get often a crash, after loooong Loading time. 8 - 10 minutes waiting, and boom. So i start peek and poking around, trying to find out whats going on. On the way i create some small Helpers, which was someday put together under one GUI. This is the result.

You can find it here in the Subsim-Downloads section Utilities.
Link on Bottom.

from the readme:
--------------------

mySH3-TooL v1.2 by HEB.

This tool is made assist me in modifying diverse text-files in the
SH3-game. You may find it useful if you are doing so for youreself.
If not, it may be useless.
The most conzentration was done on two files: Campaign_XXX.mis and
messages_XX.txt.
first:
mySH3-TooL will not start if something wrong in the Configuration-
file (mySH3-TooL.cfg). So edit this for your needs.
needs:
o any Windows-driven Computer should be Ok
o a Text-Editor with a nonproportional fixed with font
o a Text-based Compare-Tool like WinMerge-2.14.0
o a installed SH3-game
how does it work:
mySH3-TooL is made with a Left-Pane for directorys and a Right-Pane
for the files in these dirs, and some buttons around. Navigate by
Mouse-Click on Drawers foreward and on the TwoPoints-".." backward.
The drawer where you are into will be seen on top of the panes.
The Status-Line on bottom mostly shows results of operation.
The Tool will not modify your original files, exept you say so.
Some buttons create companion-like files to work with. These may be
rolling away by yourself.
Most buttons begin with 3 letters indicating the file-extension they
work with.
----------------------------------------------------------------------
changelog v1.2 (2017-11-26)
[EnGeNames Count] rework to [EnGeNames Check] by adding check of
ClassNames against DB-file AirLndOrdSeaSub
[makeDBs of SH3dir] append check of ClassNames and Type against each
other DB-files AirLndOrdSeaSub and Roster
add DIR-Type to DB-file AirLndOrdSeaSub
and some String change
changelog v1.1a (2016-08-14)
bugfix EQPcmp always Abort
changelog v1.1 (2016-08-13)
add messages*Check Digit lenght count
add cmdline-check "PRO" (not only PRO)
add EQPcmp BOM ByteOrderMark check
bugfix getCFG sometimes not all labels found
add selected file to [select Usedir] and some String change
----------------------------------------------------------------------
-----Right-Buttons----------------------------------------------------
[Load Dir]
Load a Directory to work with.
----------------------------------------------------------------------
[ED]
Start Editor for a quick look into the file, or edit it.
----------------------------------------------------------------------
[DELETE]
If vou are know what you are doing, this button can be activated by
apending "PRO" to the CommandLine. One Click - and the file will be
gone; No Recycler!
----------------------------------------------------------------------
-----Bottom-Buttons---------------------------------------------------
[makeDBs of SH3dir]
is needed before [csv Campaigne Check] and [cfg EnGeNames Check]
Creates two "DataBase" DB-files in mySH3-TooL-directory named
"DB_AirLndOrdSeaSub.csv" and "DB_Roster.csv" of the current SH3-dir
(selectable in Config-file) which are used to check Campaign-files
or Names-files.
Also these DB-files will be compared against each other to identify
Differences of ClassName and Type.
Beware every click creates new DB-files overwrite existing ones. So
for Future needs (load/analyse/sort) you may rename these files.
AirLndOrdSeaSub means the Drawers Air Land Ordnance Sea Submarine.
Roster means the Drawer Roster.
----------------------------------------------------------------------
[open SH3dir]
what the name says
----------------------------------------------------------------------
[select Usedir]
try to open the working directory with Win-Explorer
----------------------------------------------------------------------
[Campaigne - mis2csv]
is needed before [csv Campaigne Check]
All work on Campaigne-files are done in (Comma-separated values)
CSV-files. Actually there is no Comma, but Semicolon. Therefore it is
possible to load these csv's into an Tool like OpenOffice-SCalc or
another SpreedSheet-Style Tool for much better reading or analyse.
A simple mechanism; whenever an OpenBracked-"[" was found => NewLine.
May work on Single-Mission also.
----------------------------------------------------------------------
[Campaigne - csv2mis]
This goes the other way around. When done edit the csv you may use
this to make the csv a fully functional Campaigne-file "*.mis".
You should compare the result with your original file before useíng it
in game.
----------------------------------------------------------------------
[csv Campaigne Check]
Well, not all possible checks are made. Only those that i'm aware off.
If it finds no quirks, it will say so. All good.
If it finds one (most often alot more than one), it will say so and
open WinMerge with a new generated Companion-file to compare with.
The quirks found will be documented by a new line inserted afterwards,
telling what it think what it is.
An example:
DeleteOnLastWaypoint=false
Speed on last Waypoint is not 0
Loop=-1
With this constellation the Ship (or Unit) will be sail forever in the
last direction. When your 3D-Dome InGame came across the actual Ship-
position, the Ship may crash on Land when the 3D-World is created. So
the inserted Message will be:
--CHECK-- NoLoop - LastSpeed is not 0
This Campaigne Check should be made against actual installed
Campaigne-files and a fresh generated Set of DB-files. If you check a
Set of files which do not rely on each other you get a huge number of
Errors telling "...not in AirLndOrdSeaSub" and/or "...not in Roster"
beside the "normal" errors.
As a side note, only when a "Class=" is found, it will check against
AirLndOrdSeaSub and Roster.
----------------------------------------------------------------------
[csv Campaigne Renum]
what the name says
If the new generated file is identical, it will say so.
----------------------------------------------------------------------
[cfg EnGeNames Check]
"EnglishNames.cfg" and "GermanNames.cfg"
Sometimes in the Navigation-Map you may have seen the Name of the Unit
is not shown. This comes from to long names. It will count them.
Also check the Class-Name against DB-file AirLndOrdSeaSub if the
En/GeNames-file reside in SH3- or JSGME-like Path.
If it finds no quirks, it will say so. All good.
If it finds quirks, it will say so and open WinMerge with a new
generated Companion-file to compare with. The quirks found will be
documented by a new line inserted afterwards, telling what it think
what it is. If the Filepath can be identified as SH3- or JSGME-like
Path then quirks may be also found on the end.
----------------------------------------------------------------------
[eqp Equipment Renum]
what the name says
If the new generated file is identical, it will say so.
----------------------------------------------------------------------
[txt messages* Check]
"messages_de.txt" and "messages_en.txt"
Some Radio-Messages may be not shown, such as: Date (End Transmision)
is less then Date (Begin Transmision). This Check try to find this and
other mistyped Quirks.
The Content of the Message on the End will not be analysed, only there
existence.
This will create 4 helper-files. After job done, 2 will be deleted.
The other 2 may be useful for analyse.
Everytime will open WinMerge to compare. You have to scroll down to
the bottom slowly as one can read. If the Line-Lenght in the new file
are all the same, then there are no quirks found. All good.
If any line in the new file is longer than others you may investigate.
EQU means equal.
----------------------------------------------------------------------
[ini menu1024* Renum]
The file accepted should be "menu_1024_768.ini".
If the new generated file is identical, it will say so.
----------------------------------------------------------------------
[dat getCFG (EQPcmp)]
used before [eqp EQPcmp (getCFG)]
means getConfig for EquipmentCompare
will try to find some Equipment in this *.dat
----------------------------------------------------------------------
[eqp EQPcmp (getCFG)]
means EquipmentCompare needs getConfig
will try to detect some quirks in this *.eqp using all files in
SH3dir\data\Library\*.dat. Works slightly Ok for Air- or Sea-files but
not with Submarines (Objects\Turm* now not detected).
----------------------------------------------------------------------
[dat EnvColors Count]
gimmick
This was made to detect the used colors in diverse environments, and
trying to create a usable Tweak File for the cool SH3 Mini Tweaker.
----------------------------------------------------------------------
[ini2csv]
gimmick, not yet useful.
----------------------------------------------------------------------
[sim Check Gun-Shell]
gimmick, not yet useful.
----------------------------------------------------------------------
mySH3-TooL is FREEWARE, so make Money with it is not allowed.
Use at your own risk!

--
Download:
http://www.subsim.com/radioroom/down...o=file&id=5022

Greetings,
HEB.

Last edited by Hebe Vollmaus; 11-26-2017 at 12:13 PM. Reason: Update to v1.2
Hebe Vollmaus is offline   Reply With Quote
Old 08-17-2016, 02:13 AM   #2
Hebe Vollmaus
Swabbie
 
Join Date: Jun 2010
Location: Germany
Posts: 15
Downloads: 2
Uploads: 1
Default

[Bump]
Please note, actual Version is v1_1a.
Old version are replaced an should no longer be used.
Thanks!
Hebe Vollmaus is offline   Reply With Quote
Old 11-26-2017, 12:18 PM   #3
Hebe Vollmaus
Swabbie
 
Join Date: Jun 2010
Location: Germany
Posts: 15
Downloads: 2
Uploads: 1
Default

[Bump]
Update to Version 1.2

Thank you!
Greetings.
Hebe Vollmaus 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 09:23 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © 1997- 2017 Subsim