This is my current development/debug version: https://bitbucket.org/radar3301/fxtoolrm/downloads/fxtoolrm-b1316-debug.rar

Give that a run, and if you encounter another error, post it here (but in [code][/code] tags).

2 Likes

Excellent! I shall certainly do so. Thank you.

Sorry for the formatting, but I am very much a newbie to these forums. Can you tell me where there is a list of formatting tags?

Again, thank you.

https://www.bbcode.org/reference.php

note: not all the formatting tags listed in the above references work on these forums.

1 Like

(debugging FXTool moved from [TOOL] NIS Editor)

@thomcomstock Did you ever get that error from the debug version I posted?

1 Like

Yes; same error.

I would really like to test and utilize this tool. What do you need from me to figure this out?

2 Likes

I was able to duplicate his error opening a modded lua file from my BSG mod. Maybe it will be of use. I can open other stock and modded fx files and play them in the tool, so it is working.

2 Likes

Can you name one default fx file that should work universally (given that the data path is correctly set) and plays with an obvious effect?

The only file that I have as yet found that gives no object instance error and seems to load is defense_field_spray.lua. However, that said, all attempts to play said file result in no effect at all, just the x,y,z lattice sitting there alone.

@radar3301, @sastrei: Thank you both for your time and effort in attempting to help with this.

1 Like

I encounter the same behavior with a lot of the fx.

Try ‘harvesting_beam_combo’ - you should get a big glowing green ball.

1 Like

Should I have ‘harvesting_beam_combo’ as a default? I cannot seem to find it.

I don’t see an “defense_field_spray” in the default FX files:
image

Yes, this is a default FX.

I need the output from the debug version I posted. It has line numbers which will help me to narrow down where to look.

Additionally, there should be a file called “manifest.log” in the same directory as the tool. Posting the contents of that would also help.

edit: pinging @thomcomstock

1 Like

Thank you for your patience.

The FX I was attempting to work with is PLASMA_GLOBULE_BLUE_LONG

Here is the output text:

