GrayFace MM7 Patch v2.5.7 [Mar 4, 2022]

The role-playing games (I-X) that started it all and the various spin-offs (including Dark Messiah).
Novi
Leprechaun
Leprechaun
Posts: 45
Joined: 09 Sep 2018

Re: GrayFace MM7 Patch v2.5.5 [Jan 13, 2022]

Unread postby Novi » Jan 28 2022, 16:59

Wait, I just noticed a new bug (haven't really played with 2.5.5 much), but for some reason, with nothing changed in config, my game starts with mouselook off. I can turn it on, but when I do, it's not loading my cursor anymore (I have a custom one which is a little bigger than the default since I play in 4K, but it was working fine until now).

This happens in all 3 games.

Edit: I'm not sure it has anything to do with the patches, since installing the older ones does this too. I just did a clean reinstall and it's still happening. Could new gpu drivers cause this?

Edit2: Ok, even the default HD cursor now doesn't load. I tried changing the ini settings and I still cannot get it to start with mouselook enabled either.

User avatar
GrayFace
Round Table Hero
Round Table Hero
Posts: 1633
Joined: 29 Nov 2005

Re: GrayFace MM7 Patch v2.5.5 [Jan 13, 2022]

Unread postby GrayFace » Jan 30 2022, 6:33

Novi wrote: Jan 28 2022, 16:59 Wait, I just noticed a new bug (haven't really played with 2.5.5 much), but for some reason, with nothing changed in config, my game starts with mouselook off. I can turn it on, but when I do, it's not loading my cursor anymore (I have a custom one which is a little bigger than the default since I play in 4K, but it was working fine until now).
Send me the ini
My patches: MM6 MM7 MM8. MMExtension. Tools. Also, I love Knytt Stories and Knytt Underground. I'm also known as sergroj.

Novi
Leprechaun
Leprechaun
Posts: 45
Joined: 09 Sep 2018

Re: GrayFace MM7 Patch v2.5.5 [Jan 13, 2022]

Unread postby Novi » Jan 30 2022, 12:13

GrayFace wrote: Jan 30 2022, 6:33
Novi wrote: Jan 28 2022, 16:59 Wait, I just noticed a new bug (haven't really played with 2.5.5 much), but for some reason, with nothing changed in config, my game starts with mouselook off. I can turn it on, but when I do, it's not loading my cursor anymore (I have a custom one which is a little bigger than the default since I play in 4K, but it was working fine until now).
Send me the ini
I just tested the game today and it works correctly. It was something on my end, though I have no idea what.

Mareneusz002
Leprechaun
Leprechaun
Posts: 29
Joined: 29 Mar 2019

Re: GrayFace MM7 Patch v2.5.5 [Jan 13, 2022]

Unread postby Mareneusz002 » Jan 30 2022, 21:08

Tomsod wrote: Jan 23 2022, 0:56 The table text files are tab-separated. There are tricks to have the columns align, depending on the text editor you use, but it's probably simplest to just use TxtEdit, which was made specifically for this purpose.

As for other stuff you asked, none of it is impossible, but it's certainly not easy. You'd need programming skills and experience with a disassembler. Unless you're already a pro, it's probably not worth the effort.
GrayFace wrote:
Mareneusz002 wrote: Jan 22 2022, 23:42 too bad its not easy to change tripple damage ;l
i really like Thief profession, but the tripple damage isnt really so strong compared to for example Knight profession which is strongest melee dps and tank at once. changing it to 10x damage or even more could balance Thief i think. maybe GrayFace can help with it in some next updates :) :P
You could improve it in some other way. Say, +2/skill on GM. Or chance to do +100 damage equal to skill on GM (same effect on average).
Mareneusz002 wrote: Jan 22 2022, 23:42is it possible to make mobs being able to use for example spell "Jump" or "Soul drinker"?
Mareneusz002 wrote: Jan 22 2022, 23:42 or "Shrapmetal" at Grandmaster skill does "Dires nine fragments, fastest recovery time."
is it possible to change it to 1 fragment or 15 fragments instead 9?
Only on Asm/hooks level.
Mareneusz002 wrote: Jan 22 2022, 23:42 also, is possible to change power of spells?
for example spell "Day of the gods" at Grandmaster skill does "Increases all seven stats of your characters by (5 * Skill Level)."
is it possible to change it to 10x skill level instead 5x skill level?
Well, it is possible. You could do an events.Tick event, check for spell being cast and change its power.

Thanks you both guys for help, i really appreciate it!


GrayFace wrote:
Mareneusz002 wrote: Jan 22 2022, 23:42 too bad its not easy to change tripple damage ;l
i really like Thief profession, but the tripple damage isnt really so strong compared to for example Knight profession which is strongest melee dps and tank at once. changing it to 10x damage or even more could balance Thief i think. maybe GrayFace can help with it in some next updates :) :P
You could improve it in some other way. Say, +2/skill on GM. Or chance to do +100 damage equal to skill on GM (same effect on average).

is it easy to do?
i have checked many files, but cant find any with adding skills to GM or chances to make more dmg

im noob in modding so probably will stay with basic customing, like making mobs harder, changing portraits etc etc

i will maybe have some more questions later, but will see

Thanks again!

User avatar
GrayFace
Round Table Hero
Round Table Hero
Posts: 1633
Joined: 29 Nov 2005

Re: GrayFace MM7 Patch v2.5.5 [Jan 13, 2022]

Unread postby GrayFace » Jan 31 2022, 11:40

Mareneusz002 wrote: Jan 30 2022, 21:08 is it easy to do?
Yes, which way do you want it to behave? +2/skill would be easier.
My patches: MM6 MM7 MM8. MMExtension. Tools. Also, I love Knytt Stories and Knytt Underground. I'm also known as sergroj.

User avatar
GrayFace
Round Table Hero
Round Table Hero
Posts: 1633
Joined: 29 Nov 2005

Re: GrayFace MM7 Patch v2.5.6 [Feb 5, 2022]

Unread postby GrayFace » Feb 5 2022, 13:48

Version 2.5.6
<< MM6 - MM8 >>
[+] New command available to map scripts (*.evt) that powers some of the MM6 and MM7 changes of this version (code 0x45 - RefundChestArtifacts).
[-] Items laying on the ground in one map were appearing in another when traveling by foot sometimes. Add FixItemDuplicates=0 to INI to disable this fix.
[-] My bug: DisableHooks option wasn't working for some new hooks.
[-] My bug: When custom *.games.lod archives are used, incorrect data was written to autosave on New Game start. It was fully inconsequential until version 2.5.4.
<< MM7, MM8 >>
[-] My bug: The DirectX 7 bug/limitation fix was being applied prematurely, causing a crash on Wine.
<< MM7 >>
[-] My bug caused by abnormal localization: In German version of the game the party was shooting torches with patch version 2.5.*. This fix also fixes abnormalities of some sprites in that localization.
<< Fixes in maps >>
[-] The Maze (d02), The Titans' Stronghold (d09): It was possible for artifacts to be generated in inaccessible chests, reducing the number of artifacts you could find as a result.
My patches: MM6 MM7 MM8. MMExtension. Tools. Also, I love Knytt Stories and Knytt Underground. I'm also known as sergroj.

Mareneusz002
Leprechaun
Leprechaun
Posts: 29
Joined: 29 Mar 2019

Re: GrayFace MM7 Patch v2.5.5 [Jan 13, 2022]

Unread postby Mareneusz002 » Feb 14 2022, 6:45

GrayFace wrote: Jan 31 2022, 11:40
Mareneusz002 wrote: Jan 30 2022, 21:08 is it easy to do?
Yes, which way do you want it to behave? +2/skill would be easier.

Hehe, the best would be to test the both ways, but im sure you have better things to do, so if first way is easier, so yea it will work

but how will you do it? you make some changes then give link to download the file or how it works?



also, maybe you could somehow make some more notepads .txt with things like this?
i mean you made the notepads like "Class skills.txt" , "Class starting stats.txt" and few more right? these works really awesome

would it be possible to make .txt file with things like "+2/skill on GM" or
for example change "+1% chance to stun per skill point." to more % like 2 or 5% chance to stun per skill point?

so people like me (noob in modding) could balance the classes even more



also, does the "halving armor" effect at axe at GM works properly?
when i hit monsters, yes i sometimes see that someone has "halved armor" and when i indetify the monster he has effect "halved armor"
but i cant see difference in hits?
before and after "halved armor" effect i do probably same best hit like around ~200

i have tested it only for few minutes at dragons


thanks!

User avatar
GrayFace
Round Table Hero
Round Table Hero
Posts: 1633
Joined: 29 Nov 2005

Re: GrayFace MM7 Patch v2.5.5 [Jan 13, 2022]

Unread postby GrayFace » Feb 15 2022, 8:43

viewtopic.php?f=10&t=10423&p=386221#p386221
Mareneusz002 wrote: Feb 14 2022, 6:45 also, does the "halving armor" effect at axe at GM works properly?
when i hit monsters, yes i sometimes see that someone has "halved armor" and when i indetify the monster he has effect "halved armor"
but i cant see difference in hits?
before and after "halved armor" effect i do probably same best hit like around ~200
AC effects chance to hit, not damage.
My patches: MM6 MM7 MM8. MMExtension. Tools. Also, I love Knytt Stories and Knytt Underground. I'm also known as sergroj.

Tomsod
Scout
Scout
Posts: 155
Joined: 31 Jul 2020

Re: GrayFace MM7 Patch v2.5.6 [Feb 5, 2022]

Unread postby Tomsod » Feb 18 2022, 14:05

I've just found an amusing bug: if you use a town portal or lloyd beacon scroll from a nested screen and then cancel the spell's dialogue, the game either crashes or becomes completely unplayable. That's because the game issues the 0x71 exit action and then expects to be in the main screen, but the action only returns you to the outer screen in some cases.

Nested screens I know: PC backpack while looting a chest (Game.CurrentScreen == 15), talking to an NPC that shares their house with others (Game.CurrentScreen == 13 and mem.i4[0x5912a4] > 1 and mem.i4[0xf8b01c] ~= 0), and a multitude of sub-dialogues, like advancing a skill to E/M/GM or buying items (Game.CurrentScreen == 13 and mem.i4[0xf8b01c] ~= 0 and mem.i4[0xf8b01c] ~= 1).

It's probably simplest to just forbid using these scrolls from there, but alternatively the exit action could be modified to invoke itself twice or something like that when issued by the above spells.

Why I'm really posting this, though, is to ask if anyone knows any nested screens I missed? I'll want to fix this in my mod before the next release, as I'm adding an item that can cause the same bugs, and I'll most likely just forbid its usage in screens 10, 13, and 15 (makes sense anyway), but there could be others I don't know about.

User avatar
GrayFace
Round Table Hero
Round Table Hero
Posts: 1633
Joined: 29 Nov 2005

Re: GrayFace MM7 Patch v2.5.6 [Feb 5, 2022]

Unread postby GrayFace » Feb 22 2022, 5:38

Tomsod wrote: Feb 18 2022, 14:05Why I'm really posting this, though, is to ask if anyone knows any nested screens I missed? I'll want to fix this in my mod before the next release, as I'm adding an item that can cause the same bugs, and I'll most likely just forbid its usage in screens 10, 13, and 15 (makes sense anyway), but there could be others I don't know about.
Instead of disabling it, see how ExitScreen function is used from ReloadHouse in Functions.lua, or ExitScreen and _ProcessActions functions in MMCommon.pas.
My patches: MM6 MM7 MM8. MMExtension. Tools. Also, I love Knytt Stories and Knytt Underground. I'm also known as sergroj.

Tomsod
Scout
Scout
Posts: 155
Joined: 31 Jul 2020

Re: GrayFace MM7 Patch v2.5.6 [Feb 5, 2022]

Unread postby Tomsod » Feb 22 2022, 7:47

So, it basically calls ProcessActions out of order to process multiple exit actions? Sure, that could work too, but there really isn't any actual benefit in allowing the player to use my bag-of-holding thingy inside houses or chests, especially if they're gonna be closed anyway, so I'd rather go the easy route. They can press their own dang Esc key! In fact, my code explicitly relies on the fact that one can't open two chests at once, so I would exclude the chest screen either way.

User avatar
GrayFace
Round Table Hero
Round Table Hero
Posts: 1633
Joined: 29 Nov 2005

Re: GrayFace MM7 Patch v2.5.7 [Mar 4, 2022]

Unread postby GrayFace » Mar 4 2022, 14:00

Version 2.5.7
<< MM6 - MM8 >>
[*] Support (i.e. no problems like crashes) for old saves with inconsequential incorrect data caused by my bug fixed in the previous version.
<< MM7, MM8 >>
[-] My bug: The Acid Burst fix that changes its element from Physical to Water was doing so even if it's explicitly set Physical in spells.txt. Now you can also disable the Acid Burst fix by adding FixAcidBurst=0 to INI.
My patches: MM6 MM7 MM8. MMExtension. Tools. Also, I love Knytt Stories and Knytt Underground. I'm also known as sergroj.

StevenB
Leprechaun
Leprechaun
Posts: 1
Joined: 12 Jun 2022

Re: GrayFace MM7 Patch v2.5.7 [Mar 4, 2022]

Unread postby StevenB » Jun 12 2022, 21:39

Is this a bug, or just me?
I installed MM7, then patch 2.5.7
Whenever I use Delete or Pg Down it works like expected to look up and down, but as soon as I move I'm unable to use End to recenter the view. Same thing happens with fly. I can go up and down, but the land button doesn't work after I start moving.

Is this a bug, some setting I missed, or anyone else having this issue?

Mareneusz002
Leprechaun
Leprechaun
Posts: 29
Joined: 29 Mar 2019

Re: GrayFace MM7 Patch v2.5.5 [Jan 13, 2022]

Unread postby Mareneusz002 » Aug 13 2022, 4:29

moved to other thread
Last edited by Mareneusz002 on Sep 1 2022, 1:04, edited 1 time in total.

rygaar
Leprechaun
Leprechaun
Posts: 5
Joined: 24 Aug 2022

Re: GrayFace MM7 Patch v2.5.7 [Mar 4, 2022]

Unread postby rygaar » Aug 24 2022, 22:45

Hi,

I have applied GrayFace MM7 Patch v2.5.7 to my GoG install, and when I start the game the window flashes up and immediately crashes. I am running on Windows 11.

The ErrorLog.txt is:

Code: Select all

Time: 25/08/2022 8:21:24 AM (24.08.2022 22:21:24 UTC)
Windows Version 4.0 

Exception EDivByZero in module USER32.dll at 0004F0B5.
Division by zero.

Function Calls:

778AF0B5 | C:\WINDOWS\System32\USER32.dll + 4F0B5
762A0B2C ? C:\WINDOWS\System32\KERNEL32.DLL + 10B2C
6B887202 ? C:\WINDOWS\SYSTEM32\AcLayers.DLL + 27202
6B88721E ? C:\WINDOWS\SYSTEM32\AcLayers.DLL + 2721E
76FD321A ? C:\WINDOWS\System32\KERNELBASE.dll + 12321A
762A0F6A ? C:\WINDOWS\System32\KERNEL32.DLL + 10F6A
76FD73F5 ? C:\WINDOWS\System32\KERNELBASE.dll + 1273F5
762A0B1B ? C:\WINDOWS\System32\KERNEL32.DLL + 10B1B
76FD73F5 ? C:\WINDOWS\System32\KERNELBASE.dll + 1273F5
76FD7ADC ? C:\WINDOWS\System32\KERNELBASE.dll + 127ADC
762A0B1B ? C:\WINDOWS\System32\KERNEL32.DLL + 10B1B
762A0B2C ? C:\WINDOWS\System32\KERNEL32.DLL + 10B2C
778817C3 ? C:\WINDOWS\System32\USER32.dll + 217C3
778817C3 ? C:\WINDOWS\System32\USER32.dll + 217C3
7789D8CB ? C:\WINDOWS\System32\USER32.dll + 3D8CB
778993B2 ? C:\WINDOWS\System32\USER32.dll + 393B2
762A0F6A ? C:\WINDOWS\System32\KERNEL32.DLL + 10F6A
76FD73F5 ? C:\WINDOWS\System32\KERNELBASE.dll + 1273F5
76FD7ADC ? C:\WINDOWS\System32\KERNELBASE.dll + 127ADC
762A0B1B ? C:\WINDOWS\System32\KERNEL32.DLL + 10B1B
762A0B2C ? C:\WINDOWS\System32\KERNEL32.DLL + 10B2C
76FD321A ? C:\WINDOWS\System32\KERNELBASE.dll + 12321A
77B0ED22 ? C:\WINDOWS\SYSTEM32\ntdll.dll + 8ED22
77AA552D ? C:\WINDOWS\SYSTEM32\ntdll.dll + 2552D
77AA54FF ? C:\WINDOWS\SYSTEM32\ntdll.dll + 254FF
77B0ED22 ? C:\WINDOWS\SYSTEM32\ntdll.dll + 8ED22
7C3F34DE ? C:\WINDOWS\SYSTEM32\AcGenral.DLL + 634DE
77AC7D01 ? C:\WINDOWS\SYSTEM32\ntdll.dll + 47D01
7C3F214A ? C:\WINDOWS\SYSTEM32\AcGenral.DLL + 6214A
778A25DD | C:\WINDOWS\System32\USER32.dll + 425DD
778CC6A6 | C:\WINDOWS\System32\USER32.dll + 6C6A6
...

Does anyone have a suggestion on how to fix this?

cheers

Eksekk
Scout
Scout
Posts: 172
Joined: 19 Jul 2016

Re: GrayFace MM7 Patch v2.5.7 [Mar 4, 2022]

Unread postby Eksekk » Aug 25 2022, 13:17

rygaar wrote: Aug 24 2022, 22:45 Hi,

I have applied GrayFace MM7 Patch v2.5.7 to my GoG install, and when I start the game the window flashes up and immediately crashes. I am running on Windows 11.
According to the error, only system DLLs are involved. Did you set Windows XP compatibility?

rygaar
Leprechaun
Leprechaun
Posts: 5
Joined: 24 Aug 2022

Re: GrayFace MM7 Patch v2.5.7 [Mar 4, 2022]

Unread postby rygaar » Aug 25 2022, 21:57

I have tried using Windows XP Service Pack 2 and 3 compatibility, and same outcome, launches and crashes immediately. Also tried with compatibility turned off - same outcome.

The previous log was truncated. Here is the full log from a fresh run.

Code: Select all

Time: 26/08/2022 8:04:27 AM (25.08.2022 22:04:27 UTC)
Windows Version 6.2 

Exception EDivByZero in module USER32.dll at 0004F0B5.
Division by zero.

Function Calls:

778AF0B5 | C:\WINDOWS\System32\USER32.dll + 4F0B5
77ACD37B ? C:\WINDOWS\SYSTEM32\ntdll.dll + 4D37B
6962EB79 ? C:\WINDOWS\SYSTEM32\CoreMessaging.dll + 5EB79
695F5E73 ? C:\WINDOWS\SYSTEM32\CoreMessaging.dll + 25E73
77AC5D19 ? C:\WINDOWS\SYSTEM32\ntdll.dll + 45D19
77AC4D89 ? C:\WINDOWS\SYSTEM32\ntdll.dll + 44D89
77B10BB1 ? C:\WINDOWS\SYSTEM32\ntdll.dll + 90BB1
77B0C849 ? C:\WINDOWS\SYSTEM32\ntdll.dll + 8C849
76FE57EB ? C:\WINDOWS\System32\KERNELBASE.dll + 1357EB
76789543 ? C:\WINDOWS\System32\ucrtbase.dll + 29543
76788D9C ? C:\WINDOWS\System32\ucrtbase.dll + 28D9C
76788D59 ? C:\WINDOWS\System32\ucrtbase.dll + 28D59
76788CE0 ? C:\WINDOWS\System32\ucrtbase.dll + 28CE0
695E4E67 ? C:\WINDOWS\SYSTEM32\CoreMessaging.dll + 14E67
695E505A ? C:\WINDOWS\SYSTEM32\CoreMessaging.dll + 1505A
6964AFF7 ? C:\WINDOWS\SYSTEM32\CoreMessaging.dll + 7AFF7
6964AFC0 ? C:\WINDOWS\SYSTEM32\CoreMessaging.dll + 7AFC0
69628E08 ? C:\WINDOWS\SYSTEM32\CoreMessaging.dll + 58E08
695EB2A1 ? C:\WINDOWS\SYSTEM32\CoreMessaging.dll + 1B2A1
695EB7DA ? C:\WINDOWS\SYSTEM32\CoreMessaging.dll + 1B7DA
695EB7E9 ? C:\WINDOWS\SYSTEM32\CoreMessaging.dll + 1B7E9
695EB7E9 ? C:\WINDOWS\SYSTEM32\CoreMessaging.dll + 1B7E9
695EB5A1 ? C:\WINDOWS\SYSTEM32\CoreMessaging.dll + 1B5A1
6962EC12 ? C:\WINDOWS\SYSTEM32\CoreMessaging.dll + 5EC12
6962EC1E ? C:\WINDOWS\SYSTEM32\CoreMessaging.dll + 5EC1E
6962EC1E ? C:\WINDOWS\SYSTEM32\CoreMessaging.dll + 5EC1E
695F5EF9 ? C:\WINDOWS\SYSTEM32\CoreMessaging.dll + 25EF9
77B0ED22 ? C:\WINDOWS\SYSTEM32\ntdll.dll + 8ED22
743ADB05 ? C:\WINDOWS\system32\uxtheme.dll + 3DB05
77880E3F ? C:\WINDOWS\System32\USER32.dll + 20E3F
77880FE4 ? C:\WINDOWS\System32\USER32.dll + 20FE4
76FE57EB ? C:\WINDOWS\System32\KERNELBASE.dll + 1357EB
76789543 ? C:\WINDOWS\System32\ucrtbase.dll + 29543
77881840 ? C:\WINDOWS\System32\USER32.dll + 21840
7788184E ? C:\WINDOWS\System32\USER32.dll + 2184E
695F5F4E ? C:\WINDOWS\SYSTEM32\CoreMessaging.dll + 25F4E
77884EEC ? C:\WINDOWS\System32\USER32.dll + 24EEC
7789D8CB ? C:\WINDOWS\System32\USER32.dll + 3D8CB
74399BAA ? C:\WINDOWS\system32\uxtheme.dll + 29BAA
774810DA ? C:\WINDOWS\System32\win32u.dll + 10DA
7788152E ? C:\WINDOWS\System32\USER32.dll + 2152E
77AC5D19 ? C:\WINDOWS\SYSTEM32\ntdll.dll + 45D19
77B0ED22 ? C:\WINDOWS\SYSTEM32\ntdll.dll + 8ED22
778A25DD | C:\WINDOWS\System32\USER32.dll + 425DD
778CC6A6 | C:\WINDOWS\System32\USER32.dll + 6C6A6
03471ED4 | D:\Game Libraries\GoG Galaxy\Games\Might and Magic 7\MM7patch.dll + 41ED4
034722BB ? D:\Game Libraries\GoG Galaxy\Games\Might and Magic 7\MM7patch.dll + 422BB
00464423 | D:\Game Libraries\GoG Galaxy\Games\Might and Magic 7\mm7.exe + 64423
03472BBE ? D:\Game Libraries\GoG Galaxy\Games\Might and Magic 7\MM7patch.dll + 42BBE
034718F2 | D:\Game Libraries\GoG Galaxy\Games\Might and Magic 7\MM7patch.dll + 418F2
778A7DB0 | C:\WINDOWS\System32\USER32.dll + 47DB0
77887165 | C:\WINDOWS\System32\USER32.dll + 27165
77886E3D ? C:\WINDOWS\System32\USER32.dll + 26E3D
7788FA4D ? C:\WINDOWS\System32\USER32.dll + 2FA4D
77AF4CEA ? C:\WINDOWS\SYSTEM32\ntdll.dll + 74CEA
7788FA61 ? C:\WINDOWS\System32\USER32.dll + 2FA61
7788D9B8 ? C:\WINDOWS\System32\USER32.dll + 2D9B8
77885A93 | C:\WINDOWS\System32\USER32.dll + 25A93
7789CF3C ? C:\WINDOWS\System32\USER32.dll + 3CF3C
778A1B3B | C:\WINDOWS\System32\USER32.dll + 41B3B
004BE838 | D:\Game Libraries\GoG Galaxy\Games\Might and Magic 7\mm7.exe + BE838
004A9569 ? D:\Game Libraries\GoG Galaxy\Games\Might and Magic 7\mm7.exe + A9569
004BF74B ? D:\Game Libraries\GoG Galaxy\Games\Might and Magic 7\mm7.exe + BF74B
03448060 ? D:\Game Libraries\GoG Galaxy\Games\Might and Magic 7\MM7patch.dll + 18060
03471146 ? D:\Game Libraries\GoG Galaxy\Games\Might and Magic 7\MM7patch.dll + 41146
004CAC35 ? D:\Game Libraries\GoG Galaxy\Games\Might and Magic 7\mm7.exe + CAC35
004CD889 ? D:\Game Libraries\GoG Galaxy\Games\Might and Magic 7\mm7.exe + CD889
762A6737 ? C:\WINDOWS\System32\KERNEL32.DLL + 16737
77AE90AD ? C:\WINDOWS\SYSTEM32\ntdll.dll + 690AD
77AE9078 ? C:\WINDOWS\SYSTEM32\ntdll.dll + 69078

Registers:

EAX = 00000000
EBX = 00040000
ECX = 00000000
EDX = 00000000
ESI = 00000000
EDI = 00000002
EBP = 0019FA80
ESP = 0019F570

Stack Trace:

0019F570: 0090016B
0019F574: 00000001
0019F578: 00040000
0019F57C: 0019F850
0019F580: 77AFD340
0019F584: 102DFAB0
0019F588: FFFFFFFE
0019F58C: 0019F5B8
0019F590: 77ACD380 ? C:\WINDOWS\SYSTEM32\ntdll.dll + 4D380
0019F594: 00000001
0019F598: 77860000
0019F59C: 00000000
0019F5A0: 00000000
0019F5A4: 01040000
0019F5A8: 0019F870
0019F5AC: 0090016B
0019F5B0: 00000000
0019F5B4: 00000000
0019F5B8: 00000000
0019F5BC: E1051D33
0019F5C0: 00000000
0019F5C4: 00000002
0019F5C8: 00000001
0019F5CC: 00000002
0019F5D0: 00000000
0019F5D4: 00000002
0019F5D8: 00000001
0019F5DC: 00000000
0019F5E0: 00000000
0019F5E4: 00000000
0019F5E8: 00000000
0019F5EC: 00000000
0019F5F0: 00000001
0019F5F4: 00000000
0019F5F8: 00001000
0019F5FC: 00000000
0019F600: A9051B9A
0019F604: FFFFFFFF
0019F608: 00000000
0019F60C: 00000000
0019F610: 00000000
0019F614: 00000000
0019F618: 00000000
0019F61C: 00000000
0019F620: 00000000
0019F624: 00000000
0019F628: 00000000
0019F62C: 00000000
0019F630: 00000001
0019F634: 00000001
0019F638: 00000002
0019F63C: 00000000
0019F640: 00000000
0019F644: 00000000
0019F648: 00000000
0019F64C: 00000000
0019F650: 00000000
0019F654: 00000000
0019F658: 00000000
0019F65C: 00000000
0019F660: 00000000
0019F664: 00000000
0019F668: 77BA7BE8
0019F66C: 00000018
0019F670: 012631B8
0019F674: 01230000
0019F678: 6962EB10
0019F67C: 6962EB7E ? C:\WINDOWS\SYSTEM32\CoreMessaging.dll + 5EB7E
0019F680: 15EF817E
0019F684: 00000000
0019F688: 012786C0
0019F68C: 0128AB48
0019F690: 0127EBC8
0019F694: 0019F6BC
0019F698: 696666CB
0019F69C: 00000000
0019F6A0: 6962EB10
0019F6A4: 695F5E78 ? C:\WINDOWS\SYSTEM32\CoreMessaging.dll + 25E78
0019F6A8: 00000000
0019F6AC: 01090A68
0019F6B0: 00000020
0019F6B4: 00070004
0019F6B8: 01254918
0019F6BC: 0123CE70
0019F6C0: 77AC5D1E ? C:\WINDOWS\SYSTEM32\ntdll.dll + 45D1E
0019F6C4: 0123CE70
0019F6C8: 00000000
0019F6CC: 00000010
0019F6D0: 00000010
0019F6D4: 01230000
0019F6D8: 012792E0
0019F6DC: 00000010
0019F6E0: 01277F08
0019F6E4: 01277E48
0019F6E8: 00010000
0019F6EC: 77AC4D8E ? C:\WINDOWS\SYSTEM32\ntdll.dll + 44D8E
0019F6F0: 00000018
0019F6F4: 010907E8
0019F6F8: 01254908
0019F6FC: 01090000
0019F700: 00000000
0019F704: 012631B8
0019F708: 00000002
0019F70C: 01241C10
0019F710: 00332FB4
0019F714: 0019F730
0019F718: 77B10BB6 ? C:\WINDOWS\SYSTEM32\ntdll.dll + 90BB6
0019F71C: 00000012
0019F720: 00000000
0019F724: 76FE57E0
0019F728: 012792E0
0019F72C: 00000012
0019F730: 0019F744
0019F734: 77B0C84E ? C:\WINDOWS\SYSTEM32\ntdll.dll + 8C84E
0019F738: 00000002
0019F73C: 00000000
0019F740: 76FE57E0
0019F744: 0019F754
0019F748: 76FE57F1 ? C:\WINDOWS\System32\KERNELBASE.dll + 1357F1
0019F74C: 00000002
0019F750: 00000000
0019F754: 0019F77C
0019F758: 76789545 ? C:\WINDOWS\System32\ucrtbase.dll + 29545
0019F75C: 00000002
0019F760: 00000000
0019F764: 65FFB645
0019F768: 00000010
0019F76C: 0123CE70
0019F770: 0019F7A4
0019F774: 767E0680
0019F778: FFFFFFFF
0019F77C: 0019F7B4
0019F780: 76788DA1 ? C:\WINDOWS\System32\ucrtbase.dll + 28DA1
0019F784: 76788D5E ? C:\WINDOWS\System32\ucrtbase.dll + 28D5E
0019F788: 65FFB68D
0019F78C: 0127D928
0019F790: 00000010
0019F794: 012792E0
0019F798: 0123CE70
0019F79C: 0128AB48
0019F7A0: 01277BA8
0019F7A4: 0019F878
0019F7A8: 767C88E0
0019F7AC: 13635531
0019F7B0: FFFFFFFE
0019F7B4: 0019F7C0
0019F7B8: 76788CE5 ? C:\WINDOWS\System32\ucrtbase.dll + 28CE5
0019F7BC: 00000001
0019F7C0: 0019F7E0
0019F7C4: 695E4E6D ? C:\WINDOWS\SYSTEM32\CoreMessaging.dll + 14E6D
0019F7C8: 00000010
0019F7CC: 00000001
0019F7D0: 01279314
0019F7D4: 695E505F ? C:\WINDOWS\SYSTEM32\CoreMessaging.dll + 1505F
0019F7D8: 000007D4
0019F7DC: 00000000
0019F7E0: 0019F804
0019F7E4: 6964AFFC ? C:\WINDOWS\SYSTEM32\CoreMessaging.dll + 7AFFC
0019F7E8: 00000000
0019F7EC: 6964B080
0019F7F0: 01279302
0019F7F4: 00000004
0019F7F8: 00000009
0019F7FC: 0127D928
0019F800: 012792E0
0019F804: 0019F82C
0019F808: 6964AFC5 ? C:\WINDOWS\SYSTEM32\CoreMessaging.dll + 7AFC5
0019F80C: 012792E0
0019F810: 00000009
0019F814: 01277D28
0019F818: 00000001
0019F81C: 00000000
0019F820: 00000009
0019F824: 01277D28
0019F828: 0128AB48
0019F82C: 0019F848
0019F830: 69628E0D ? C:\WINDOWS\SYSTEM32\CoreMessaging.dll + 58E0D
0019F834: 01277D28
0019F838: 00000001
0019F83C: 00000000
0019F840: 0127EBC8
0019F844: 0128AB48
0019F848: 0019F858
0019F84C: 695EB2A6 ? C:\WINDOWS\SYSTEM32\CoreMessaging.dll + 1B2A6
0019F850: 00000001
0019F854: 00000000
0019F858: 0019F884
0019F85C: 695EB7DF ? C:\WINDOWS\SYSTEM32\CoreMessaging.dll + 1B7DF
0019F860: 695EB7EE ? C:\WINDOWS\SYSTEM32\CoreMessaging.dll + 1B7EE
0019F864: 15EF8F5A
0019F868: 0127EBC8
0019F86C: 0127EBC8
0019F870: 0128AB48
0019F874: 0128AB48
0019F878: 0019F8B8
0019F87C: 696666CB
0019F880: FFFFFFFF
0019F884: 695EB7EE ? C:\WINDOWS\SYSTEM32\CoreMessaging.dll + 1B7EE
0019F888: 695EB5A6 ? C:\WINDOWS\SYSTEM32\CoreMessaging.dll + 1B5A6
0019F88C: 00000009
...

================================================================================


Tomsod
Scout
Scout
Posts: 155
Joined: 31 Jul 2020

Re: GrayFace MM7 Patch v2.5.7 [Mar 4, 2022]

Unread postby Tomsod » Aug 25 2022, 22:24

The topmost MM7Patch address is the mouselook code, I think. Try turning it off? (Although it should be off by default, unless capslock is on.) If it doesn't help, add 45B860 to DisableHooks, that's the hook which crashes for you.

rygaar
Leprechaun
Leprechaun
Posts: 5
Joined: 24 Aug 2022

Re: GrayFace MM7 Patch v2.5.7 [Mar 4, 2022]

Unread postby rygaar » Aug 25 2022, 23:11

Thanks. I believe I have tried what you suggested. MouseLook=0 and DisableHooks=45B860.

Still breaks.

I have provided my mm7.ini file (which is just vanilla with the DisableHooks added).

Code: Select all

[Settings]

DisableHooks=45B860
 ; 

AddDescriptions=1
 ; Set to 1 to add descriptions to INI entries, set to -1 to remove previously added descriptions, set to 0 to do nothing.

QuickSavesCount=3
 ; This many recent quick saves would be kept.

QuickSavesKey=122
 ; Quick Save key code (F11 by default. Use MM6 Controls program to find out the code of a key).

QuickLoadKey=0
 ; Quick Load key code (use MM6 Controls program to find out the code of a key).

NoIntro=0
 ; Skips intro and makes it appear when you start a new game instead (unless "PostponeIntro" is set to 0).

InventoryKey=73
 ; Key used to immediately open inventory screen ("I" by default. Use MM6 Controls program to find out the code of a key).

ToggleCharacterScreenKey=192
 ; Key used to toggle character screen ("~" by default. Use MM6 Controls program to find out the code of a key).

MusicLoopsCount=1
 ; Set to 0 to play location music in an infinite loop.

DoubleSpeedKey=113
 ; Key that doubles game speed (F2 by default. Use MM6 Controls program to find out the code of a key).

TurnSpeedNormal=100
 ; Smooth turn speed when not in double speed mode.

TurnSpeedDouble=120
 ; Smooth turn speed in double speed mode.

BlasterRecovery=4
 ; Minimal recovery value of blasters and bows (used to be 0 in original game).

MouseLook=0
 ; Enables mouse look mode, which lets you look around by moving mouse.

MouseSensitivityX=35
 ; Mouse sensitivity. To use one from another game, convert it to Valorant sensitivity using an online converter, then multiply the result by 25.486222 and divide by MouseSensitivityDirectMul.

MouseSensitivityAltModeX=75
 ; Mouse sensitivity when "MouseLookUseAltMode" setting is enabled.

MouseSensitivityDirectMul=0
 ; Set to a positive value to use raw mouse input (a value can be non-integer). Mouse sensitivity is then multiplied by this number.

MouseLookChangeKey=4
 ; Key used to toggle mouse look (middle mouse button by default).

MouseLookTempKey=0
 ; Key used to disable/enable mouse look while it's being held.

MouseLookPermKey=0
 ; Key used to toggle mouse look with state persisting across dialogs.

CapsLockToggleMouseLook=1
 ; Pressing Caps Lock would toggle mouse look if this is set to 1.

MouseLookUseAltMode=0
 ; Set to 1 to enable alternative mouse look mode where mouse look is off by default, but is turned on by the keys that toggle it.

MouseLookWhileRightClick=0
 ; Set to 1 to enable looking around while the game is paused by right mouse button press.

MouseWheelFly=1
 ; Enables flying up/down by turning mouse wheel.

AutorunKey=114
 ; Press this key once to continuously move forward until you do something other than turning (F3 by default. Use MM6 Controls program to find out the code of a key).

PaletteSMul=0.65
 ; Saturation multiplier for all graphics (0.65 by default).

PaletteVMul=1.1
 ; Lightness aka Value multiplier for all graphics (1.1 by default, 1.04 for no change).

TurnBasedSpeed=1
 ; Multiplier used to speed up monsters' turn in turn-based mode.

TurnBasedPartySpeed=1
 ; Multiplier used to speed up party turn in turn-based mode.

WindowWidth=-1
 ; Window width in Windowed mode (set to -1 to deduce from WindowHeight option).

WindowHeight=480
 ; Window height in Windowed mode (set to -1 to deduce from WindowWidth option).

StretchWidth=1
 ; Allow stretching game view horizontally this much to reduce black bars size.

StretchWidthFull=1
 ; Like StretchWidth, but only applied if it makes black bars go away.

StretchHeight=1
 ; Allow stretching game view vertically this much to reduce black bars size.

StretchHeightFull=1.067
 ; Like StretchHeight, but only applied if it makes black bars go away.

BorderlessFullscreen=1
 ; Makes the game occupy full screen without changing resolution (note: use F4 to go to/from full screen mode). If task bar is shown above the game window, set this to 2 instead of 1.

MipmapsCount=3
 ; For Hardware 3D mode. Bigger values lead to less flickering at a distance, but more washed-out look.

TurnBasedWalkDelay=0
 ; Set this to a value of your choice (e.g. 100) to be able to do individual steps in the walking phase of turn-based combat.

UILayout=
 ; Set this to "UI" to enable flexible UI with wide screen support, set to an empty or invalid string to disable (see the patch readme for more info).

PaperDollInChests=1
 ; Set this to 1 to see paper dolls when opening inventory from chest dialog, set to 2 to see paper doll right next to chest contents, set to 0 to disable.

HigherCloseRingsButton=1
 ; Places the "Close" button that closes rings view next to the magnifying glass, like in MM6. Set to 0 to disable.

TreeHints=1
 ; Set this to 1 to show hints for non-interactive decorations in Hardware 3D mode. Set to 0 to hide them. Set to 2 to force them on even in UI Layout mode with status bar auto-hiding enabled.

FixMonstersBlockingShots=0
 ; Set this to 1 to stop monster shots being suspended in the air in dungeons when blocked by other monsters. This also fixes the bug of reanimated monsters being unable to hit enemies of the same kind.

ShooterMode=0
 ; Set this to 1 to enable shooter mode (see patch readme for more info).

DeadPlayerShowItemInfo=0
 ; Set this to 1 to allow seeing item info inside inventory screen of an unconscious player.

ViewDistanceD3D=12000
 ; View distance in Direct 3D mode. Causes minor graphical glitches. Set to 0 to disable.

ExitDialogsWithRightButton=0
 ; Makes right mouse button act as Esc in houses, NPC, map entrance and message dialogs.

[UILayout=UI]
Scale=1
 ; Interface size multiplier.

PartyScale=1.11
 ; Portraits size multiplier.

StatusbarScale=0
 ; Leave at 0 to make status bar scale match the size it would have in 640x480 resolution.

StatusbarPlace=0
 ; 0 - Above portraits, 1 - At the top of the screen, -1 - Below portraits.

HideStatusbar=1
 ; 1 - Hide status bar when it's empty, 0 - Don't.

ShrinkStatusbar=1
 ; 1 - Shrink status bar to its contents size, 0 - Don't.

MouseShiftY=30
 ; Shifts crosshair up by this amount.

FOVMul=1
 ; Lets you change field of view.

PortraitsDistance=17
 ; Space between portraits.

FlyEtcOnTop=1
 ; 1 - Fly and water walk icons on top of the screen, 0 - at the bottom.

FloatingScreens=0
 ; 0 - Dialog screens are shown in their original form, 1 - Main area of the dialog screens is incorporated into adventure interface.


Tomsod
Scout
Scout
Posts: 155
Joined: 31 Jul 2020

Re: GrayFace MM7 Patch v2.5.7 [Mar 4, 2022]

Unread postby Tomsod » Aug 25 2022, 23:41

Try also disabling CapsLockToggleMouseLook. Set DisableHooks=46A08E,4D825C,4160C5 -- those three all call the code that I think crashes for you. If neither helps, I'll want to look at the resulting error log, although my ability to help is limited compared to Grayface (but the log can be useful to him, too).

EDIT: wait, I'm blind, 45B860 is the MM6 address, no wonder it didn't work. The three above are the correct ones.


Return to “Might and Magic”

Who is online

Users browsing this forum: No registered users and 17 guests