lordsepid Posted August 28, 2009 Posted August 28, 2009 (edited) Hi, I'm using autoit 3.2.12.1 Let me explain my question with this example. I have a number for example 3412.42 in my script which is given to a variable like $var1 When I compile it, the .exe file size would be 1,302 Bytes Here is the problem, I want to change this number with a new number like 3412.53 and then I compile it, but I don't want the compiled file size to be changed even a bit ! Apparently there should be no change in it because nothing is added to it and just some characters are replaced with another ones, but it seems that there's a variable in the compiler which is added to the script and changes the size every time i compile it. It's so important to me that i keep the size constant. It's part of my software and i can't change it. Please help me ! thanks in advance . Edited August 28, 2009 by lordsepid
WolfWorld Posted August 28, 2009 Posted August 28, 2009 Hi,I'm using autoit 3.2.12.1Let me explain my question with this example.I have a number for example 3412.42 in my script which is given to a variable like $var1When I compile it, the .exe file size would be 1,302 BytesHere is the problem, I want to change this number with a new number like 3412.53 and then I compile it, but I don't want the compiled file size to be changed even a bit !Apparently there should be no change in it because nothing is added to it and just some characters are replaced with another ones, but it seems that there's a variable in the compiler which is added to the script and changes the size every time i compile it.It's so important to me that i keep the size constant. It's part of my software and i can't change it.Please help me !thanks in advance .Are you using Obfuscater or anything like tiny also the version number and etc. these cab change the file size every time you compile.Try adding a dummy $DUMMYSTRING = " "Now if the file size after increase delete one, if decrease increase one. Main project - Eat Spaghetti - Obfuscate and Optimize your script. The most advance add-on.Website more of GadGets!
WolfWorld Posted August 28, 2009 Posted August 28, 2009 Here is the result for one of my script(change one number as you) First Time : 284 KB (291,777 bytes) Second Time: 284 KB (291,779 bytes) In this case just delete two space of the dummy string. Main project - Eat Spaghetti - Obfuscate and Optimize your script. The most advance add-on.Website more of GadGets!
PsaltyDS Posted August 28, 2009 Posted August 28, 2009 Hi,I'm using autoit 3.2.12.1Let me explain my question with this example.I have a number for example 3412.42 in my script which is given to a variable like $var1When I compile it, the .exe file size would be 1,302 BytesHere is the problem, I want to change this number with a new number like 3412.53 and then I compile it, but I don't want the compiled file size to be changed even a bit !Apparently there should be no change in it because nothing is added to it and just some characters are replaced with another ones, but it seems that there's a variable in the compiler which is added to the script and changes the size every time i compile it.It's so important to me that i keep the size constant. It's part of my software and i can't change it.Please help me !thanks in advance .Obfuscator and the native encryption of the compiled script file make it hard to get exactly the same thing twice. You would at least have to disable both of those. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
WolfWorld Posted August 28, 2009 Posted August 28, 2009 Obfuscator and the native encryption of the compiled script file make it hard to get exactly the same thing twice. You would at least have to disable both of those. Not encryption. It's the LZSS compression. Also UPX play a role in this also. Main project - Eat Spaghetti - Obfuscate and Optimize your script. The most advance add-on.Website more of GadGets!
lordsepid Posted August 28, 2009 Author Posted August 28, 2009 I don't know what Obfuscator is and i haven't add anything like it in my script but i'll use your tip athiwatc ! thanks a lot
WolfWorld Posted August 28, 2009 Posted August 28, 2009 I don't know what Obfuscator is and i haven't add anything like it in my script but i'll use your tip athiwatc !thanks a lot Welcome. Main project - Eat Spaghetti - Obfuscate and Optimize your script. The most advance add-on.Website more of GadGets!
jvanegmond Posted August 28, 2009 Posted August 28, 2009 Can I ask why it is important that you keep the size constant? github.com/jvanegmond
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now