mmyers / eug

Modding tools for Paradox games including Europa Universalis IV and Crusader Kings II
47 stars 10 forks source link

Absolute Paths in the "path=x" portion of an EU4 .mod file break the program #28

Closed theolaa closed 3 years ago

theolaa commented 3 years ago

More or less the title. This line here image in Main.java should check to see if the path is absolute, and if it is, convert it to the relative path that the rest of the program expects. Unfortunately, the solution isn't as simple as "just using a relative path in the descriptor", since mods created through the launcher are sometimes automatically created with an absolute path - with no way to change it.

mmyers commented 3 years ago

Good catch, thanks!