Jump to content

UDB sometimes makes me extremely grumpy...


Recommended Posts

Does anyone know what to do when I spend hours editing and UDB just doesn't save what I edited? 😒

Edit: I can successfully save my edits to the map, but when I go to the map the next day it hasn't been updated.

Edited by K_Doom
wrong phrase

Share this post


Link to post
9 minutes ago, jerrysheppy said:

Uh, não está claro qual é o seu problema. Você está pressionando ctrl-S (ou como preferir dizer para salvar seu mapa) e então ele ... se recusa a salvar?

I edited some sectors in it yesterday and saved normally. So, today what I had done was not saved, that is, it has the same shape as yesterday before I edited it.

Share this post


Link to post

Hmm.  So it told you it had saved successfully but the file hadn't been updated?  That isn't a problem I've ever encountered before. o.o

 

It almost sounds like what would happen if the file was write-protected, but I assume modern software like UDB is smart enough to tell you if that's happening.

Share this post


Link to post
1 minute ago, jerrysheppy said:

Hmm. Então ele disse que foi salvo com sucesso, mas o arquivo não foi atualizado? Esse não é um problema que eu já encontrei antes. oo

 

Quase parece o que aconteceria se o arquivo fosse protegido contra gravação, mas suponho que softwares modernos como o UDB sejam inteligentes o suficiente para dizer se isso está acontecendo.

Exactly, successfully saved but not updated. Soon it forces me to redo all the work from yesterday... zzz

Share this post


Link to post

I would ensure that wherever you're saving the map, double check that the one you're working on is the right one or that you have write privileges in that directory. It seems extremely implausible to me that you're saving a file and the changes are not being made, unless there's an esoteric hard-drive problem or a simple mix-up in which file is actually being saved and then accessed later (i.e. you have map.wad in your C:/maps/ directory and map.wad in D:/stuff/ and instead of opening the C:/ one you open the D:/ one).

Share this post


Link to post
31 minutes ago, SiMpLeToNiUm said:

Eu asseguraria que, onde quer que você esteja salvando o mapa, verifique se aquele em que você está trabalhando é o correto ou se você tem privilégios de gravação nesse diretório. Parece extremamente implausível para mim que você está salvando um arquivo e as alterações não estão sendo feitas, a menos que haja um problema esotérico no disco rígido ou uma simples confusão em que o arquivo está realmente sendo salvo e acessado mais tarde (ou seja, você tem map.wad em seu diretório C: / maps / e map.wad em D: / stuff / e em vez de abrir o C: /, você abre o D: /).

Now that you mention it, I went to check if that was it. Although I make backups of my maps everything is ok, I loaded the right map but it hadn't been updated. Probably a UDB bug.

 

Share this post


Link to post

Make sure to not have the file open in 2 different programs. For example when you have the file open in both UDB (or any other editor) and SLADE at the same time, then save your map in the map editor, then modify the wad in SLADE, the changes made to the map will be lost.

Share this post


Link to post
1 minute ago, boris said:

Certifique-se de não ter o arquivo aberto em 2 programas diferentes. Por exemplo, quando você tem o arquivo aberto no UDB (ou em qualquer outro editor) e no SLADE ao mesmo tempo, salve seu mapa no editor de mapa e modifique o wad no SLADE, as alterações feitas no mapa serão perdidas.

Oh, I believe I was modifying some weapon on the slade. That could have been it. Thanks for that idea. 😮

Share this post


Link to post
32 minutes ago, Endy McGufin said:

Sim, aconteceu comigo há 2 dias. Fiz uma área inteira e salvei, mas no dia seguinte, quando quis continuar trabalhando, não estava lá. Faça o que eu faço e economize 3,4,5 vezes antes de fechar um mapa. Ou salve uma vez, abra o UDB novamente, abra o mapa novamente e veja se ele foi salvo.

