RemoteTechnologiesGroup / RemoteTech

Community developed continuation of Kerbal Space Program's RemoteTech mod.
http://remotetechnologiesgroup.github.io/RemoteTech
GNU General Public License v2.0
233 stars 102 forks source link

KSP's ScenarioModule in place of RemoteTech_Settings.cfg in player's save folder #702

Closed KSP-TaxiService closed 6 years ago

KSP-TaxiService commented 7 years ago

Quoted from the issue #700

Current way of loading and saving setting in RT is quite hackish. It may have been appropriate back in the day it was written, but today it's hurting integration of RT with other mods. To alleviate this we need to change the following: ... 2. Saved settings should be stored through a ScenarioModule to store them inside persistent.sfs

This ScenarioModule in persistence.sfs offers the convenience of storing RT settings instead of a separate setting file in a player's save folder. The persistence.sfs is part of a bug report, where we can check the RT settings inside the sfs.

Given that a switch to ScenarioModule is easily save-killer, this should be done in the RT 2.x development where players' saves shouldn't be preserved

KSP-TaxiService commented 6 years ago

The migration of RT settings to ScenarioModule (CommNetScenario particularly) and CustomParameterNode in RT2 development is completed.