It is currently 07 May 2021, 13:28
   
Text Size

March 2021 - Allegiances and Alliances v1.1

The latest Manalink updates are posted here.
PLEASE DO NOT BUMP OLD UPDATES!

Moderators: BAgate, drool66, stassy, Aswan jaguar, gmzombie, CCGHQ Admins

Re: March 2021 - Allegiances and Alliances

Postby Korath » 04 Apr 2021, 15:41

FastEddie wrote:On my second local harddrive, i.e. not the one used during boot, in the folder "D:\Program Files (x86)".
Still the system-wide Program Files (x86), and not just a directory bizarrely renamed to match, I take it? There's your problem. All versions of MicroProse MTG need permission to write to their installation directory, and not just to the per-user virtualized copy. If you put it in a tree like Program Files (x86) that Windows insists on holding your hand in, it'll die, probably at the start-of-turn autosave.

Install it elsewhere (best solution), continue to run it as administrator (worst), or change the directory permissions as instructed e.g. here (I've never tried this, but if I did, I'd definitely do it to just the MTG subdir and not all of Program Files).
User avatar
Korath
DEVELOPER
 
Posts: 3520
Joined: 02 Jun 2013, 05:57
Has thanked: 490 times
Been thanked: 997 times

Re: March 2021 - Allegiances and Alliances

Postby FastEddie » 11 Apr 2021, 11:08

Korath wrote:Still the system-wide Program Files (x86), and not just a directory bizarrely renamed to match, I take it?
You have a mighty suspicious mind and rightly so I would say. Too much time spent in IT... :D Honestly, I can't tell, as this harddrive with this directory is a couple of years old now.
Korath wrote:Install it elsewhere (best solution), continue to run it as administrator (worst), or change the directory permissions as instructed e.g. here
So that's what I tried, a couple of times actually in case I missed anything. The last try went like this:
Create a new directory D:\ML, copy the files from the old directory there, overwrite with the March update for good measure.
Switch to the Admin account, establish a new right for my everyday user that gives me full control over the D:\ML folder, all files and subfolders (I didn't see the Trusted Installer mentioned in the article you linked, not sure whether this is something to worry about).
Run Magic.exe while being Admin just for giggles and lo and behold, the same behaviour :(.
Just for sake of completeness, the same issue still occurs under the everyday user.

I mean, even if I add files afterwards or change something (e.g. copy Magic.exe in there again) it shouldn't matter since the rights are attached to the folder, no? You see me thoroughly confused :? .

Edit: the interesting thing is that it worked a couple of times when I ran it as Admin under the old installation. Could it be that there is something somewhere in the user files, that has been established after trying to open an old save game which causes this issue now?
---
Argivian Archaeologist in the Library of Leng studying the Spells of the Ancients
User avatar
FastEddie
 
Posts: 246
Joined: 24 Dec 2019, 10:59
Has thanked: 15 times
Been thanked: 19 times

Re: March 2021 - Allegiances and Alliances

Postby Korath » 11 Apr 2021, 19:11

Next thing to try would be to run it under a debugger to see precisely where it dies.
User avatar
Korath
DEVELOPER
 
Posts: 3520
Joined: 02 Jun 2013, 05:57
Has thanked: 490 times
Been thanked: 997 times

Re: March 2021 - Allegiances and Alliances

Postby FastEddie » 18 Apr 2021, 10:01

I played around a bit but I fear I need your support as I have zilch experience debugging multi-threaded applications, especially when they come without a symbol table.

I fired up gdb and ran Magic.exe. It looks like this:
Code: Select all
(gdb) exec-file Magic.exe
(gdb) run
Starting program: D:\Manalink\Manalink/Magic.exe Magic.exe
[New Thread 9320.0x2700]
[New Thread 9320.0x258c]
[New Thread 9320.0x1c74]
[New Thread 9320.0xf94]
Error while mapping shared library sections:
`D:\Manalink\Manalink\image.dll': not in executable format: File format not recognized
warning: onecore\com\combase\objact\objact.cxx(826)\combase.dll!76067B69: (caller: 7606656B) ReturnHr(1) tid(2700) 800401F0 CoInitialize wurde nicht aufgerufen.
[New Thread 9320.0x688]
[New Thread 9320.0xe34]
[New Thread 9320.0x1b5c]
[New Thread 9320.0x24f4]
[New Thread 9320.0xacc]
[New Thread 9320.0x1d8c]
[New Thread 9320.0x158c]
[New Thread 9320.0x19a4]
[New Thread 9320.0x1160]
[New Thread 9320.0x1d64]
[New Thread 9320.0x2254]
[New Thread 9320.0xa8c]
[New Thread 9320.0x754]
[New Thread 9320.0x1b7c]
[New Thread 9320.0x1df4]
// I think it breaks here
[New Thread 9320.0x2580]
[New Thread 9320.0x610]
From observing the behaviour a couple of times I think it breaks when starting the second to last thread but since addresses change every time and I don't have symbols I didn't figure out how to attach a breakpoint to this thread (or every thread, I don't care). :?
---
Argivian Archaeologist in the Library of Leng studying the Spells of the Ancients
User avatar
FastEddie
 
Posts: 246
Joined: 24 Dec 2019, 10:59
Has thanked: 15 times
Been thanked: 19 times

Re: March 2021 - Allegiances and Alliances v1.1

Postby Aswan jaguar » 27 Apr 2021, 05:25

For those of you that are not subscribed to mail list a new update version 1.1 mostly with bug fixes and a couple of dozens of new cards mostly from mirage has been released, see first post, enjoy. :D
---
Trying to squash some bugs and playtesting.
User avatar
Aswan jaguar
Super Tester Elite
 
Posts: 7435
Joined: 13 May 2010, 12:17
Has thanked: 636 times
Been thanked: 345 times

Re: March 2021 - Allegiances and Alliances v1.1

Postby etphonehome » 28 Apr 2021, 15:39

THX for the new update


Installing...

And playing!
etphonehome
 
Posts: 20
Joined: 21 May 2020, 12:50
Has thanked: 84 times
Been thanked: 5 times

Re: March 2021 - Allegiances and Alliances v1.1

Postby FastEddie » 05 May 2021, 10:10

I just installed the update but same behaviour as before :(. Sorry for being the party pooper.
---
Argivian Archaeologist in the Library of Leng studying the Spells of the Ancients
User avatar
FastEddie
 
Posts: 246
Joined: 24 Dec 2019, 10:59
Has thanked: 15 times
Been thanked: 19 times

Previous

Return to Patches

Who is online

Users browsing this forum: No registered users and 4 guests


Who is online

In total there are 4 users online :: 0 registered, 0 hidden and 4 guests (based on users active over the past 10 minutes)
Most users ever online was 1371 on 09 Feb 2020, 16:22

Users browsing this forum: No registered users and 4 guests

Login Form