Larian Banner: Baldur's Gate Patch 9
Previous Thread
Next Thread
Print Thread
#548021 25/08/14 06:00 PM
Joined: Aug 2014
M
Misharu Offline OP
stranger
OP Offline
stranger
M
Joined: Aug 2014
I loaded up my mod today to see if the issues of being able to paint terrain without the editor crashing have been fixed only to find that I cant edit the terrain at all.

I cant even raise/lower it never mind paint it.
And the section of the terrain window that lists the textures painted on it has everything greyed out and not selectable.

But if I add a new bit of terrain I can alter it just fine.

Joined: Jul 2014
enthusiast
Offline
enthusiast
Joined: Jul 2014
Do you have a published .pak for your mod sitting in your Documents\Larian\Divinity\Mods\ section?

If so, delete or put it somewhere else. Having that plus having your regular mod files in Divinity\Data\ can cause several read-only issues to pop up.


Escape From Smalcatraz: Steam/Nexus. Forum thread.
Joined: Aug 2014
M
Misharu Offline OP
stranger
OP Offline
stranger
M
Joined: Aug 2014
There is nothing in Documents\Larian\Divinity\Mods\

plus is the "editor data path" the place where mods are loaded from and saved to? because I've tried to set up a new folder/copy files across/set new folder in the editor and its not picking up anything from the new folder.

Joined: Jul 2014
enthusiast
Offline
enthusiast
Joined: Jul 2014
The editor data path should be :\whatever\Divinity - Original Sin\Data\Editor\ (with the game data path as :\whatever\Divinity - Original Sin\Data\). I believe the editor data path just points to the Divinity Editor's tools and settings and mod-specific data files, etc.

