robertjanetzko / LegendsBrowser

Legends Browser is an multi-platform, open source, java-based legends viewer for dwarf fortress 0.42.
MIT License
63 stars 19 forks source link

[bug] World folders containing caps cannot be opened in LegendsBrowser on a Unix system #20

Closed joshbarrass closed 6 years ago

joshbarrass commented 6 years ago

Steps to Reproduce

  1. Use a Unix system (I am using Ubuntu)
  2. Rename a world folder to contain capital letters
  3. Load legends mode in DF and export the xml (I used exportlegends info in dfhack)
  4. Attempt to load the legends xml in LegendsBrowser

This seems to cause everything except the initial xml file to fail to load, including the civs file (though oddly, the map still loads). In the error logs, it can be seen that the file trying to be accessed is using a lowercase path. On a Windows system, this does not matter, however on a Unix system the caps are important and must match.