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 


Convert asm string to bytes

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

Joined: 27 Mar 2013
Posts: 14

PostPosted: Sat Dec 10, 2016 3:42 am    Post subject: Convert asm string to bytes Reply with quote

Hi,

i'm looking for the possibility to convert a asm string to byte array (C#)

from this -> to this
mov [rdi+00000188], rdx -> 48899788010000

I've read something about an OPCODE.DLL in this Forum, but the links are dead. Seems that was what i was looking for.
Can anyone help me there? I'm doing on C#. Googled yesterday nearly 5 hours but didn't find what i was searching for.
Maybe i searched for the wrong. That would be much easier than writing the numbers directly.

I've forgot - i'm on 64 bit and can't use any 32 bit solution.

Thanks for any help Smile
Back to top
View user's profile Send private message
Kavvman
Master Cheater
Reputation: 2

Joined: 17 Apr 2004
Posts: 316

PostPosted: Sat Dec 10, 2016 10:22 am    Post subject: Reply with quote

You need an assembler for that, either look in CE source, code yourself one or use any of the several open source ones available (jitasm, x64dbg open source etc)
_________________
...
Back to top
View user's profile Send private message
FreewareFire
Newbie cheater
Reputation: 0

Joined: 27 Mar 2013
Posts: 14

PostPosted: Sat Dec 10, 2016 12:52 pm    Post subject: Reply with quote

Thx,

that's what i thought before. I hoped there's an easier way.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8516
Location: 127.0.0.1

PostPosted: Sun Dec 11, 2016 8:09 pm    Post subject: Reply with quote

There are a handful of full-blown disassembler engines that will do this easily for you.
Some popular ones are:
- capstone
- ADE32/64
- HDE32/64

If you are looking for C# versions, there is:
- Capstone
- SharpDisam

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Mon Dec 12, 2016 2:49 am    Post subject: Reply with quote

even the gnu binutils can be used. (as)
_________________
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 -> 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