Endless Sky open source - Source code


Faust

Very Active Member
Joined
Feb 5, 2006
Messages
530
Location
France
Hi guys,

I've found the source code of the game Endless Sky, it's a 2D trading and space combat game. I know that there is already this kind of game on the Pandora, like The Battle For The Solar System - The Pandoran War.

Source code:
https://github.com/endless-sky?tab=repositories

On Steam:

http://store.steampowered.com/app/404410

Unfortunately it's written that the game requires OpenGL 3.0, if someone wants to have a look, or tries to port it.
 
Unfortunately it's written that the game requires OpenGL 3.0, if someone wants to have a look, or tries to port it.

You can't port OpenGL 3 code to the Pandora, unless you have a wrapper that can help with that to GLES 2.0 code. Even glshim only takes care of fixed pipeline for now, so it's probably not feasible at this stage.
 
Right, I made some progress on this:

https://github.com/JonnyH/endless-sky/tree/gles2

This builds on my desktop linux machine and runs using the GLES2 driver (plus "GL_EXT_texture_format_BGRA8888" and "GL_OES_vertex_array_object" extensions - both of which are supported by powervr, possibly depending on driver version though... Both aren't really necessary, but performance advantages).

It seems everything but the texture swizzle used to recolour ships (for different groups/cloaked), so it should be playable? I guess?

It'll likely need someone to check the input/SDL2 context creation works on the pandy though....
 
Happy to try out anything if its ready. Don't have much to offer on the back end or software side sadly. Let me know if I can be of any assistance.
 
It currently doesn't work on the pandora, as it tries to upload ~500 mb of textures to the gpu...

I'll have to look into either lower res stuff, or some kind of texture compression.
 
Back
Top