-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Victoria 2] [0.9.7 beta 2] Unable to load definition.csv from mods on Linux #29
Comments
I am looking at https://github.com/Historical-Expansion-Mod/Greater-Flavor-Mod/blob/master/GFM/map/default.map. If that is the map file used for GFM, then the The real problem seems to be that the editor is treating the filename as relative to the game folder, while the game apparently treats it as relative to the map folder. At least on my Windows machine, having two dots in the path is perfectly valid as long as it results in a file that exists. But in your case the two dots drops us clear out of the Victoria 2 folder. I'm not sure why the path has to be constructed that way. Doesn't it simply direct to the definition.csv in the mod's map folder? Why can't it just be "definition.csv"? |
Good question; it seems to break the mod in-game (seems to load the definitions from vanilla, instead), but I'm not really sure why. Removing the |
Further research indicates that this is limited to just the definitions file, just in Victoria 2. Probably a game bug. I can special-case the parsing to account for files with .. in their paths. |
Thanks!
…On Fri, 6 Aug 2021, 04:03 mmyers, ***@***.***> wrote:
Closed #29 <#29> via 2b8a5c9
<2b8a5c9>
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#29 (comment)>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APQQTOYUMAAAOSKLGTVKN4LT3M7HXANCNFSM5BE7YM2A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
On Linux, you are unable to load a mod's definition.csv. This seems to be because the path gets mangled up somewhere in the process, which results in a
..
being added between the path to the game folder and the path to the mod itself.The text was updated successfully, but these errors were encountered: