Trying to use v1.16.02 of this (otherwise brilliant!) program to view the data from my world in the Dark Ages II (R4) mod (
http://www.bay12forums.com/smf/index.php?topic=143540.0) and I keep getting the following unhandled exception error. Seems to be quite erratic, though - on some worlds it seems to happen every time, whereas for others it seems to go away if I try another dump.
Any ideas what it means, whether it's a problem with the DA2 mod or with Legends Viewer, and any ideas how to fix or circumvent it? :/
Appreciate any help you can give me!
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentException: Parameter is not valid.
at System.Drawing.Bitmap..ctor(Stream stream)
at LegendsViewer.Legends.World.GenerateMaps(String mapFile) in C:\Users\Thomas Svoboda\Source\Repos\Legends-Viewer\LegendsViewer\Legends\World.cs:line 243
at LegendsViewer.Legends.World..ctor(String xmlFile, String historyFile, String sitesAndPopulationsFile, String mapFile, String xmlPlusFile) in C:\Users\Thomas Svoboda\Source\Repos\Legends-Viewer\LegendsViewer\Legends\World.cs:line 127
at LegendsViewer.FileLoader.load_DoWork(Object sender, DoWorkEventArgs e) in C:\Users\Thomas Svoboda\Source\Repos\Legends-Viewer\LegendsViewer\FileLoader.cs:line 396
at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1078.0 built by: NETFXREL3STAGE
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
LegendsViewer
Assembly Version: 1.16.2.0
Win32 Version: 1.16.02
CodeBase: file:///C:/Users/Archie/Documents/My%20Games/Dwarf%20Fotress/LegendsViewer-1.16.02/LegendsViewer.exe
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1075.0 built by: NETFXREL3STAGE
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1078.0 built by: NETFXREL3STAGE
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
ObjectListView
Assembly Version: 2.9.0.27259
Win32 Version: 2.9.0.0
CodeBase: file:///C:/Users/Archie/Documents/My%20Games/Dwarf%20Fotress/LegendsViewer-1.16.02/ObjectListView.DLL
----------------------------------------
WFC
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Archie/Documents/My%20Games/Dwarf%20Fotress/LegendsViewer-1.16.02/WFC.DLL
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1064.2 built by: NETFXREL3STAGE
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
SevenZipSharp
Assembly Version: 0.64.3890.29348
Win32 Version: 0.64.3890.29348
CodeBase: file:///C:/Users/Archie/Documents/My%20Games/Dwarf%20Fotress/LegendsViewer-1.16.02/SevenZipSharp.DLL
----------------------------------------
Microsoft.mshtml
Assembly Version: 7.0.3300.0
Win32 Version: 7.0.3300.0
CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.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.
EDIT: FWIW, World Viewer and Legends Browser seem able to load up the files perfectly fine.
Wait, shit..have I posted this in the wrong thread... (
http://www.bay12forums.com/smf/index.php?topic=154617.60 ?? )