Page 1 of 1

[Experimental 0.17.76][0.8.6 Angel's Petro Chemical Processing] crashes when reverse-factory is enabled

Posted: Sat Nov 09, 2019 2:49 am
by raziel23x
https://www.dropbox.com/s/gfsygb9u74mse ... .45.13.png

the crash report in the screenshot basically says Failed to load Mods: The given sprite rectangle(left_top=0x0, right_bottom= 64x64) is outside the actual sprite size (left_top=0x0, right_bottom= 32x32). If this is being used as an icon you may need to define the icon_size property.: __angelspetrochem__/graphics/icons/num_1.png

Re: [Experimental 0.17.76][0.8.6 Angel's Petro Chemical Processing] crashes when reverse-factory is enabled

Posted: Sat Nov 09, 2019 2:54 am
by kingarthur
It looks like reverse factory is setting the icon size wrong on that image. Setting it at 64 pixel when it's only 32.

Re: [Experimental 0.17.76][0.8.6 Angel's Petro Chemical Processing] crashes when reverse-factory is enabled

Posted: Sat Nov 09, 2019 3:10 am
by raziel23x
I have looked at the code in the mod and see nothing that sets num_1.png to the specifics

the closes i have came to was this in catgroups.lua

Code: Select all

--Hidden group and subgroup which contains the reverse recipes
	{
		type = "item-group",
		name = "recycling",
		icon = "__core__/graphics/questionmark.png",
		icon_size = 64,
		order = "z",
	},
I even downgraded back to 0.17.75 and it still crashes when i try so i do not know what gives