Visible Planets in Space Settings


Choose individual planets from multiple HD image mods.

Tweaks
28 days ago
2.0
875
Environment

b [FIXED] Request Compatibility

a month ago

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!

a month ago

Hello, I'd like to help, but unfortunately I have limited access to my computer until next week.
I'll add proper support for your new version around October 19th.

a month ago

Sure, no worries. I'm overhauling some of the planets currently anyway. Appreciate you!

29 days ago

Hello,
Settings mod is updated to v1.0.7.

This version should support both YAPR_1.0.2 and YAPR_1.1.1.

I also added an issue on github to remind you to remove dependency: https://github.com/0mega47/factorio-mods/issues/1

About shattered planet: After you release YAPR v1.1.1, I'll update your mod's planet list: https://github.com/az3/factorio-visible-planets-settings/blob/1.0.7/constants.lua#L41

Thanks.

28 days ago

Cheers! Thanks for all the help! I've released 1.1.1 :)

28 days ago

Hello,
As of v1.0.8, Shattered Planet list is updated with respect to YAPR v1.1.1 release.
Cheers.

New response