|
|
majaczek
Supreme Hero
Work at Magic Dimmension
|
posted June 01, 2019 11:52 AM |
|
Edited by majaczek at 11:58, 01 Jun 2019.
|
|
Bersy
Honorable
Supreme Hero
|
posted June 01, 2019 02:28 PM |
|
|
Thanks, now everything is clear. The problem is described here
Molebox, software for making applications portable, working similar to Era's VFS, stopped working from windows 10 v1709.
From windows 10 v1709, ntdll has added a new win32API called NtQueryDirectoryFileEx. From 1803, the FindFirstFileW and some other API will using NtQueryDirectoryFileEx instead of using NtQueryDirectoryusin. That will causes a problem that sometimes the molebox can not work under v1803.
Ok, will work on solution if possible.
____________
Heroes 3 Era and everything for it. Releases folder for releases.
|
|
Bersy
Honorable
Supreme Hero
|
posted June 01, 2019 08:41 PM |
|
|
|
majaczek
Supreme Hero
Work at Magic Dimmension
|
posted June 01, 2019 08:51 PM |
|
|
Bersy said: Guys, replace Heroes 3vfs.dll from this package, please.
For those, who tried VfsTester, I included updated VfsTester.exe.
This update should fix Win 10 problem.
It seems to fix the problem... really thanks!
|
|
Drake
Adventuring Hero
Satisfying no one since 1994
|
posted June 01, 2019 08:56 PM |
|
|
Bersy said: Guys, replace Heroes 3vfs.dll from this package, please.
For those, who tried VfsTester, I included updated VfsTester.exe.
This update should fix Win 10 problem.
Works perfectly!!!! Thank you
____________
~Drake Lyon~
|
|
RerryR
Promising
Supreme Hero
Researching Magic
|
posted June 01, 2019 09:31 PM |
|
|
|
Bersy
Honorable
Supreme Hero
|
posted June 01, 2019 09:33 PM |
|
|
|
majaczek
Supreme Hero
Work at Magic Dimmension
|
posted June 01, 2019 10:26 PM |
|
|
I put vfs.dll on Igrik subversion of 2.8.1 and there are bugs in wognativedialogs plugin
|
|
Bersy
Honorable
Supreme Hero
|
posted June 01, 2019 11:21 PM |
|
|
|
majaczek
Supreme Hero
Work at Magic Dimmension
|
posted June 01, 2019 11:33 PM |
|
Edited by majaczek at 23:36, 01 Jun 2019.
|
Bersy said: What sort of bugs? Crash?
the commander primary skills are having wrong bitmaps. could potentially lead to crash if commmander have fifth level of speed.
there are also a repeateable crash caused by "game bug fixes.dll" which triggers only in modded game. (on some units from amethyst plugin but only some of them)
Quote: Failed to read data at 2EBEF510.
EIP: Game bug fixes.149B. Code: C0000005
> Registers
EAX: 0B8697E0 (int: 193370080, pint: 0x72617744 = 1918990148, str: "Dwarfx00")
ECX: 000000D6 (int: 214)
EDC: 00000000 (int: 0)
EBX: 02B397E4 (int: 45324260, pint: 0x00000000)
ESP: 02B397C8 (int: 45324232, pint: 0x007B4D58 = 8080728)
EBP: 000000F3 (int: 243)
ESI: 000000D6 (int: 214)
EDI: H3era hd.007B4D58 (int: 8080728, pint: 0x00000001)
> Callstack
> Stack
02B397B4: 00000009 (int: 9)
02B397B8: H3era hd.00D10634 (int: 13698612, pint: 0x00000000)
02B397BC: 00000009 (int: 9)
02B397C0: 00000002 (int: 2)
02B397C4: 0000001F (int: 31)
02B397C8*: H3era hd.007B4D58 (int: 8080728, pint: 0x00000001)
and yes, after disabling both game runs fine... even with HD-mod on
|
|
Bersy
Honorable
Supreme Hero
|
posted June 01, 2019 11:59 PM |
|
|
|
majaczek
Supreme Hero
Work at Magic Dimmension
|
posted June 02, 2019 12:54 AM |
|
|
Bersy said: In 2.8.2 updated version of WoG Native Dialogs is included with valid def file of commander.
where is 2.8.2 ???
and how about fixing crash in "game bug fixes.dll" ?
|
|
Bersy
Honorable
Supreme Hero
|
posted June 02, 2019 02:01 AM |
|
|
|
majaczek
Supreme Hero
Work at Magic Dimmension
|
posted June 02, 2019 12:13 PM |
|
|
game seems to crash after turn 2 on blue's turn...
where is guilty? it crashes with both HD and non-HD version.
Is it my mod or era or something?
Quote: Failed to write data at 8F.
EIP: H3era.0071944E (wog_start + 99406). Code: C0000005
> Registers
EAX: 0000008F (int: 143)
ECX: H3era.00860640 (wog_start + 1439296) (int: 8783424, pint: 0x00003D86 = 15750)
EDC: 0000008F (int: 143)
EBX: 06D80048 (int: 114819144, pint: 0x06B500C0 = 112525504)
ESP: 02B38848 (int: 45320264, pint: 0x06D80048 = 114819144)
EBP: 02B38870 (int: 45320304, pint: 0x02B38DEC = 45321708)
ESI: 06DC5AD6 (int: 115104470, pint: 0xFFFFFFFF, str: "˙˙˙˙˙˙x00")
EDI: 06D80048 (int: 114819144, pint: 0x06B500C0 = 112525504)
> Callstack
H3era.007446E6 (wog_start + 276198)
H3era.0074CD20 (wog_start + 310560)
H3era.0074CE60 (wog_start + 310880)
H3era.0072DADC (wog_start + 183004)
H3era.00749416 (wog_start + 295958)
H3era.0074CD20 (wog_start + 310560)
H3era.0074DD6E (wog_start + 314734)
H3era.00705522 (wog_start + 17698)
H3era.004CC4B4 (sub_4CC490 + 36)
H3era.004C75BC
H3era.0070555C (wog_start + 17756)
H3era.00408B89 (A0_AdvMgr_Main_sub_408710 + 1145)
H3era.004B0C39
Era.ED28
Era.EE1B (PatchApi.GetPatcher + 147 in PatchApi.pas on line 923 offset 22)
Era.3E7F1
04520F40
H3era.004F824F
H3era.0061A964 (_WinMainCRTStartup + 224)
Kernel32.18484
Ntdll.63AB8
Ntdll.63A88
> Stack
02B38834: 0000000F (int: 15)
02B38838: 02B38870 (int: 45320304, pint: 0x02B38DEC = 45321708)
02B3883C: H3era.00719426 (wog_start + 99366) (int: 7443494, pint: 0x8908C483)
02B38840: 00000001 (int: 1)
02B38844: 00020077 (int: 131191)
02B38848*: 06D80048 (int: 114819144, pint: 0x06B500C0 = 112525504)
02B3884C: 06DC5AD6 (int: 115104470, pint: 0xFFFFFFFF, str: "˙˙˙˙˙˙x00")
02B38850: 06D80048 (int: 114819144, pint: 0x06B500C0 = 112525504)
02B38854: 00000006 (int: 6)
02B38858: 00000001 (int: 1)
02B3885C: H3era.00860640 (wog_start + 1439296) (int: 8783424, pint: 0x00003D86 = 15750)
02B38860: 00020077 (int: 131191)
02B38864: 06D80048 (int: 114819144, pint: 0x06B500C0 = 112525504)
02B38868: 00000002 (int: 2)
02B3886C: 00000017 (int: 23)
02B38870: 02B38DEC (int: 45321708, pint: 0x02B39150 = 45322576)
02B38874: H3era.007446E6 (wog_start + 276198) (int: 7620326, pint: 0xE924C483)
02B38878: 00000006 (int: 6)
02B3887C: 00000001 (int: 1)
02B38880: 00000077 (int: 119)
02B38884: 00000000 (int: 0)
02B38888: 00000000 (int: 0)
02B3888C: 0000008F (int: 143)
02B38890: 00000000 (int: 0)
02B38894: 0000000F (int: 15)
02B38898: 06DC36D7 (int: 115095255, pint: 0x00000064 = 100)
02B3889C: 06D80048 (int: 114819144, pint: 0x06B500C0 = 112525504)
02B388A0: 06DC5AD6 (int: 115104470, pint: 0xFFFFFFFF, str: "˙˙˙˙˙˙x00")
02B388A4: 06D80048 (int: 114819144, pint: 0x06B500C0 = 112525504)
02B388A8: 00000016 (int: 22)
02B388AC: 00000000 (int: 0)
02B388B0: 00000000 (int: 0)
02B388B4: 00000000 (int: 0)
02B388B8: 00000001 (int: 1)
02B388BC: 00000001 (int: 1)
02B388C0: 00000000 (int: 0)
02B388C4: 00004548 (int: 17736)
02B388C8: 00000000 (int: 0)
02B388CC: 00000000 (int: 0)
02B388D0: 00000000 (int: 0)
|
|
Bersy
Honorable
Supreme Hero
|
posted June 02, 2019 01:43 PM |
|
|
|
majaczek
Supreme Hero
Work at Magic Dimmension
|
posted June 02, 2019 02:06 PM |
|
Edited by majaczek at 14:20, 02 Jun 2019.
|
Bersy said: Crash is in WoG 3.58 code section, so it's highly likely, that mod/plugin combination triggers it.
Sure. there are two plugins doing same
EDIT: still not fixed on my side
EDIT: similair crash
Quote: Failed to write data at 8F.
EIP: H3era.0071944E (wog_start + 99406). Code: C0000005
> Registers
EAX: 0000008F (int: 143)
ECX: H3era.00860640 (wog_start + 1439296) (int: 8783424, pint: 0x00003D86 = 15750)
EDC: 0000008F (int: 143)
EBX: 06CC0048 (int: 114032712, pint: 0x06E800C0 = 115867840)
ESP: 02B38848 (int: 45320264, pint: 0x06CC0048 = 114032712)
EBP: 02B38870 (int: 45320304, pint: 0x02B38DEC = 45321708)
ESI: 06D05AD6 (int: 114318038, pint: 0xFFFFFFFF, str: "˙˙˙˙˙˙x00")
EDI: 06CC0048 (int: 114032712, pint: 0x06E800C0 = 115867840)
> Callstack
H3era.007446E6 (wog_start + 276198)
H3era.0074CD20 (wog_start + 310560)
H3era.0074CE60 (wog_start + 310880)
H3era.0072DADC (wog_start + 183004)
H3era.00749416 (wog_start + 295958)
H3era.0074CD20 (wog_start + 310560)
H3era.0074DD6E (wog_start + 314734)
H3era.00705522 (wog_start + 17698)
H3era.004CC4B4 (sub_4CC490 + 36)
H3era.004C75BC
H3era.0070555C (wog_start + 17756)
H3era.00408B89 (A0_AdvMgr_Main_sub_408710 + 1145)
H3era.004B0C39
Era.ED28
Era.EE1B (PatchApi.GetPatcher + 147 in PatchApi.pas on line 923 offset 22)
Era.3E7F1
02F10B88
H3era.004F824F
H3era.0061A964 (_WinMainCRTStartup + 224)
Kernel32.18484
Ntdll.63AB8
Ntdll.63A88
> Stack
02B38834: 0000000F (int: 15)
02B38838: 02B38870 (int: 45320304, pint: 0x02B38DEC = 45321708)
02B3883C: H3era.00719426 (wog_start + 99366) (int: 7443494, pint: 0x8908C483)
02B38840: 00000001 (int: 1)
02B38844: 00020077 (int: 131191)
02B38848*: 06CC0048 (int: 114032712, pint: 0x06E800C0 = 115867840)
02B3884C: 06D05AD6 (int: 114318038, pint: 0xFFFFFFFF, str: "˙˙˙˙˙˙x00")
02B38850: 06CC0048 (int: 114032712, pint: 0x06E800C0 = 115867840)
02B38854: 00000006 (int: 6)
02B38858: 00000001 (int: 1)
02B3885C: H3era.00860640 (wog_start + 1439296) (int: 8783424, pint: 0x00003D86 = 15750)
02B38860: 00020077 (int: 131191)
02B38864: 06CC0048 (int: 114032712, pint: 0x06E800C0 = 115867840)
02B38868: 00000002 (int: 2)
02B3886C: 00000017 (int: 23)
02B38870: 02B38DEC (int: 45321708, pint: 0x02B39150 = 45322576)
02B38874: H3era.007446E6 (wog_start + 276198) (int: 7620326, pint: 0xE924C483)
02B38878: 00000006 (int: 6)
02B3887C: 00000001 (int: 1)
02B38880: 00000077 (int: 119)
02B38884: 00000000 (int: 0)
02B38888: 00000000 (int: 0)
02B3888C: 0000008F (int: 143)
02B38890: 00000000 (int: 0)
02B38894: 0000000F (int: 15)
02B38898: 06D036D7 (int: 114308823, pint: 0x00000064 = 100)
02B3889C: 06CC0048 (int: 114032712, pint: 0x06E800C0 = 115867840)
02B388A0: 06D05AD6 (int: 114318038, pint: 0xFFFFFFFF, str: "˙˙˙˙˙˙x00")
02B388A4: 06CC0048 (int: 114032712, pint: 0x06E800C0 = 115867840)
02B388A8: 00000016 (int: 22)
02B388AC: 00000000 (int: 0)
02B388B0: 00000000 (int: 0)
02B388B4: 00000000 (int: 0)
02B388B8: 00000001 (int: 1)
02B388BC: 00000001 (int: 1)
02B388C0: 00000000 (int: 0)
02B388C4: 00004548 (int: 17736)
02B388C8: 00000000 (int: 0)
02B388CC: 00000000 (int: 0)
02B388D0: 00000000 (int: 0)
|
|
Bersy
Honorable
Supreme Hero
|
posted June 02, 2019 02:19 PM |
|
Edited by Bersy at 14:20, 02 Jun 2019.
|
igrik will update his package soon.
Version 2.8.2 release can be installed over fresh game only to exclude name clashes and presence of removed files.
Version 2.8.2
------------------------
[+] Updated WoG Native Dialogs. Commander dialog was fully rewritten. Less bugs, performance boost. Credits: igrik.
[+] Added updated ToolsExeMapCompiler php utility to convert *.map files into Era's *.dbgmap format.
Decompilation is supported. Supports maps, generated by Delphi, Virtual Pascal and Visual Studio.
[+] Added ToolsVfsTest utility to run tests for virtual file system compatibility with current OS.
[*] Added extra check in angel.dll to not load plugins with double extension like *.dll.off.
[*] Loaded *.dll plugins by angel.dll now receive v1 = hEra during DLL_PROCESS_ATTACH event and thus
do not crash if *.dll plugin is renamed *.era plugin.
[*] DEPRECATION. New versions of plugins MUST use updated era.h and not rely on v1 = hEra in DllMain. Updated era.h accordingly.
[*] Included WoG Native Dialogs sources in main package.
[-] Fixed bug: Virtual File System worked unreliably on Win 10 v1709+, because NtQueryDirectoryFileEx was not handled.
[-] Fixed bug: reports for addresses from debug maps were sometimes invalid.
[-] Removed garbage files from the previous release.
____________
Heroes 3 Era and everything for it. Releases folder for releases.
|
|
majaczek
Supreme Hero
Work at Magic Dimmension
|
posted June 02, 2019 02:26 PM |
|
Edited by majaczek at 15:17, 02 Jun 2019.
|
will the "extra check in angel.dll" affect plugins with dots in name?
such as "emerald3.1.era" ?
EDIT: yes it will
EDIT: I removed dots in plugin names but:
Quote: Failed to read data at 718CD82.
EIP: Knightmare war machines.3254. Code: C0000005
> Registers
EAX: 0718CD68 (int: 119065960)
ECX: FFFDB700 (int: -149760)
EDC: 00000001 (int: 1)
EBX: 055E64E0 (int: 90072288, pint: 0x04F85E70 = 83385968)
ESP: 02B39FDC (int: 45326300, pint: 0x00000001)
EBP: 02B3A02C (int: 45326380, pint: 0x02B3A068 = 45326440)
ESI: 00000080 (int: 128)
EDI: 00000001 (int: 1)
> Callstack
Era.2797C (GameExt.FireEvent + 24 in GameExt.pas on line 300)
Era.261CE (EventMan.TEventManager.Fire + 226 in EventMan.pas on line 165)
Era.2797C (GameExt.FireEvent + 24 in GameExt.pas on line 300)
05603291
H3era.0074DD6E (wog_start + 314734)
H3era.00705440 (wog_start + 17472)
H3era.004F04FB (A0_MainMenu_sub_4EEA70 + 6795)
H3era.004F824F (A0_Create_Main_Window_sub_4F80C0 + 399)
H3era.0061A964 (_WinMainCRTStartup + 224)
Kernel32.18484
Ntdll.63AB8
Ntdll.63A88
> Stack
02B39FC8: Era.6ADBB (Extern.ExecErmCmd + 67 in Extern.pas on line 92 offset 29) (int: 83668411, pint: 0x04C25D59 = 79846745)
02B39FCC: 00000000 (int: 0)
02B39FD0: 02B3A02C (int: 45326380, pint: 0x02B3A068 = 45326440)
02B39FD4: Knightmare war machines.324D (int: 259273293, pint: 0x8504C483)
02B39FD8: 00000080 (int: 128)
02B39FDC*: 00000001 (int: 1)
02B39FE0: Knightmare war machines.2250 (int: 259269200, pint: 0x75A46CB8 = 1973710008)
02B39FE4: Era.261CE (EventMan.TEventManager.Fire + 226 in EventMan.pas on line 165) (int: 83386830, pint: 0xEC754E47, str: "GNuě3ŔZYYd‰x10")
02B39FE8: 02B3A020 (int: 45326368, pint: 0x055CB698 = 89962136)
02B39FEC: 02B3A048 (int: 45326408, pint: 0x02B3A074 = 45326452)
02B39FF0: Era.261F6 (EventMan.TEventManager.Fire + 266 in EventMan.pas on line 156 offset 36) (int: 83386870, pint: 0xFDE4EDE9, str: "éíäý˙ëâ_^[‹ĺ]Âx04")
02B39FF4: 02B3A02C (int: 45326380, pint: 0x02B3A068 = 45326440)
02B39FF8: 00000004 (int: 4)
02B39FFC: 02B3A0D4 (int: 45326548, pint: 0x00000000)
02B3A000: 055CB698 (int: 89962136, pint: 0x72456E4F = 1917152847, str: "OnErmTimer 2x00")
02B3A004: 00000000 (int: 0)
02B3A008: 00000000 (int: 0)
02B3A00C: 00000000 (int: 0)
02B3A010: 00000000 (int: 0)
02B3A014: 00000000 (int: 0)
02B3A018: 00000000 (int: 0)
02B3A01C: 00000000 (int: 0)
02B3A020: 055CB698 (int: 89962136, pint: 0x72456E4F = 1917152847, str: "OnErmTimer 2x00")
02B3A024: 02B3A0D4 (int: 45326548, pint: 0x00000000)
02B3A028: 00000004 (int: 4)
02B3A02C: 02B3A068 (int: 45326440, pint: 0x02B3A0B4 = 45326516)
02B3A030: Era.2797C (GameExt.FireEvent + 24 in GameExt.pas on line 300) (int: 83392892, pint: 0xC35B5E5F)
02B3A034: 00000004 (int: 4)
02B3A038: 00000000 (int: 0)
02B3A03C: 00007531 (int: 30001)
02B3A040: 02B3A0D0 (int: 45326544, pint: 0x00007531 = 30001)
02B3A044: Era.3B817 (Triggers.OnBeforeTrigger + 131 in Triggers.pas on line 114) (int: 83474455, pint: 0x595AC033 = 1499119667, str: "3ŔZYYd‰x10")
02B3A048: 02B3A074 (int: 45326452, pint: 0x02B3FE9C = 45350556)
02B3A04C: Era.3B832 (Triggers.OnBeforeTrigger + 158 in Triggers.pas on line 96 offset 27) (int: 83474482, pint: 0xFC8EB1E9)
02B3A050: 02B3A068 (int: 45326440, pint: 0x02B3A0B4 = 45326516)
02B3A054: 00000001 (int: 1)
02B3A058: 055E51F0 (int: 90067440, pint: 0x04F85E70 = 83385968)
02B3A05C: 055CB698 (int: 89962136, pint: 0x72456E4F = 1917152847, str: "OnErmTimer 2x00")
02B3A060: 05501100 (int: 89133312, pint: 0x30303033 = 808464435, str: "30001x00")
02B3A064: 055CB648 (int: 89962056, pint: 0x72546E4F = 1918135887, str: "OnTrigger 30001x00")
it seems to be caused by VFS because:
Quote: Amethyst = GetModuleHandleA("amethyst2_4.era");
if (!Amethyst) Amethyst = GetModuleHandleA("amethyst2_4.dll");
if (!Amethyst) Amethyst = GetModuleHandleA("amethyst2_5.era");
if (!Amethyst) Amethyst = GetModuleHandleA("amethyst2_5.dll");
seems to not work
|
|
Bersy
Honorable
Supreme Hero
|
posted June 02, 2019 03:16 PM |
|
|
|
majaczek
Supreme Hero
Work at Magic Dimmension
|
posted June 02, 2019 03:22 PM |
|
Edited by majaczek at 15:58, 02 Jun 2019.
|
Bersy said: Wasn't plugin with specified name loaded? Only *.dll plugins are loaded by angel.dll (Era 1.9 core), *.era plugins are loaded by era.dll (Era 2+ core).
Amethyst is dll plugin since feanor. changing extension to era makes it not working. the problem is "Knightmare War machines.era" can't link properly to amethyst2_4.dll (there is a function expose that worked before).
EDIT: or maybe there is a problem with "Knightmare War machines.era" and ExecuteERMCommand?
|
|
|
|