BTB Pro crash when adding terrain

M

marley

  • marley

Hi, I'm just getting into BTB, but have faced some problems. I can't add any terrain: either "add to whole track" or "click & drag" crashes with a pop-up message box of some unhandled exception (see attached screenshot).

In fact, simply opening the track merge example (http://forum.racedepartment.com/downloads/btb-library/38/track-merge-example-four-1124/) is enough to crash BTB with this error message (Sorry about the message being Chinese. Rough translation in bold ):

如需叫用 Just-In-Time (JIT) 偵錯的詳細資料,
請參閱本訊息結尾處 (而非這個對話方塊) 的資訊。For detailed JIT debugging info, see end of this messsage.

************** 例外狀況文字 ************** Exception message
在應用程式中發生錯誤。 Error in application
-2005530516 (D3DERR_INVALIDCALL)
於 Microsoft.DirectX.Direct3D.IndexBuffer.SetData(Object data, Int32 lockAtOffset, LockFlags flags)
於 BobsBits.TerrainArea.CalculateMainMesh2()
於 BobsBits.TerrainAreas.Calculate()
於 BobsBits.Venue.CalculateTerrain()
於 BobsBits.Venue.LoadFromBinary(String ProjectFolder, String Filename, Boolean ForAnUndo)
於 BobsTrackBuilder.frmMain.OpenVenueFile(String ProjectFolder, String Filename, Boolean ForAnUndo)
於 BobsTrackBuilder.frmMain.mnuFileOpen_Click(Object sender, EventArgs e)
於 System.Windows.Forms.MenuItem.OnClick(EventArgs e)
於 System.Windows.Forms.MenuItem.MenuItemData.Execute()
於 System.Windows.Forms.Command.Invoke()
於 System.Windows.Forms.Command.DispatchID(Int32 id)
於 System.Windows.Forms.Control.WmCommand(Message& m)
於 System.Windows.Forms.Control.WndProc(Message& m)
於 System.Windows.Forms.ScrollableControl.WndProc(Message& m)
於 System.Windows.Forms.ContainerControl.WndProc(Message& m)
於 System.Windows.Forms.Form.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)


************** 已載入的組件 ************** Loaded Components
mscorlib
組件版本: 2.0.0.0 version
Win32 版本: 2.0.50727.3082 (QFE.050727-3000) Win32 version
程式碼基底: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll Code base (??)
----------------------------------------
MC
組件版本: 3.0.0.0
Win32 版本: 2.0.50727.3082 (QFE.050727-3000)
程式碼基底: file:///C:/WINDOWS/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
System.Windows.Forms
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
程式碼基底: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
程式碼基底: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
程式碼基底: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
ˆ†Žš†—“ˆŠ”›†š˜–˜
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.3082 (QFE.050727-3000)
程式碼基底: file:///C:/WINDOWS/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
License
組件版本: 1.0.0.0
Win32 版本: 2.0.50727.3082 (QFE.050727-3000)
程式碼基底: file:///C:/WINDOWS/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
System.Management
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
程式碼基底: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
mscorlib.resources
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.3082 (QFE.050727-3000)
程式碼基底: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
BobsTrackBuilder
組件版本: 0.7.0.6
Win32 版本: 2.0.50727.3082 (QFE.050727-3000)
程式碼基底: file:///C:/WINDOWS/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
BobsBits
組件版本: 1.1.1.5
Win32 版本: 2.0.50727.3082 (QFE.050727-3000)
程式碼基底: file:///C:/WINDOWS/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
Microsoft.DirectX
組件版本: 1.0.2902.0
Win32 版本: 5.04.00.2904
程式碼基底: file:///C:/WINDOWS/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.dll
----------------------------------------
Microsoft.DirectX.Direct3D
組件版本: 1.0.2902.0
Win32 版本: 9.05.132.0000
程式碼基底: file:///C:/WINDOWS/assembly/GAC/Microsoft.DirectX.Direct3D/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.Direct3D.dll
----------------------------------------
Microsoft.DirectX.Direct3DX
組件版本: 1.0.2911.0
Win32 版本: 9.12.589.0000
程式碼基底: file:///C:/WINDOWS/assembly/GAC/Microsoft.DirectX.Direct3DX/1.0.2911.0__31bf3856ad364e35/Microsoft.DirectX.Direct3DX.dll
----------------------------------------
Microsoft.VisualC
組件版本: 8.0.0.0
Win32 版本: 8.00.50727.3053
程式碼基底: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualC/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualC.dll
----------------------------------------
ICSharpCode.SharpZipLib
組件版本: 0.85.5.452
Win32 版本: 0.85.5.452
程式碼基底: file:///D:/BobsTrackBuilder/ICSharpCode.SharpZipLib.DLL
----------------------------------------
System.Xml
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.3082 (QFE.050727-3000)
程式碼基底: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Windows.Forms.resources
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
程式碼基底: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_zh-CHT_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------

************** JIT 偵錯 ************** JIT debugging
若要啟用 Just-In-Time (JIT) 偵錯功能,則必須在
此應用程式或電腦的 .config 檔案中,設定
system.windows.forms 區段內的 jitDebugging 值。
且該應用程式也必須在啟用偵錯的狀態下進行
編譯。

例如:

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

當 JIT 偵錯功能啟用後,會將所有未處理的例外
狀況傳送給電腦上已註冊的 JIT 偵錯工具進行處
理,而不是使用這個對話方塊來處理。

ps. I can edit the track surface itself just fine, and can also add walls and SObjects (curbs).
 

Attachments

  • BTB.jpg
    BTB.jpg
    181.6 KB · Views: 277

Latest News

Are you buying car setups?

  • Yes

  • No


Results are only viewable after voting.
Back
Top