Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
kermode

DB2 error

Recommended Posts

Doombuilder2 relies on two support files, the correct versions of SlimDX and .NET Framework.
These files are installed when you install the official version builder2_setup_1553.exe which can be downloaded from http://doombuilder.com/index.php?p=downloads .

Once they are in place you can safely use any version of DB2. The latest version is DB2_r1715.

Which version are you using and did you install DB2 through the above installer?

Share this post


Link to post

I didn't notice anything with that name but I had already done a powerful uninstall of whatever version of Doom Builder I had & reinstalled the latest version from the link you posted. I checked the control panel to make sure I've got SlimDX & .Net Framework, which I do. Just this morning I installed all the Windows updates I'd been missing & I still get the same error. This only started happening in the last couple weeks but other than those Windows updates I don't remember what might have changed in that period. Here's part of the log file which looks like it goes through the saving process, if it helps:

Saving map to file: C:\Games\DOOM\editing stuff\wads\{wad}.wad
Writing map data structures to file...
Creating compiler 'zennode' on interface 'NodesCompiler'...
Copying required files for compiler...
Creating temporary build file: C:\Users\{user}\AppData\Local\Temp\2lyko0cj\2lyko0cj.tmp
Copying map lumps to temporary build file...
Running compiler...
Program: C:\Users\{user}\AppData\Local\Temp\2lyko0cj\ZenNode.exe
Arguments: 2lyko0cj.tmp -o 2lyko0cj.tmp
Compiler process has finished.
Compile time: 0.63 seconds
Copying nodebuilder lumps to temporary file...
Removing temporary compiler files...
Stopping background resource loading...
Suspended data resource 'C:\Games\DOOM\prboom-2.5.0-win32\DOOM2.WAD'
Suspended data resource 'C:\Games\DOOM\editing stuff\wads\{wad}.wad'
IO Error while writing target file: C:\Games\DOOM\editing stuff\wads\{wad}.wad. Please make sure the location is accessible and not in use by another program.
Resumed data resource 'C:\Games\DOOM\prboom-2.5.0-win32\DOOM2.WAD'
Resumed data resource 'C:\Games\DOOM\editing stuff\wads\{wad}.wad'
Starting background resource loading...
Map saving failed

Share this post


Link to post

The line saying

IO Error while writing target file: C:\Games\DOOM\editing stuff\wads\{wad}.wad.
Please make sure the location is accessible and not in use by another program.

is a bit worrysome. Does this happen with just this pwad or with any pwad?

While I use GZDB, I just tried DB2r1715 on both, Win7 and Win10, without any ill effect.
Just in case, here is the logfile from my editing session

Spoiler

