EarendelDevelopers / factorio-mods

This is a public repository for tracking issues with Earendel's factorio mods.
19 stars 3 forks source link

Issue with headless server on windows. #294

Closed Leonniar closed 1 year ago

Leonniar commented 1 year ago

I am running the server using a .bat file in headless mode, in Windows 10

Whenever I try to launch a headless server I get this error:

10.738 Error Util.cpp:83: Error while loading entity prototype "se-gate-fragment-14-a" (simple-entity): Sprite height outside valid range (1-2048).

At ROOT.simple-entity.se-gate-fragment-14-a.picture.layers[0].hr_version
Modifications: Space Exploration › Combat Mechanics Overhaul

------------- Error -------------
Error while loading entity prototype "se-gate-fragment-14-a" (simple-entity): Sprite height outside valid range (1-2048)

I have seen this many times on the internet and the only solution suggested is to set the graphics quality of the server settings to normal. server-settings.json doesn't have an option to change graphics quality so I have tried: 1) Using the config.ini for the server settings (I have read online config.ini is meant for linux servers but I gave it a shot) 2) Using the server-settings.json for the server settings and 3) adding the --graphics-quality normal command line in my .bat file 4) Tried removing the "Combat Mechanics Overhaul" mod in case it was causing the issue. I tried every possible combination of the above mentioned to get it to work but to no avail.

BurninSun commented 1 year ago

Solved in discord, appears to be a problem with the base game. Solution was to load game in single player mode, go into settings -> graphics and change sprite resolution to normal. Then exit out and start the server.