2021-06-13 22:07 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0006321Spring engineBuildbotpublic2019-10-24 15:14
Assigned Tohokomoko 
Product Version104.0 +git 
Target VersionFixed in Version 
Summary0006321: missing tiff support in devil with mingwlibs64
DescriptionI noticed that there is a difference of how map and some selected features look when compared the same spring build on win64 and win32.

My theory is that in some cases textures are loaded incorrectly:
1. In case of failed trees this is a teamcolor that makes them red
2. In case of map, the specular map has probably got overbright.

I'm almost certain it started to happen after something was recently done to DevIL.

Tried different mods: ZK & BAR. Also tried to disable luarules, luagaia & luaui disable
Additional InformationTested on

TagsNo tags attached.
Checked infolog.txt for ErrorsYes
Attached Files

related to 0006299resolvedhokomoko win64 builds still broken 



lhog (reporter)

win32 map


lhog (reporter)

trees on win64


lhog (reporter)

trees on win32


lhog (reporter)

I've checked the map package and it looks like the presumably failing textures are all in .TIFF format. Looks like Win64 can't open some or all TIFFs correctly.


lhog (reporter)

Looks like win64 libIL.dll is built without TIFF support

Win32 has ilLoadTiff references inside the dll, but win64 does not.


abma (administrator)

is there something related in infolog.txt?

i would expect some error message that .tiff can't be loaded.


lhog (reporter)

No there was nothing interesting in the infolog.

I think by now the issue has been identified
>> Win32 has ilLoadTiff references inside the dll, but win64 does not.
So by now it's more about fixing the issue rather than identifying it.


abma (administrator)

so this error message is not shown?

are you sure?

if so, this is a bad bug, too.


abma (administrator)

also how to reproduce? which exact map / game?


lhog (reporter)

Ravaged v2. ZK and BAR had it both.
The screenshots above were made on Tabula v4


abma (administrator)

please attach infolog.txt when it fails. your description is inaccurate, "Ravaged v2" doesn't exist: https://api.springfiles.com/?springname=Ravaged%20v2


abma (administrator)

also when trying to reproduce, i'm getting this error in infolog.txt:

[f=-000001] Error: [BMP::Load] invalid bitmap "unittextures/ad0_bushes_1.tif" (loaded=0)

so, you did not check infolog.txt or ...?

next time, please just add infolog.txt, this would have answered all my questions.


lhog (reporter)

Sorry, not sure how I missed that.


hokomoko (developer)

I didn't compile tiff because I never thought anyone uses it.
Also: Why the hell are people using tiff????


hokomoko (developer)

I've updated mingwlibs64, should work now, I think.


abma (administrator)

-> https://springrts.com/phpbb/viewtopic.php?f=12&t=40285

-Issue History
Date Modified Username Field Change
2019-10-14 01:28 lhog New Issue
2019-10-14 01:28 lhog File Added: win64map.jpg
2019-10-14 01:29 lhog File Added: win32map.jpg
2019-10-14 01:29 lhog Note Added: 0020182
2019-10-14 01:29 lhog File Added: win64trees.jpg
2019-10-14 01:29 lhog Note Added: 0020183
2019-10-14 01:29 lhog File Added: win32trees.jpg
2019-10-14 01:29 lhog Note Added: 0020184
2019-10-14 02:32 lhog Note Added: 0020185
2019-10-14 02:46 lhog Note Added: 0020186
2019-10-16 20:28 abma Severity minor => major
2019-10-16 20:28 abma Category General => Buildbot
2019-10-16 20:28 abma Summary Apparently some textures fail to load on Win64 builds => missing tiff support in devil with mingwlibs64
2019-10-16 20:28 abma Checked infolog.txt for lua Errors Yes => |Yes|
2019-10-16 20:29 abma Assigned To => abma
2019-10-16 20:29 abma Status new => feedback
2019-10-16 20:29 abma Note Added: 0020189
2019-10-16 20:30 abma Relationship added related to 0006299
2019-10-16 21:51 lhog Note Added: 0020190
2019-10-16 21:51 lhog Status feedback => assigned
2019-10-16 22:29 abma Note Added: 0020191
2019-10-16 22:29 abma Assigned To abma =>
2019-10-16 22:29 abma Status assigned => feedback
2019-10-16 22:33 abma Note Added: 0020192
2019-10-16 23:05 lhog Note Added: 0020194
2019-10-16 23:05 lhog Status feedback => new
2019-10-16 23:30 abma Note Added: 0020195
2019-10-16 23:30 abma Status new => feedback
2019-10-16 23:37 abma Note Added: 0020196
2019-10-17 00:03 lhog Note Added: 0020197
2019-10-17 00:03 lhog Status feedback => new
2019-10-19 14:18 hokomoko Note Added: 0020200
2019-10-19 14:53 hokomoko Assigned To => hokomoko
2019-10-19 14:53 hokomoko Status new => feedback
2019-10-19 14:53 hokomoko Note Added: 0020201
2019-10-20 16:36 hokomoko Status feedback => resolved
2019-10-20 16:36 hokomoko Resolution open => fixed
2019-10-24 15:14 abma Note Added: 0020205
+Issue History