Loading screens double as main-menu backgrounds. The rotation shows every .dds in gfx/loadingscreens/; the Change background picker only lists entries declared in common/frontend/backgrounds/base_backgrounds.txt, and previews each with a generated 192x144 thumbnail. Skip the declaration or the thumbnail and the picker shows vanilla art.
Add a loading screen
- On the
gfx-inputbranch, save the image asgfx/loadingscreens/load_<N>.dds- 1920x1440, DXT1 (BC1), no mipmaps,<N>one above the highest existing number. Never renumber existing files; players’ saved selections are stored by path. - Add
load_<N> = { }tocommon/frontend/backgrounds/base_backgrounds.txt. - Run
python3 tools/assets/generate_background_thumbnails.py. It writesload_<N>_small.ddsand regeneratesinterface/small_background.gfx- never edit either by hand. - Optional quote: add the next
LOADING_TIP_<n>key tolocalisation/english/loading_tips_l_english.yml. - Commit the
.dds, the_small.dds, thebase_backgrounds.txtline and the.gfxtogether.python3 tools/assets/generate_background_thumbnails.py --checkfails if any is missing or stale.
To remove one, delete the .dds, its _small.dds and its base_backgrounds.txt line, then run the generator.
Replace the main-menu image
- Overwrite
gfx/main_menu/main_menu.dds(1920x1440, DXT1, no mipmaps). It is wired byGFX_frontend_bgininterface/frontendmainviewbg.gfx. - Run
python3 tools/assets/generate_background_thumbnails.pyand commit the regeneratedmain_menu_small.ddsand.gfxwith it - the picker lists the menu image as a tile too.