************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at FXToolRM.Meshes.RingMesh.Draw() in C:\fxtoolrm\FXToolRM2\FXToolRM2\Meshes\RingMesh.cs:line 208 at FXToolRM.RingRenderer.Render() in C:\fxtoolrm\FXToolRM2\FXToolRM2\FX\Renderer\RingRenderer.cs:line 68 at FXToolRM.RenderManager.Render() in C:\fxtoolrm\FXToolRM2\FXToolRM2\FX\Renderer\RenderManager.cs:line 81 at FXToolRM.Rendering.Scene.Draw() in C:\fxtoolrm\FXToolRM2\FXToolRM2\Rendering\Scene.cs:line 48 at FXToolRM.CustomGLControl.Render() in C:\fxtoolrm\FXToolRM2\FXToolRM2\CustomGLControl.cs:line 40 at FXToolRM.MainForm.GLControl_Paint(Object sender, PaintEventArgs e) in C:\fxtoolrm\FXToolRM2\FXToolRM2\MainForm.cs:line 39 at System.Windows.Forms.Control.OnPaint(PaintEventArgs e) at OpenTK.GLControl.OnPaint(PaintEventArgs e) at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer) at System.Windows.Forms.Control.WmPaint(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ContainerControl.WndProc(Message& m) at System.Windows.Forms.UserControl.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: 4.0.0.0
Win32 Version: 4.7.2661.0 built by: NET471REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

FXToolRM
Assembly Version: 0.9.1316.0
Win32 Version: 1.0.0.0
CodeBase: file:///G:/HWRMResources/Tools/fxtoolrm_b1316_debug/FXToolRM.exe

System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2634.0 built by: NET471REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2634.0 built by: NET471REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

OpenTK
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0
CodeBase: file:///G:/HWRMResources/Tools/fxtoolrm_b1316_debug/OpenTK.DLL

System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2634.0 built by: NET471REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2558.0 built by: NET471REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2661.0 built by: NET471REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2634.0 built by: NET471REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

System.Xml.Linq
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2558.0 built by: NET471REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll

OpenTK.GLControl
Assembly Version: 1.1.0.0
Win32 Version: 1.1.2349.61993
CodeBase: file:///G:/HWRMResources/Tools/fxtoolrm_b1316_debug/OpenTK.GLControl.DLL

HWShaderManifest
Assembly Version: 1.2.37.0
Win32 Version: 1.0.0.0
CodeBase: file:///G:/HWRMResources/Tools/fxtoolrm_b1316_debug/HWShaderManifest.DLL

DevILSharp
Assembly Version: 0.0.0.0
Win32 Version:
CodeBase: file:///G:/HWRMResources/Tools/fxtoolrm_b1316_debug/DevILSharp.DLL

FSharp.Core
Assembly Version: 4.4.0.0
Win32 Version: 4.40.23020.0
CodeBase: file:///G:/HWRMResources/Tools/fxtoolrm_b1316_debug/FSharp.Core.DLL

System.IO.Compression
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2558.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.IO.Compression/v4.0_4.0.0.0__b77a5c561934e089/System.IO.Compression.dll

NLua
Assembly Version: 1.3.2.0
Win32 Version: 1.3.2
CodeBase: file:///G:/HWRMResources/Tools/fxtoolrm_b1316_debug/NLua.DLL

KeraLua
Assembly Version: 1.3.2.0
Win32 Version: 1.3.2.0
CodeBase: file:///G:/HWRMResources/Tools/fxtoolrm_b1316_debug/KeraLua.DLL

Microsoft.CSharp
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2558.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.CSharp/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll

System.Dynamic
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2558.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Dynamic/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Dynamic.dll

Anonymously Hosted DynamicMethods Assembly
Assembly Version: 0.0.0.0
Win32 Version: 4.7.2661.0 built by: NET471REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll

System.Design
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2558.0 built by: NET471REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Design/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Design.dll

Manifest.log

GL Info: 3.0.0 - Build 9.17.10.2932 Vendor: Intel Renderer: Intel(R) HD Graphics 2500 PartID: 2500 Unable to locate shader config file: shaders\dev_config.manifest Unable to locate manifest file: shaders\master.manifest

@radar3301 Any ideas?

Ah, yes. You need to have setup the data paths, and have extracted the shaders\ folder.

1 Like

Ahh, yes. I will try that. Insofar as extracting tha shaders folder, you mean from the bigfile correct?

Both done, still an error as follows:

************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at FXToolRM.Meshes.RingMesh.Draw() in C:\fxtoolrm\FXToolRM2\FXToolRM2\Meshes\RingMesh.cs:line 208 at FXToolRM.RingRenderer.Render() in C:\fxtoolrm\FXToolRM2\FXToolRM2\FX\Renderer\RingRenderer.cs:line 68 at FXToolRM.RenderManager.Render() in C:\fxtoolrm\FXToolRM2\FXToolRM2\FX\Renderer\RenderManager.cs:line 81 at FXToolRM.Rendering.Scene.Draw() in C:\fxtoolrm\FXToolRM2\FXToolRM2\Rendering\Scene.cs:line 48 at FXToolRM.CustomGLControl.Render() in C:\fxtoolrm\FXToolRM2\FXToolRM2\CustomGLControl.cs:line 40 at FXToolRM.MainForm.GLControl_Paint(Object sender, PaintEventArgs e) in C:\fxtoolrm\FXToolRM2\FXToolRM2\MainForm.cs:line 39 at System.Windows.Forms.Control.OnPaint(PaintEventArgs e) at OpenTK.GLControl.OnPaint(PaintEventArgs e) at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer) at System.Windows.Forms.Control.WmPaint(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ContainerControl.WndProc(Message& m) at System.Windows.Forms.UserControl.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)

The manifest.log reads:

GL Info: 3.0.0 - Build 9.17.10.2932 Vendor: Intel Renderer: Intel(R) HD Graphics 2500 PartID: 2500 Unable to locate shader config file: shaders\dev_config.manifest Unable to locate manifest file: shaders\master.manifest

…and yet the shaders folder (under data) contains both files.

Now, I cannot open the program at all without the following error occuring before the program even opens:

