Is there a way of storing binary data (in an editor script) and reading it from a runtime script which works across all (non-web) platforms? I’m just looking into how I would preprocess data for use in a game, so things like pathfinding data and the like. At the moment, I’ll be aiming for Mac and Windows standalone, but I’d like to keep myself within the bounds of things supported across all formats so I would like to stick to functionality I can expect to find on IPhone and on the Wii and forthcoming XBox 360 versions of the SDK. This is for pretty common base functionality, so I don’t want to be rewriting this stuff when a lot of my game depends on it.
Text objects seem to be supported across all platforms, and I guess XML isn’t too bad when compressed but some of this stuff would be better stored in binary data, I think. I would also prefer not to use serialization. I’d like to be doing it manually for now. I guess IPhone is .Net 1.1? Is there anything in there that would help me?