Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Karnizero wrote:Another thing that I miss in DB2 and Slade has (and is very, very useful) is to "Do not Show IWAD Textures". I know that I can create my own custom textures filters, but when developing two or more maps, it's annoying to have to create different filters including only the PWAD textures, for each map.
The problem I had is that my PWAD contains the textures and the maps too, so I need to add it as "resource" too, and not only as opened PWAD, or the textures filter won't appear.
Guys, one question, whenever I copy/paste a structure, the following happens
I can't correct it by putting a texture on the missing side. Is it a common error or is there a way to hinder it? Or do I have to repeat the structure every time ?
That's a function of the old Doom renderer. If the sectors either side of the line are identical, the texture is always drawn fully, even if that means it is pushed into the floor. There are ways to stop this in Zdoom but the old method which is guaranteed to work in all ports is to make the sectors in front of the line and behind it slightly different. A common method it to make one have a light value 1 unit higher than the other. This will never be noticed in game but achieves the effect that you want.
Of course, if your line is not between two sectors, you will have to split the relevant sector to use this method.
Uh... guys? I was working on a map (and I constantly save, FYI), when a power outtage occured. When it was over, I turned on my comp, tried to open my map in DB2, but I get an error message saying:
"Unhandled exception has occured in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.
Object reference not set to an instance of an object."
When I click the Details button, I get this:
Spoiler:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at CodeImp.DoomBuilder.Data.DataManager.LoadTextures(Dictionary`2 list)
at CodeImp.DoomBuilder.Data.DataManager.Load(DataLocationList locations)
at CodeImp.DoomBuilder.Data.DataManager.Load(DataLocationList configlist, DataLocationList maplist, DataLocation maplocation)
at CodeImp.DoomBuilder.MapManager.InitializeOpenMap(String filepathname, MapOptions options)
at CodeImp.DoomBuilder.General.OpenMapFileWithOptions(String filename, MapOptions options)
at CodeImp.DoomBuilder.General.OpenMapFile(String filename)
at CodeImp.DoomBuilder.Windows.MainForm.recentitem_Click(Object sender, EventArgs e)
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)
************** 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.
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.
Dunno what that all means. Anyway, I tried hitting Continue, and the window would disappear, and that little status message at the bottom would say "Opening map file...", but it would just stay like that. I also tried playing my actual .wad, only to get an error message saying:
"Execution could not continue.
Bad texture directory"
Soooo.... what am I supposed to do?? Really, I NEED this map. Oh, and I'm using the latest build according to the DRD Team website. It's like 'r1245" or something like that, released sometime this February.
Sounds like a corrupted file. The only reason I can think of that it would do this is if it were saving when the power died...
Can you open the wad in a lump editor and looking it over?
Also, were you testing the map right from DB2? I think it saves the map into a temp directory bvefore running it. If so, the last tested copy of yor map just might be hiding in one somewhere.
I hope you get it back together. Losing files stinks.
NeuralStunner wrote:Sounds like a corrupted file. The only reason I can think of that it would do this is if it were saving when the power died...
Can you open the wad in a lump editor and looking it over?
Also, were you testing the map right from DB2? I think it saves the map into a temp directory bvefore running it. If so, the last tested copy of yor map just might be hiding in one somewhere.
I hope you get it back together. Losing files stinks.
I can open the file in a lump editor, thank God. Now I just need to find that temp directory... Wherever it is/if it even exists. Um... where is it, exactly?
Also, what's the program saving those .bak files for? You'd think I'd be able to take advantage of those now...
_____________________________________
EDIT:
Thank God. I'm now currently working from MARINE Game.wad.backup1.backup1. lol
Jeez. Although this is a problem that really needs fixing. I mean, if I saved before the outtage, DB2 really shouldn't screw with my .wad. It should just stay in the state of the last state... So, if this counts as a bug report or possible change idea, there it is.
Also, I reinstalled Doom Builder 2 (the first build), because of a long story of problems related to the corrupted file. Long story short, I don't like the new builds. The brightness settings are so low I can see anything. But yeah, all is fine now. Phew...
_________________________________________________
EDIT:
Huh. I tried renaming my file to MARINE Game.wad, but the filetype is still BACKUP1. What do I do? I guess it doesn't matter too much, since they're still playable/editable, but it's weird.