The render script uses a JSON file to store the dimensions of each blend file using the following format:
"name of ship": {
"sprite": "name of sprite image",
"shape": [
height,
width
],
"blend": "name of blend file"
},
however, many of the necessary entries are missing from the JSON file, and the only way to gather them currently is write more python to read each image, or do it by hand. If people decide to take work off my shoulders and do one of these things, I thank you. Otherwise I guess I'll just write another python script because tedious work stresses me out.
if you wish to contribute manually: replace name of...
, height
and width
with the corresponding values for each ship entry. A list of missing ships is included at the bottom (in total, 105 missing entries)
The Marauder blends may have entries in render_info.json, but they're all split into their variants while the blends are combined.
you can get the dimensions from the sprite images in the main ES repo here:
https://github.com/endless-sky/endless-sky
in images/ship/
you can get the blend files here:
https://github.com/EndlessSkyCommunity/endless-sky-assets
in ships/