Log in

View Full Version : SH3Gen


J0313
10-14-12, 04:19 PM
Does anybody out there use SH3Gen with NYGM, Sieblers, and hsie? I have tried several times to use it and I keep getting an unhandled exception. Any ideas?

rudewarrior
10-14-12, 04:35 PM
I do. I use it on Windows 7 with GWX and h.sie's mod. Only problem is that it marks icebergs in the Mediterranean Sea for some reason.

What is the specific error?

Sailor Steve
10-14-12, 04:36 PM
I use it all the time, with no problems. I have no idea what might be causing that for you.

Describe where you have it located, and how you use it. That might help us to figure out what's wrong.

J0313
10-14-12, 10:21 PM
I use it all the time, with no problems. I have no idea what might be causing that for you.

Describe where you have it located, and how you use it. That might help us to figure out what's wrong.

I use it as per the instructions. I have it in my documents. I run it then I point to one of the saved games and let her rip. Thats when I get the error and it asks me if I want to continue and it will attempt to ignore the error. Then I run SH3 and I see no changes. I dont know if I have to try it while in game. I hope not becouse I have a problem getting alt/tab to work for some reason.

Sailor Steve
10-14-12, 10:42 PM
Did you install Dotnet Framework 1.1?

Yes, the instructions specifically say that you must use Alt+Tab. This can cause other problems in the game, so I always use the Windows key, which has a similar result and seems to work fine for me

[INSIDE SH3]

1.Start a new patrol (or continue and existing one) and create a save game once you are out of port. Remember the name of your save game.

NOTE: Sh3Gen creates backups of all affected files, but it might be good idea to always create two savegames if you are using Sh3Gen, so you don't run the (small) risk of losing your progress if there should be a problem with Sh3Gen. Not that this happens a lot, just to be safe.

NOTE: Don't save you game before you are out of port traffic, because otherwise on reload all static units in your proximity will lose their waypoints and sink. This is a known limitation of Sh3 1.4b and, unless UBI creates another patch, nothing can be done about it.

2.Alt-Tab out of Silent Hunter III.

[IN WINDOWS]
3.Start Sh3Gen to create your intelligence update.

[IN SH3GEN]
4.Click the button right of the entry "Savegame" and browse to your savegame.

If you have selected a savegame, the button "Generate" will become enabled. Click on it to start the generation process.

NOTE: It is not possible to generate multiple updates in succession. Therefore, before you can generate a new update, you must restart Sh3Gen. However, there is no problem if you restart Sh3Gen and repeatedly generate the files until you are satisfied with the resulting intelligence update.

5.Return to Silent Hunter III to continue your mission.

[BACK IN SH3]
6.Reload your savegame.

If everything went correctly, your ingame map will be updated with new entries, and your war diary will contain an intelligence report with the most valuable information. This data comes from SHIII's campaign files, so there is a good to very high chance that the targets can in fact be found.

J0313
10-14-12, 11:02 PM
Did you install Dotnet Framework 1.1?

Yes, the instructions specifically say that you must use Alt+Tab. This can cause other problems in the game, so I always use the Windows key, which has a similar result and seems to work fine for me

I will try what you suggest Steve. I hope it works. Could you post a link for net framework if you have one. I thought I downloaded it back when I got SH3 gen but I cant remember. If you dont have a link then I will just google it. Thanks for your help bro.

Pisces
10-15-12, 06:39 AM
It's from Microsoft:

http://www.microsoft.com/en-us/download/details.aspx?id=26

J0313
10-15-12, 09:28 AM
I tried to alt/tab and the windows button. Neither worked for me. I think it may be the mod that I have that forces the game to run in 1440 x 900 res. Anyhow, Here is the error.

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Sh3Gen2.Database.Campaign.Interpreter.CInterpreter .prime(CGroups Groups)
at Sh3Gen2.Database.Campaign.Interpreter.CInterpreter .Run()
at Sh3Gen2.Database.Campaign.CCampaign.initializeCamp aignData()
at Sh3Gen2.Database.Campaign.CCampaign.Initialize(Str ing CampaignName, Int32 CampaignDate, CPeriod CampaignPeriod)
at Sh3Gen2.Database.CDatabase.Initialize(String CampaignName, Int32 CampaignDate)
at Sh3Gen2.Applications.MapGen2.CMapGenerator.Run(Str ing PatrolGrid)
at Sh3Gen2.Applications.MapGen2.CMapGen2.Button_OK_Cl ick(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3634 (GDR.050727-3600)
CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Sh3Gen2
Assembly Version: 0.8.1.38621
Win32 Version: 0.8.1.38621
CodeBase: file:///C:/Documents%20and%20Settings/PAPI/My%20Documents/Sh3Gen/Sh3Gen.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3637 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3634 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3639 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


I hope somebody can explain all this. I am not that computer savy.

Lance71
10-16-12, 09:07 AM
Hello JO313!
Try exit game before strting SH3Gen. Then relaunch SHIII, load saved game ...
Another way - run SHIII in standart resolution (for the test).

Best regards
Lance71