Magnum Express Posted March 18, 2011 Doom Builder 2 has been acting ridiculously stupid today, but I'm not able to debug it. I was hoping that there might be an alternative way of fixing other than using JIT, so if you know how to solve the problems I have listed below, please don't hesitate to post your solution(s) : 1. Resources under Game Configurations are deleted after I exit DB2. 2. I can open maps, but I can't create new ones. 2a. A message saying that an unhandled command or something has occured and that I should debug DB2 using Just in Time debugging, but I am not able to use that program(I can't find it). I would also like to put that I uninstalled DB2 and then reinstalled it, but nothing changed. 0 Share this post Link to post
AlysiumX Posted March 18, 2011 Did you try removing and reinstalling it? 0 Share this post Link to post
Magnum Express Posted March 19, 2011 Does anybody know how to use/find the Just in Time debugging program? Online instructions for it are very poor. 0 Share this post Link to post
CodeImp Posted March 19, 2011 You don't need that unless you are a programmer. And if you are a programmer, you would already have that. Either way, I doubt this is an issue in the program. Your first issue (1) sounds more like DB2 doesn't have access to its configuration file, so it cannot store its settings. Not sure about issue 2, but it could be related. I would ask "what did you do to your OS (settings) before these problems appeared?" but I'm afraid you don't know :P For what it's worth; DB stores its settings (and a log file! hint!) in this location: Windows XP: C:\Documents and Settings\Username\Local Settings\Application Data\Doom Builder Windows Vista and 7: C:\Users\Username\AppData\Local\Doom Builder 0 Share this post Link to post
Magnum Express Posted March 19, 2011 I'm not sure what happened, but this is what the log says: Doom Builder 2.1 startup Application path: C:/Program Files/Doom Builder 2 Temporary path: C:\Documents and Settings\Mark\Local Settings\Temp\ Local settings path: C:\Documents and Settings\Mark\Local Settings\Application Data\Doom Builder Command-line arguments: 0 Loading program configuration... Starting action manager... Binding static action methods for class General... Loading main interface window... Binding action methods for MainForm object... Showing main interface window... Starting Direct3D graphics driver... Loading plugins... Loading plugin 'BuilderModes' from 'BuilderModes.dll'... Loading game configurations... Registered game configuration 'Boom' from 'Boom.cfg' Registered game configuration 'Doom' from 'Doom.cfg' Registered game configuration 'Doom 2' from 'Doom2.cfg' Registered game configuration 'Edge' from 'Edge.cfg' Registered game configuration 'Eternity' from 'Eternity_Doom.cfg' Registered game configuration 'Heretic' from 'Heretic.cfg' Registered game configuration 'Hexen' from 'Hexen.cfg' Registered game configuration 'jDoom' from 'jDoom.cfg' Registered game configuration 'Doom Legacy' from 'Legacy.cfg' Registered game configuration 'Risen3D' from 'Risen3D.cfg' Registered game configuration 'Skulltag (Doom in Doom format)' from 'Skulltag_Doom.cfg' Registered game configuration 'Skulltag (Doom in Hexen format)' from 'Skulltag_DoomHexen.cfg' Registered game configuration 'Strife' from 'Strife.cfg' Registered game configuration 'ZDoom (Doom in Doom format)' from 'ZDoom_Doom.cfg' Registered game configuration 'ZDoom (Doom in Hexen format)' from 'ZDoom_DoomHexen.cfg' Registered game configuration 'ZDoom (Doom in UDMF format)' from 'ZDoom_DoomUDMF.cfg' Registered game configuration 'ZDoom (Heretic in Hexen format)' from 'ZDoom_HereticHexen.cfg' Registered game configuration 'ZDoom (Hexen)' from 'ZDoom_Hexen.cfg' Registered game configuration 'ZDoom (Strife in Hexen format)' from 'ZDoom_StrifeHexen.cfg' Creating editing modes manager... Binding action methods for EditingManager object... Applying configuration settings... Loading compiler configurations... Registered compiler configuration 'zdoom_acc' from 'acc.cfg' Registered compiler configuration 'skulltag_acc' from 'acc.cfg' Registered compiler configuration 'bspw32' from 'bsp-w32.cfg' Registered compiler configuration 'glbsp' from 'glBSP.cfg' Registered compiler configuration 'zdbsp' from 'zdbsp.cfg' Registered compiler configuration 'zennode' from 'ZenNode.cfg' Registered compiler configuration 'hexen_acc' from 'acc.cfg' Loading nodebuilder configurations... Registered nodebuilder configuration 'bspw32_normal' from 'bsp-w32.cfg' Registered nodebuilder configuration 'bspw32_fast' from 'bsp-w32.cfg' Registered nodebuilder configuration 'glbsp_normal' from 'glBSP.cfg' Registered nodebuilder configuration 'glbsp_fast' from 'glBSP.cfg' Registered nodebuilder configuration 'zdbsp_normal' from 'zdbsp.cfg' Registered nodebuilder configuration 'zdbsp_fast' from 'zdbsp.cfg' Registered nodebuilder configuration 'zdbsp_compressed' from 'zdbsp.cfg' Registered nodebuilder configuration 'zennode_normal' from 'ZenNode.cfg' Registered nodebuilder configuration 'zennode_fast' from 'ZenNode.cfg' Loading script configurations... Loading color settings... Creating application clock... Creating types manager... Startup done Temporary directory: C:\Documents and Settings\Mark\Local Settings\Temp\bzrdzk1j Binding action methods for GridSetup object... Binding action methods for UndoManager object... Binding action methods for CopyPasteManager object... Binding action methods for Launcher object... Creating new map 'MAP01' with configuration 'ZDoom_Doom.cfg' Initializing graphics device... Loading game configuration... Creating temporary file: C:\Documents and Settings\Mark\Local Settings\Temp\bzrdzk1j\u28coays.tmp Initializing map format interface DoomMapSetIO... Creating map data structures... Loading data resources... Opening WAD resource 'C:\DOOM2\DOOM2.WAD' Opening WAD resource 'F:\Wolfenstein Resource.wad' See any problems? 0 Share this post Link to post
CodeImp Posted March 19, 2011 No, looks fine. If the log file is there, that indicates DB can write to that location just fine. Are you sure the files "C:\DOOM2\DOOM2.WAD" and "F:\Wolfenstein Resource.wad" exist and can be accessed? If you get an error dialog, try getting the error details and paste them here (there should be a read-only text field with some data in it that you can copy/paste out of there). 0 Share this post Link to post
Magnum Express Posted March 19, 2011 This is what the message says: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.IO.EndOfStreamException: Unable to read beyond the end of the stream. at System.IO.__Error.EndOfFile() at System.IO.BinaryReader.FillBuffer(Int32 numBytes) at System.IO.BinaryReader.ReadInt16() at CodeImp.DoomBuilder.Data.WADReader.LoadTextureSet(String sourcename, Stream texturedata, List`1& images, PatchNames pnames) at CodeImp.DoomBuilder.Data.WADReader.LoadTextures(PatchNames pnames) at CodeImp.DoomBuilder.Data.DataManager.LoadTextures(Dictionary`2 list) at CodeImp.DoomBuilder.Data.DataManager.Load(DataLocationList locations) at CodeImp.DoomBuilder.MapManager.InitializeNewMap(MapOptions options) at CodeImp.DoomBuilder.General.NewMap() at CodeImp.DoomBuilder.Actions.Action.Begin() at CodeImp.DoomBuilder.Actions.ActionManager.InvokeAction(String actionname) at CodeImp.DoomBuilder.Windows.MainForm.InvokeTaggedAction(Object sender, EventArgs e) 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 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.3615 (GDR.050727-3600) CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- Builder Assembly Version: 2.1.0.1356 Win32 Version: 2.1.0.1356 CodeBase: file:///C:/Program%20Files/Doom%20Builder%202/Builder.exe ---------------------------------------- System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3614 (GDR.050727-3600) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- SlimDX Assembly Version: 2.0.7.41 Win32 Version: CodeBase: file:///C:/WINDOWS/assembly/GAC_32/SlimDX/2.0.7.41__b1b0c32fd1ffe4f9/SlimDX.dll ---------------------------------------- msvcm80 Assembly Version: 8.0.50727.4053 Win32 Version: 8.00.50727.4053 CodeBase: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989/msvcm80.dll ---------------------------------------- BuilderModes Assembly Version: 2.1.0.1356 Win32 Version: 2.1.0.1356 CodeBase: file:///C:/Program%20Files/Doom%20Builder%202/Plugins/BuilderModes.dll ---------------------------------------- System.Design Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.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. By the way, I do know that both DOOM2.wad and Wolfenstein Resource.wad exist and can be accessed, do to the fact that DOOM2.wad is my main WAD, and that I personally organized Wolfenstein Resource.wad myself. 0 Share this post Link to post
CodeImp Posted March 19, 2011 Ah that helps better! In at least one of the two WAD files mentioned earlier, there is a corrupt TEXTURE1 or TEXTURE2 lump. I put my money on the "Wolfenstein Resource.wad" file. 0 Share this post Link to post
Magnum Express Posted March 19, 2011 How would I uncorrupt or fix the lump? 0 Share this post Link to post
CodeImp Posted March 19, 2011 Rebuild it I guess. That is more an editing question. I guess you can make a new lump with XWE or Slade 3. I'm not sure what corrupted it, but try to avoid it :P 0 Share this post Link to post