As Debido alludes to, you need to replace the StarSector-core SectorGen files.
Thankfully with 0.65 this is actually a lot easier. I'll use my modded Exerelin files as an example.
You'll want to look at data/config/settings.json, specifically the plugins section:
"plugins":{
"newGameDialogPlugin":"exerelin.plugins.ExerelinNewGameDialogPlugin",
"newGameCreationEntryPoint":"data.scripts.world.ExerelinSectorGen",
"coreLifecyclePlugin":"exerelin.plugins.ExerelinLifecyclePlugin",
}
Note in the above the 'newGameCreationEntryPoint. If you change this, everything stems from that class, which (I assume) needs to implement SectorGeneratorPlugin:
package data.scripts.world;
public class ExerelinSectorGen implements SectorGeneratorPlugin
{
public void generate(SectorAPI sector)
{
new Exerelin().generate(sector);
// Still using a lot of StarSector-core functionality
sector.registerPlugin(new CoreCampaignPluginImpl());
sector.addScript(new CoreScript());
sector.addScript(new CoreEventProbabilityManager());
sector.addScript(new EconomyFleetManager());
// Overrides dialog picker for some entities
sector.registerPlugin(new ExerelinCoreCampaignPlugin());
}
}
I then separate out the world building 'stuff' into another class (in this case Exerelin) but you could just write everything in your SectorGeneratorPlugin:
package data.scripts.world.exerelin;
public class Exerelin
{
public void generate(SectorAPI sector)
{
}
}
In the above examples I replaced the StarSector-core 'coreLifecyclePlugin' as it has hard-coded references to Jangala in it, which very likely won't exist in your Total Conversion
I also switched out the 'newGameDialogPlugin' for my own.
EDIT:
You will want to create your own settings.json in your mod that just contains the settings you want to change.
Also, I have replaced the following in my mod_info.json:
"replace":
[
"data/config/settings.json",
"data/campaign/econ/economy.json",
"data/campaign/starmap.json",
],
}
My data/campagin/starmap.json:
{
"starSystemLocations":{
}
}
and my data/campaign/econ/economy.json:
{
"version":2.0,
"initialStepsToRun":200,
"maxExoticUtilityAtRange":14000,
"defaultConnectionMult":1,
"defaultConnectionFlat":1,
"defaultTariff":0.3,
"starSystems":[
],
"map":"../starmap.json",
}
I'm not sure if the last few steps will be required (I am not building a total conversion, and am generating all the market and economy pieces in code).
2nd EDIT:
Added a few other lines to examples.