SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH4 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=219)
-   -   [REL]Kim Ronhof's SH4 Report generator ver. 5102 (https://www.subsim.com/radioroom/showthread.php?t=194635)

aanker 04-24-12 07:15 PM

[REL]Kim Ronhof's SH4 Report generator ver. 5102
 
Kim Ronhof has graciously released his SH4 Report generator ver. 5102.

When correctly installed it should automatically find all your saved games. Just double click on the appropriate saved game. The program then creates the patrol report and copies it to the Clipboard to paste into Word or a Text file for further editing.

JANAC Tonnage will vary according to your realism settings.

That's all Folks! - Kim Ronhof

SH4Report_5102.zip - includes PDF instructions:
850 KB (871,340 bytes) Download Link:
http://www.subsim.com/radioroom/down...=3560&act=down

Happy Hunting!

fitzcarraldo 04-24-12 07:29 PM

Wow!!!!

Is this version compatible with supermods (TMO, RFB, FOTRS) or only for vanilla SH4?

Many thanks and best regards!

Fitzcarraldo :salute:

aanker 04-24-12 08:01 PM

Yes, for sure TMO & Stock but as it gathers data from Saved Games and basic SH4 files that are universal to all installs, it should work.

If it doesn't know if a Warship or Maru it will ask.

Kim did an outstanding job with this and it was nice of him to publicly release it. It won't conflict or cause damage either :)

Happy Hunting!

The quoted sections below are just a quick sample of raw data from the report generator
Quote:

SAMPLE SECTIONS
------------------------------------------------------------
241632 JUN 1942
From : LTCDR A. Anker

Cycle : 3

To : SubRon 14 & ComSubPac
Report from USS Greenling (SS-213)
Patrol area : Alaska SpecOPS 03

Automatic TDC JANAC=70%
Mods used 3
Vickers_Gato_Int
Mod_Soup
Sub_skins_black

Special Mission Conducted: Yes see patrol narrative

The following ships/aircraft have been destroyed
Number of Warships sunk : 0
Number of Merchants sunk : 3

Total Warship tonnage : 0
Total Merchant tonnage : 24366

Total Gross tonnage : 24366
Total JANAC tonnage : 17056

240748 JUN 1942
Ship sunk! Large Modern Tanker, 10007 ton
Long 172° 07' E, Lat 52° 10' N


Torpedoes fired : 12
Torpedo impacts : 8
Torpedo misses : 1
Torpedo duds : 3
Torpedo premature explosions : 0
Gun loaded 0 times


Patrol narrative:

------------------------------------------------------------
242200 JUN 1942
Performed other (state type) mission at :
I don't recall - will fill in later
------------------------------------------------------------
Torpedo data:
240745 JUN 1942 : Firing tube 3
240745 JUN 1942 : Firing tube 4
240746 JUN 1942 : Firing tube 5
240746 JUN 1942 : Firing tube 6
240748 JUN 1942 : Torpedo dud
240748 JUN 1942 : Torpedo hit
240748 JUN 1942 : Torpedo miss
240748 JUN 1942 : Torpedo hit
------------------------------------------------------------
Weather data:
181405 JUN 1942
Clouds Clear, Precipitation None, Fog None
Wind Speed 5 meters per second, direction 0.
181640 JUN 1942
Clouds Clear, Precipitation None, Fog None
Wind Speed 5 meters per second, direction 0.
190547 JUN 1942
Clouds Clear, Precipitation None, Fog None
Wind Speed 2 meters per second, direction 150.
191200 JUN 1942
Clouds Clear, Precipitation None, Fog None
Wind Speed 4 meters per second, direction 294.
191945 JUN 1942
Clouds Overcast, Precipitation None, Fog Medium
Wind Speed 15 meters per second, direction 215.