I've never had to touch or mess around with anything in \Data\Editor\ before. I've left it entirely alone. For the most part, as a user, the mod is loaded from \Data\Mods\ (as well as from \Data\Public\ if any .txt customisations are necessary). There are specific \Data\Editor\Mods\ files there, but that info only appears to be pulled when opening in the Editor (they won't be used in a published .pak of the mod. That said, there is an autosaves folder present in \Data\Editor\Mods\.

From looking at my own files, my best guess would be that you definitely need a MODNAME entry for \Data\Mods\MODNAME, then maybe the associated MODNAME folders in \Data\Editor\Mods\MODNAME\. You can also open up a mod in the editor if you have a .pak in the documents section, without the folders in your \Data\etc folders.

I don't know if any of the above is useful to you, ha.


Escape From Smalcatraz: Steam/Nexus. Forum thread.
Joined: Aug 2014
M
Misharu Offline OP
stranger
OP Offline
stranger
M
Joined: Aug 2014
I've set the locations back to what they should be but the problem of uneditable terrain persists.

Just tried to make a new bit of terrain off to the side, I can morph and paint it but when I try to save it i get the following...

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at ls.Terrain.SaveOptimized(Terrain* , Char* )
at EoCPlugin.MTerrainTemplate.SaveData(String filename)
at EoCPlugin.MTerrainManager.SaveData(Entity objectToSave, String filename)
at EoCPlugin.MTerrainManager.DoSave(String filename)
at LSToolFramework.EntityController.Save(List`1 m_FilesToSave)
at LSToolFramework.EntityController.SaveModified()
at LSToolFramework.EntityControllerSaveTask.Execute()
at LSToolFramework.SaveTask.DoExecute()
at LSToolFramework.EntityController.ExecuteSaveTask()
at LSToolFramework.EntityPanel.btnSave_Click(Object , EventArgs )
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.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.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at LSToolFramework.GuiToolStrip.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5477 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Glasses
Assembly Version: 1.0.7.0
Win32 Version: 1, 0, 44, 0
CodeBase: file:///C:/Games/Steam/steamapps/common/The%20Divinity%20Engine/TheDivinityEngine.exe
----------------------------------------
msvcm90
Assembly Version: 9.0.30729.6161
Win32 Version: 9.00.30729.6161
CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_50934f2ebcb7eb57/msvcm90.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5468 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
WeifenLuo.WinFormsUI.Docking
Assembly Version: 2.5.0.24441
Win32 Version: 2.5.0.0
CodeBase: file:///C:/Games/Steam/steamapps/common/The%20Divinity%20Engine/WeifenLuo.WinFormsUI.Docking.DLL
----------------------------------------
LSToolFramework
Assembly Version: 1.0.5350.26123
Win32 Version:
CodeBase: file:///C:/Games/Steam/steamapps/common/The%20Divinity%20Engine/LSToolFramework.DLL
----------------------------------------
EoCPlugin
Assembly Version: 1.0.5350.26264
Win32 Version:
CodeBase: file:///C:/Games/Steam/steamapps/common/The%20Divinity%20Engine/EoCPlugin.DLL
----------------------------------------
LSFrameworkPlugin
Assembly Version: 1.0.5350.26139
Win32 Version:
CodeBase: file:///C:/Games/Steam/steamapps/common/The%20Divinity%20Engine/LSFrameworkPlugin.DLL
----------------------------------------
MaterialPlugin
Assembly Version: 1.0.5350.26145
Win32 Version:
CodeBase: file:///C:/Games/Steam/steamapps/common/The%20Divinity%20Engine/MaterialPlugin.DLL
----------------------------------------
StoryPlugin
Assembly Version: 1.0.5350.26145
Win32 Version:
CodeBase: file:///C:/Games/Steam/steamapps/common/The%20Divinity%20Engine/StoryPlugin.DLL
----------------------------------------
WindowsBase
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6920.5453 built by: Win7SP1GDR
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/WindowsBase/3.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
p4api.net
Assembly Version: 2013.1.59.2857
Win32 Version: 2013.1.59.2857
CodeBase: file:///C:/Games/Steam/steamapps/common/The%20Divinity%20Engine/p4api.net.DLL
----------------------------------------
SmartPropertyGrid
Assembly Version: 3.1.0.103
Win32 Version: 3.1.0.103
CodeBase: file:///C:/Games/Steam/steamapps/common/The%20Divinity%20Engine/SmartPropertyGrid.DLL
----------------------------------------
Skybound.VisualTips
Assembly Version: 1.0.2.0
Win32 Version: 1.0.2.0
CodeBase: file:///C:/Games/Steam/steamapps/common/The%20Divinity%20Engine/Skybound.VisualTips.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5476 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5476 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
nmwffqhd
Assembly Version: 1.0.5350.26123
Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Design
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5468 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
qzvdqlaq
Assembly Version: 1.0.5350.26123
Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
FreeImageNET
Assembly Version: 3.15.1.0
Win32 Version: 3.15.1.0
CodeBase: file:///C:/Games/Steam/steamapps/common/The%20Divinity%20Engine/FreeImageNET.DLL
----------------------------------------
hvrxbyse
Assembly Version: 1.0.5350.26123
Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.5420 built by: Win7SP1
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.



Joined: Aug 2014
J
stranger
Offline
stranger
J
Joined: Aug 2014
Originally Posted by Misharu

...
Just tried to make a new bit of terrain off to the side, I can morph and paint it but when I try to save it i get the following...

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at ls.Terrain.SaveOptimized(Terrain* , Char* )
at EoCPlugin.MTerrainTemplate.SaveData(String filename)
at EoCPlugin.MTerrainManager.SaveData(Entity objectToSave, String filename)
at EoCPlugin.MTerrainManager.DoSave(String filename)
at LSToolFramework.EntityController.Save(List`1 m_FilesToSave)
at LSToolFramework.EntityController.SaveModified()
at LSToolFramework.EntityControllerSaveTask.Execute()
at LSToolFramework.SaveTask.DoExecute()
at LSToolFramework.EntityController.ExecuteSaveTask()
at LSToolFramework.EntityPanel.btnSave_Click(Object , EventArgs )
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.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.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at LSToolFramework.GuiToolStrip.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5477 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Glasses
Assembly Version: 1.0.7.0
Win32 Version: 1, 0, 44, 0
CodeBase: file:///C:/Games/Steam/steamapps/common/The%20Divinity%20Engine/TheDivinityEngine.exe
----------------------------------------
msvcm90
Assembly Version: 9.0.30729.6161
Win32 Version: 9.00.30729.6161
CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_50934f2ebcb7eb57/msvcm90.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5468 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
WeifenLuo.WinFormsUI.Docking
Assembly Version: 2.5.0.24441
Win32 Version: 2.5.0.0
CodeBase: file:///C:/Games/Steam/steamapps/common/The%20Divinity%20Engine/WeifenLuo.WinFormsUI.Docking.DLL
----------------------------------------
LSToolFramework
Assembly Version: 1.0.5350.26123
Win32 Version:
CodeBase: file:///C:/Games/Steam/steamapps/common/The%20Divinity%20Engine/LSToolFramework.DLL
----------------------------------------
EoCPlugin
Assembly Version: 1.0.5350.26264
Win32 Version:
CodeBase: file:///C:/Games/Steam/steamapps/common/The%20Divinity%20Engine/EoCPlugin.DLL
----------------------------------------
LSFrameworkPlugin
Assembly Version: 1.0.5350.26139
Win32 Version:
CodeBase: file:///C:/Games/Steam/steamapps/common/The%20Divinity%20Engine/LSFrameworkPlugin.DLL
----------------------------------------
MaterialPlugin
Assembly Version: 1.0.5350.26145
Win32 Version:
CodeBase: file:///C:/Games/Steam/steamapps/common/The%20Divinity%20Engine/MaterialPlugin.DLL
----------------------------------------
StoryPlugin
Assembly Version: 1.0.5350.26145
Win32 Version:
CodeBase: file:///C:/Games/Steam/steamapps/common/The%20Divinity%20Engine/StoryPlugin.DLL
----------------------------------------
WindowsBase
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6920.5453 built by: Win7SP1GDR
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/WindowsBase/3.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
p4api.net
Assembly Version: 2013.1.59.2857
Win32 Version: 2013.1.59.2857
CodeBase: file:///C:/Games/Steam/steamapps/common/The%20Divinity%20Engine/p4api.net.DLL
----------------------------------------
SmartPropertyGrid
Assembly Version: 3.1.0.103
Win32 Version: 3.1.0.103
CodeBase: file:///C:/Games/Steam/steamapps/common/The%20Divinity%20Engine/SmartPropertyGrid.DLL
----------------------------------------
Skybound.VisualTips
Assembly Version: 1.0.2.0
Win32 Version: 1.0.2.0
CodeBase: file:///C:/Games/Steam/steamapps/common/The%20Divinity%20Engine/Skybound.VisualTips.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5476 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5476 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
nmwffqhd
Assembly Version: 1.0.5350.26123
Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Design
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5468 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
qzvdqlaq
Assembly Version: 1.0.5350.26123
Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
FreeImageNET
Assembly Version: 3.15.1.0
Win32 Version: 3.15.1.0
CodeBase: file:///C:/Games/Steam/steamapps/common/The%20Divinity%20Engine/FreeImageNET.DLL
----------------------------------------
hvrxbyse
Assembly Version: 1.0.5350.26123
Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.5420 built by: Win7SP1
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.




I have the same problem.

Creating a new module and level, i can change the terrain how i want. Loading the level from save, i get the same behaviour as described above.

In addition i can see many errors like this in the info box:

Object 'BOOK_RCP_Magic1' has an invalid action - Book:'RCP_Magic1' is an invalid bookID

Joined: Nov 2014
J
stranger
Offline
stranger
J
Joined: Nov 2014
i am having the same problem. Any ideas?
"
20:44:17 Couldn't save 'Terrain_000'. it is probable not loaded from the editor data...
"

Last edited by JustinKro; 18/11/14 04:47 AM.

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.5