AudunVN / Navmap

Browser-based system map viewer for the Freelancer mod Discovery.
http://space.discoverygc.com/navmap
7 stars 8 forks source link

Generate data files with flint #91

Open biqqles opened 3 years ago

biqqles commented 3 years ago

This PR modifies update.py to generate the navmap's data files using flint instead of external tools.

Current progress:

biqqles commented 3 years ago

The initial commit is a small change implementing the generation of infocards.txt with flint instead of FLInfocardIE.exe. The files generated by each are not identical because flint doesn't know how to get resources from DLL 0 (Freelancer.exe). This doesn't matter because these resources are only used in the game's UI and never referenced in INIs but I can improve this if necessary.

biqqles commented 3 years ago

The files generated by each are not identical because flint doesn't know how to get resources from DLL 0 (Freelancer.exe).

I was wrong - these strids are in fact in resources.dll and I've just updated flint to get them too. However, since the majority of resources are not referenced by systems and solars, it might make sense to generate a subset of these to greatly reduce the amount of data downloaded by the client.