Skip to main content
GameDev.net gamedev.net
🔒 Locked

Bytecode from PC to mobile

Started by carew Oct 13, 2014 at 7:47 PM 1 replies 1.6k views
Original Post
carew
carew

Hello,

Is it possible to use bytecode saved on Linux (x86/x64) on mobile platforms like Android or iOS (ARM)? Today I tried that, but it looks like a bytecode is incompatible (Script building failed). Is it a bug or normal behaviour? Bytecode works without problems on both x86 and x64 Linux.

Cheers,

WitchLord
WitchLord

As long as you observe the few restrictions listed in the manual, the pre-compiled byte code is platform independent.

Can you tell me more about the error you're getting? When loading byte code you're not building/compiling the script so you shouldn't be getting a 'script building failed' situation. Though perhaps you only used the wrong term, and the error you're getting is really that the LoadByteCode method returns an error? Is anything written to the message stream? What does it say?

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - <a href="http://www.angelcode.com/tower" rel
carew
carew

Sorry, all works fine I had problems with a file reader on Android :/

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.