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 


Getting a pointer to a framebuffer in emu

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

Joined: 13 Nov 2024
Posts: 1

PostPosted: Wed Nov 13, 2024 7:26 am    Post subject: Getting a pointer to a framebuffer in emu Reply with quote

Hi guys,

I'm very new to CE and cheat engine in general, but at the moment I'm trying to use it for my new project. I want to retrieve an offset to the framebuffers of melonDS emulator to copy the contents of the game display.

In the source code:
/melonDS-emu/melonDS/blob/master/src/GPU.h

Code:
std::unique_ptr<u32[]> Framebuffer[2][2] {};


As you can see at line 585 of the source, there is a 2D array of u32 bytes used for double buffered rendering, and I would like to retrieve their contents at runtime. However, I am having some issues getting their offsets.

I tried following swedz's tutorial but I turned up empty when I do the re-opening and rescanning step. Anyone got any advice on how I should go about doing this? Thanks.
Back to top
View user's profile Send private message
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