![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 |
Engineer
![]() Join Date: Apr 2012
Location: Poland
Posts: 200
Downloads: 84
Uploads: 0
|
![]()
Now, that is embarrassing (go on and laugh
![]() The generator was working, but reinstalled the game, started new campaign, did 13 patrols and got an idea to do reports off them, and this came out: ![]() ![]() I do everything correctly, the only difference from when it was working is the games directory, which is different now (and the name of sh4 folder is longer, but english letters only). It also is in folder with other games, when previously it was SH4 only (like d-games-sh4) -- don't know if it matters or not. As you can see it can see my save games, but it cant set the games path. I tried everything, deleting the ini, even looking in registry if I have correct paths there - does the generator look in the registry for sh4 at all? Oh, and it does write correct sh4 path in the ini, but still displays those errors and can't generate anything. |
![]() |
![]() |
![]() |
#2 |
Pacific Thunder
|
![]() Quote:
![]() Your 2nd picture here is correct. This is the folder you should select to create your ini file by clicking the Set SH4Path button. It looks perfect, you just have a corrupt ini file. Maybe you need to manually delete the ini file by going into your Saved Games folder where the report generator is and delete it, then get the path to Silent Hunter Wolves of the Pacific looking like this again - or highlight it if it cascades down, don't select the lower folders like Sea.. Comprendevous? :)
__________________
" 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." |
![]() |
![]() |
![]() |
#3 |
Engineer
![]() Join Date: Apr 2012
Location: Poland
Posts: 200
Downloads: 84
Uploads: 0
|
![]()
I tried all that :/ That error on first picture: I didnt select sea folder manually, it went there by itself, but it does that only when double clicking sh4 folder (so the directory tree expands). When I only select sh4 folder by clicking on it once (just like on the 2nd pic) it display that second error. So:
![]() But knowing that it still writes the game path in the ini file, I tried to ignore those errors and generate a report and got a message that it cant read or find jsgme.ini but it looks for it one directory up. Its frustrating to not have at least some lead to how resolve this problem, cause it would help at least two other people here too. |
![]() |
![]() |
![]() |
#4 | |
Pacific Thunder
|
![]()
Let's try this. Open the file: SHReport4_0.ini using Notepad. Right click on it, select Open With, select Notepad.
If that Mouse menu doesn't work, open Notepad and Navigate to your My Documents SH4 Saved Games folder and using File Name: "All files (*.*)" - NOT - "Text Documents (*.txt) open the SHReport4_0.ini file that way. This must be done with a text editor, not Word or Wordpad. Looking at your screenshot to get your path I think Yours should look like this: Quote:
Your sh4.exe or gu.exe is in your Silent Hunter 4 Wolves of the Pacific folder right? Right click on your game shortcut and under Properties - Target - it will show where your sh4.exe or gu.exe file is. The folder that has the sh4.exe or gu.exe is the folder we need in the ini file. "D:\GRY\Silent Hunter 4 Wolves of the Pacific\sh4.exe" Disclaimer: Before anyone gets upset with me for making simple instructions I am also writing this for 'somebody' in the future who may not know these things. This way if they do a search and find this post they will have simple instructions that they can understand. Someone in a post up there blew a gasket at me for explaining to a future novice. Please do not get offended or upset! Good luck :) Last edited by aanker; 06-02-12 at 08:12 PM. |
|
![]() |
![]() |
![]() |
#5 |
Engineer
![]() Join Date: Apr 2012
Location: Poland
Posts: 200
Downloads: 84
Uploads: 0
|
![]()
Nope, manually editing the ini causes the "integer value" error to display before the main generator window open.
But what may be that file name that is invalid to it? Other lead: aanker, is your jsgme "mods" folder name default? I mean did you change it when you first time launched jsgme? Cause I did this time, but didnt last time, when the generator was working... and it may not take into account that that name can be changed by a user... (just trying to think of something). |
![]() |
![]() |
![]() |
#6 |
Pacific Thunder
|
![]()
It looks for and possibly expects to see the MODS folder that the JSGME uses so it can list mod's used and also to get Ship class names that, for example, Ducimus uses in TMO that are not in the stock game.
Our campaign used a required mod so everyone had a MODS folder. Other than that one mod we were not expected to use any mod if we didn't want to. The generator isn't expecting to see a mod, probably just a folder named MODS. Wonder if it would work to make a blank folder named MODS? You may have solved this mysterious error. - - - - - Edit - apparently not. Last edited by aanker; 06-02-12 at 08:17 PM. |
![]() |
![]() |
![]() |
#7 |
Engineer
![]() Join Date: Apr 2012
Location: Poland
Posts: 200
Downloads: 84
Uploads: 0
|
![]()
No, changed mods folder name to MODS, and changed it in jsgme.ini too, jsgme still works, but the generator doesn't. Maybe it reads jsgme.ini to find the mods folder (and second jsgme.ini with mods list), but I did look at the generator exe file with hex editor and found "Mods" folder specified there, so I thought I was onto something, but not (it looks like).
It's either too long name of sh4 folder or some programming issue (but why it decided to manifest itself now and not before). What double quotation - " ,the one from one of the error messages - means, if anything, in delphi (cause it looks like it was written in delphi), maybe its some wrong usage of it in the code, I don't know ![]() And just in case: one more difference between my current sh4 installation and previous are mods used - TMO before (when report gen was working) and tmo+RSRD now (not working). But it probably doesnt matter in this case. |
![]() |
![]() |
![]() |
#8 |
Bilge Rat
![]() Join Date: Feb 2009
Posts: 1
Downloads: 10
Uploads: 0
|
![]()
When you dock the files that contain the sinkings are lost ! Thats why you have to make the report just before you dock - Kim Rønhof
|
![]() |
![]() |
![]() |
|
|