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 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 04-28-12, 06:44 PM   #1
stanger
Engineer
 
Join Date: Apr 2012
Location: Poland
Posts: 200
Downloads: 84
Uploads: 0
Default

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.
stanger is offline   Reply With Quote
Old 04-28-12, 07:31 PM   #2
aanker
Pacific Thunder
 
aanker's Avatar
 
Join Date: Apr 2004
Location: Yellow Sea
Posts: 1,896
Downloads: 236
Uploads: 14


Default

I see two messages:

Quote:
Originally Posted by J0313 View Post
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 View Post
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.
aanker is offline   Reply With Quote
Old 04-29-12, 09:39 PM   #3
Bubblehead1980
Navy Seal
 
Join Date: Apr 2009
Location: Florida USA
Posts: 7,209
Downloads: 621
Uploads: 44


Default

Ok, just for clarity because the readme was a bit vague.

Will this not generate a report from a game saved after you dock, you need to save just before you dock and then use that file? I click on the file, hit change path, get same error message.Hell, when I click on the report icon in the documents folder to open up the report maker, it says invalid directory, eh.
Bubblehead1980 is offline   Reply With Quote
Old 04-30-12, 03:36 AM   #4
stanger
Engineer
 
Join Date: Apr 2012
Location: Poland
Posts: 200
Downloads: 84
Uploads: 0
Default

You need to set game path only the first time; after that, for example - to make report from your second patrol, you just choose proper save file from the list on the left (double-click). I didnt try to use in-base save, I do what manual says (or was it aanker?) to save before ending patrol and use that save, so not the one called "onenteringbase".
If you screw it just delete ini file (located in the same directory as the report generator: documents\SH4\data\cfg\SaveGames) and start the tool again - that way you will start from scratch:

1. choose game path (like c:\games\ubisoft\silenthunter4) and click "set path" button;
2. select save (double click) and the tool will start gathering info from that save; it will show in the text box below and also copied to clipboard, so you can paste to Word, Notepad, HTMLKit or wherever you want.
stanger is offline   Reply With Quote
Old 05-03-12, 08:51 PM   #5
Bubblehead1980
Navy Seal
 
Join Date: Apr 2009
Location: Florida USA
Posts: 7,209
Downloads: 621
Uploads: 44


Default

Quote:
Originally Posted by stanger View Post
You need to set game path only the first time; after that, for example - to make report from your second patrol, you just choose proper save file from the list on the left (double-click). I didnt try to use in-base save, I do what manual says (or was it aanker?) to save before ending patrol and use that save, so not the one called "onenteringbase".
If you screw it just delete ini file (located in the same directory as the report generator: documents\SH4\data\cfg\SaveGames) and start the tool again - that way you will start from scratch:

1. choose game path (like c:\games\ubisoft\silenthunter4) and click "set path" button;
2. select save (double click) and the tool will start gathering info from that save; it will show in the text box below and also copied to clipboard, so you can paste to Word, Notepad, HTMLKit or wherever you want.
For some reason, every time I try to set the path, it gives a mesaage saying invalid filename file is just named what the game calls it.IJust generated name and date but not all the patrol data etc i expect and some of the details that are there are incorrect.

Last edited by Bubblehead1980; 05-03-12 at 09:03 PM.
Bubblehead1980 is offline   Reply With Quote
Old 05-04-12, 08:41 AM   #6
stanger
Engineer
 
Join Date: Apr 2012
Location: Poland
Posts: 200
Downloads: 84
Uploads: 0
Default

If I remember correctly, your game is installed to program files directory, right? Maybe that is the cause of your problems while modding (generally). Maybe I'm wrong, maybe not, but try to run the tool as admin, or - just to try it once to exclude this possibility - disable UAC, restart the PC, and try the tool once more, with ini file deleted - just in case.
(My SH is installed on D:\ partition, which is all just for games; its a good practice to avoid system partition and program files directory, especially with games like SH4, where there is a lot of modding going on (not just because of security etc., but also disc fragmentation).
And by the way, I have UAC disabled on my Win7x64, but once it was enabled, every time I tried to copy something into program files, it asked me for confirmation, etc., maybe that report generator needs some data from your main installation dir, like ship names or something, and it can't acquire access to it).
stanger is offline   Reply With Quote
Old 05-04-12, 11:14 AM   #7
aanker
Pacific Thunder
 
aanker's Avatar
 
Join Date: Apr 2004
Location: Yellow Sea
Posts: 1,896
Downloads: 236
Uploads: 14


Default

Bubblehead, just delete the ini file in there with the report generator. That is the solution for those error messages.

1.) Delete the ini file
2.) Start up the patrol report tool
3.) Set your path to where your game is installed - the main folder where sh4.exe and the JSGME.exe, and MultiSH4.exe are. Make that folder be the blue highlighted folder. Don't worry if there are folders hanging below it like: Data, MODS, RegistrationReminder, Resources, and Support, or subfolders of Data.
4.) Click the button top right that says SetSH4Path. It will probably change to Change SH4path later.
5.) Close the report tool. Open the report tool and double click a saved game at sea where you have seen some action and saved before returning to base. Call it :'Last Save" or something then return to base.

Once that ini file is created and the tool can make patrol reports you are good to go from then on.

I'm trying to help, so if you know some stuff, maybe someone else doesn't.

Any error messages and the ini file has bad info and must be deleted and remade.

That's all...........

Happy Hunting!
__________________
" Bless those who serve beneath the deep,
Through lonely hours their vigil keep.
May peace their mission ever be,
Protect each one we ask of thee.
Bless those at home who wait and pray,
For their return by night and day."

aanker is offline   Reply With Quote
Old 05-04-12, 11:21 AM   #8
aanker
Pacific Thunder
 
aanker's Avatar
 
Join Date: Apr 2004
Location: Yellow Sea
Posts: 1,896
Downloads: 236
Uploads: 14


Default

Quote:
Originally Posted by stanger View Post
maybe that report generator needs some data from your main installation dir, like ship names or something, and it can't acquire access to it).
That is exactly right. It needs to know all kinds of information from the actual game install plus the saved game data.

:)
__________________
" Bless those who serve beneath the deep,
Through lonely hours their vigil keep.
May peace their mission ever be,
Protect each one we ask of thee.
Bless those at home who wait and pray,
For their return by night and day."

aanker is offline   Reply With Quote
Reply


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 11:21 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.