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 


Cannot scan some memory regions on Linux

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

Joined: 29 Nov 2021
Posts: 8

PostPosted: Mon Mar 31, 2025 6:05 am    Post subject: Cannot scan some memory regions on Linux Reply with quote

I'm getting "scan error: no readable memory found" only to a specific region of addresses from the game.

I have enabled the MEM_MAPPED as well, which still does not let me scan the region.

But using the addresses between those regions work.
I can also scan them via scanmem any value from those specific regions.

If anyone knows if there's a way around this, would be great.
Thank you.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Mon Mar 31, 2025 7:34 am    Post subject: Reply with quote

are you using the 32-bit client of CE
in the scan, did you gray out all the checkboxes? By default CE only scans writable memory

do you have a screenshot of memory viewer->view->memory regions, where such a readable section is visible ?
and perhaps also the accompanying /proc/<pid>maps content

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

Joined: 29 Nov 2021
Posts: 8

PostPosted: Mon Mar 31, 2025 6:43 pm    Post subject: q2 Reply with quote

Dark Byte wrote:
are you using the 32-bit client of CE
in the scan, did you gray out all the checkboxes? By default CE only scans writable memory

do you have a screenshot of memory viewer->view->memory regions, where such a readable section is visible ?
and perhaps also the accompanying /proc/<pid>maps content


I have greyed out the Writable address, I thought of that originally, but these parts of memory are writable. Greying out the "writable" part didn't find the address im looking for.

I'm using CE on 64bit, as per:
WINEARCH=win64 WINEFSYNC=1 WINEPREFIX="/home/nox/Games/Heroic/Prefixes/default/mygame" /home/nox/.config/heroic/tools/wine/Wine-GE-Proton8-26/bin/wine "C:\\Program Files\\mygame\\CE7.5\\cheatengine-x86_64-SSE4-AVX2.exe"

The prefix has been determined by the Heroic Games Launcher, but im launching CE on the same WINE prefix so it can attach to the PID of the game.



mygame_screen_with_readableandusable_addresses.png
 Description:
 Filesize:  55.63 KB
 Viewed:  7189 Time(s)

mygame_screen_with_readableandusable_addresses.png


Back to top
View user's profile Send private message
BlackNoxis
How do I cheat?
Reputation: 0

Joined: 29 Nov 2021
Posts: 8

PostPosted: Tue Apr 01, 2025 7:25 am    Post subject: Re: q2 Reply with quote

BlackNoxis wrote:
Dark Byte wrote:
are you using the 32-bit client of CE
in the scan, did you gray out all the checkboxes? By default CE only scans writable memory

do you have a screenshot of memory viewer->view->memory regions, where such a readable section is visible ?
and perhaps also the accompanying /proc/<pid>maps content


I have greyed out the Writable address, I thought of that originally, but these parts of memory are writable. Greying out the "writable" part didn't find the address im looking for.

I'm using CE on 64bit, as per:
WINEARCH=win64 WINEFSYNC=1 WINEPREFIX="/home/nox/Games/Heroic/Prefixes/default/mygame" /home/nox/.config/heroic/tools/wine/Wine-GE-Proton8-26/bin/wine "C:\\Program Files\\mygame\\CE7.5\\cheatengine-x86_64-SSE4-AVX2.exe"

The prefix has been determined by the Heroic Games Launcher, but im launching CE on the same WINE prefix so it can attach to the PID of the game.


this is the pidmap:

paste.gentoo.zip/zHo7Xngv

I apologize, I can't attach textfiles or non-extension files.
Back to top
View user's profile Send private message
BlackNoxis
How do I cheat?
Reputation: 0

Joined: 29 Nov 2021
Posts: 8

PostPosted: Sun Apr 06, 2025 12:23 pm    Post subject: Re: q2 Reply with quote

BlackNoxis wrote:
BlackNoxis wrote:
Dark Byte wrote:
are you using the 32-bit client of CE
in the scan, did you gray out all the checkboxes? By default CE only scans writable memory

do you have a screenshot of memory viewer->view->memory regions, where such a readable section is visible ?
and perhaps also the accompanying /proc/<pid>maps content


I have greyed out the Writable address, I thought of that originally, but these parts of memory are writable. Greying out the "writable" part didn't find the address im looking for.

I'm using CE on 64bit, as per:
WINEARCH=win64 WINEFSYNC=1 WINEPREFIX="/home/nox/Games/Heroic/Prefixes/default/mygame" /home/nox/.config/heroic/tools/wine/Wine-GE-Proton8-26/bin/wine "C:\\Program Files\\mygame\\CE7.5\\cheatengine-x86_64-SSE4-AVX2.exe"

The prefix has been determined by the Heroic Games Launcher, but im launching CE on the same WINE prefix so it can attach to the PID of the game.


this is the pidmap:

paste.gentoo.zip/zHo7Xngv

I apologize, I can't attach textfiles or non-extension files.



I have attached a example with Cheat Engine 7.6.

In this shot I'm showing what I'm trying to search - the value that's already present in the 4byte addresses bellow, and im able to see the memory viewer of everything without issues.
Only the scanning is locked.

Using scanmem or game conqueror ui scanning works - as a side note, I thought this would be relevant.



mygame_memoryscan_available_2.png
 Description:
 Filesize:  109.78 KB
 Viewed:  6611 Time(s)

mygame_memoryscan_available_2.png


Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4691

PostPosted: Sun Apr 06, 2025 1:46 pm    Post subject: Reply with quote

"Protect: Write Copy"

Try checking "CopyOnWrite" in the "Memory Scan Options" panel

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
BlackNoxis
How do I cheat?
Reputation: 0

Joined: 29 Nov 2021
Posts: 8

PostPosted: Sun Apr 06, 2025 4:43 pm    Post subject: Reply with quote

ParkourPenguin wrote:
"Protect: Write Copy"

Try checking "CopyOnWrite" in the "Memory Scan Options" panel



It worked.
And I have read up on the CopyOnWrite feature, and understood its purpose completely, seems it's the case of already loaded unchanged memory.

I did not see this coming, but it's really good.

Apologies for the not doing my homework.
Back to top
View user's profile Send private message
BlackNoxis
How do I cheat?
Reputation: 0

Joined: 29 Nov 2021
Posts: 8

PostPosted: Mon Apr 07, 2025 3:16 am    Post subject: Reply with quote

Dark Byte wrote:
are you using the 32-bit client of CE
in the scan, did you gray out all the checkboxes? By default CE only scans writable memory

do you have a screenshot of memory viewer->view->memory regions, where such a readable section is visible ?
and perhaps also the accompanying /proc/<pid>maps content


Omg, I'm sorry I completely misunderstood the "grey out all checkboxes"!

Sorry Dark Byte, reading comprehension skills here were broken.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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