Page 1 of 1

ultdb will not open my wad

Posted: Mon May 03, 2021 9:54 am
by SPG101
hey i need sum help. whenever i try to open my .wad file, ultimate doom builder says that it could not open the wad for reading because "it may be invalid or open in another program." is there something wrong with my wad?

ive attached a copy of the wad to this post if anyone wants to go deep into the code

Re: ultdb will not open my wad

Posted: Mon May 03, 2021 11:24 am
by Kappes Buur
There is no need to go deep into the code.

A Doom map file (PWAD or IWAD) with the wad extension must have PWAD or IWAD as the first bytes.
For example

[imgur]https://i.imgur.com/Ot3Y8ds[/imgur]

likewise compressed files like rar, zip, pk3 have identifying bytes

whereas your file looks like this

[imgur]https://i.imgur.com/1gcAxXh[/imgur]

which is a total garble.
Hence the editor does not know what kind of file this is.

Re: ultdb will not open my wad

Posted: Mon May 03, 2021 3:26 pm
by SPG101
Kappes Buur wrote:There is no need to go deep into the code.

A Doom map file (PWAD or IWAD) with the wad extension must have PWAD or IWAD as the first bytes.
For example

[imgur]https://i.imgur.com/Ot3Y8ds[/imgur]

likewise compressed files like rar, zip, pk3 have identifying bytes

whereas your file looks like this

[imgur]https://i.imgur.com/1gcAxXh[/imgur]

which is a total garble.
Hence the editor does not know what kind of file this is.
ah ok, just lemme get a hex editor

Re: ultdb will not open my wad

Posted: Mon May 03, 2021 3:32 pm
by SPG101
alright, you know what, i just looked at my wad in hxd and i am convinced it got corrupted. fuck me raw i spent like 3 weeks working on it. thank god for backups.

Re: ultdb will not open my wad

Posted: Mon May 03, 2021 8:37 pm
by SPG101
SPG101 wrote:alright, you know what, i just looked at my wad in hxd and i am convinced it got corrupted. fuck me raw i spent like 3 weeks working on it. thank god for backups.
update: i had a 3 day old backup on a flash drive very good. now time to work on my cacoward-winning (hopefully) wad