ultdb will not open my wad

Mon May 03, 2021 9:54 am

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
You do not have the required permissions to view the files attached to this post.

Re: ultdb will not open my wad

Mon May 03, 2021 11:24 am

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



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

whereas your file looks like this



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

Re: ultdb will not open my wad

Mon May 03, 2021 3:26 pm

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



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

whereas your file looks like this



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

Mon May 03, 2021 3:32 pm

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

Mon May 03, 2021 8:37 pm

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