View previous topic :: View next topic |
Author |
Message |
fred26 Expert Cheater Reputation: 0
Joined: 20 Dec 2014 Posts: 103
|
Posted: Sat Jan 21, 2017 11:16 am Post subject: Dump Code to File/Clipboard |
|
|
Is there a way to copy a range (could be a function) of opcodes to the clipboard or to a file ?
I would be informing the range I would like to copy.
Thanks
|
|
Back to top |
|
|
Corroder Grandmaster Cheater Supreme Reputation: 75
Joined: 10 Apr 2015 Posts: 1667
|
|
Back to top |
|
|
fred26 Expert Cheater Reputation: 0
Joined: 20 Dec 2014 Posts: 103
|
Posted: Sun Jan 22, 2017 1:26 pm Post subject: |
|
|
Well, not really.
I am using Save Disassembled Output, but for example I can't dump a whole module to a file (Cheat Engine 6.6).
So, wanted to see an alternative via LUA or if it can be fixed. The above creates a file but stops saving at a determined offset, truncating the range you want to save. Is this a bug?
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25288 Location: The netherlands
|
Posted: Sun Jan 22, 2017 1:31 pm Post subject: |
|
|
you can use the disassemble() command on each line till the end, but in another post you mentioned you also want the pdb specific info like function params. That is currently not exposed
_________________
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 |
|
|
fred26 Expert Cheater Reputation: 0
Joined: 20 Dec 2014 Posts: 103
|
Posted: Sun Jan 22, 2017 1:37 pm Post subject: |
|
|
Ok thanks. Is there a way to disassemble a whole module to a file, without restriction of its size ?
|
|
Back to top |
|
|
fred26 Expert Cheater Reputation: 0
Joined: 20 Dec 2014 Posts: 103
|
Posted: Mon Jan 23, 2017 4:16 pm Post subject: |
|
|
Dark Byte? The Save Disassembled Output saves sometimes and hangs in other cases.
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25288 Location: The netherlands
|
Posted: Mon Jan 23, 2017 5:45 pm Post subject: |
|
|
i've never seen it hang. you can pinpoint the region it freezes ?
(and are you sure not freezes and not just slow?)
_________________
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 |
|
|
fred26 Expert Cheater Reputation: 0
Joined: 20 Dec 2014 Posts: 103
|
Posted: Mon Jan 23, 2017 6:05 pm Post subject: |
|
|
I am saving quite a big range.
I select the region, then select the file in the browser and hit OK it starts writing to it until it stops writing data - the file does not increase its size nor content. I need to cancel the operation as this holds. The file created is around 30MB, sometimes smaller e.g. 5MB.
Using CE 6.6 64Bit, latest download
EDIT: If I take the last line in the text file - module+offset where the file got truncated and try to save a new range beginning from there, it creates an empty file and freezes. It seems like something related to that address (or the string as from of that point onwards) gets corrupted.
|
|
Back to top |
|
|
fred26 Expert Cheater Reputation: 0
Joined: 20 Dec 2014 Posts: 103
|
Posted: Thu Jan 26, 2017 2:56 pm Post subject: |
|
|
Dark Byte, could you replicate this?
Any solution?
Thanks
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25288 Location: The netherlands
|
Posted: Thu Jan 26, 2017 3:03 pm Post subject: |
|
|
not yet.
may help to see the bytes if the affected region
_________________
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 |
|
|
fred26 Expert Cheater Reputation: 0
Joined: 20 Dec 2014 Posts: 103
|
Posted: Fri Jan 27, 2017 5:06 am Post subject: |
|
|
How much data (bytes) should I send you ? Do you have an email?
Thanks
|
|
Back to top |
|
|
|