Quantcast

Jump to content

» «
Photo

Compiled file is too big

2 replies to this topic
nyolc8
  • nyolc8

    -

  • Members
  • Joined: 12 Oct 2009
  • Hungary

#1

Posted 27 July 2014 - 04:34 PM

Hi coders!

I just started to play around with CLEO yesterday and I immediately noticed that if I decompile a cs script which is 1Kb and then I recompile it, my compiled "script.cs" is much bigger (21Kb) than it was (1Kb). Also when I want to decompile my "script.cs" file, SannyBuilder says it contains it's source code. Is this the reason why it's so big? How to compile script without including source code in it? Or how to make compiled script file size small?


Seemann
  • Seemann

    Ruhe

  • GTA Mods Staff
  • Joined: 03 Sep 2004
  • Russia
  • Best Tool 2013 "Sanny Builder"
    Contribution Award [Mods]
    Helpfulness Awards [Mods]

#2

Posted 27 July 2014 - 05:00 PM

Turn off the option "Add extra info to scm".

Also read about {$NOSOURCE} directive in the help file (F12).


nyolc8
  • nyolc8

    -

  • Members
  • Joined: 12 Oct 2009
  • Hungary

#3

Posted 27 July 2014 - 05:16 PM

Wow thanks, added the {$NOSOURCE}, and disabled extra infos, and it's just 1Kb now :D





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users