Utilities to convert Stellaris files into data that can be queried and used in applications.
These utils have only been tested with Stellaris but should work with other Paradox games that use the same scripting format.
Convert Paradox Interactive Scripts into a JSON format that can be imported into databases that accept JSON in an Array format. Created on top of Jomini.
Game files can be found under the common
directory of the game installation. Some files may not parse as there are example files that do not contain any data. Suggested to only add the files you require.
Converted files will be exported to ./output/ with their original path.
import convertPdsJson from './converter.js';
convertPdsJson('./data');