2024-04-20 17:00 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002642Spring engineGeneralpublic2015-07-06 11:08
Reporterabma 
Assigned Toabma 
PrioritynormalSeverityfeatureReproducibilityalways
StatusresolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0002642: (master) spring-headless: print warning, when cont/springrc-template-headless.txt isn't used
Description0.82.3-3385-ge72d106:

without the template, this warnings show up:

[f=0000000] Warning: [LoadS3OTextureNow] could not load texture "pdrock1Sphere.dds" from model "objects3d/pdrock1a.s3o"
[f=0000000] Warning: [LoadS3OTextureNow] could not load texture "pdrock2.dds" from model "objects3d/pdrock2.s3o"


Additional Informationsee also:

http://springrts.com:7778/builders/validationtests/builds/158/steps/validationtests/logs/stdio

seems like setting
GroundDecals = 0

fixes this... 1 is default in spring-headless
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0007332

hoijui (reporter)

GroundDecals = 0
... is default for headless, see:
https://github.com/spring/spring/blob/master/cont/springrc-template-headless.txt#L41

~0007333

abma (administrator)

Last edited: 2011-09-06 16:59

uhm, this is a config-template. the hardcoded value in the executable defaults to 1.

can we print a message, like "Warning: you didn't use this config-template?" or so...?

i didn't know, that this file exists... other people who will use spring-headless won't know, too.

maybe add a "ShowHeadlessWarning" config value, that defaults to "true" in the executable and set to "false" in the .txt?

~0007334

hoijui (reporter)

yeah, i guess something like that would make sense as a workaround.
and i know that this config template is .. well nobody would find it, or even know it exists. just did not know how to change that.
but yeah.. your solution sounds good.. it is a bit hacky, but very simple and good enough till we can have more sophisticated solutions, like different built-in default sets or something.

~0014909

abma (administrator)

this file doesn't exist any more. default values for spring-headless are now hardcoded into spring.
+Notes

-Issue History
Date Modified Username Field Change
2011-09-06 02:06 abma New Issue
2011-09-06 02:06 abma Additional Information Updated
2011-09-06 02:10 abma Additional Information Updated
2011-09-06 15:22 hoijui Note Added: 0007332
2011-09-06 16:56 abma Note Added: 0007333
2011-09-06 16:57 abma Note Edited: 0007333
2011-09-06 16:59 abma Note Edited: 0007333
2011-09-06 17:04 hoijui Note Added: 0007334
2011-09-07 11:40 abma Severity major => feature
2011-09-07 11:40 abma Summary (master) spring-headless: msg spam: Error: [GetBuildingDecalType] Could not load building-decal from file ... => (master) spring-headless: print warning, when cont/springrc-template-headless.txt isn't used
2011-09-07 11:40 abma Description Updated
2015-07-06 11:08 abma Note Added: 0014909
2015-07-06 11:08 abma Status new => resolved
2015-07-06 11:08 abma Resolution open => fixed
2015-07-06 11:08 abma Assigned To => abma
+Issue History