GMS 2 File size of YYC compiler for iOS and Android

Discussion in 'Programming' started by Stephane, Sep 12, 2019.

  1. Stephane

    Stephane Member

    Sep 24, 2016
    We're preparing our worldwide launch (10 languages and 70+ countries) of Sudoku Scramble and have a question regarding the YYC compiler. We've found that our game is more stable when compiled with the YYC, both on Android and iOS. However, our file size has increased by almost 40%. With the regular compiler (virtual machine), we are around 60mb as compared to 82mb with the YYC compiler.

    Is there anything that we can do to bring down the file size on with YYC? Thanks!

    I'd love to share more if anyone has any questions.
  2. Nocturne

    Nocturne Friendly Tyrant Forum Staff Admin

    Apr 13, 2016
    Hello! Okay, so the YYC generates faster code, but this requires an increase in the code required to run the game... Basically, the C++ compiler output code is larger (but much faster) than the VM code. Also, when compiling you can strip out unrequired architectures from the Android Game Options (they add extra bloat) and with the 2.2.4 beta you can create an AAB file which will split the download size for users as they'll only download what they require for the game on their device. As a side note for iOS, just use the arm64 architecture when building too, and there are various options in xcode that can influence the size of the code that is created so there is also the option of editing stuff in that.
    Binsk and Amon like this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice