PDowning Posted April 25, 2013 Share Posted April 25, 2013 Why are my compiled file sizes so large? I can write a one line script and compile it, it is 639k. I can write a 173 line piece and it's STILL a 639k executable when compiled. How is this? Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted April 25, 2013 Moderators Share Posted April 25, 2013 PDowning, When you compile in AutoIt you do not compile in the traditional sense - you actually add a tokenised version of your script to an interpreter stub. So the size of the script has little bearing on the size of the "compiled" exe. It is the price you pay for not having to add run-time files to the compiled file. And before you suggest adjusting the interpreter stub to reflect the functions used in the script - please save your breath. It has been discussed many times befiore and the answer is "No". 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...
UEZ Posted April 25, 2013 Share Posted April 25, 2013 639kb are large? You can add these lines to your script to reduce the size a little more: #AutoIt3Wrapper_Run_Obfuscator=y #Obfuscator_Parameters=/sf /sv /om /cs=0 /cn=0 #AutoIt3Wrapper_Run_After=del /f /q "%scriptdir%\%scriptfile%_Obfuscated.au3" #AutoIt3Wrapper_UseUpx=y #AutoIt3Wrapper_UPX_Parameters=--best --lzma Br, UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
Developers Jos Posted April 25, 2013 Developers Share Posted April 25, 2013 That will only work when the full version of SciTE4AutoIt3 installer is installed. 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...
PDowning Posted April 25, 2013 Author Share Posted April 25, 2013 Thanks guys. By large I mean in relation to some previous ones I had made. One day all exe's created were 295k in size, the next they all ballooned to 635k. The size isn't an issue with storage space, it just bugs me that it increased by 2x. Link to comment Share on other sites More sharing options...
PDowning Posted April 25, 2013 Author Share Posted April 25, 2013 That will only work when the full version of SciTE4AutoIt3 installer is installed. Is it not the full version that is downloaded from here? Link to comment Share on other sites More sharing options...
UEZ Posted April 25, 2013 Share Posted April 25, 2013 (edited) No, you need to download and install the SciTE full package.Br,UEZ Edited April 25, 2013 by UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
Developers Jos Posted April 25, 2013 Developers Share Posted April 25, 2013 Is it not the full version that is downloaded from here?The AutoIt3 Installer contains a siimple/lite version of the SciTE editor.The linked extra installer comes with many extra's including AutoIt3Wrapper that handles these directives.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...
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