MISERY


The world has been destroyed, enraged by nuclear war. The few survivors have to keep it up and rebuild it. Author: Yuri Andriaccio (https://mods.factorio.com/user/Yurand) This version updated by ZwerOxotnik (don't expect much now)

Overhaul
3 years ago
0.17 - 0.18
12

b Will not load

3 years ago

Only mod active will not load on a fresh install.

7.754 Error AtlasSystem.cpp:1499: The given sprite rectangle (left_top=160x0, right_bottom=180x20) is outside the actual sprite size (left_top=0x0, right_bottom=165x92).: misery/graphics/particles/electric_discharge/electric-discharge2.png; mods: misery
7.790 Initial atlas bitmap size is 4096
7.790 Created atlas bitmap 2048x544 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
7.813 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
7.839 Parallel Sprite Loader initialized (threads: 3)
8.044 Sprites loaded
8.068 Generated mipmaps (5) for atlas [0] of size 2048x544
8.068 Custom mipmaps uploaded.
8.072 Custom inputs active: 5
8.077 Factorio initialised
8.079 Mods to disable:Failed to load mods: The given sprite rectangle (left_top=160x0, right_bottom=180x20) is outside the actual sprite size (left_top=0x0, right_bottom=165x92).: misery/graphics/particles/electric_discharge/electric-discharge2.png

Mods to be disabled:
• misery (0.0.5)

3 years ago
(updated 3 years ago)

Since this was ignored for a while, I'll share what I did to get it to load:

In /prototypes/particles.lua at line 23
Change the height and width of the electric discharge animation to 18 pixels.

You could also probably resize the image to fit the 180x100 size that seems to be expected.

Or, you might be able to use the high res graphics, instead. The high res dimensions look like they line up with the high res animation.

I don't know if changing the dimensions of the sprite or the sprite map will result in the animation looking right, but the mod loads, at least. The electrical anomalies didn't look weird to me, when I looked around the map.

Still can't play the game, though. Nothing seems to work. (see https://mods.factorio.com/mod/misery/discussion/5ec8f13d573331000d9b143b)

New response