Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
SRB2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jaden
SRB2
Commits
03e38e94
Commit
03e38e94
authored
5 years ago
by
SteelT
Browse files
Options
Downloads
Patches
Plain Diff
Enable use of the patch file
parent
1c1163bd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
assets/CMakeLists.txt
+2
-1
2 additions, 1 deletion
assets/CMakeLists.txt
src/config.h.in
+2
-2
2 additions, 2 deletions
src/config.h.in
src/d_main.c
+2
-2
2 additions, 2 deletions
src/d_main.c
src/doomdef.h
+1
-1
1 addition, 1 deletion
src/doomdef.h
with
7 additions
and
6 deletions
assets/CMakeLists.txt
+
2
−
1
View file @
03e38e94
...
...
@@ -19,7 +19,8 @@ set(SRB2_ASSET_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/installer"
set
(
SRB2_ASSET_HASHED
"srb2.pk3;\
player.dta;\
zones.pk3"
zones.pk3;\
patch.pk3"
CACHE STRING
"Asset filenames to apply MD5 checks. No spaces between entries!"
)
...
...
This diff is collapsed.
Click to expand it.
src/config.h.in
+
2
−
2
View file @
03e38e94
...
...
@@ -27,13 +27,13 @@
/* Manually defined asset hashes for non-CMake builds
* Last updated 2020 / 02 / 15 - v2.2.1 - main assets
* Last updated 20
??
/
??
/
??
- v2.2.
?
- patch.pk3
* Last updated 20
20
/
02
/
22
- v2.2.
2
- patch.pk3
*/
#define ASSET_HASH_SRB2_PK3 "0277c9416756627004e83cbb5b2e3e28"
#define ASSET_HASH_ZONES_PK3 "f7e88afb6af7996a834c7d663144bead"
#define ASSET_HASH_PLAYER_DTA "ad49e07b17cc662f1ad70c454910b4ae"
#ifdef USE_PATCH_DTA
#define ASSET_HASH_PATCH_PK3 "
there is no patch.pk3, only zuul
"
#define ASSET_HASH_PATCH_PK3 "
ee54330ecb743314c5f962af4db731ff
"
#endif
#endif
...
...
This diff is collapsed.
Click to expand it.
src/d_main.c
+
2
−
2
View file @
03e38e94
...
...
@@ -1215,14 +1215,14 @@ void D_SRB2Main(void)
W_InitMultipleFiles
(
startupwadfiles
,
mainwads
);
D_CleanFile
();
#ifndef DEVELOP // md5s last updated
16
/02/20 (ddmmyy)
#ifndef DEVELOP // md5s last updated
22
/02/20 (ddmmyy)
// Check MD5s of autoloaded files
W_VerifyFileMD5
(
0
,
ASSET_HASH_SRB2_PK3
);
// srb2.pk3
W_VerifyFileMD5
(
1
,
ASSET_HASH_ZONES_PK3
);
// zones.pk3
W_VerifyFileMD5
(
2
,
ASSET_HASH_PLAYER_DTA
);
// player.dta
#ifdef USE_PATCH_DTA
W_VerifyFileMD5
(
3
,
ASSET_HASH_PATCH_
DTA
);
// patch.pk3
W_VerifyFileMD5
(
3
,
ASSET_HASH_PATCH_
PK3
);
// patch.pk3
#endif
// don't check music.dta because people like to modify it, and it doesn't matter if they do
// ...except it does if they slip maps in there, and that's what W_VerifyNMUSlumps is for.
...
...
This diff is collapsed.
Click to expand it.
src/doomdef.h
+
1
−
1
View file @
03e38e94
...
...
@@ -152,7 +152,7 @@ extern char logfilename[1024];
// Does this version require an added patch file?
// Comment or uncomment this as necessary.
//
#define USE_PATCH_DTA
#define USE_PATCH_DTA
// Use .kart extension addons
//#define USE_KART
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment