penggilas2 Posted November 28, 2009 Share Posted November 28, 2009 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... ?? Link to comment Share on other sites More sharing options...
Developers Jos Posted November 28, 2009 Developers Share Posted November 28, 2009 (edited) you cannot make your compiled scripts smaller because of the included runtime module. Edited November 28, 2009 by Jos 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 comment Share on other sites More sharing options...
Fire Posted November 28, 2009 Share Posted November 28, 2009 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] Link to comment Share on other sites More sharing options...
Developers Jos Posted November 28, 2009 Developers Share Posted November 28, 2009 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 -dand then compile your unpacked *.exe with this packer/protector:PECompact 2.x -> Jeremy CollakeAfter 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. 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 comment Share on other sites More sharing options...
Fire Posted November 28, 2009 Share Posted November 28, 2009 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] Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted November 28, 2009 Moderators Share Posted November 28, 2009 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 Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
whim Posted November 28, 2009 Share Posted November 28, 2009 (edited) i find that adding this#AutoIt3Wrapper_Run_After=upx --ultra-brute %out%instead of 'internal' upx maximum compression shrinks my 5000+ lines AutoIt exefrom 361 to 338 kB - not sensational, but for 6% gain i don't mind waiting a little longerjust my 2c,whimBTW 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 November 28, 2009 by whim Link to comment Share on other sites More sharing options...
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