Doom Marine
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Can nodebuilders crash and erase a map?
 
Author
All times are GMT. The time now is 06:38. Post New Thread    Post A Reply
Black Metal
Mini-Member


Posts: 56
Registered: 06-08


After probably 5 hours of work on one level... randomly the nodes do not build and, upon exiting, my entire file is erased (like DB would say open map01... map 05, map 07...map 32).

I was about to put my fist through something until I found I kept backups.

But seriously, does this happen often? I lost a small bit of work, but if no backups were created I would have lost everything and probably quit the series I was working on for a week, or maybe forever.
It isn't like I just lost the parts I was working on since my last save, it just literally CLEANED the entire level from existence... :/

Does this occur when you are working with slopes/deep water stuff/scripts?

Old Post 06-30-08 00:23 #
Black Metal is offline Profile || Blog || PM || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Kyka
needs to LURK MORE


Posts: 362
Registered: 06-08


What editor do you use, and what nodebuilder?

I use Doombuilder and the default nodebuilder -bsp-w32.exe that comes with it. Curiously enough, Doombuilder comes with three nodebuilders, but the other two do not seem to work once I have used the default one on a level, thought that could just be my advanced level of technical uselessness. To answer your question, a nodebuilder should not be able to wipe a map. the map exists as an entity separate from the nodebuilder. Ive never had that happen on any nodebuilder that ive used, and ive used a number of different ones over the years.

http://www.doomworld.com/vb/doom-bu...om-doombuilder/

may be of some use to you.

hope that helps

P.S. never give up on something you start. Setbacks will just make it better if you push through them...

good luck.

Old Post 06-30-08 10:00 #
Kyka is online now Profile || Blog || PM || Email || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Nuxius
Member


Posts: 441
Registered: 02-05


IIRC, a bad nodes build will screw your map up, as it will cause lines to go all over the place, like this:

http://img404.imageshack.us/img404/9651/dammitxk1.th.png
(thanks Dutch! :p)

Someone feel free to correct me if I'm wrong, though.

I've never heard of it deleting a map, though.

Old Post 06-30-08 12:35 #
Nuxius is offline Profile || Blog || PM || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
kristus
Godlike/Doglike


Posts: 5955
Registered: 07-00


I've had DB erase maps in a multi map wad file. I lost an entire map while working on Phobia to that actually. Well, half a map anyway. Had to restart map05 from scratch. Damn that was boring.

Old Post 06-30-08 12:37 #
kristus is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
myk
The Disciple of Lüt


Posts: 10005
Registered: 04-02



kristus said:
Had to restart map05 from scratch. Damn that was boring.
But didn't you get some good new ideas as you redid it? Having to redo stuff certainly is annoying or tedious, but it often happens to me that the second time brings improved results.

Old Post 06-30-08 13:28 #
myk is online now Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Black Metal
Mini-Member


Posts: 56
Registered: 06-08



myk said:
But didn't you get some good new ideas as you redid it? Having to redo stuff certainly is annoying or tedious, but it often happens to me that the second time brings improved results.


Yeah, it probably would.

Just usually if you put like 20 hours into a map (over a period of days, or weeks depending on how fast one works) it depresses you a lot. Though if you had good ideas, I found it helps makes my maps neater.

Old Post 06-30-08 15:44 #
Black Metal is offline Profile || Blog || PM || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Haloless0320
I dont know how to use punctuation.Properly


Posts: 506
Registered: 02-04



kristus said:
I've had DB erase maps in a multi map wad file. I lost an entire map while working on Phobia to that actually. Well, half a map anyway. Had to restart map05 from scratch. Damn that was boring.

Yeah,I've had that happen to me when I was working on the Kharkov map for Redstar...finally said fuck Kharkov and revised the story.

Old Post 06-30-08 19:29 #
Haloless0320 is offline Profile || Blog || PM || Email || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
deep
as in Deepsea


Posts: 1066
Registered: 09-01



Black Metal said:
After probably 5 hours of work on one level... randomly the nodes do not build and, upon exiting, my entire file is erased (like DB would say open map01... map 05, map 07...map 32).

I was about to put my fist through something until I found I kept backups.

But seriously, does this happen often? I lost a small bit of work, but if no backups were created I would have lost everything and probably quit the series I was working on for a week, or maybe forever.
It isn't like I just lost the parts I was working on since my last save, it just literally CLEANED the entire level from existence... :/

