Building for Android platform (and iOS)

  • #1, by DilatedWednesday, 23. April 2014, 16:26 10 years ago
    Hey guys, super happy with the new version with Visionaire. At the moment just playing with the exporting the game, I'm trying to follow the steps to build the game for Android but cant seem to get it to work

    I've basically been following this list.

    Download the Visionaire Player for Android
    Copy the file visplayer_android.apk to the platform directory in your Visionaire Studio installation
    Connect your Android device per usb
    Copy the visplayer_android.apk to your device using the explorer
    Create the folder visionaire in the root of your internal sdcard
    Copy config.ini plus all vis files in that directory
    Install the Apk per file manager on your device (you may have to enable untrusted sources)
    Run & good luck


    However where do I get the config.ini file? Where are the 'all vis files' from? since there is no option to export for Android, am I just supposed to export from another platform then use those files to copy onto my android device?

    I apologise if this is a stupid question and is something obvious I'm not seeing.

    Forum Fan

    149 Posts


  • #2, by AlexWednesday, 23. April 2014, 16:42 10 years ago
    export to the platform you're currently working on (Windows/Mac). This will generate the config.ini and all vis files. I'll update the wiki documentation.

    Great Poster

    378 Posts

  • #3, by DilatedWednesday, 23. April 2014, 18:01 10 years ago
    Thank you!

    Alright tested it on two phones, one S4 running 4.3 and the game crashes as soon as you try to do anything on screen. And a HTC 300 running 4.1.2 and nothing happens at all (more than likely too slow)

    I've also tried to install the Visionaire player on a ipad 4 running 7.1.1 and it just sits at waiting, or stalls on installing and nothing happens.

    Any ideas?

    Forum Fan

    149 Posts

  • #4, by afrlmeWednesday, 23. April 2014, 18:36 10 years ago
    Try exporting the game for the mobile/handheld devices at a lower resolution like 1280x720 or 1024x768 so that they require less memory/power to run them. I'm assuming your default resolution is 1080p?

    Also check out the system requirements page in the wiki to see if your devices meet the minimum/recommended requirements. http://wiki.visionaire-tracker.net/wiki/System_Requirements

    Imperator

    7278 Posts

  • #5, by DilatedWednesday, 23. April 2014, 18:44 10 years ago
    Ah yes, that makes sense! I'll try that soon.

    Although in the regards to the visionaire player on the ipad, I cant even get it to install. At the moment installing it through regular itunes. Do I possibly have to do it through a special apple dev program?

    Thanks for your help.

    Forum Fan

    149 Posts

  • #6, by SimonSWednesday, 23. April 2014, 20:12 10 years ago
    Anymore data on your game, I have tested the app on a LG G2 and a Nexus 7. Both were performing good (No wonder with the G2). Is something useful in the log file, that should be inside the visionaire folder. The HTC 300 has only 512MByte, don't think that will work, but it should quit with error.

    Thread Captain

    1580 Posts

  • #7, by DilatedThursday, 24. April 2014, 02:30 10 years ago
    Alright tried making the game smaller, then running it on the HTC 300, the player just goes black screen then exits. This is from the log file.

    8:21:44.192:m_gamePath: Paradigm.vis
    8:21:44.195:The composed file 'Paradigm.vis' contains 295 files.
    8:21:44.201:Loading file 'Paradigm.vis#v#-01#00294#' from composed file 'Paradigm.vis'.

    To be clear I put the .apk file in the platform folder, also installed it on the phones. and have the visionaire folder on the phones are filled with the windows build of the game.

    Going to try the smaller version with the S4 later tonight.

    Also left the ipad running overnight to see if the app would install and no luck, do I have to possibly install it with the apple developer program?

    Forum Fan

    149 Posts

  • #8, by DilatedThursday, 24. April 2014, 02:47 10 years ago
    Here is also what happens when I export the size and run it on windows, completely bugged out. Tried it with the two suggested resolutions same thing.

    http://i.imgur.com/LXuiP5e.jpg " border="0" alt="" />

    Forum Fan

    149 Posts

  • #9, by afrlmeThursday, 24. April 2014, 03:22 10 years ago
    strange, maybe that's something to do with the webm image converter thing. the log file won't post everything unless the log level is set to "info" inside of the config.ini. Does it generate a dump (.dmp) when it crashes?

    Imperator

    7278 Posts

  • #10, by DilatedThursday, 24. April 2014, 05:00 10 years ago
    On the HTC 300 no dump file is created. The screen just sits at black and doesn't do anything, doesn't necessarily 'crash' like the S4 does

    Going to try to see the dump file for the S4 once I get my hands on it later tonight when the owner is back.

    I also changed the log level to info. here is the link to the file if its worth anything https://www.dropbox.com/s/s8lcwxs6fvfz5cn/messages.log

    Forum Fan

    149 Posts

  • #11, by SimonSThursday, 24. April 2014, 07:27 10 years ago
    Good to see that a minimum works. I think I see the problem now, look in FAQ: Videos do not work. Not work means they crash your game.

    Thread Captain

    1580 Posts