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 


Conver Cheat Engine AssemblerScript to FASM

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

Joined: 07 Oct 2014
Posts: 2

PostPosted: Thu Oct 29, 2015 2:42 pm    Post subject: Conver Cheat Engine AssemblerScript to FASM Reply with quote

Hello, I have this AssemblerScript:

Code:
[ENABLE]
alloc(newmem,2048,"game.exe"+4B90646)
label(returnhere)
label(originalcode)
label(exit)

newmem:
mov [rax+08],0100100

originalcode:
mov eax,[rax+08]
sub eax,[rbx+000000A4]

exit:
jmp returnhere

"game.exe"+4B90646:
jmp newmem
nop
nop
nop
nop
returnhere:

[DISABLE]
dealloc(newmem)
"game.exe"+4B90646:
mov eax,[rax+08]
sub eax,[rbx+000000A4]


I want to use it in MemorySharp libery. It supports using FASM. So how to conver this AssemblerScript to FASM?
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Thu Oct 29, 2015 11:25 pm    Post subject: Reply with quote

You need to learn how to use the library at hand, in this case MemorySharp, in order to do what you are looking to do. There is not much, if any, change needed to make this work in FASM in general, outside of the custom Cheat Engine specific things. (Which you will have to change regardless to work with MemorySharp.)
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
panraven
Grandmaster Cheater
Reputation: 62

Joined: 01 Oct 2008
Posts: 958

PostPosted: Fri Oct 30, 2015 12:24 am    Post subject: Re: Conver Cheat Engine AssemblerScript to FASM Reply with quote

Doesn't MemorySharp only support 32-bit atm?
_________________
- Retarded.
Back to top
View user's profile Send private message
A-VORONKIN
How do I cheat?
Reputation: 0

Joined: 07 Oct 2014
Posts: 2

PostPosted: Fri Oct 30, 2015 7:48 am    Post subject: Re: Conver Cheat Engine AssemblerScript to FASM Reply with quote

panraven wrote:
Doesn't MemorySharp only support 32-bit atm?

Yes, only 32-bit. Do you know good memory library that supports x64?
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 programming 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