Hey there!
I'm the author of YAPR, the planet renderings mod. I recently made some changes to my addon to include a switcher for 1K,2K and 4K planets, but it seems you have hardcoded some things into your addon :)
If you'd like to fix this, check out my github: https://github.com/0mega47/factorio-mods/tree/main/YAPR_1.1.1
If you could just insert this code block where you check for the different mods, it should work ok:
-- read YAPR setting if present (default to 2K)
local res = (settings.startup["yapr-starmap-res"] and settings.startup["yapr-starmap-res"].value) or "2K"
local suffix_for = { ["1K"] = "-1K", ["2K"] = "-2K", ["4K"] = "-4K" }
local size_for = { ["1K"] = 1024, ["2K"] = 2048, ["4K"] = 4096 }
local suffix = suffix_for[res] or "-2K"
local size = size_for[res] or 2048
if mod_name == MOD_NAME_0mega42 then
prototype.starmap_icon = "__" .. MOD_NAME_0mega42 .. "__/graphics/" .. planet_name .. suffix .. ".png"
prototype.starmap_icon_size = size
end
HOWEVER, it seems shattered-planet isn't recognized, as I can't change it in the settings. I'm not a programmer, so maybe you can help out?
Cheers!