Sign in to follow this  
Followers 0
penggilas2

How to compile High compression..??

7 posts in this topic

Why do I compile my script always more than 250 kb.

although only create script Run ("notepad.exe") then compile it

with compile option high compression, file still more 256 kb.

i`ve download gimagex from autoit.. file only 196 kb but with a very complex menu.

How to compile like that... ??

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

you cannot make your compiled scripts smaller because of the included runtime module.

Edited by Jos

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

There is other way to do it but in this method you can do your compiled *.exe smaller ~ 20 kb than defaultly compiled by with autoitscript 2exe

compiler.

If you want try this:

After compilation unpack your *.exe with upx unpacker with option -d

and then compile your unpacked *.exe with this packer/protector:

PECompact 2.x -> Jeremy Collake

After pack/protect your compiled *.exe is fully workness.And has ~ 20 kb smal size than packed with upx packer.

Fsg,Mew is not able pack your unpacked *.exe .

Also you can try your *.exe (unpacked) with AspRotect but in this method your file will be large.

NOTE: There is no reversing or other illegal method.


[size="5"] [/size]

Share this post


Link to post
Share on other sites

There is other way to do it but in this method you can do your compiled *.exe smaller ~ 20 kb than defaultly compiled by with autoitscript 2exe

compiler.

If you want try this:

After compilation unpack your *.exe with upx unpacker with option -d

and then compile your unpacked *.exe with this packer/protector:

PECompact 2.x -> Jeremy Collake

After pack/protect your compiled *.exe is fully workness.And has ~ 20 kb smal size than packed with upx packer.

Fsg,Mew is not able pack your unpacked *.exe .

Also you can try your *.exe (unpacked) with AspRotect but in this method your file will be large.

NOTE: There is no reversing or other illegal method.

No need to unpack with UPX -d when you switch of UPX in the Aut2EXE gui or use the proper #AutoIT2Wrapper directive. :)

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

No need to unpack with UPX -d when you switch of UPX in the Aut2EXE gui or use the proper #AutoIT2Wrapper directive.

You right in this Jos i mean that compile script from context menu with defaultly UPX packer options.

[size="5"] [/size]

Share this post


Link to post
Share on other sites

Hi,

Mobius did a lot of work testing various packers and encrypters the results of which you can find here. It offers a good overview of the advantages and disadvantages of the various tools out there.

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

i find that adding this

#AutoIt3Wrapper_Run_After=upx --ultra-brute %out%

instead of 'internal' upx maximum compression shrinks my 5000+ lines AutoIt exe

from 361 to 338 kB - not sensational, but for 6% gain i don't mind waiting a little longer

just my 2c,

whim

BTW preprocessing the source with Obfuscator /om ultimately gives me a 324 kB executable,

not bad considering the source is 221 kB and AutoItSC.bin is 615 kB (for 3.3.1.1)

Edited by whim

Share this post


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
Sign in to follow this  
Followers 0