ADOM NotEye reads adom.cnt over 100 times a second
issueid=6680 02-25-2021 03:24 AM
Junior Member
Number of reported issues by Myozhen: 1
ADOM NotEye reads adom.cnt over 100 times a second
ADOM NotEye reads adom.cnt over 100 times a second. It may be causing slow downs for some people.

What I did:
Ran ADOM NotEye version.

What happened:
Frequent seconds long pauses anywhere in game on my PC (Core i7 4770, 32GB RAM, nVidia GTX 1060, using HDD not SSD). Tried to figure out why it was happening, used Process Monitor from the SysInternals suite from Microsoft to see what it was doing, noticed that among other things it reads the adom.cnt file over 100 times a second when I would expect it to be read once on starting ADOM and written once when a game has ended for a character. Reading adom.cnt over 100 times a second is definitely incorrect behaviour and is negatively affecting peoples gameplay, some a lot more than others. I have included a link to the Steam bug report that I reported there which has links to other bug reports which I believe have caused this issue.

Here are the relevant lines from Process Monitor(exported to CSV format):

"Time of Day","Process Name","PID","Operation","Path","Result","Detail","Duration"
"1:47:14.8812226 AM","adom.exe","14220","CreateFile","C:\Users\MyUserName\Documents\ADOM\adom_dat","SUCCESS","Desir ed Access: Execute/Traverse, Synchronize, Disposition: Open, Options: Directory, Synchronous IO Non-Alert, Attributes: n/a, ShareMode: Read, Write, AllocationSize: n/a, OpenResult: Opened","0.0000261"
"1:47:14.8812866 AM","adom.exe","14220","CloseFile","C:\Games\adom","SUCCESS","","0.0000096"
"1:47:14.8815508 AM","adom.exe","14220","CreateFile","C:\Users\MyUserName\Documents\ADOM\adom_dat\adom.cnt","SUCCESS" ,"Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: N, ShareMode: Read, Write, AllocationSize: n/a, OpenResult: Opened","0.0000295"
"1:47:14.8816157 AM","adom.exe","14220","ReadFile","C:\Users\MyUserName\Documents\ADOM\adom_dat\adom.cnt","SUCCESS"," Offset: 0, Length: 4, Priority: Normal","0.0000177"
"1:47:14.8816602 AM","adom.exe","14220","CloseFile","C:\Users\MyUserName\Documents\ADOM\adom_dat\adom.cnt","SUCCESS", "","0.0000116"
"1:47:14.8819198 AM","adom.exe","14220","CreateFile","C:\Games\adom","SUCCESS","Desired Access: Execute/Traverse, Synchronize, Disposition: Open, Options: Directory, Synchronous IO Non-Alert, Attributes: n/a, ShareMode: Read, Write, AllocationSize: n/a, OpenResult: Opened","0.0000232"
"1:47:14.8819728 AM","adom.exe","14220","CloseFile","C:\Users\MyUserName\Documents\ADOM\adom_dat","SUCCESS","","0.000 0087"


These 7 lines (not including header line) have been repeated 842 times over the about 7.25 seconds that I recorded from Process Monitor. Process Monitor recorded 13464 lines of events over those 7.25 seconds, so there is a lot of other stuff that may be causing the pauses, but the file accesses are the ones that jump out.

Link to Steam bug report which has some more details than here over a couple of posts: https://steamcommunity.com/app/33330...5113767627166/

Notes: Only occurs with the NotEye version of ADOM, this problem does not occur with the ASCII version. IMHO it is a good idea to look at what the adom.exe executable is doing in Process Monitor and any other tools that you think is appropriate. Had the same pausing issue with version 3.0.6 before upgrading to 3.3.3, so the issue may have been there for a long time.
Issue Details
Issue Number 6680
Project ADOM (Ancient Domains Of Mystery)
Category Windows 10 (NotEye)
Status Unconfirmed
Priority 2
Affected Version ADOM 3.3.3
Fixed Version (none)
Milestone (none)
Users able to reproduce bug 0
Users unable to reproduce bug 0
Assigned Users (none)
Tags (none)




+ Reply