srounet / Pymem

A python library for windows, providing the needed functions to start working on your own with memory editing.
MIT License
307 stars 44 forks source link

How to install the x64 version? #9

Closed fsegouin closed 6 years ago

fsegouin commented 6 years ago

Thanks for this great tool! Any chance you could explain how to install the x64 version? Cheers!

srounet commented 6 years ago

Hi @fsegouin you just have to:

git clone -b x64 https://github.com/srounet/Pymem.git

The x64 version is a work in progress, if you need x64 support I advice you to join the discord https://discord.gg/xaWNac8 the x64 support as been discussed many times.

Basically you can enable the x64 support by removing dependencies to pyfasm with pypi release of pymem.

Edit pymem/__init__.py file and remove:

...
3 - import pyfasm
...
138 - def assemble(self, address=None, mnemonics=None):
to 
162 - return bytes(data)
srounet commented 6 years ago

This is no longer required, x64 branch will drop fasm support.

see commit: https://github.com/srounet/Pymem/commit/27c7d096719accc9efaad44719a79eb902394333