K_Doom Posted June 25, 2021 (edited) 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 June 25, 2021 by K_Doom wrong phrase 0 Quote Share this post Link to post
"JL" was too short Posted June 25, 2021 Uh, it's unclear what your problem is. Are you hitting ctrl-S (or however you prefer to tell it to save your map), and then it... refuses to save? 0 Quote Share this post Link to post
K_Doom Posted June 25, 2021 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. 0 Quote Share this post Link to post
"JL" was too short Posted June 25, 2021 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. 1 Quote Share this post Link to post
K_Doom Posted June 25, 2021 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 0 Quote Share this post Link to post
"JL" was too short Posted June 25, 2021 Sorry to hear that, man. Really hope someone else can shed light on your problem. 1 Quote Share this post Link to post
SiMpLeToNiUm Posted June 25, 2021 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). 2 Quote Share this post Link to post
K_Doom Posted June 25, 2021 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. 0 Quote Share this post Link to post
boris Posted June 25, 2021 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. 10 Quote Share this post Link to post
K_Doom Posted June 25, 2021 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. 😮 0 Quote Share this post Link to post
Christian Ck. Posted June 25, 2021 (edited) . Edited June 15, 2023 by Christian Ck. 1 Quote Share this post Link to post
K_Doom Posted June 25, 2021 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). 0 Quote Share this post Link to post
Edward850 Posted June 25, 2021 (edited) 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 June 25, 2021 by Edward850 5 Quote Share this post Link to post
K_Doom Posted June 25, 2021 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 0 Quote Share this post Link to post
Dark Pulse Posted June 25, 2021 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. 3 Quote Share this post Link to post
boris Posted June 25, 2021 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. 1 Quote Share this post Link to post
Kappes Buur Posted June 25, 2021 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. 0 Quote Share this post Link to post
Doomkid Posted June 26, 2021 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. 1 Quote Share this post Link to post
QuotePilgrim Posted June 26, 2021 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. 1 Quote Share this post Link to post
ViolentBeetle Posted June 27, 2021 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. 0 Quote Share this post Link to post
Doom-X-Machina Posted June 27, 2021 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 0 Quote Share this post Link to post
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.