------------------------------------------------------------
Warnings:
200939 JUN 1942
Ship spotted, sir! Bearing 334! Long range!
200941 JUN 1942
Ship spotted, sir! Bearing 326! Long range!
200957 JUN 1942
Ship spotted, sir! Bearing 338! Long range!
202258 JUN 1942
Sir, we've sighted a liferaft. Bearing 346! Short range!
202258 JUN 1942
Radio Message Received
202326 JUN 1942
Ship spotted, sir! Bearing 036! Long range!
210819 JUN 1942
No visual contact!
211005 JUN 1942
Ship spotted, sir! Bearing 336! Long range!
211006 JUN 1942
Ship spotted, sir! Bearing 337! Long range!
211428 JUN 1942
Radio Message Received
------------------------------------------------------------
232158 JUN 1942
Lowering SD antenna!
232200 JUN 1942
Raising SD antenna!
232202 JUN 1942
Periscope depth
232203 JUN 1942
Ahead one third
232204 JUN 1942
Current depth 40 ft
232207 JUN 1942
Blow ballast
232207 JUN 1942
Ahead full
232207 JUN 1942
Secure from silent running
232209 JUN 1942
Ahead standard
232209 JUN 1942
Compressed air reserve 100%, sir!
232215 JUN 1942
New course 101 degrees!


LTCDR A. Anker
CO USS Greenling (SS-213)

razark 04-24-12 08:14 PM

Sounds cool. Is there a sample of a report so we can see what it does?

fitzcarraldo 04-24-12 09:16 PM

Quote:

Originally Posted by aanker (Post 1874870)
Yes, for sure TMO & Stock but as it gathers data from Saved Games and basic SH4 files that are universal to all installs, it should work.

If it doesn't know if a Warship or Maru it will ask.

Kim did an outstanding job with this and it was nice of him to publicly release it. It won't conflict or cause damage either :)

Happy Hunting!

The quoted sections below are just a quick sample of raw data from the report generator

Many thanks! IŽll try it in TMO 25 plus RSRDC!

Best regards!

Fitzcarraldo :salute:

stanger 04-27-12 05:51 PM

This tool is great; it's been too long for SH4 without its own SH3 Commander - like tool; this one is close, its simple and is doing what it supposed to do; only thing I would add is some html code added to generated report. Could be perfect.

aanker 04-27-12 07:37 PM

You could cheat and use BLOCKQUOTE inside a <P> under <HEAD> with margins and BODY once you get your text edited... and <br>'s at the end of every line and paragraph if you want simple html.

I just did one by hand in Notepad in about 4 minutes.
- or just paste the text into Word or a html email.

Some of these text editors like NoteTab make simple html docs too.

WYSIWYG ..... lol :)

Happy Hunting!

----------------------------------
Edit - I just now selected this #7 message individually and viewed the source code with my browser. Down at the bottom is my (this) message with <br /> tags inserted at the end of every line, paragraph, and space breaks between the sections right where you need them. Copy that message block inside the bottom <DIV> </DIV> tags and paste it into Notepad, do a search and replace to change the <br />'s into <br>'s, and most of the work is done! Then wrap that inside <P> <BLOCKQUOTE> under <BODY> and <HEAD> with % margins, and close it in reverse order: </P> </BLOCKQUOTE> </BODY> </HTML> and you have a usable formatted html doc in less time than it took to edit this message.

Of course you would paste your formatted text patrol report into a forum post and use that - not MY message but you get the idea - I hope.

J0313 04-28-12 11:20 AM

Help
 
When I try and set the path I keep getting an error that say's SH4report_5102 " Invalid file name ". I don't get a full report at all just the a few lines.

J0313 04-28-12 11:25 AM

Also when I try and set the path it gives me this error message. " isn't a valid integer. This is in the " sea " folder.

aanker 04-28-12 03:48 PM

The instructions and numerous pictures show how and where to install it.

The Report Generator goes in My Documents - your SH4 folder there, typically SH4 - then inside that saved games folder to the actual SaveGames folder where all your Saved Game folders are - numbered:
00000000
00000001
00000002
00000003 etc, etc.

If you can see those folders that is where the Report Generator goes just like as shown in the picture.

Since you ran it there is probably an ini file in the folder called, SHReport4_0.ini

Delete that. Now, open the Report Generator from inside your SaveGames folder and try to find your SH4 install where the game is installed on your Hard Drive using the "tree" on the right. Just like in the picture.

I don't know what you are doing in the Sea folder.

Do what the PDF doc says. Click those 4 empty boxes if you want then click "Set SH4Path" button.

Close the Report Generator and there should be a new ini file... "SHReport4_0.ini" - Now open the Report Generator and double click on a saved game that is saved at Sea not in port.

