Previously this was hardcoded to be M_DOOM_scaled.png.
Most of this is now in doom_base.py, which stores wad/map/name, exposes them as properties, and also takes care of most common tasks needed for building command lines and such.