• Dear visitors,

    The email issue has been finally solved.
    Thank you for your patience and happy browsing.

    Team ACM.

QUESTION XPacker and cross sections - crashing KSEditor

Les Neilson

Active Member
I've tried to make a track cross section in an xpack, copying and modifying one from the Yorkshire Dales pack, but I get this error when compiling:

It might be nothing to do with the cross section at all, but I can't see what else it could be.

Do I have to rename everything if I copy and modify something from an xpack I'm already using?


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

************** Exception Text **************
System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.
at Model.load(Model* , basic_string<wchar_t\,std::char_traits<wchar_t>\,std::allocator<wchar_t> >* , GraphicsManager* , IModelImporter* )
at ksNet.ksGraphics.loadFBX(String filename, UInt32& key) in i:\manu\documents\ac-source-pc\ksnet\ksnet.cpp:line 743
at ksEditor.Form1.loadFBXFile(String file, Boolean saveRecent) in i:\Manu\Documents\ac-source-pc\ksEditor\Form1.cs:line 840
at ksEditor.Form1.openFBXToolStripMenuItem_Click(Object sender, EventArgs e) in i:\Manu\Documents\ac-source-pc\ksEditor\Form1.cs:line 826
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.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.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.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.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.3394.0 built by: NET472REL1LAST_C
CodeBase: file:/C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
ksEditor
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/SteamLibrary/steamapps/common/Assetto%20Corsa%20Editor/ksEditor.exe
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3362.0 built by: NET472REL1LAST_C
CodeBase: file:/C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_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.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:/C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
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.3362.0 built by: NET472REL1LAST_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.3056.0 built by: NET472REL1
CodeBase: file:/C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
ksNet
Assembly Version: 1.0.5884.33843
Win32 Version:
CodeBase: file:///D:/SteamLibrary/steamapps/common/Assetto%20Corsa%20Editor/ksNet.DLL
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:/C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
ksMathCore
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/SteamLibrary/steamapps/common/Assetto%20Corsa%20Editor/ksMathCore.DLL
----------------------------------------
 

Prototype

Well-Known Member
Process of elimination ?

Remove the last change you made before it crashed and then re implement one step at a time, testing each step along the way?
 

Les Neilson

Active Member
Yeah, it's the only way... I removed everything I'd added apart from the track sections using the modified cross section. I've also tried renaming the element and rebuilding the xpack (finally remembering to copy the zip from /Race Track Builder/XPacks to the track folder) Next step I suppose is to remove all the track elements I added and see if it compiles (with and without the new xpack)
 

Les Neilson

Active Member
Tried an experiment with an old project. Made some changes and checked that it compiled okay. Added in the new xpack and checked it compiles okay. Added in some track sections and it compiles okay. So that's not the problem. Went back to the original, and stripped out the new track sections, removed the xpack and tried to compile it... and I get the same error :mad:
 

Prototype

Well-Known Member
Damn frustrating. Good luck. I'm in the same boat .. got an issue I haven't been able to fix yet. Guess its part of the gig!
 

Pixelchaser

Well-Known Member
ive always had to make brand new cross sections to get it to work. taking templates never worked. and major issues with the material editing at that stage. that's best left till you`re in rtb.
 

Les Neilson

Active Member
My major problem is that I have the memory span of a senile goldfish these days. The problem is that the base map is 16384 and whenever I compile it I have to copy the 8192 version into the texture folder... Two days and I've forgotten already :rolleyes:
 

Pixelchaser

Well-Known Member
My major problem is that I have the memory span of a senile goldfish these days. The problem is that the base map is 16384 and whenever I compile it I have to copy the 8192 version into the texture folder... Two days and I've forgotten already :rolleyes:
copy it over the original too :lol:.
 

Prototype

Well-Known Member
My major problem is that I have the memory span of a senile goldfish these days. The problem is that the base map is 16384 and whenever I compile it I have to copy the 8192 version into the texture folder... Two days and I've forgotten already :rolleyes:
:ROFLMAO:
 

Pixelchaser

Well-Known Member
@Les Neilson

Ive just found all your gubbins for glaisdale. the ingame working version (just driven with sol quite nicely) and the rtb build i worked on that generated it. already on mediafire if you want links
 
Last edited:

Les Neilson

Active Member
Yes please! My pc crashed while running AC with sol and everything (first ever blue screen I've seen in windows 10) and since then I get a black sky and errors in the weather control panel. My attempts to reinstall the mods haven't worked so far...
 
Top