Skip to content

RSS Overhaul - #320

Draft
PhineasFreak wants to merge 101 commits into
masterfrom
restructure
Draft

RSS Overhaul#320
PhineasFreak wants to merge 101 commits into
masterfrom
restructure

Conversation

@PhineasFreak

@PhineasFreak PhineasFreak commented Apr 19, 2026

Copy link
Copy Markdown

Major update for RSS to try and bring it up to current KSP/Kopernicus standards and fix some bugs:

  • Should mostly be a non save-breaking update.
  • Complete restructure of the directory tree (built upon Restructure Folders #306).
  • All mod compatibility patches now reside under the (existing) "Compatibility" directory.
  • All RSS-specific patches now reside under the "Config" directory.
  • All RSS-specific patches are now prefixed with "RSS_".
  • All Kopernicus body cache files are now managed by Kopernicus itself to avoid bugs when upgrading RSS versions.
  • Added some Soviet deep space tracking stations to CommNet (ported from Realism Overhaul).
  • Added fallback PQS materials wherever applicable (not really necessary but good to have).
  • Added normal maps to Mimas, Tethys, Dione and Iapetus (still missing height maps).
  • Added normal and height maps to Enceladus and Triton.
  • Added the dwarf planet Eris (2003 UB313).
  • Renamed the KSCSwitcher patch from "LaunchSites" to "KSCSwitcher".
  • Renamed the NIMBY patch from "RecoveryBeacons" to "NIMBY".
  • Removed all stock PQS mods from all bodies (simplifies removal of various useless PQS mods).
  • Removed the "cbNameLater" parameter from the Earth. EVE and Scatterer effects will now show in all their glory on the KSP main menu! 💯
  • Removed all custom body indices for better compatibility with other RSS planet packs.
  • Removed support for the "RemoteTech" mod (use https://github.com/DRVeyl/RealAntennas).
  • Removed support for the "PlanetShine" mod (use https://github.com/LGhassen/Deferred).
  • Removed support for the "SigmaBinary" mod (not working in the latest KSP versions).
  • Removed the stock launch sites introduced with KSP version 1.12 ("Glacier Lake", "Cove", "Mahi Mahi", "Crater").
  • Updated the ScaledSpace body texture definitions to the use the newer OnDemand{} nodes for loading (this also allows the Earth and Moon textures to be unloaded when not used and save memory).
  • Updated the Pluto and Triton rotation periods to use hard-coded values (RSS correctly now enforces the use of gravitational parameters for all bodies).
  • Updated the Earth and Titan oceans to use custom settings for better visuals.
  • Updated the MSFN CommNet stations to match the later, Apollo Network, configuration.
  • Updated the Saturn rings to use the new Kopernicus ring shader.

Bug Fixes:

  • Fixed the Sun light parameters for compatibility with the newer Kopernicus versions (this also allows for custom brightness curves versus distance from the Sun).
  • Fixed the CommNet part patcher being unable handle parts with more that one "ModuleDataTransmitter" modules.
  • Fixed the Venus, Earth, Mars and Titan AFG parameters for smoother edges.
  • Fixed the overexposed specular reflections of all gas giants.
  • Fixed the "TextureReplacer" mod compatibility patch to edit the existing node instead of creating a new one.
  • Fixed the hard-coded description localization for Oberon and Umbriel.
  • Fixed the PQS/ScaledSpace transition altitudes of many bodies.
  • Fixed the oblate feature of all gas giants not working at all.
  • Fixed the grass color and texture tiling of the KSC buildings.
  • Fixed the incorrect, relative to Pluto, osculating elements of Charon.
  • Fixed the missing AFG nodes of Neptune, Triton and Pluto.
  • Fixed the inclinations of Deimos and Phobos being relative to the ecliptic instead of the equator of the parent body (Mars).
  • Fixed the Io, Europa, Enceladus and Triton color maps using false colors.
  • Fixed the Enceladus biome map alignment issues and added an extra "Canyons" biome.
  • Removed a duplicate gravitational parameter in the Titan CB configuration file overriding the proper one.
  • Fixed some minor typos in the EN-US language pack.
  • Fixed the incorrect horizontal mirroring and prime meridian of many bodies.
  • Tweaked the brightness matching between PQS and SS transition for all bodies.
  • Tweaked the initial rotation of the Moon (no Principia).
  • Reverted all PQS material nodes to use stock KSP terrain detail textures instead of the RSS-supplied ones (workaround until they are fixed).
  • Removed the custom PQS terrain quality settings from all bodies (possibly overwriting the user-selected terrain presets).

Known Issues:

  • The KSC monolith anomaly cannot be removed (it is part of the space center mesh).
  • The Sun has the stock yellow appearance instead of being white.

Other Notes:

  • Many bodies require updated texture maps, these are available here: https://github.com/PhineasFreak/RSS-Textures-Dev/releases/tag/v0.1.0. Choose your download accordingly to the already installed RSS texture pack. Replace files if/when asked.
  • The current RSS Earth and Moon textures (EarthColor, Earth_NRM, MoonColor, Moon_NRM) must be moved inside the "PluginData folder".
  • Any vessels inbound for the moons of Mars (Deimos, Phobos) and NOT in orbit around them will have incorrect trajectories. Make sure to either delay the arrival of or put in stable orbits said vessels before updating.
  • RealAntennas support requires a big overhaul of the RealAntennas package to move the RO and RP-1 patches over to their respective mods. It will not work as-is (see RealAntennas stockification RealAntennas#79 and RealAntennas stockification v2 RealAntennas#95)

@github-actions

github-actions Bot commented Apr 19, 2026

Copy link
Copy Markdown

Download the artifacts for this pull request:

// inconsistent orbital elements.

!Body,* {}
!Body,*{}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This bothered me when I saw it. Still does. It is critical that this patch runs before all other patches that add a Body node. Previously it relied on the lexicographical ordering: RealSolarSystem/RSSKopernicusSettings.cfg before RealSolarSystem/RSSKopernicus/. The "/" sorting after A-Z.

You don't have that pattern now. You have Config/RSS_Kopernicus.cfg compared with Config/Earth/. I didn't think MM patch ordering had a file-before-folder pattern, I thought it was strictly lexicographical.

My suggestion is move this patch to BEFORE[RealSolarSystem], making it clear and giving you a more obvious sorting of this setup patch versus the global ones.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is a very valid point and it should be a BEFORE pass even without name shorting (stock KSP mods use AFTER[Kopernicus] for example).

@PhineasFreak PhineasFreak Apr 28, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As of 2239a63 a better MM pass is implementated. The new pass allows base RSS patches (celestial bodies), RSS general patches (CommNet etc) and RSS compatibility patches to coexist without conflicts.

@PhineasFreak

Copy link
Copy Markdown
Author

If anyone around here is knownledgable about how textures are set up for use in KSP please do chime in. The terrain detail textures RSS includes have a very shiny-like, almost glossy appearance, which is...suboptimal.

@Clayell Clayell left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Surely this change would make this PR save breaking?
(github messed up the comment, this is referring to the cbNameLater commit)

@PhineasFreak
PhineasFreak requested a review from Clayell April 21, 2026 06:31
@PhineasFreak

PhineasFreak commented Apr 21, 2026

Copy link
Copy Markdown
Author

As weird as it sounds, no! 100% drop-in replacement. Well, the Titan body configuration had a duplicate GM factor with less precision that overrode the proper one so there might be a very slight difference in the orbit (8.978138376543E+12 vs 8.9778648E+12, 0.00305%).

Edit 1: I could make a save-breaking change by reordering the body indices.

Edit 2: OK, I will break saves, I corrected the height offset of Vesta and Ceres when transitioning between PQS/SS (any landed vessels will float above the surface).

@Clayell

Clayell commented Apr 21, 2026

Copy link
Copy Markdown

If it is save breaking, then AssemblyInfo.cs can/should probably be updated as well. It's still reading 18.5.0.0!
I'm also surprised to see that there's no KSPAssembly attribute, which allows for other mods to declare a KSPAssemblyDependency on RSS. Can this be added?

@PhineasFreak

Copy link
Copy Markdown
Author

I guess so, I am not well-versed with the C# side of KSP and mods (and should be done in a separate commit).

@PhineasFreak

Copy link
Copy Markdown
Author

Poll: since there will be some save-breaking changes, would this be a good opportunity to remove all "flightGlobalsIndex" definitions?

@siimav

siimav commented Apr 25, 2026

Copy link
Copy Markdown

There's different levels of save breakage. Pretty much nobody's going to care about vessels landed on Ceres. However every probe around every body getting deleted is a serious issue.

@PhineasFreak

Copy link
Copy Markdown
Author

For the above changes add the following textures: https://github.com/PhineasFreak/RSS-Textures-Dev/releases/tag/v0.1.0

Select your pack according to the already installed RSS textures. Replace when asked.

This was referenced Apr 28, 2026
@PhineasFreak PhineasFreak changed the title RSS Restructure RSS Overhaul May 1, 2026
@siimav

siimav commented May 27, 2026

Copy link
Copy Markdown

Looks like FF should be able to load assets from anywhere in gamedata. At least as long as alwaysUseDirectTextureLoad is true. Which it appears to be by default but the user can change it through UI.
https://github.com/Nereid42/FinalFrontier/blob/a8e63ae7f9e9ddc6dd8629d56a5aa267fb79e6c7/src/util/Configuration.cs#L64

Oceans are loaded independently of PQS mods. Kopernicus has a "removeOcean" option to disable them but changing the CB template is cleaner.
- Convert some missed colors to RGBA.
- Set more accurate ring inner and outer multipliers.
- Remove the custom CB cache files, allow Kopernicus to handle their generation and updating when any of the CB patches is modified.
- Fix the detail texture limits to be inside the -1/+1 range.
- Increase the detail tiling factor for all CBs that use the "Vall" built-in textures.
- Customize some of the detail texture transition levels.
- Re-enable the oblateness of the gas giants.
- Tweak the PQS colors of Phobos, Deimos and Vesta to better match the SS colors.
- Switch Triton rotation to be tidally locked to Neptune.
- More color conversions to RGBA() macro.
These mostly follow the stock KSP convention of PQS terrain quality settings to reduce height map artifacts, especially noticeable in smaller CBs (Phobos, Deimos, Ceres, Vesta) as "staircases".
Mod does not appear to work and KSPCF complains about it for causing memory leaks.
Not sure if necessary but newer Kopernicus mods include that parameter.
- Fix "underwater" fog gradient.
- Improve ocean animation and fade-out effects.
- Tweak Titan PQS aerial fading and SS rim intensity.
- Add simple height maps to all moons.
- Improve color blending between PQS and SS textures.
- Disable Saturn normal map (needs fixing).
- Add a missing normal map.
- Update PQS textures and height noise for the new height map.
- Revert the changes to the PQS "high" limit (broke PQS textures for some reason).
- Let them match between standard and fallback shaders.
- Deprecate the use of fixed light settings in favor of the much more flexible light curves.
@PhineasFreak PhineasFreak reopened this Aug 6, 2026
@PhineasFreak
PhineasFreak marked this pull request as draft August 6, 2026 08:26
Before it was relative to the ecliptic but the inclination of satellites should be referenced to the parent body.
Adds some variety to these bland bodies...
Add the names of the new Enceladus and Triton biomes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants