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 


The driver couldn't be opened its not loaded or not respondi

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
hamodi01
How do I cheat?
Reputation: 0

Joined: 07 Oct 2019
Posts: 5

PostPosted: Mon Oct 07, 2019 8:26 am    Post subject: The driver couldn't be opened its not loaded or not respondi Reply with quote

Keep getting this error, custom compiled CE, haven't changed much though.
Compiled the dbk driver as 64 bit no signing, testsigning is on can load other drivers fine... don't know what to do



index.png
 Description:
 Filesize:  18.24 KB
 Viewed:  15921 Time(s)

index.png


Back to top
View user's profile Send private message
t328163
!BEWARE! Deletes post on answer
Reputation: 2

Joined: 19 Dec 2017
Posts: 73

PostPosted: Mon Oct 07, 2019 9:18 am    Post subject: Reply with quote

this started happening after the new windows update? things internally might have changed and requires db to update the software driver.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Mon Oct 07, 2019 10:15 am    Post subject: Reply with quote

unload the old ce driver first.(run the kernelmodule unloader snd perhaps an actual reboot) If the released driver is loaded it won't talk to your selfcompiled CE

also, try naming it something else than dbk64.sys perhaps windows blocks it on purpose (rename it in dbk32functions or driver64.dat as well)

_________________
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
hamodi01
How do I cheat?
Reputation: 0

Joined: 07 Oct 2019
Posts: 5

PostPosted: Mon Oct 07, 2019 10:26 am    Post subject: Reply with quote

so i made driver64.dat file in the same directory as my CE executeable,

BLA62
PL62
TL62
wtfdriver.sys
76543210
fedcba98

still doesn't work, was sure that the kernel unloader said no drivers found in registry before i loaded. Same problem though. Imo i cant delete wtfdriver.sys after i load it even though it fails until i restart pc, so it seems something is happening

Also tried to manualmap the driver on my own but CE seems to need to load it itself for it to work, wasn't able to find any code related to driver loading in the CE source
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Mon Oct 07, 2019 11:02 am    Post subject: Reply with quote

and you're sure you're compiling the driver using the debug or release no sig ?

Release (with sig) won't work

And check with dbgprint from wininternals to see what happens

_________________
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
hamodi01
How do I cheat?
Reputation: 0

Joined: 07 Oct 2019
Posts: 5

PostPosted: Wed Oct 09, 2019 12:34 am    Post subject: Reply with quote

Positive, nothing in dbgprint.

Edit: tried loading the driver with osrloader or process hacker and i get the error message "it is not possible to create a file that already exists"

Okay soo...., i did a fresh reboot, loaded DBK64.sys with osrloader, everything worked fine, however i then ran cheat engine and clicked the DBVM thing only to be greeted with the same message as before. Then i ran kernel unloader, and it said that it unloaded DBK32? not sure whats going on here.. Working with cheat engine 6.8.3 (public release) though so maybe i compiled it wrong or somth? not sure what i could have done, I've used this on 64 bit games so it cant be that i compiled it as 32 bit



index.png
 Description:
 Filesize:  21.66 KB
 Viewed:  15844 Time(s)

index.png



index.png
 Description:
 Filesize:  64.63 KB
 Viewed:  15846 Time(s)

index.png



index.png
 Description:
 Filesize:  25.93 KB
 Viewed:  15847 Time(s)

index.png


Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Wed Oct 09, 2019 3:51 am    Post subject: Reply with quote

with dbgview you can configure it to record kernelmode dbgprint messages as well

Compile your driver in debug mode and check the output it gives

note: In windows 10 dbgview can not unload it's driver properly, so once it's running DO NOT close dbgview as the second time you run it it won't load.
If you do close it, rename dbgv.sys in system32 to something else first. And if all esle fails restart (DO NOT shut down and back on as windows 10 will save all drivers currently loaded to disk and load that back in memory if you do a shutdown instead of reboot making a shutdown useless to get rid of it)

_________________
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
hamodi01
How do I cheat?
Reputation: 0

Joined: 07 Oct 2019
Posts: 5

PostPosted: Wed Oct 09, 2019 6:13 am    Post subject: Reply with quote

Dark Byte wrote:
with dbgview you can configure it to record kernelmode dbgprint messages as well

Compile your driver in debug mode and check the output it gives

note: In windows 10 dbgview can not unload it's driver properly, so once it's running DO NOT close dbgview as the second time you run it it won't load.
If you do close it, rename dbgv.sys in system32 to something else first. And if all esle fails restart (DO NOT shut down and back on as windows 10 will save all drivers currently loaded to disk and load that back in memory if you do a shutdown instead of reboot making a shutdown useless to get rid of it)


how would i go on about loading the driver without the use of cheat engine ( i know how to load it) however it only seems to work if cheat engine loads it. I can't find the code related to this in the CE source, any help? this doesn't seem to be working what im doing atm maybe loading it seperately might work

Edit:
Hey! i tried compiling the driver in debug mode and it loaded, my dbgprint ran! however im still getting the same message from cheat engine, next step?



loaded.png
 Description:
 Filesize:  25.97 KB
 Viewed:  15822 Time(s)

loaded.png


Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Wed Oct 09, 2019 11:16 am    Post subject: Reply with quote

Is there really no other messages besides loaded?

Try adding prints where it creates the device dos name,

Are you sure you didn't edit the driver? Also, let CE load the driver as it is responsible for configuring the registry before the driver loads

_________________
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