Skip to content

Extraction of TITLEPIC horribly broken for specific WAD #82

@mooreye

Description

@mooreye

deutex 5.2.3 on Linux.

WAD in question: https://www.doomworld.com/idgames/levels/doom2/Ports/megawads/judgment
I used doom2.wad as IWAD.

There are 2 TITLEPIC lumps inside: one PNG, and one doom format.

When I do: deutex -get titlepic judgment.wad I get:

i WR19 Reading WAD ./doom2.wad:	(2919 entries)
w WR11 judgment.wad has more than 4046 lumps: vanilla-incompatible
i WR19 Reading WAD judgment.wad:	(5787 entries)
i PL05 Palette is Doom
i GE02 judgment.wad: TITLEPIC: extracting
w PI13 Picture TITLEPIC(0): post starts past EOL, skipping rest of column
w PI13 Picture TITLEPIC(1): post starts past EOL, skipping rest of column
w PI13 Picture TITLEPIC(2): post starts past EOL, skipping rest of column
w PI11 Picture TITLEPIC(3): column has bad offset 201261056, skipping column
w PI12 Picture TITLEPIC(4): column has suspicious offset -520
w PI16 Picture TITLEPIC: 20609 warnings omitted
i GE04 Picture insertion point is (2573,2586)
i AA99 Normal exit

The resulting titlepic.png file is 20 617 px wide and 18 254 px high. It is obviously mangled and displays seemingly random column of differently-colored pixels upon heavy zooming, like this (grey is transparent background):

Image

However, when I do deutex -xtract judgment.wad, the graphics/titlepic.png is fine:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions