Phobos icon indicating copy to clipboard operation
Phobos copied to clipboard

FSD binary format support

Open DarkFenX opened this issue 6 months ago • 1 comments

Presently, Phobos doesn't handle some data containers, which are in FSD binary format. They come in two flavors:

  • separate schema and data files, e.g. res:/staticdata/systems.schema and res:/staticdata/systems.static
  • schema in header, then data, e.g. res:/staticdata/achievements.static

Currently I have too little time on my hands (with other things taking priority), but if anyone could work towards decoding those, it would be great.

DarkFenX avatar Jun 19 '25 09:06 DarkFenX

@DarkFenX , I think I solved the issue of parsing the FSD binary format with the following caveats:

I "cheated" and used the code.ccp library as a springboard to parsing the FSD Binary files (both schema+static, and just static). Obviously, if you don't trust the code loading, do not load the project, but I pull it directly from the client, so it might be fine to overlook? Codebase was written in Python 3 for EVE Frontier, but I "think" I can get it ported over to EVE Online/Python 2.7. I have too many print(item) statements as debug traps. Code base might be a mess currently. I am sorry. :( Some files are a bit of a PITA to parse such as systems.static, regions.static, and constellations.static and do not output data due to a pickling error(?). That will be an area I can focus on further.

Image

https://github.com/ProtoDroidBot/Phobos/tree/fsdbinary-t1 is where I am keeping my code at

ProtoDroidBot avatar Sep 08 '25 16:09 ProtoDroidBot