It should make a report.

Quote:

From a manual Kim wrote:
Errors:

During the installment - and setting the path of the SH4 game files errors can occur.
One these errors are invalid file name - you've got the wrong directory or more likely
you did not click on the directory before you clicked on the ChangeSH4Path button. Click on
the SH4 main directory, and then click on the ChangeSH4Path button.
The other is; "is not a valid integer" - same remedy.
If you can't follow the instructions it might be better that you don't try to use it. Sorry but some people can't. It is okay.

Happy Hunting!

Art

stanger 04-28-12 05:05 PM

Quote:

Originally Posted by aanker (Post 1876420)
You could cheat and use BLOCKQUOTE inside a <P> under <HEAD> with margins and BODY once you get your text edited... and <br>'s at the end of every line and paragraph if you want simple html.

I just did one by hand in Notepad in about 4 minutes.
- or just paste the text into Word or a html email.

Some of these text editors like NoteTab make simple html docs too.

WYSIWYG ..... lol :)

Happy Hunting!

----------------------------------
Edit - I just now selected this #7 message individually and viewed the source code with my browser. Down at the bottom is my (this) message with <br /> tags inserted at the end of every line, paragraph, and space breaks between the sections right where you need them. Copy that message block inside the bottom <DIV> </DIV> tags and paste it into Notepad, do a search and replace to change the <br />'s into <br>'s, and most of the work is done! Then wrap that inside <P> <BLOCKQUOTE> under <BODY> and <HEAD> with % margins, and close it in reverse order: </P> </BLOCKQUOTE> </BODY> </HTML> and you have a usable formatted html doc in less time than it took to edit this message.

Of course you would paste your formatted text patrol report into a forum post and use that - not MY message but you get the idea - I hope.

Thanks for the tips. I also noticed in the ini file is something like "use html" set to 0 or false (cant check right now as im on different OS) - any idea about that?

aanker 04-28-12 05:41 PM

Quote:

Originally Posted by stanger (Post 1876874)
Thanks for the tips. I also noticed in the ini file is something like "use html" set to 0 or false (cant check right now as im on different OS) - any idea about that?

Yeah, I noticed that too. Could be he was planning ahead for a future version with that function, or a personal version for his use only.... I don't know.

Other programs he has made in the past use this same type of theme and I was lucky to get a special version of a SH1 tool with extra features a couple of times. I'll ask him but I'm thinking it was for a yet unmade future version.

Happy Hunting!

J0313 04-28-12 06:32 PM

No,,,REALLY!!!!
 
Gee thanks for the patronizing tone aanker! I did everything like the friggin pictures said! When I try and create a path after I check off all the boxes ( keep in mind mister computer master that I have allready put the exe in my save game folder in my documents, I know where it is. ) it shows the little folder tree- and it looks something like this- C, program files, ubisoft, Copy of silenthunterIV, data, roster, japan, sea. It went there on its own so I am not in any friggin sea file! And buy the way I am clicking on the main SH4 directory before I click on create path. I can read you know.

stanger 04-28-12 06:44 PM

I'm not sure I understand whats your problem?
Just go back to C:\ProgramFiles\SilentHunterIV and click on "Change path".
Main game directory is where exe is located.
You need a save file made at the end of patrol, but right before entering homeport.

aanker 04-28-12 07:31 PM

I see two messages:

Quote:

Originally Posted by J0313 (Post 1876702)
Help
When I try and set the path I keep getting an error that say's SH4report_5102 " Invalid file name ". I don't get a full report at all just the a few lines.

and

Quote:

Originally Posted by J0313 (Post 1876706)
Also when I try and set the path it gives me this error message. " isn't a valid integer. This is in the " sea " folder.

I am not a mind-reader and don't know what you need - it is not clear. Also I don't want to be coming back for each step.

So I break it down, step by step, trying to make it as easy for you to understand as possible.

I'm thinking:
Wrong install location? All that is mentioned is, error messages and "sea folder".

Clicking the wrong button first?

Did you try to make a report out of a saved game at port?

I can't tell what is wrong from those posts.

If you felt I was talking down to you, I wasn't intending to.

Well, hopefully you got it. That's the main thing.

Peace.


All times are GMT -5. The time now is 09:08 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.