Skip to content

Screenshots not always working (tested with TGA and PNG) [RoE] #726

@assarbad

Description

@assarbad

Describe the bug

The screenshots are sometimes not working. The resulting file is then simply unusually small. The TGA files turned out with size zero but the PNG files with a little under 11 KiB. I discovered this while collecting evidence for #725 and shot00005.zip contains one such failed screenshot as sample data.

After I had noticed the issue with TGA I switched to PNG, but the result is effectively the same. Added these two lines in autoexec.cfg underneath both base and d3xp:

seta r_screenshotFormat "2"
seta r_screenshotPngCompression "3"

Your System

  • Manjaro Linux 26.0.1
  • 0ecf60c from source with cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ../neo && cmake --build . -j 10 inside my build directory.

To Reproduce

This was with RoE, see #725 for all the details. It happened at various points in the level, so I assume this isn't about where or what I am trying to screenshot.

Expected and actual behavior

I would expect screenshots to work all the time and yield a valid image file, instead the files sometimes are either empty (TGA) or all black (PNG). Didn't test JPEG, tbh.

Additional information

Here's the screenshot attached as ZIP in #725. Since I don't know if GitHub somehow processes the file and manipulates it, I attached it as ZIP there.

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