Larian Banner: Baldur's Gate Patch 9
Previous Thread
Next Thread
Print Thread
Joined: Jan 2015
L
Letoso Offline OP
stranger
OP Offline
stranger
L
Joined: Jan 2015
Hello mods comunity ! ( sorry for the subject name not very clear )

So here is the thing, a few weeks ago I did a art test for larian, ( Waiting for news with stress :s ) probably failed because during this test I have not succeeded to test my asset in the engine and do the final correction. My version of Divinity engine often crashes and gives me a few error message like for invalid format name when I tried to create a item to test my asset or used the wrong fbx version to convert in gr2 _-" first time I used this format in fact...

But now I whant use the divinity engine to render a few creature for my portfolio this year. So here I took a few times during the holidays to reinstall all my computer - the game - the engine and take the times to look video's tutorial. I Almost solved every problem I meeted. Except for 3 thing I don't find the solution I hope some one here could help me.

( for the screenshoot I used a old Character Armor set of my portfolio )

First thing my normal map don't work I tried several DDS format but the render is always flat or with dxt5 if my memory is good i have a kind of big black splash for my normal that totaly don't correspond to my map may be it's a problem with my dds plugin someone have solution ? what is the good setup to compress normal map for divinity engine ?

[Linked Image]


Second things : My Material editor always crash when I try to save a new material I always have this kind of message. Must I save it in a specific folder or some things else like that ?

[Linked Image]
http://img4.hostingpics.net/pics/463156BUG2.jpg

