RPG Maker 1.5 will not delpoy to android.

Discussion in 'RPG Maker MV Deployment' started by ShellFlare, Jun 27, 2017.

  1. ShellFlare

    ShellFlare Veteran Veteran

    Messages:
    81
    Likes Received:
    14
    First Language:
    English
    Good day to you all.

    I have been using rpgmaker to make android deployed apps for about a year now.

    I decided to update to 1.5 and I started a new project, however on deploy it failed and I was busy searching for an answer. I am unable to force a log on my pc for some reason, but I digress. Another user posted this( https://forums.rpgmakerweb.com/inde...r-for-android-deployment-in-rmmv-1-5-0.80359/ ) and I was able to see a crash log.

    Guess what plugin seems to be the issue. the new Pixi.js

    SO I did some testing.

    Upgraded a project I have at 1.3.4 that did export and work to 1.5 = failure, crashed on start.

    Made a new blank project in 1.5 = failure, crashed on start.

    Took the project I made in 1.5 and 'downgraded' it with the js and index files of my old game = exported and works!!!!! (tho with some bugs due to misconfigs).


    After these tests, I am fairly confident in stating that rpgmaker 1.5's new pixi cannot deploy to android at the moment, causing an undefined error immindately upon starting the app.
     
    #1
  2. EseQueL

    EseQueL Veteran Veteran

    Messages:
    44
    Likes Received:
    16
    First Language:
    English
    When I did update to 1.5 I got undefined error on startup too. I thought it was a plugin incompatibility.
     
    #2
  3. ShellFlare

    ShellFlare Veteran Veteran

    Messages:
    81
    Likes Received:
    14
    First Language:
    English
    at first I also assumed so, however you can try to deploy even the base new project and even that fails.
     
    #3
  4. doranikofu

    doranikofu Veteran Veteran

    Messages:
    113
    Likes Received:
    31
    Location:
    United States
    First Language:
    Chinese
    #4
  5. Archeia

    Archeia Level 99 Demi-fiend Staff Member Developer

    Messages:
    14,582
    Likes Received:
    14,281
    Location:
    Game Dev Salt Mines
    First Language:
    Filipino
    Primarily Uses:
    VNM
    We took a look into this.
    Unfortunately, Intel XDK has no "document.fonts" on android and our issue in Graphics.js from the RMMV source code. In short, it's not exactly Pixi that's causing the problem but it seems like the community core script.

    EDIT: Here's a temporary fix
    line 1720 of rpg_core.js , add this line:
    Graphics._cssFontLoading = false
     
    Last edited: Jul 2, 2017
    #5
    doranikofu likes this.
  6. doranikofu

    doranikofu Veteran Veteran

    Messages:
    113
    Likes Received:
    31
    Location:
    United States
    First Language:
    Chinese
    thanks, it seems to be working fine now. Is this font loading part of the performance improvement or it does not matter?
     
    #6
  7. ShellFlare

    ShellFlare Veteran Veteran

    Messages:
    81
    Likes Received:
    14
    First Language:
    English
    What about for people not using the intel XDK?

    When I export my projects to android I use python, crosswalk and the apache ant.

    Also in the project I exported I had deleted and disabled all plugins, including the community core.

    Not at home atm, but when I get there i'll try the fix and see if the crash is resolved reply again.

    (not trying to be picky, just hoping to solve all the issues).


    EDIT:

    Okay so I got home and made a project WITHOUT the community core script which still crashes.

    Did the temp fix and the base project does indeed export and work now, however my method isn't intel xdk, but the method used in the help file tutorial.
     
    Last edited: Jul 3, 2017
    #7
  8. Archeia

    Archeia Level 99 Demi-fiend Staff Member Developer

    Messages:
    14,582
    Likes Received:
    14,281
    Location:
    Game Dev Salt Mines
    First Language:
    Filipino
    Primarily Uses:
    VNM
    Community Core Script is just an append script. The OSS community edited the CORE scripts themselves. Did you follow the line instruction I told you to do so?
     
    #8
  9. ShellFlare

    ShellFlare Veteran Veteran

    Messages:
    81
    Likes Received:
    14
    First Language:
    English
    Yes. I mentioned it in the second part of my edit. I am getting projects to export by adding that line.
     
    #9
  10. Archeia

    Archeia Level 99 Demi-fiend Staff Member Developer

    Messages:
    14,582
    Likes Received:
    14,281
    Location:
    Game Dev Salt Mines
    First Language:
    Filipino
    Primarily Uses:
    VNM
    #10
  11. ShellFlare

    ShellFlare Veteran Veteran

    Messages:
    81
    Likes Received:
    14
    First Language:
    English
    Alright. Thanks a lot for looking into it and doing what you could. your temp fix is working and you mentioned it there so hopefully if people are having issues they find this post and know the line to add.
     
    #11

Share This Page