----------------------------------------------------------------------
TABLE OF CONTENTS:
----------------------------------------------------------------------
01. The Issue
02. Original Error Message
03. How I Triggered This Error
04. How I Solved This Issue
05. Closing Notes
----------------------------------------------------------------------
======01. The Issue======
----------------------------------------------------------------------
\\\\ What You're Experiencing
"Clicking on the 'Project Settings' button and nothing happens. The options don't appear in a pop-up window as they should."
\\\\ Purpose Of This Button
"So I can edit the Mod's:
- Version
- Dependencies
- Thumbnail Image
- Etc, blah, blah, blah."
----------------------------------------------------------------------
======02. ORIGINAL ERROR MESSAGE======
----------------------------------------------------------------------
\\\\ Begin Message
[31-03-2018 06:43:09:697][..\ProjectPlugin.cpp 406 EoCPlugin::ProjectPlugin::DescFromSettings]: [EoCPlugin::ProjectPlugin::DescFromSettings] Skipping doubly loaded module!
[31-03-2018 06:43:09:701][..\Util.cpp 38 LSFrameworkPlugin::Helpers::Error]: CRITICAL ERROR!
Unhandled exception!
Exception Type: System.ArgumentException
Description: An item with the same key has already been added.
StackTrace:
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at EoCPlugin.ProjectPlugin.DescFromSettings(ModSettings settings)
at EoCPlugin.ProjectPlugin.OpenSettings(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
\\\\ END
----------------------------------------------------------------------
======03. HOW I TRIGGERED THIS ERROR:======
----------------------------------------------------------------------
\\\\ My Intent
"I wanted to rename a mod and did everything I could to have the resulting .pak file and all mod files renamed to what I wanted the name to be, but I had no success."
\\\\ How I Messed This Up
a. In an attempt to do this, I backed up all of the old mod files and deleted them from the folders.
b. I created a new project with the "New" name I originally wanted.
c. I went through the meta files and replaced the:
attribute id="UUID" value, in the "meta.lsx" file at this location:
(C:\Program Files (x86)\Steam\steamapps\common\Divinity Original Sin 2\Data\Mods\MYMOD) with my old mod's values.
d. I did this for as many places as I found these values to correlate to the specific mod for the editor to recognize.
e. After this, I was NO LONGER able to edit the "Project Settings" for any of my mods.
----------------------------------------------------------------------
======04. HOW I SOLVED THIS ISSUE:======
----------------------------------------------------------------------
(*) = Top Priority
**BACKUP ALL OF YOUR MOD FILES FROM EACH FOLDER**
**BACKUP ALL OF YOUR MOD FILES FROM EACH FOLDER**
**BACKUP ALL OF YOUR MOD FILES FROM EACH FOLDER**
**BACKUP ALL OF YOUR MOD FILES FROM EACH FOLDER**
\\\\ FOLDERS (Containing Your Precious Work)
1. C:\Program Files (x86)\Steam\steamapps\common\Divinity Original Sin 2\Data\Mods
2. C:\Program Files (x86)\Steam\steamapps\common\Divinity Original Sin 2\Data\Projects
3. C:\Program Files (x86)\Steam\steamapps\common\Divinity Original Sin 2\Data\Public
4. C:\Program Files (x86)\Steam\steamapps\common\Divinity Original Sin 2\Data\Editor\Mods
5. C:\Program Files (x86)\Steam\steamapps\common\Divinity Original Sin 2\Data\Editor\Public
\\\\ SOLUTION
1. Delete the offending mod(s); starting with your most recent mod, and going down the line, testing "Project Settings" button every time you delete a mod.
(IN MY CASE: The offending mod was a mod whose "meta" files I tinkered with, leading up to the issue.)
2. After deleting the mod(s) in the editor's menu, create a new mod(s) with the same name(s).
3. After successfully opening up the elusive "Project Settings" window, DO NOT delete any more mods.
4. Now transfer all of the files you can from the old files into the new files' folders', excluding the META files. This should effectively repopulate the new mods with your old mods' precious data.
5. You should now be able to edit the "Project Settings" for all of your mods again.
----------------------------------------------------------------------
======05. CLOSING NOTES:======
I sincerely hope my experience helps others with the same, "modder's life"-breaking issue.