Third things when I reload the divinity engine I keep my custom mesh but there is black, every time I must delete old map and import it, ( reimport texture whitout delete doesn't work) where is the problem do you think ?

[Linked Image] http://img4.hostingpics.net/pics/822936Bug3.jpg

Last edited by Letoso; 09/01/15 11:10 AM.
Joined: Apr 2013
N
addict
Offline
addict
N
Joined: Apr 2013
Quote
My Material editor always crash when I try to save a new material I always have this kind of message. Must I save it in a specific folder or some things else like that ?


Can you click the "Details" button on the material editor error dialog and paste its contents here? It'd be helpful in debugging the issue.

Quote
First thing my normal map don't work I tried several DDS format but the render is always flat or with dxt5


The normal maps are simple DXT5 compressed textures.
I have no idea what is the cause of the blackness, failed texture binding or material compilation error maybe?
I could take a look at it if you could upload your non-working mod somewhere.

Joined: Jan 2015
L
Letoso Offline OP
stranger
OP Offline
stranger
L
Joined: Jan 2015
Hy Norbyte thanks for your answer

So for the materail if I click on detail I have this message :


Consultez la fin de ce message pour plus de d騁ails sur l'appel du d饕ogage juste-a-temps (JIT) la place de cette boite de dialogue.

************** Texte de l'exception **************
System.NullReferenceException: Le pointeur de cette m鬨”ode 鬨‖it null.
System.String.Replace(String oldValue, String newValue)
LSMaterialPlugin.MaterialEditorPanel.SaveMaterial()
LSMaterialPlugin.MaterialEditorPanel.saveAsToolStripMenuItem_Click(Object sender, EventArgs e)
LSMaterialPlugin.MaterialEditorPanel.saveToolStripMenuItem_Click(Object sender, EventArgs e)
LSMaterialPlugin.MaterialEditorPanel.saveToolStripButton_Click(Object sender, EventArgs e)
System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
System.Windows.Forms.Control.WndProc(Message& m)
System.Windows.Forms.ScrollableControl.WndProc(Message& m)
System.Windows.Forms.ToolStrip.WndProc(Message& m)
System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Assemblys charg鬯ァ?ク **************
mscorlib
Version de l'assembly?: 2.0.0.0
Version Win32?: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
CodeBase?: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Glasses
Version de l'assembly?: 1.0.7.0
Version Win32?: 1, 0, 90, 0
CodeBase?: file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/The%20Divinity%20Engine/TheDivinityEngine.exe
----------------------------------------
msvcm90
Version de l'assembly?: 9.0.30729.6161
Version Win32?: 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
Version de l'assembly?: 2.0.0.0
Version Win32?: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
CodeBase?: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Version de l'assembly?: 2.0.0.0
Version Win32?: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
CodeBase?: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Version de l'assembly?: 2.0.0.0
Version Win32?: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
CodeBase?: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
WeifenLuo.WinFormsUI.Docking
Version de l'assembly?: 2.5.0.24441
Version Win32?: 2.5.0.0
CodeBase?: file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/The%20Divinity%20Engine/WeifenLuo.WinFormsUI.Docking.DLL
----------------------------------------
Accessibility
Version de l'assembly?: 2.0.0.0
Version Win32?: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
CodeBase?: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
LSToolFramework
Version de l'assembly?: 1.0.5400.32293
Version Win32?:
CodeBase?: file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/The%20Divinity%20Engine/LSToolFramework.DLL
----------------------------------------
EoCPlugin
Version de l'assembly?: 1.0.5400.32455
Version Win32?:
CodeBase?: file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/The%20Divinity%20Engine/EoCPlugin.DLL
----------------------------------------
LSFrameworkPlugin
Version de l'assembly?: 1.0.5400.32309
Version Win32?:
CodeBase?: file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/The%20Divinity%20Engine/LSFrameworkPlugin.DLL
----------------------------------------
MaterialPlugin
Version de l'assembly?: 1.0.5400.32317
Version Win32?:
CodeBase?: file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/The%20Divinity%20Engine/MaterialPlugin.DLL
----------------------------------------
StoryPlugin
Version de l'assembly?: 1.0.5400.32316
Version Win32?:
CodeBase?: file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/The%20Divinity%20Engine/StoryPlugin.DLL
----------------------------------------
WindowsBase
Version de l'assembly?: 3.0.0.0
Version Win32?: 3.0.6920.5453 built by: Win7SP1GDR
CodeBase?: file:///C:/Windows/assembly/GAC_MSIL/WindowsBase/3.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
p4api.net
Version de l'assembly?: 2013.1.59.2857
Version Win32?: 2013.1.59.2857
CodeBase?: file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/The%20Divinity%20Engine/p4api.net.DLL
----------------------------------------
SmartPropertyGrid
Version de l'assembly?: 3.1.0.103
Version Win32?: 3.1.0.103
CodeBase?: file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/The%20Divinity%20Engine/SmartPropertyGrid.DLL
----------------------------------------
Skybound.VisualTips
Version de l'assembly?: 1.0.2.0
Version Win32?: 1.0.2.0
CodeBase?: file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/The%20Divinity%20Engine/Skybound.VisualTips.DLL
----------------------------------------
System.resources
Version de l'assembly?: 2.0.0.0
Version Win32?: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase?: file:///C:/Windows/assembly/GAC_MSIL/System.resources/2.0.0.0_fr_b77a5c561934e089/System.resources.dll
----------------------------------------
System.Xml
Version de l'assembly?: 2.0.0.0
Version Win32?: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
CodeBase?: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Version de l'assembly?: 2.0.0.0
Version Win32?: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
CodeBase?: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Design
Version de l'assembly?: 2.0.0.0
Version Win32?: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
CodeBase?: file:///C:/Windows/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
dgwytyax
Version de l'assembly?: 1.0.5400.32293
Version Win32?: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
CodeBase?: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
FreeImageNET
Version de l'assembly?: 3.15.1.0
Version Win32?: 3.15.1.0
CodeBase?: file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/The%20Divinity%20Engine/FreeImageNET.DLL
----------------------------------------
System.Windows.Forms.resources
Version de l'assembly?: 2.0.0.0
Version Win32?: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase?: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_fr_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
mscorlib.resources
Version de l'assembly?: 2.0.0.0
Version Win32?: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
CodeBase?: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
gcs1wdsj
Version de l'assembly?: 1.0.5400.32293
Version Win32?: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
CodeBase?: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
NodeGraph
Version de l'assembly?: 1.0.0.0
Version Win32?: 1.0.0.0
CodeBase?: file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/The%20Divinity%20Engine/NodeGraph.DLL
----------------------------------------
MaterialGenerator
Version de l'assembly?: 1.0.0.0
Version Win32?: 1.0.0.0
CodeBase?: file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/The%20Divinity%20Engine/MaterialGenerator.DLL
----------------------------------------
System.Runtime.Serialization
Version de l'assembly?: 3.0.0.0
Version Win32?: 3.0.4506.5463 (Win7SP1GDR.030729-5400)
CodeBase?: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Serialization/3.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
System.Core
Version de l'assembly?: 3.5.0.0
Version Win32?: 3.5.30729.5420 built by: Win7SP1
CodeBase?: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------

************** D鬣賓gage JIT **************
Pour activer le d鬣賓gage juste-?temps (JIT), le fichier de configuration pour cette application ou cet ordinateur (machine.config) doit avoir la valeur jitDebugging d鬯・?ュinie dans la section system.windows.forms. L'application doit 鬥ョalement 鬨〉e compil鬥・ avec le d鬣蛭age activ?

Par exemple?:

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

Lorsque le d鬣賓gage juste-a-temps est activ ? les exceptions non g鬧サ鬥・ seront envoy鬥・s au d鬣賓gueur JIT inscrit sur l'ordinateur plut? que d'鬨〉e g鬧サ鬥・s par cette boite de dialogue.

For the normal I retry with the DXT5 and DXT5 Nm and taked a screen of black bug in case probably a stupid forgotten but I don't know what :s

[Linked Image]


Last edited by Letoso; 09/01/15 08:25 PM.
Joined: Apr 2013
N
addict
Offline
addict
N
Joined: Apr 2013
The material error is caused by not saving your material inside your the editor data folder, specifically <SteamApps>\common\Divinity - Original Sin\Data\Editor\.
You *must* save it in one of its subfolders, preferably Editor\Mods\%yourModName%\Assets\Materials.

Normal maps must be saved using "pure" DXT5, not DXT5Nm.
DXT5Nm swizzles the color channels so the normal map uses alpha instead of the red channel, but D:OS expects non-Nm normal maps, so don't use this format.

Joined: Jan 2015
L
Letoso Offline OP
stranger
OP Offline
stranger
L
Joined: Jan 2015
I tried that you said for the path, it's still not working, but I just saw that all my folder and under folder is in reading-only. I cant change it now but it's probably a part of all the last problem I meet I think.

Ok the problem must be in my dds plugin because the right screenshoot use the pure DXT5 format.
I will try to reinstall all photoshop and dds plugin when i will have time. Thank for your help Norbyte.

Joined: Oct 2013
enthusiast
Offline
enthusiast
Joined: Oct 2013
The normal maps divinity uses are an utter confusing conundrum and are the primary reason I stopped making custom assets, I have no idea how to do these normal maps without manually editing EACH of them by hand in photoshop via "Mode -> Multichannel" wink

What your problem is the following

Your OWN normal maps go RGB (red/green/blue)


Divinity uses other channel order...

R = is black (ie, a black fill) Depending on the shader, it can have some functions though
G = what is normally R
B = what is normally B
A = what is normally G

And if this sounds confusing then please take heart, I just had to look this up 5 times to be sure I don't confuse it. And I am still not sure what I wrote there makes sense to anyone but me.

As you can guess this is a lot of fun to do for 500 normal maps.

And remember, all DDS textures are flip-vert wink

For the game to load your assets reach load, you need to make them a proper resource with paths inside your mod folder

Divinity - Original Sin\Data\Mods\YourMod

As long as it's in that folder, part of a resource, and your item is part of a template, it loads them on start.

If stuff is read-only then... I have no idea, my folders are not read-only. Run editor as admin?

Ps.: I export via dds plugin as well, and that works. Your weird splash of oddness is because channel order is wrong.

Joined: Jan 2015
L
Letoso Offline OP
stranger
OP Offline
stranger
L
Joined: Jan 2015
Heu... it's sure it's sound a little strange ^^" but every engine have this own tips for exemple I know a lot of poeple who use the blue chanel of normap map to stock a fx map on UE.

I don't think it's a problem if you take the time to create a specific script for this. But here I start to have pain in the head in trying again and again. I will try again tomorow. And thank for the remind to reverse the veritcal with DXT5 I so rarely used that format I must says I has totaly forget this point :s



For load my ressources is not a problem anymore In usualy I import directely from my portfolio folder but I all copy directely on data folder before import in the engine and it's work now.



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