Add new modules for Crusader map rendering and processing

- Implemented `formats.py` to define data structures and functions for handling map data, including reading and decoding shape and map items.
- Created `png.py` for generating PNG images from shape frames and pixel data.
- Developed `sorting.py` to manage the sorting and rendering order of map items based on their properties and spatial relationships.
- Introduced `render_all_maps.py` to facilitate the rendering of all maps for specified games, including command-line argument parsing and subprocess management for rendering tasks.
This commit is contained in:
MaddoScientisto 2026-03-27 08:22:09 +01:00
commit 82ae89865a
47 changed files with 1602 additions and 1562 deletions

BIN
STATIC_REGRET/ANIM.DAT Normal file

Binary file not shown.

BIN
STATIC_REGRET/COMBAT.DAT Normal file

Binary file not shown.

BIN
STATIC_REGRET/CRED.DAT Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 301 KiB

BIN
STATIC_REGRET/CRED.PAL Normal file

Binary file not shown.

BIN
STATIC_REGRET/CREDITS.DAT Normal file

Binary file not shown.

BIN
STATIC_REGRET/DAMAGE.FLX Normal file

Binary file not shown.

BIN
STATIC_REGRET/DIFF.PAL Normal file

Binary file not shown.

BIN
STATIC_REGRET/DTABLE.FLX Normal file

Binary file not shown.

BIN
STATIC_REGRET/FIXED.DAT Normal file

Binary file not shown.

BIN
STATIC_REGRET/FONTS.DAT Normal file

Binary file not shown.

BIN
STATIC_REGRET/FONTS.FLX Normal file

Binary file not shown.

BIN
STATIC_REGRET/GAMEPAL.PAL Normal file

Binary file not shown.

BIN
STATIC_REGRET/GLOB.FLX Normal file

Binary file not shown.

BIN
STATIC_REGRET/GUMPS.FLX Normal file

Binary file not shown.

BIN
STATIC_REGRET/HELP1.BMP Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 301 KiB

BIN
STATIC_REGRET/HELP2.BMP Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 301 KiB

BIN
STATIC_REGRET/HELP3.BMP Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 301 KiB

BIN
STATIC_REGRET/HELP4.BMP Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 301 KiB

BIN
STATIC_REGRET/HELP5.BMP Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 301 KiB

BIN
STATIC_REGRET/ICONS.DAT Normal file

Binary file not shown.

BIN
STATIC_REGRET/LOAD.BMP Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 301 KiB

BIN
STATIC_REGRET/MISC.PAL Normal file

Binary file not shown.

BIN
STATIC_REGRET/MISC2.PAL Normal file

Binary file not shown.

BIN
STATIC_REGRET/MOUSE.SHP Normal file

Binary file not shown.

BIN
STATIC_REGRET/MUSIC.AMF Normal file

Binary file not shown.

BIN
STATIC_REGRET/PALETTE.DAT Normal file

Binary file not shown.

BIN
STATIC_REGRET/SAVE.BMP Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 301 KiB

BIN
STATIC_REGRET/SHAPES.FLX Normal file

Binary file not shown.

BIN
STATIC_REGRET/STAR.PAL Normal file

Binary file not shown.

BIN
STATIC_REGRET/STUFF.DAT Normal file

Binary file not shown.

BIN
STATIC_REGRET/TRIG.DAT Normal file

Binary file not shown.

BIN
STATIC_REGRET/TYPEFLAG.DAT Normal file

Binary file not shown.

BIN
STATIC_REGRET/WPNOVLAY.DAT Normal file

Binary file not shown.

BIN
STATIC_REGRET/XFORMPAL.DAT Normal file

Binary file not shown.