Page 1 of 1

Was the default directory where "mod settings files" are located changed recently?

Posted: Thu Feb 13, 2020 4:10 pm
by King of Worms
Hi, I have updated my master today

Now when I open the Mod Builder and click "Open existing mod settings file" it points me to ...\Assets\Game\Mods
and that folder is empty.

Because in the older version, these files were stored at ...Assets\Untracked\ModBuilder

And thats where all my mod settings files for all DREAM packages were and still are stored in my case.

Should I copy these files to the new directory?

I use these settings files a lot, because I have 12 packages and some of the packages contain 1000s files and some of them are stored in various directories, plus there are mod descriptions etc, so its saves me a lot of time when I have those saved and just load em when I want to build new package...

Thank you :)

Re: Was the default directory where "mod settings files" are located changed recently?

Posted: Thu Feb 13, 2020 4:28 pm
by Hazelnut
Yes, all mods now are located there by default including definitions .dfmod.json and settings etc. It allows mods to easily be run in the editor and debugged. You don't have to move your files there if you don't want to - it's just a default. If you do move them then remember to change the paths to them in modbuilder etc.

Re: Was the default directory where "mod settings files" are located changed recently?

Posted: Thu Feb 13, 2020 5:54 pm
by King of Worms
Hazelnut wrote:
Thu Feb 13, 2020 4:28 pm
Yes, all mods now are located there by default including definitions .dfmod.json and settings etc. It allows mods to easily be run in the editor and debugged. You don't have to move your files there if you don't want to - it's just a default. If you do move them then remember to change the paths to them in modbuilder etc.
Thanks, so that means also all the parts of the mods - the loose files, the pngs, videos, sounds etc I guess, not just the settings as I thought earlier.

I think I can do that

But Im not sure how to "change the paths" in mod builder.

I guess that means I need to select the files which I want to add to the mod once again? Because by moving them the paths will be now different.

Hmmm... thinking about it. Its just a hassle for me with no gains in my case. Will have to decide. I dont want to move files too much and change anything, DREAM has gotzen quite complicated even as it is now.

Im honestly affraid that if I have lets say 3 month pause, I will not be able to build a new version for all systems corectly :/ So I try to have everything saved and as automated and stable as possible


Thanks tho!

Re: Was the default directory where "mod settings files" are located changed recently?

Posted: Thu Feb 13, 2020 6:12 pm
by BadLuckBurt
If you do decide to move them eventually, you can also open the dfmod.json file in a text editor and do a find and replace to correct the paths.

Re: Was the default directory where "mod settings files" are located changed recently?

Posted: Thu Feb 13, 2020 6:20 pm
by King of Worms
BadLuckBurt wrote:
Thu Feb 13, 2020 6:12 pm
If you do decide to move them eventually, you can also open the dfmod.json file in a text editor and do a find and replace to correct the paths.
I see, thanks for a tip

Re: Was the default directory where "mod settings files" are located changed recently?

Posted: Thu Feb 13, 2020 6:23 pm
by Hazelnut
King of Worms wrote:
Thu Feb 13, 2020 5:54 pm
Hazelnut wrote:
Thu Feb 13, 2020 4:28 pm
Yes, all mods now are located there by default including definitions .dfmod.json and settings etc. It allows mods to easily be run in the editor and debugged. You don't have to move your files there if you don't want to - it's just a default. If you do move them then remember to change the paths to them in modbuilder etc.
Thanks, so that means also all the parts of the mods - the loose files, the pngs, videos, sounds etc I guess, not just the settings as I thought earlier.
No, they can all stay in streaming assets places since that's all you need for testing you mod AFAIK. If you have C# code scripts then it makes sense to move everything so you can run it as a virtual mod package. Sounds to me like you should leave it all alone. Just load your files from the old place and ignore the new default for now at least. :)

Re: Was the default directory where "mod settings files" are located changed recently?

Posted: Thu Feb 13, 2020 7:20 pm
by King of Worms
100% agreed, I will keep it the old way, just point the mod builder to the old location of the config files.

Changing the paths in a json files is a no go because there really is way over 10 000 paths in some cases and various directories.

So the last question is...

Is there any way I can change the default directory the Mod builder uses to search for the config files? I mean, to change it back to how it was before the update. :lol: ( ...Assets\Untracked\ModBuilder )

Re: Was the default directory where "mod settings files" are located changed recently?

Posted: Thu Feb 13, 2020 9:42 pm
by TheLacus
You can move .dfmod.json files alone and leave all assets where they are. Or use find/replace with any text editor to change root directories (from "Assets/Untracked/Example" to "Assets/Game/Mods/Example").

When you open the Mod Builder, the most recent mod is opened automatically. If it can be useful, it might use current directory instead of default when you open a new mod.