[1.21i] Crash - missing tech graphic 126.png

Moderator: Vic

Post Reply
Xxzard
Posts: 566
Joined: Sat Sep 27, 2008 10:18 pm
Location: Arizona

[1.21i] Crash - missing tech graphic 126.png

Post by Xxzard »

Looks like a simple bug - inspection shows no tech graphic 126.png

Exception detail below:

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

************** Exception Text **************
System.IO.FileNotFoundException: Could not find file 'C:\Matrix Games\Shadow Empire\graphics\shadow\complex1\tech\126.png'.
File name: 'C:\Matrix Games\Shadow Empire\graphics\shadow\complex1\tech\126.png'
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
at WindowsApplication1.DynamicCinematicsScreenClass.loadSpecificBmp(String s, Int32 slot, Int32 specialRenderMode) in G:\VR\VRDevelopment\WindowsApplication1\GUI\Screens\Se1_Screens\Se1_DynamicCinematicsScreenClass.vb:line 983
at WindowsApplication1.DynamicCinematicsScreenClass.loadPageStuff(Int32 nr) in G:\VR\VRDevelopment\WindowsApplication1\GUI\Screens\Se1_Screens\Se1_DynamicCinematicsScreenClass.vb:line 963
at WindowsApplication1.DynamicCinematicsScreenClass.HandleMouseClick(Int32 x, Int32 y, Int32 b) in G:\VR\VRDevelopment\WindowsApplication1\GUI\Screens\Se1_Screens\Se1_DynamicCinematicsScreenClass.vb:line 779
at WindowsApplication1.Form1.Form1_Mousedown(Object sender, MouseEventArgs e) in G:\VR\VRDevelopment\WindowsApplication1\Form1.vb:line 1771
at System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at WindowsApplication1.ImmoveableForm.WndProc(Message& m) in G:\VR\VRDevelopment\WindowsApplication1\ImmoveableForm.vb:line 68
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9167.0 built by: NET481REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
WindowsApplication1
Assembly Version: 1.0.8609.20875
Win32 Version: 1.0.8609.20875
CodeBase: file:///C:/Matrix%20Games/Shadow%20Empire/ShadowEmpire.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 14.8.9037.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9166.0 built by: NET481REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9166.0 built by: NET481REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9093.0 built by: NET481REL1LAST_C
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.8.9037.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
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.8.9037.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
irrKlang.NET4
Assembly Version: 1.0.6617.18847
Win32 Version:
CodeBase: file:///C:/Matrix%20Games/Shadow%20Empire/irrKlang.NET4.DLL
----------------------------------------
SharpDX.Mathematics
Assembly Version: 4.2.0.0
Win32 Version: 4.2.0
CodeBase: file:///C:/Matrix%20Games/Shadow%20Empire/SharpDX.Mathematics.DLL
----------------------------------------
ICSharpCode.SharpZipLib
Assembly Version: 0.84.0.0
Win32 Version: 0.84.0.0
CodeBase: file:///C:/Matrix%20Games/Shadow%20Empire/ICSharpCode.SharpZipLib.DLL
----------------------------------------
SharpDX.Direct2D1
Assembly Version: 4.2.0.0
Win32 Version: 4.2.0
CodeBase: file:///C:/Matrix%20Games/Shadow%20Empire/SharpDX.Direct2D1.DLL
----------------------------------------
SharpDX
Assembly Version: 4.2.0.0
Win32 Version: 4.2.0
CodeBase: file:///C:/Matrix%20Games/Shadow%20Empire/SharpDX.DLL
----------------------------------------
SharpDX.DXGI
Assembly Version: 4.2.0.0
Win32 Version: 4.2.0
CodeBase: file:///C:/Matrix%20Games/Shadow%20Empire/SharpDX.DXGI.DLL
----------------------------------------
kda
Assembly Version: 2.1.0.322
Win32 Version: 2.1.0.322
CodeBase: file:///C:/Program%20Files/WD%20Desktop%20App/kda.DLL
----------------------------------------
SharpShell
Assembly Version: 2.2.0.0
Win32 Version: 2.2.0.0
CodeBase: file:///C:/Program%20Files/WD%20Desktop%20App/SharpShell.DLL
----------------------------------------
System.ComponentModel.Composition
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ComponentModel.Composition/v4.0_4.0.0.0__b77a5c561934e089/System.ComponentModel.Composition.dll
----------------------------------------
System.Runtime.Caching
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Caching/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.Caching.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.
Magirot
Posts: 141
Joined: Thu Dec 09, 2021 9:01 pm

Re: [1.21i] Crash - missing tech graphic 126.png

Post by Magirot »

Also missing:

68.png (Water Detox Methods)
127.png (Ammo Printer)

