Planet Pelagos


Visit Pelagos, an insular planet of coconuts. Use calciners to refine resources, and cargo ships as the perfect way to connect its scattered shores

Content
a day ago
2.0
5.92K
Factorio: Space Age Icon Space Age Mod
Planets Environment Mining Fluids Manufacturing

b [fixed] Unable to load 0.21.0 on some systems

4 days ago

Getting an error as of the recent version:

  40.201 Error AtlasBuilder.cpp:157: Prepared sprite registrations are empty: start = 251201, to try = 0, max size = 4096, registered sprites count = 373853
  40.201      Atlas: virtual = 0, flags = icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, 
  40.201      registration[251201]: padding = 8, dest_width = 4096, dest_height = 4096, filename = __pelagos__/graphics/starmap-planet-pelagos.png
  40.205 Error Util.cpp:81: No pictures to put in atlas.

This is happening to one of the players on our server, generally this error means that the graphic is too large to fit on an atlas and there's no fallback specified to a smaller size, so we are unable to load the mod as of 0.21.0 or they can't play.

I noticed the graphic is 4,096x4096, and interestingly the file size, which is unrelated to this issue, is 64.1 megs, which seems mildly extremely huge, lol.. just running optipng at fast low cycle count returns an identical quality image on it and reduces the file size to 13.3megs (could probably get it a bit lower with the higher cycle count), so at the very least a PNG optimizer should be ran over the files to substantially reduce file size, but anyway it looks like this textures dimensions are too large for some people to load so it should probably be 2048 by 2048 at the largest anyway, along with running something like optipng -o9 or so on them. 🙂

3 days ago
(updated 3 days ago)

should probably be 2048 by 2048

I wanted it to be 4k similar to other background icons I am using, and spend some time making it.

It does not mean it could not be smaller for people with lower specs, but ideally 4k should be default

Did he tried bigger atlas size?
I will try to add fallback image

3 days ago

I ll try to make fix today, and ping you in this thread

3 days ago
(updated 3 days ago)

There is no way to check atlas size. At least I could not find one, so changed image to 2k on 0.21.1
should work fine now

3 days ago
(updated 3 days ago)

You could maybe add a separate mod that is just hi-res texture(s) and this mod could optionally depend on it, and use the texture(s) if present. That way if someone wants the hi-res texture(s) they could still use it. Just my thoughts.

3 days ago

You could maybe add a separate mod that is just hi-res texture(s) and this mod could optionally depend on it, and use the texture(s) if present. That way if someone wants the hi-res texture(s) they could still use it. Just my thoughts.

I mean 2k is pretty hi res
but yea i will probably do something like that

a day ago
(updated a day ago)

It's fixed now, thanks. :-)

Did he tried bigger atlas size?

Yes, doesn't matter, no 4k textures load on his system if any mod has them, it's an integrated thing (yet his system outperforms my desktop, but tangent... >.>).

Does Factorio not have the ability to specify multiple textures sizes for a single thing depending on rendering mode? If not that would sound like a very useful feature request!

You could maybe add a separate mod that is just hi-res texture(s) and this mod could optionally depend on it, and use the texture(s) if present. That way if someone wants the hi-res texture(s) they could still use it. Just my thoughts.

Yeah this is what a lot of mods do, sadly if one uses it then everyone on the server needs it, cannot just be a client-side only mod from what I've seen, at least no mod has done that yet from our testing.

New response