red51 Are the posters fixed to 512x512 resolution? I'm wondering if we could have a few options such as the original resolution of the image, or some fixed resolutions as well that the game seems to have already. Like 512x512, 1024x1024. 1920x1080 and 3840x2160 etc.
512x512 is indeed the default resolution (but we changed it with the latest hotfix, now it depends on the graphics card VRAM, but this change isn't applied retroactively). We set a low default limit for now to keep VRAM consumption as low as possible (right now Unity is a memory hog on Linux, consuming extreme amounts of VRAM, and we didn't want to risk OOM crashes)...
Unfortunately this setting isn't exposed to the settings menu yet, but you can change it manually in the config.properties file (in the game directory)
It's called Game_CustomImageResolution there (but this only affects singleplayer).
In multiplayer, this is determined by the permissions (it's the maxresolution setting in the image permission). To keep traffic low, it's recommendable for server admins to keep this value as low as possible.
The value you set depends on how much VRAM you have and how many images you want to place in the world. Posters have a fixed memory overhead when loaded to the GPU into VRAM (irrespective of the original file size). It's highly recommendable to set a power-of-2 resolution (e.g. 256, 512, 1024, 2048, 4096 etc). I wouldn't recommend setting higher values than 2048 due to high VRAM consumption.
This table provides an overview of how much VRAM a single poster (loaded from a png file) would consume, depending on the resolution:
| Resolution | Memory Consumption |
| 256x256 | 85 KB |
| 512x512 | 341 KB |
| 1024x1024 | 1.3 MB |
| 2048x2048 | 5.3 MB |
| 4096x4096 | 21.3 MB |
Changing this value only affects newly uploaded images btw. You can also change it in singleplayer on the fly by typing setoption customimageresolution <resolution> into console ![]()
This might also help with the aspect ratio of posters (using original image especially for rare resolutions). My posters all look squished as they start as 1:1, even if they are meant to be vertical 16:9 for example. So I am trying to guess the correct aspect ratio by resizing.
Yeah, it's probably better if the poster will adapt to the original aspect ratio... I'll put it on our to-do list ![]()