Doom Builder 2.1 startup
Application path: H:/PWAD_EDITING/DB2_r1715
Temporary path: C:\Users\1200\AppData\Local\Temp\
Local settings path: C:\Users\1200\AppData\Local\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 plugin 'CommentsPanel' from 'CommentsPanel.dll'...
Loading plugin 'CopyPasteSectorProps' from 'CopyPasteSectorProps.dll'...
Binding action methods for BuilderPlug object...
Loading plugin 'DrawCircle' from 'DrawCircle.dll'...
Loading plugin 'GZDoomEditing' from 'GZDoomEditing.dll'...
Loading plugin 'ImageDrawingExample' from 'ImageDrawingExample.dll'...
Loading plugin 'Lighting' from 'Lighting.dll'...
Binding action methods for BuilderPlug object...
Loading plugin 'MakeCircles' from 'MakeCircles.dll'...
Loading plugin 'NodesViewer' from 'NodesViewer.dll'...
Binding action methods for BuilderPlug object...
Loading plugin 'SectInfo' from 'SectInfo.dll'...
Loading plugin 'StairSectorBuilder' from 'StairSectorBuilder.dll'...
Binding action methods for BuilderPlug object...
Loading plugin 'Statistics' from 'Statistics.dll'...
Loading plugin 'TagRange' from 'TagRange.dll'...
Binding action methods for BuilderPlug object...
Loading plugin 'USDF' from 'USDF.dll'...
Binding action methods for BuilderPlug object...
Loading plugin 'VisplaneExplorer' from 'VisplaneExplorer.dll'...
Binding action methods for BuilderPlug object...
Loading plugin 'WadAuthorMode' from 'WadAuthorMode.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 'Zandronum (Doom in Doom format)' from 'Skulltag_Doom.cfg'
Registered game configuration 'Zandronum (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 'deepbsp' from 'deepbsp.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 'deepbsp_normal' from 'deepbsp.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:\Users\1200\AppData\Local\Temp\t3yblpk4
Binding action methods for GridSetup object...
Binding action methods for UndoManager object...
Binding action methods for CopyPasteManager object...
Binding action methods for Launcher object...
Opening map 'E1M1' with configuration 'Doom.cfg'
Initializing graphics device...
Loading game configuration...
Creating temporary file: C:\Users\1200\AppData\Local\Temp\t3yblpk4\0t7w9ab2.tmp
Opening source file: H:\PWADs\FROM_CDs\DZONE_GOLD\LEVELS\{wad}.wad
Copying map lumps to temporary file...
Initializing map format interface DoomMapSetIO...
Reading map data structures from file...
Loading data resources...
Opening WAD resource 'H:\PWAD_EDITING\IWADS\DOOMU.WAD'
Opening WAD resource 'H:\PWADs\FROM_CDs\DZONE_GOLD\LEVELS\{wad}.wad'
Starting background resource loading...
Loaded 287 textures, 107 flats, 0 colormaps, 86 sprites, 0 decorate things
Binding action methods for MapManager object...
Preparing to change editing mode to VerticesMode...
Editing mode changes from NULL to VerticesMode
Previous stable mode is NULL, previous classic mode is NULL
Binding action methods for VerticesMode object...
Editing mode change complete.
Map loading done
Resources loading took 1.19 seconds
Saving map to file: C:\Users\1200\AppData\Local\Temp\t3yblpk4\td873l9c.wad
Stopping background resource loading...
Suspended data resource 'H:\PWAD_EDITING\IWADS\DOOMU.WAD'
Suspended data resource 'H:\PWADs\FROM_CDs\DZONE_GOLD\LEVELS\{wad}.wad'
Resumed data resource 'H:\PWAD_EDITING\IWADS\DOOMU.WAD'
Resumed data resource 'H:\PWADs\FROM_CDs\DZONE_GOLD\LEVELS\{wad}.wad'
Starting background resource loading...
Map saving done
Resources loading took 0.02 seconds
Running test program: H:\DOOM\ENGINES\PRBOOM_2.5.0\prboom.exe
Program parameters: -iwad "H:\PWAD_E~1\IWADS\DOOMU.WAD" -skill "3" -file "H:\PWADs\FROM_CDs\DZONE_~1\LEVELS\{wad}.wad" "C:\Users\1200\AppData\Local\Temp\t3yblpk4\td873l9c.wad" -warp 1 1
Test program has finished.
Run time: 327.80 seconds
Saving map to file: H:\PWADs\FROM_CDs\DZONE_GOLD\LEVELS\{[wad]}.wad
Stopping background resource loading...
Suspended data resource 'H:\PWAD_EDITING\IWADS\DOOMU.WAD'
Suspended data resource 'H:\PWADs\FROM_CDs\DZONE_GOLD\LEVELS\{wad}.wad'
Resumed data resource 'H:\PWAD_EDITING\IWADS\DOOMU.WAD'
Resumed data resource 'H:\PWADs\FROM_CDs\DZONE_GOLD\LEVELS\{wad}.wad'
Starting background resource loading...
Resources loading took 0.02 seconds
Stopping background resource loading...
Closing WAD resource 'H:\PWAD_EDITING\IWADS\DOOMU.WAD'
Closing WAD resource 'H:\PWADs\FROM_CDs\DZONE_GOLD\LEVELS\{wad}.wad'
Reloading game configuration...
Reloading data resources...
Opening WAD resource 'H:\PWAD_EDITING\IWADS\DOOMU.WAD'
Opening WAD resource 'H:\PWADs\FROM_CDs\DZONE_GOLD\LEVELS\{[wad]}.wad'
Starting background resource loading...
Loaded 287 textures, 107 flats, 0 colormaps, 86 sprites, 0 decorate things
Map saving done
Resources loading took 0.87 seconds
Unloading map...
Stopping editing mode...
Unbinding action methods for VerticesMode object...
Editing mode changes from VerticesMode to NULL
Previous stable mode is VerticesMode, previous classic mode is VerticesMode
Editing mode change complete.
Unbinding action methods for MapManager object...
Unbinding action methods for GridSetup object...
Unbinding action methods for Launcher object...
Unbinding action methods for CopyPasteManager object...
Unbinding action methods for UndoManager object...
All undo and redo levels cleared.
Unloading data resources...
Stopping background resource loading...
Closing WAD resource 'H:\PWAD_EDITING\IWADS\DOOMU.WAD'
Closing WAD resource 'H:\PWADs\FROM_CDs\DZONE_GOLD\LEVELS\{[wad]}.wad'
Closing temporary file...
Unloading map data...
Stopping graphics device...
Removing temporary directory...
Map unload done
Closing main interface window...
Unbinding action methods for MainForm object...
Termination requested
Unbinding static action methods for class General...
Saving program configuration...
Saving program configuration...
Unbinding action methods for EditingManager object...
Termination done

