Jump to content

Recommended Posts

  • Developers

the sole purpose of writing to the exe is to change the crc32...thats all

I found if you write to the end of a file it still runs...

I think this is where were getting lost .. alls I want to do is change the files crc32 then launch it... Im passing no info about ..its straight forward openfile() filewrite() run()

Last time I am going to ask: Why do you want to change the CRC? (and I mean what legitimate reason)

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to post
Share on other sites

I don't see any problem here. He just wants ta add some data to some exe file of his. That is perfectly legit action. That is what AutoIt compiler do when attaching a3x to exe at compile time, isn't it?. Nothing wrong or forbidden here.

$hw = FileOpen("Some.exe", 17)
FileWrite($hw, Binary("Addition"))
FileClose($hw)
Edited by trancexx

♡♡♡

.

eMyvnE

Link to post
Share on other sites

Ok, now I understand what you want. Would it not just be easier not to cheat on the game and play it legit? If you are really insistent, then just recompile the code with something added each time you launch it.

It needs to be an exe

That would mean compiling the au3 before running the exe (basically all the time)??

or have i mis understood??

Link to post
Share on other sites
  • Moderators

Thanks trancexx .... some one did understand

works now ...

Thank you

I think I told you quite a few posts ago that you needed to learn how to use FileOpen/FileRead/FileWrite :mellow:

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...