I'm doing this now, I'm also using the "save as" option and overwriting the old map so I make sure the system saves instead of always using ctrl + S (which sometimes doesn't save).

Share this post


Link to post

Ctrl S always saves. However if you saved in UDB while the same wad is open in Slade3, and then saved again in Slade3, everything you just did would be undone. Neither program knows the other is open, and both won't/can't scan the wad for changes. Save as will not fix this, it would do the exact same thing.

Edited by Edward850

Share this post


Link to post
7 minutes ago, Edward850 said:

Ctrl S sempre salva. No entanto, se você salvou no UDB enquanto o mesmo pacote estava aberto no Slade3 e depois salvou novamente no Slade3, tudo o que você fez seria desfeito. Nenhum dos programas sabe que o outro está aberto e ambos não farão / não poderão escanear o wad em busca de mudanças. Salvar como não corrigirá isso, faria exatamente a mesma coisa.

Yes, I mentioned this bearing in mind that opening and editing Slade and UDB both at the same time = stress

Share this post


Link to post

Personally if I'm making a map, I just tend to do it as a standalone map WAD, then import it into the project WAD (or PK3) as needed.

 

Saves a fair bit of stress.

 

Then again, I really don't use SLADE to edit maps, just lumps.

Share this post


Link to post
8 hours ago, Endy McGufin said:

Yea it happened to me like 2 days ago. I made a full area and saved but the next day when I wanted to continue working on it, it wasn't there. Do what I do and save 3,4,5 times before closing a map. Or save once, open UDB again, open the map again, and see if it saved.

 

You can smash your save button a billion times, UDB will not write the file again unless the map changed. If there's a dot next to the file name in the title bar the map is changed - pressing your save button will save the map and the dot will go away. If the dot isn't there pressing the save button doesn't write the file again, but only updates the .dbs file. You can see that in the status bar at the bottom left, where it says that it only updated the settings file.

Share this post


Link to post
4 hours ago, boris said:

 If there's a dot next to the file name in the title bar the map is changed

 

To think that this has been so since GZDoom Builder, that is a detail I never noticed before.

Thank you for pointing that out.

Share this post


Link to post

Ah, “never have a wad open in two programs at once” is one of those hard lessons most people learn at some point.. haven’t thought of that in years because it’s so ingrained into me. Believe it or not, modern tools like UDB and Slade are much friendlier than the older ones. Opening a wad in WadAuthor and XWE at the same time would irreversibly turn your entire wad into a Rorschach test :) lost at least 10-15 hours of work in total way back when from doing that shit.

Share this post


Link to post
51 minutes ago, Doomkid said:

Ah, “never have a wad open in two programs at once” is one of those hard lessons most people learn at some point.. haven’t thought of that in years because it’s so ingrained into me. Believe it or not, modern tools like UDB and Slade are much friendlier than the older ones. Opening a wad in WadAuthor and XWE at the same time would irreversibly turn your entire wad into a Rorschach test :) lost at least 10-15 hours of work in total way back when from doing that shit.

Not just WADs, opening the same file in two different programs in general tends to be a bad idea. Some programs, notably IDEs/text editors, will monitor the files and detect when another program makes changes to it and ask if you want to keep the changes or revert to an earlier state, but for like 90% of the other programs that's not the case. In Unix or Unix-like systems it's not uncommon for certain programs to lock a file so that it can't be opened on another program at all while it's being used. That's the kind of thing I believe should have been standardized across all types of programs and all operating systems, but one can only hope.

--

And to OP, well, you could always just use SLADE. Sure it's less advanced, but most likely 99%, if not all, of your mapping needs can be supplied by it.

Share this post


Link to post

I think SLADE can detect that wad is in use and won't save. Until you close UDB at which point SLADE will overwrite file with its own version.

Share this post


Link to post
On 6/25/2021 at 3:33 PM, boris said:

Make sure to not have the file open in 2 different programs. For example when you have the file open in both UDB (or any other editor) and SLADE at the same time, then save your map in the map editor, then modify the wad in SLADE, the changes made to the map will be lost.


Yeeeeeeah I've done that a few times... probably more than I'd like to admit to lol

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...