(And 10.png (Furnaces), but I guess it won't come up until the Tech 1-2 starts...)

Edit: A workaround is to make ( / copy and rename) your own tech images with these filenames in the meantime.
Bellrock
Posts: 71
Joined: Tue Jun 30, 2020 10:31 pm

Re: [1.21i] Crash - missing tech graphic 126.png

Post by Bellrock »

I am getting the same error

The crash appears at the beginning of a new turn, as you are reviewing the events at the start of the turn. I usually get to review the first couple of the events, then when continuing to the next a crash to desktop occurs (as shown in png file). Typically I can reload the game and continue, but will get a similar crash again at a later random turn which can be anywhere from 5 to 20 turns later. I am receiving a number of these crash thru out my game-play.

Graphic of the crash:
Turn Start Exception.png
Turn Start Exception.png (5.67 MiB) Viewed 369 times
Crash Report:

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

************** Exception Text **************
System.IO.FileNotFoundException: Could not find file 'E:\Games\Shadow Empire\graphics\shadow\complex1\tech\126.png'.
File name: 'E:\Games\Shadow Empire\graphics\shadow\complex1\tech\126.png'
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
at WindowsApplication1.DynamicCinematicsScreenClass.loadSpecificBmp(String s, Int32 slot, Int32 specialRenderMode) in G:\VR\VRDevelopment\WindowsApplication1\GUI\Screens\Se1_Screens\Se1_DynamicCinematicsScreenClass.vb:line 983
at WindowsApplication1.DynamicCinematicsScreenClass.loadPageStuff(Int32 nr) in G:\VR\VRDevelopment\WindowsApplication1\GUI\Screens\Se1_Screens\Se1_DynamicCinematicsScreenClass.vb:line 963
at WindowsApplication1.DynamicCinematicsScreenClass.HandleMouseClick(Int32 x, Int32 y, Int32 b) in G:\VR\VRDevelopment\WindowsApplication1\GUI\Screens\Se1_Screens\Se1_DynamicCinematicsScreenClass.vb:line 779
at WindowsApplication1.Form1.Form1_Mousedown(Object sender, MouseEventArgs e) in G:\VR\VRDevelopment\WindowsApplication1\Form1.vb:line 1771
at System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at WindowsApplication1.ImmoveableForm.WndProc(Message& m) in G:\VR\VRDevelopment\WindowsApplication1\ImmoveableForm.vb:line 68
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4645.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
WindowsApplication1
Assembly Version: 1.0.8609.20875
Win32 Version: 1.0.8609.20875
CodeBase: file:///E:/Games/Shadow%20Empire/ShadowEmpire.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 14.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4644.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4644.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4550.0 built by: NET48REL1LAST_C
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.8.4390.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
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.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
irrKlang.NET4
Assembly Version: 1.0.6617.18847
Win32 Version:
CodeBase: file:///E:/Games/Shadow%20Empire/irrKlang.NET4.DLL
----------------------------------------
SharpDX.Mathematics
Assembly Version: 4.2.0.0
Win32 Version: 4.2.0
CodeBase: file:///E:/Games/Shadow%20Empire/SharpDX.Mathematics.DLL
----------------------------------------
ICSharpCode.SharpZipLib
Assembly Version: 0.84.0.0
Win32 Version: 0.84.0.0
CodeBase: file:///E:/Games/Shadow%20Empire/ICSharpCode.SharpZipLib.DLL
----------------------------------------
SharpDX.Direct2D1
Assembly Version: 4.2.0.0
Win32 Version: 4.2.0
CodeBase: file:///E:/Games/Shadow%20Empire/SharpDX.Direct2D1.DLL
----------------------------------------
SharpDX
Assembly Version: 4.2.0.0
Win32 Version: 4.2.0
CodeBase: file:///E:/Games/Shadow%20Empire/SharpDX.DLL
----------------------------------------
SharpDX.DXGI
Assembly Version: 4.2.0.0
Win32 Version: 4.2.0
CodeBase: file:///E:/Games/Shadow%20Empire/SharpDX.DXGI.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.
Magirot
Posts: 141
Joined: Thu Dec 09, 2021 9:01 pm

Re: [1.21i] Crash - missing tech graphic 126.png

Post by Magirot »

Bellrock wrote: Fri Aug 04, 2023 4:46 am I am getting the same error

The crash appears at the beginning of a new turn, as you are reviewing the events at the start of the turn. I usually get to review the first couple of the events, then when continuing to the next a crash to desktop occurs (as shown in png file). Typically I can reload the game and continue, but will get a similar crash again at a later random turn which can be anywhere from 5 to 20 turns later. I am receiving a number of these crash thru out my game-play.
The crash happens whenever one of these techs with a missing tech image - Water Detox Methods, Ammo Factory, Ammo Printer - would be discovered or researched, because the VID screen wants to show the image while reporting on it. Vic probably just forgot to add the images to the uploaded beta.

Because discovery is random, the reason reloading works for you is probably that you discovered some other tech by chance.

The reason I mentioned the workaround (going to \graphics\shadow\complex1\tech and copying and renaming some images so that 68.png, 126.png and 127.png exist) is that Vic is currently on a vacation so it might take a while to fix this.
User avatar
Vic
Posts: 9955
Joined: Mon May 17, 2004 2:17 pm
Contact:

Re: [1.21i] Crash - missing tech graphic 126.png

Post by Vic »

Will be fixed in subversion J. Thanks for reporting and sorry for the hassle!
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
Post Reply

Return to “Tech Support”