Does this occur when you are working with slopes/deep water stuff/scripts?



Yes, a node builder CAN erase a file, because it rewrites the file. Any program that rewrites your PWAD has the potential to destroy parts of the PWAD. That included editors and PWAD managers like XWE.

Nodes themselves can never destroy any data, just appearance of level may be affected. All that takes to fix is to rebuild using something else.

Old Post 07-01-08 04:37 #
deep is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 2133
Registered: 08-00


This is why smart software doesn't do this:

1. erase old file
2. write new file

Smart software does this:

1. write new file to temp file
2. if temp file passes checksum/hash/whatever, rename old file to backup
3. rename temp file to old file's filename

This is good failure-proof software design. The former is garbage.

Old Post 07-01-08 05:15 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
GhostlyDeath
Green Marine


Posts: 48
Registered: 08-05



Quasar said:
This is why smart software doesn't do this:

1. erase old file
2. write new file

Smart software does this:

1. write new file to temp file
2. if temp file passes checksum/hash/whatever, rename old file to backup
3. rename temp file to old file's filename

This is good failure-proof software design. The former is garbage.



I do that [smart way] all the time!

Old Post 07-01-08 05:24 #
GhostlyDeath is offline Profile || Blog || PM || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Ajapted
Forum Regular


Posts: 680
Registered: 04-02


This thread is mainly about how Doom Builder manages wad files when invoking the node builder.

In the documentation for glBSP I recommended people DON'T use the same file for both input and output. However if you do it (take the risk), the only time it could corrupt the file is when it saves all the data from memory into the output file, which is very quick. Pressing Ctrl-C during the build process will not harm the file.

Old Post 07-01-08 05:27 #
Ajapted is online now Profile || Blog || PM || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Graf Zahl
Forum Legend


Posts: 4049
Registered: 01-03



Quasar said:

This is good failure-proof software design. The former is garbage.



Too much software still chooses the garbage design... :(

Old Post 07-01-08 19:31 #
Graf Zahl is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Creaphis
I will deliberately take a contrary position just for the sake of writing incredibly long arguments


Posts: 911
Registered: 10-05



Ajapted said:
This thread is mainly about how Doom Builder manages wad files when invoking the node builder.

In the documentation for glBSP I recommended people DON'T use the same file for both input and output. However if you do it (take the risk), the only time it could corrupt the file is when it saves all the data from memory into the output file, which is very quick. Pressing Ctrl-C during the build process will not harm the file.



Honestly I don't understand anything about differences between nodebuilders or the benefits of different command line options. This is far too vague a question, but - what should I be using?

Old Post 07-01-08 19:45 #
Creaphis is offline Profile || Blog || PM || Email || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
fraggle
Super Moderator


Posts: 4246
Registered: 07-00


Always always always always backup. Use a version control system if possible.

Old Post 07-01-08 22:02 #
fraggle is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Haloless0320
I dont know how to use punctuation.Properly


Posts: 506
Registered: 02-04


Hm...this thread was pretty informative.

Old Post 07-01-08 22:25 #
Haloless0320 is offline Profile || Blog || PM || Email || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
stewboy
Junior Member


Posts: 114
Registered: 05-05



Nuxius said:
IIRC, a bad nodes build will screw your map up, as it will cause lines to go all over the place, like this:

[image]
(thanks Dutch! :p)

Someone feel free to correct me if I'm wrong, though.

I've never heard of it deleting a map, though.



I believe that happens when you open a Doom in Hexen format map in Doom in Doom format, or it could be vice versa. It's something to do with formats, anyway.

Last edited by stewboy on 07-09-08 at 23:45

Old Post 07-02-08 22:37 #
stewboy is offline Profile || Blog || PM || Email || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 2133
Registered: 08-00


That phenomenon happens in that case because Hexen's maplinedef_t is larger than Doom's, offsetting all the linedefs inappropriately when reading one map type as the other.

But this could also just be the result of plain old data corruption. If the lump were out of position by even one byte, you could expect to see something like this. Or if it were just filled with plain random garbage, the end results probably wouldn't look much different. It's like a pile of Pick-Up Sticks.

Old Post 07-08-08 07:49 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
All times are GMT. The time now is 06:38. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Can nodebuilders crash and erase a map?

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Forums Directory