Familiarity with JSON (more specifically, Hjson, which is most similar to Starsector's custom JSON) and its formatting/syntax is highly recommended when working with Customizable Star System's JSON files. In addition, a JSON validator like
https://jsonlint.com/ can provide additonal support and assistance when modifying
customStarSystems.json. That said,
if you want any chance of technical support with this mod, you will need to include your starsector.log, your customStarSystems.json, and your modlist (preferably through your enabled_mods.json file).To start modifying or making your own custom star systems:
- Open customStarSystems.json, located in the data/config directory of the Customizable Star Systems mod folder
- Inside customStarSystems.json, edit the default custom star system or make a new custom star system entry.
- To see what options are available and what they do, open referenceStarSystem.json, which is located in the same folder as customStarSystems.json
- If editing an existing star system is desired, copy-and-paste one or more preset custom star systems from presetStarSystems.json, also located in the same folder as customStarSystems.json
The
customStarSystems.json file
can be edited while your Starsector application is still running, allowing for adjustments to be made and seen with each new game. Be warned, however, that
any mistakes in modifying customStarSystems.json may result in your game crashing either upon starting a new game, or, even worse, upon visiting the affected star system or planet in-game. I recommend
using either Console Commands or LunaLib's LunaSnippets to quickly test your custom star systems, visiting those systems and their planets to make sure nothing is wrong with them. Disabling all non-essential mods may help by decreasing load times if you expect to crash frequently during testing.