Cargo Ships


Adds massive cargo ships to the game, that function similarly to trains. Also adds deep sea oil, oil platforms, tanker ships, train bridges and other water based content.

Content
2 months ago
0.16 - 1.1
207K
Transportation Logistics Trains Mining Fluids Power

b Compat with IR2 (png size error)

3 years ago

When trying to load Factorio 1.1.6 with cargo-ships_0.0.58 and IndustrialRevolution_2.0.2 I get the following error:

Error ModManager.cpp:1555: Error while loading recipe prototype "scrap-port" (recipe): Sprite 'cargo-ships/graphics/icons/port.png' has mipmap count set to 4, so it's size is expected to be multiple of 8. But its size is 114x114.
Modifications: Industrial Revolution 2

Is this fixable to make them compatible?

Thanks,
ElectroBot

3 years ago

The image doesn't have mipmaps, it's just a single icon in that file. It's used in prototypes/item.lua, so I'd try inserting

icon_mipmaps = 1,

after this:

icon = "__cargo-ships__/graphics/icons/port.png",
icon_size = 114,

Not tested yet, though. :-)

New response