Page 1 of 2

Game Crash

Posted: Tue Mar 23, 2021 2:13 am
by Magpius
Reinstalled onto Windows 10 Machine.
Updated to latest patch, (2.28b)
Crash.

Message as follows.
Any thoughts?
What's irrKlang.NET4.dll, it is in the games folder, but it is still not working.
Thanks an advance.


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 load file or assembly 'irrKlang.NET4.dll' or one of its dependencies. The specified module could not be found.
File name: 'irrKlang.NET4.dll'
at WindowsApplication1.SoundMod.InitSound(Form FormHandle)
at WindowsApplication1.Form1.FinishUp()
at WindowsApplication1.Form1.Startup()
at WindowsApplication1.Form1.Timer1_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
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.6.1650.0 built by: NETFXREL3STAGE
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
WindowsApplication1
Assembly Version: 1.0.6999.21667
Win32 Version: 1.0.6999.21667
CodeBase: file:///C:/Games/Advanced%20Tactics%20Gold/AdvancedTacticsGold.exe
----------------------------------------
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
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1652.0 built by: NETFXREL3STAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.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
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 14.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.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.

RE: Game Crash

Posted: Tue Mar 23, 2021 2:25 am
by ernieschwitz
I think I heard of this one before. Let me check around... or try to get Vic involved.

RE: Game Crash

Posted: Tue Mar 23, 2021 2:30 am
by ernieschwitz

RE: Game Crash

Posted: Tue Mar 23, 2021 3:38 am
by ernieschwitz
A friend, who has another friend in Australia, sent me this link, that is the probable solution. His friend had the same problem, and so did he:

https://www.matrixgames.com/forums/tm.a ... ey=&#65533;

In short Vic says:
Hi,

For the 'keys' issue you'll have to contact Matrix support. My mission is just to make your game run.

The thing is all seems ok. However you must be a special case as hundreds of other installs worked..

(a) option A

What might be the case is that your system is missing 'MSVCR100.DLL'.

You could do a search (see magnifying glass on your taskbar) for this filename first.

It should be properly re-installed with this microsoft installer:
https://www.microsoft.com/en-us/downloa ... px?id=5555
(restart computer afterwards)

(b) option B

What might be the case is that your system is missing 'VCRUNTIME140.DLL'.

You could do a search (see magnifying glass on your taskbar) for this filename first.

It should be properly re-installed with this microsoft installer:
https://www.microsoft.com/en-us/downloa ... x?id=52685
(chose the x86 version, and restart computer afterwards)



Let me know how this goes and if you have these 2 files installed in the first place?

best wishes,
Vic

Hope this helps

RE: Game Crash

Posted: Wed Mar 24, 2021 6:51 am
by Magpius
No luck, I'm afraid.
Downloaded the .dll's placed them into the Game directory.
Similar error message which I'll post up.
Thanks for the try.


Image

RE: Game Crash

Posted: Wed Mar 24, 2021 7:03 am
by Magpius
Game runs under the legacy 227g version.
So not the end of the world.
Attached is file directory

Image

RE: Game Crash

Posted: Wed Mar 24, 2021 9:35 am
by ernieschwitz
Now I don't claim to know a lot about dll files, but I am not sure copying them into the directory is the same as installing them...

In any case, I have contacted Vic.

RE: Game Crash

Posted: Wed Mar 24, 2021 10:23 am
by Vic
Ernie is right, you need to run the microsoft installers.

sorry for the hassle. it is a bit of a puzzle to me why 1 in 500 machines do not have these dll's pre-installed...

best wishes,
Vic

RE: Game Crash

Posted: Thu Mar 25, 2021 5:56 am
by Magpius
Odd.
I did run these through M.S. installer.
Will try running in a different order.
1. DLL's 1st
2. A reinstall.

Appreciate the support Vic Ernie et.al.
(Been playing since People's Tactics, it's this Machine, not the software's fault.)

RE: Game Crash

Posted: Thu Mar 25, 2021 7:33 am
by Magpius
Driver Updates.
Clean Install.
Afraid No luck.
Will continue to play legacy 227 (which works).
Thanks for your attention here guys.
Appreciated.

RE: Game Crash

Posted: Thu Mar 25, 2021 8:40 am
by ernieschwitz
Still annoying. Not satisfactory.

I can only hope we find a solution.

RE: Game Crash

Posted: Thu Mar 25, 2021 1:06 pm
by zakblood
maybe your on the older version of windows 10, you need to update to (10.0, Build 19042) (19041.vb_release.191206-1406) which is the latest called 20H2

Code: Select all

https://support.microsoft.com/en-us/topic/feature-update-through-windows-10-version-20h2-enablement-package-02d91e04-931e-f00d-090c-015467c49f6c

which has the latest and best version of NET4

RE: Game Crash

Posted: Fri Mar 26, 2021 3:27 am
by Magpius
Nope, did a complete windows and driver update. Included some.net drivers that I thought would do the trick.
Then a cleaned regedit and removed any old bits of program.
Then a fresh download and install.
Same outcome.
It's odd how the 227 legacy works, but something in 228 spits the dummy.

RE: Game Crash

Posted: Fri Mar 26, 2021 4:20 am
by ernieschwitz
227g runs using NET, while 228b runs NET4.

RE: Game Crash

Posted: Fri Mar 26, 2021 4:44 am
by Vic
Hi,

Seen similar thing with a SE player and those above MS installers did not work.

However the following did:

https://www.microsoft.com/en-gb/downloa ... x?id=13523

best wishes,
Vic

RE: Game Crash

Posted: Fri Mar 26, 2021 8:22 am
by Magpius
[:(]
System.IO.FileNotFoundException: Could not load file or assembly 'irrKlang.NET4.dll' or one of its dependencies. The specified module could not be found.
File name: 'irrKlang.NET4.dll'
at WindowsApplication1.SoundMod.InitSound(Form FormHandle)
at WindowsApplication1.Form1.FinishUp()
at WindowsApplication1.Form1.Startup()
at WindowsApplication1.Form1.Timer1_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

But thanks for trying.

RE: Game Crash

Posted: Fri Mar 26, 2021 4:03 pm
by Vic
Sorry,

This is a bit of a puzzle to me as well. I just went over the dependencies of irrklang again.

And it actually seems it needs the VC redistributables for x86 (32 bit systems).

Could you still give that one last try?:

https://support.microsoft.com/en-us/top ... f26a218cc0
(pick the x86 one)

or in case that doesn't work... this one:

https://www.microsoft.com/en-gb/downloa ... px?id=5555

let me know...

sorry for the hassle. if this doesn't work i am a bit at a loss.

best wishes,
Vic

RE: Game Crash

Posted: Sat Mar 27, 2021 8:08 am
by Magpius
[&o]
Words fail me.


When I'm sure you have bigger fish to fry, you spend some time helping one old gamer from Aus.
Thank you sir.
It worked.

RE: Game Crash

Posted: Sat Mar 27, 2021 9:45 am
by cpdeyoung
Isn't it wonderful when someone stands by you.

Chuck

PS : Hi.

RE: Game Crash

Posted: Sat Mar 27, 2021 10:46 pm
by Magpius
Hi Chuck.
I've been away from games for quite a while.
(Discovered fly fishing as a way from not staring at computers).
But this game keeps calling out.
Great to see you're still about.
Vic's support incredible.
Regards
Andrew
(formerly Agent S. but the great Matrix/ Slitherine merge curtailed that username.)