Blanmusic.pk3

I wanted to set up hash verification for this fucking thing, but it'd either get clobbered by music.kart or SIGSEGV
This commit is contained in:
Anonimus 2025-11-01 15:46:06 -04:00
parent 9fa62244fb
commit f014c893cf
3 changed files with 4 additions and 1 deletions

View file

@ -94,7 +94,7 @@
#define ASSET_HASH_TEXTURES_KART 0xb4211b2f32b6a291
#define ASSET_HASH_CHARS_KART 0x1e68a3e01aa5c68b
#define ASSET_HASH_MAPS_KART 0x38558ed00da41ce9
#define ASSET_HASH_MAIN_PK3 0x2b5cc40332de98dd
#define ASSET_HASH_MAIN_PK3 0xfe2fe254e69c4045
#define ASSET_HASH_MAPPATCH_PK3 0x7d1f6b96dd119296
#define ASSET_HASH_BONUSCHARS_KART 0x60e6f13d822a7461
#ifdef USE_PATCH_FILE
@ -1364,6 +1364,7 @@ static void IdentifyVersion(void)
MUSICTEST(SOUNDSNAME)
MUSICTEST(MUSICNAME)
MUSICTEST(BLANMUSICNAME)
#undef MUSICTEST

View file

@ -29,6 +29,7 @@ extern "C" {
#define MAPSNAME "maps.kart"
#define MAINNAME "main.pk3"
#define MAPPATCHNAME "mappatch.pk3"
#define BLANMUSICNAME "blanmusic.pk3"
#define BONUSCHARSNAME "bonuschars.kart"
#define PATCHNAME "patch.pk3"
#define MUSICNAME "music.kart"

View file

@ -1434,6 +1434,7 @@ void PT_FileFragment(void)
|| !strcmp(filename, PATCHNAME)
|| !strcmp(filename, SOUNDSNAME)
|| !strcmp(filename, MUSICNAME)
|| !strcmp(filename, BLANMUSICNAME)
)
{
I_Error("Tried to download base-game file: \"%s\"", filename);