-
Notifications
You must be signed in to change notification settings - Fork 38
Add Data/ and Mods/ folder #437
Add Data/ and Mods/ folder #437
Conversation
This reverts commit dfb3f1f.
Refactor PresetMan to contain a static reference to all official & userdata modules. Add the new function `IsModuleUserdata()` that takes a module name and checks if it exists in our list of defined modules. Replaced some duplicated checks with these new utility functions (including `IsModuleOfficial()`)
…s and returns a path as such Update XML doc comments to match standard.
Refactor all directory generation checks to use case-sensitive members. Remove the leading underscore from generated Screenshots directory.
XML Comment refactoring remove more hardcoded references to mods folder, accommodate userdata in path utilities
|
I've added changes that expand on the current set to handle Userdata in its own directory. This should mean that no modules are created at the root level. The directory is configured in |
Fix un-needed indentation level
Fix bugs in ActivityMan preventing writers/readers from targeting the correct save files GAScripted now reads in correct script path
|
@Fris0uman Idk if you saw me talking about it in #project-coding, but mod.io downloaded zips now automatically have something inserted between the ".rte" and the ".zip", meaning that the game won't be able to automatically unzip them anymore. If you'd be able to change the game's check whether it ends with ".rte.zip" to ".zip" in this PR that'd be awesome. :) |
|
I can look into it, not sure when though. I haven't looked at this in a very long time now, it would probably better if someone else does it if doesn't absolutly have to be part of this PR |
@MyNameIsTrez Changed my mind with this one, it's out of scope and this has been open long enough. I'll open an issue if you haven't already and tackle it there. |
|
I'll do it on this PR when I get home.
|
|
Closed in favour of #490 to avoid working on the forked branch |
Fixes #158
Move basegame data to
Data/and add aMods/folder for modsAs far as I can tell it works, games loads properly and works, I've got some weird behaviour with Voidwanderer but I could not figure where they came from and it might because the version I was using got outdated since I took so long to finish this
This Pr also require a change in the data repo to actually add the two new subdirectories and move stuff there