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 


Allocate memory after certain offset

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Jugyou
Newbie cheater
Reputation: 0

Joined: 18 May 2014
Posts: 11

PostPosted: Tue May 20, 2014 8:30 am    Post subject: Allocate memory after certain offset Reply with quote

PCSX2 stores the PS2 memory in the range 20000000 - 2FFFFFFF, if I allocate memory with

Code:
alloc(newmem,2048)


allocated memory is created somewhere before that range at 19000000, however the game I'm modifying only allows to point forward.

Is it possible to allocate memory after a certain offset?
Back to top
View user's profile Send private message
STN
I post too much
Reputation: 43

Joined: 09 Nov 2005
Posts: 2676

PostPosted: Tue May 20, 2014 8:44 am    Post subject: Reply with quote

Yes

alloc(newmem, 2048, module.exe+offset)

Provided there is a free region available at or near your desired offset. The alloc function works exactly the same as VirtualAlloc API

_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
Back to top
View user's profile Send private message
Jugyou
Newbie cheater
Reputation: 0

Joined: 18 May 2014
Posts: 11

PostPosted: Tue May 20, 2014 9:19 am    Post subject: Reply with quote

Thank you very much, this really helped me.
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