It might be an idea to upload the offending pwad for us to have a go at it.

Share this post


Link to post
Kappes Buur said:

The line saying

IO Error while writing target file: C:\Games\DOOM\editing stuff\wads\{wad}.wad.
Please make sure the location is accessible and not in use by another program.

is a bit worrysome. Does this happen with just this pwad or with any pwad?


After a bout of heart failure, I managed to salvage the wad from a backup. Luckily Doom Builder makes backups automatically because the most recent version I'd saved is old & missing at least a half-dozen maps. The backup I found seems to save ok, and the old pwad is the only one that gives me any trouble. I wonder if I should just scrap that one & carry on with the backup? I'm still a bit interested to find out what's going on, or what I did to cause it to happen. I wondered about that line also; I don't know why it would say that, as it only started occurring in the last couple weeks.

While I use GZDB, I just tried DB2r1715 on both, Win7 and Win10, without any ill effect.

I don't know where to look to see if I have that version. I didn't see it on the website or in the About Doom Builder in the help menu.

Share this post


Link to post

My crystal ball tells me that your wad file has "Read only" flag set.

Share this post


Link to post
kermode said:

I don't know where to look to see if I have that version. I didn't see it on the website or in the About Doom Builder in the help menu.

The DB2 unofficial builds website had been taken down because DB2 is no longer worked on and has not been worked for at least 3 years.

You might want to consider using GZDoom Builder which is the continuation of Doombuilder2, programmed by MaxED, and has so much more to offer, not the least a far more robust program structure. Since you are mapping for PrBOOM, there are many many more features to make building maps a pure joy. Especially the GZDB Visual Mode.

Glad that you solved your problem.

MaxED said:

My crystal ball tells me that your wad file has "Read only" flag set.


I wonder if that was/is the case.

Share this post


Link to post

Changing the security settings for the wad file or running doom builder as an admin doesn't seem to change anything. Should I just try to shred the original then?

Share this post


Link to post
kermode said:

Changing the security settings for the wad file or running doom builder as an admin doesn't seem to change anything. Should I just try to shred the original then?


Before shredding the pwad I would load it into Slade3 and do
Archive - Maintenance on it to see if it can be resurrected.

For that matter, while you have the pwad open in Slade3, try to copy/paste lumps to a new archive.
Or upload or PM it, as I mentioned earlier, to have somebody else take a look.

Share this post


Link to post

I tried Archive - Maintenance & found a few unused patches and these duplicated entry names. I don't know how this stuff happens or exactly what it means so I didn't save anything.

REJECT appears 29 times
BLOCKMAP appears 29 times
SIDEDEFS appears 29 times
SECTORS appears 29 times
THINGS appears 29 times
LINEDEFS appears 29 times
SEGS appears 29 times
NODES appears 29 times
VERTEXES appears 29 times
SSECTORS appears 29 times

Share this post


Link to post
kermode said:

I tried Archive - Maintenance & found a few unused patches and these duplicated entry names. I don't know how this stuff happens or exactly what it means so I didn't save anything.


These lumps all belong to the MAPxx namespace, as in



That just means that there are 29 maps which make up your pwad.

For comparison, namespaces for different formats :)

Spoiler

See http://zdoom.org/wiki/Level

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×