Log complains about .mod not being UTF8-BOM, but won't show when it is.

  • We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

XViper

Sergeant
39 Badges
Nov 17, 2012
90
0
  • Magicka
  • Leviathan: Warships
  • Cities: Skylines - Green Cities
  • Stellaris: Federations
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • BATTLETECH - Backer
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Cities: Skylines Industries
  • BATTLETECH: Flashpoint
  • Stellaris: Megacorp
  • Prison Architect
  • Stellaris: Ancient Relics
  • BATTLETECH: Season pass
  • Stellaris: Lithoids
  • BATTLETECH: Heavy Metal
  • The Showdown Effect
  • Surviving Mars
  • BATTLETECH
  • Warlock: Master of the Arcane
  • Cities: Skylines - Natural Disasters
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Hearts of Iron IV: Cadet
  • War of the Roses
  • 500k Club
  • Cities: Skylines - Snowfall
  • Cities: Skylines - After Dark
  • Pillars of Eternity
  • Shadowrun: Hong Kong
  • Cities: Skylines
  • Stellaris
  • Age of Wonders III
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
So the error log will give you errors such as:

[15:50:34][lexer.cpp:278]: File 'mod/test.mod' should be in utf8-bom encoding (will try to use it anyways)

However, if you save the .mod file in UTF8-BOM instead of ANSI, the mod doesn't show in the mod launcher or mod tools.

Either remove this error, or fix the launcher & mod tools to properly read UTF8-BOM files correctly.

If you resave the file back into ANSI format, it works again. It took me awhile to figure this out!! I kept recreating my mod thinking I was breaking it somehow.
 
Upvote 0