From 0dffa0776df6dcec7d23d0a467ec22293142d2ab Mon Sep 17 00:00:00 2001 From: Sertonix Date: Wed, 2 Jul 2025 09:43:41 +0200 Subject: [PATCH] Set endianess for all struct.(un)pack calls Fixes build on big endian --- bootstrap/bootstrap | 8 ++++---- lumps/colormap/colormap | 4 ++-- lumps/genmidi/a2i_file.py | 8 ++++---- lumps/genmidi/genmidi.py | 4 ++-- lumps/genmidi/sbi_file.py | 12 ++++++------ lumps/playpal/playpal | 4 ++-- lumps/textures/build-textures | 2 +- 7 files changed, 21 insertions(+), 21 deletions(-) diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap index a6977534..d7821a01 100755 --- a/bootstrap/bootstrap +++ b/bootstrap/bootstrap @@ -31,8 +31,8 @@ def main(): # three lumps needed - see bootstrap/README.txt lumps = [ (b"PLAYPAL", read()), - (b"TEXTURE1", struct.pack("i", 0)), # empty texture1 - (b"PNAMES", struct.pack("i8s", 1, b"")), + (b"TEXTURE1", struct.pack("