************** Exception Text ************** System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) at System.Collections.Generic.List`1.get_Item(Int32 index) at HWShaderManifest.ConfigParser.ParseNode.ExecuteIfBlock() in C:\HWShaderManifest\HWShaderManifest\ConfigParser\ParseTree.cs:line 281 at HWShaderManifest.ConfigParser.ParseNode.Execute() in C:\HWShaderManifest\HWShaderManifest\ConfigParser\ParseTree.cs:line 159 at HWShaderManifest.ConfigParser.ParseNode.ExecuteStatement() in C:\HWShaderManifest\HWShaderManifest\ConfigParser\ParseTree.cs:line 304 at HWShaderManifest.ConfigParser.ParseNode.Execute() in C:\HWShaderManifest\HWShaderManifest\ConfigParser\ParseTree.cs:line 161 at HWShaderManifest.ConfigParser.ParseNode.ExecuteBlock() in C:\HWShaderManifest\HWShaderManifest\ConfigParser\ParseTree.cs:line 177 at HWShaderManifest.ConfigParser.ParseNode.Execute() in C:\HWShaderManifest\HWShaderManifest\ConfigParser\ParseTree.cs:line 143 at HWShaderManifest.ConfigParser.ParseNode.ExecuteIfBlock() in C:\HWShaderManifest\HWShaderManifest\ConfigParser\ParseTree.cs:line 269 at HWShaderManifest.ConfigParser.ParseNode.Execute() in C:\HWShaderManifest\HWShaderManifest\ConfigParser\ParseTree.cs:line 159 at HWShaderManifest.ConfigParser.ParseNode.ExecuteStatement() in C:\HWShaderManifest\HWShaderManifest\ConfigParser\ParseTree.cs:line 304 at HWShaderManifest.ConfigParser.ParseNode.Execute() in C:\HWShaderManifest\HWShaderManifest\ConfigParser\ParseTree.cs:line 161 at HWShaderManifest.ConfigParser.ParseNode.ExecuteBlock() in C:\HWShaderManifest\HWShaderManifest\ConfigParser\ParseTree.cs:line 177 at HWShaderManifest.ConfigParser.ParseNode.Execute() in C:\HWShaderManifest\HWShaderManifest\ConfigParser\ParseTree.cs:line 143 at HWShaderManifest.ConfigParser.ParseNode.ExecuteStart() in C:\HWShaderManifest\HWShaderManifest\ConfigParser\ParseTree.cs:line 169 at HWShaderManifest.ConfigParser.ParseNode.Execute() in C:\HWShaderManifest\HWShaderManifest\ConfigParser\ParseTree.cs:line 141 at HWShaderManifest.ConfigParser.ParseTree.Execute() in C:\HWShaderManifest\HWShaderManifest\ConfigParser\ParseTree.cs:line 92 at HWShaderManifest.ManifestConfig.Load() in C:\HWShaderManifest\HWShaderManifest\ManifestConfig.cs:line 32 at HWShaderManifest.ShaderManifest.Reload() in C:\HWShaderManifest\HWShaderManifest\ShaderManifest.cs:line 72 at HWShaderManifest.ShaderManifest.Init() in C:\HWShaderManifest\HWShaderManifest\ShaderManifest.cs:line 62 at FXToolRM.MainForm.MainForm_Load(Object sender, EventArgs e) in C:\fxtoolrm\FXToolRM2\FXToolRM2\MainForm.cs:line 26 at System.Windows.Forms.Form.OnLoad(EventArgs e) at System.Windows.Forms.Form.OnCreateControl() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.WmShowWindow(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.Form.WmShowWindow(Message& m) at System.Windows.Forms.Form.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: 4.0.0.0
Win32 Version: 4.7.2661.0 built by: NET471REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

FXToolRM
Assembly Version: 0.9.1316.0
Win32 Version: 1.0.0.0
CodeBase: file:///G:/HWRMResources/Tools/fxtoolrm_b1316_debug/FXToolRM.exe

System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2634.0 built by: NET471REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2634.0 built by: NET471REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

OpenTK
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0
CodeBase: file:///G:/HWRMResources/Tools/fxtoolrm_b1316_debug/OpenTK.DLL

System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2634.0 built by: NET471REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2558.0 built by: NET471REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2661.0 built by: NET471REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2634.0 built by: NET471REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

System.Xml.Linq
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2558.0 built by: NET471REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll

OpenTK.GLControl
Assembly Version: 1.1.0.0
Win32 Version: 1.1.2349.61993
CodeBase: file:///G:/HWRMResources/Tools/fxtoolrm_b1316_debug/OpenTK.GLControl.DLL

HWShaderManifest
Assembly Version: 1.2.37.0
Win32 Version: 1.0.0.0
CodeBase: file:///G:/HWRMResources/Tools/fxtoolrm_b1316_debug/HWShaderManifest.DLL

Once I deleted the shaders, the program opened normally.

1 Like

But then it wouldn’t load the effects, right?

That is correct. Perhaps I am copying (and perhaps using) the wrong shader folder (or an extended version of same) to my data folder?

@radar3301 is there an Fx tutorial anywhere? I am looking into making a comet tail type fx, but I have no clue how to get started…