Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


DBVM<->Mono problem with 6.8.1

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
jgoemat
Master Cheater
Reputation: 23

Joined: 25 Sep 2011
Posts: 264

PostPosted: Fri Jul 20, 2018 8:39 pm    Post subject: DBVM<->Mono problem with 6.8.1 Reply with quote

Anyway, when I activate DBVM and have mono enabled I have horrible performance issues and bugs. I was using it one one of my computers with Strain Tactics and though it might just be that game, but I was going back to Wasteland 2 on a different computer and had similar issues.

Sometimes the CE interface just stops responding. Like adding a struct, doing something in LUA, adding an address, or some other kind of pop-up and I can edit the text and click 'OK' or try to close the window, but nothing happens. Sometimes I can get to other windows like the memory viewer, sometimes not. With Wasteland 2 I just right-clicked for the about and right-clicked and enabled DBVM on each of the 8 cores and the message on the about box changed to say DBVM 11 was loaded, but I couldn't close either window.

I was able to get to my LUA window where I was writing some scripts to help with mono debugging. Earlier it processed 9600 classes in 0.3 seconds and 40,000 fields in about 3 seconds. With DBVM loaded it took 3 seconds and 28 seconds, about 10x slower. I hadn't set any breakpoints or anything, just loaded DBVM on each of the cores.

I wonder if it might be related to the normal debugging problems where if you have mono enabled and a breakpoint is activated it hangs both CE and the game for 5 seconds, then comes back with mono deactivated. It probably has to do with waiting for the pipe hanging the main CE thread? That doesn't seem to be the issue here, I think my whole computer might have slowed down 10x on the second computer and I was able to access mono functions, just slowly...
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25815
Location: The netherlands

PostPosted: Sat Jul 21, 2018 12:00 am    Post subject: Reply with quote

for the unresponsive gui go to settings and check the debugger option to wait after gui updates

as for speed in dbvm that is normal especially when a lot of taskswitching happens
you can try https://github.com/cheat-engine/cheat-engine/files/2126703/dbvmnoept.zip which doesn't virtualize the physical memory, but that also means no memory cloak, internal change reg on bp, internal find what accesses using page exception

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites