Skip to content

Commit

Permalink
embed keymap.cfg from svn r6499
Browse files Browse the repository at this point in the history
  • Loading branch information
sauerbraten committed Apr 27, 2021
1 parent bb231c0 commit a980f5e
Show file tree
Hide file tree
Showing 10 changed files with 282 additions and 44 deletions.
25 changes: 14 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: build install clean apply-patches gzip-menus _include-menus clean-sauer update-src apply-to-vanilla check-env
.PHONY: build install clean apply-patches gzip-cfgs embed-cfgs clean-sauer update-src apply-to-vanilla check-env

PATCH=patch --strip=0 --remove-empty-files --ignore-whitespace

Expand All @@ -8,7 +8,7 @@ ifneq (,$(wildcard ~/sauerbraten-code))
endif
endif

build: update-src apply-patches gzip-menus _include-menus
build: update-src apply-patches embed-cfgs
cd src && make

install:
Expand All @@ -32,7 +32,7 @@ apply-patches:
$(PATCH) < patches/listteams.patch
$(PATCH) < patches/extrapings.patch
$(PATCH) < patches/execfile.patch
$(PATCH) < patches/include_p1xbraten_cfgs.patch
$(PATCH) < patches/embedded_cfgs.patch
$(PATCH) < patches/tex_commands.patch
$(PATCH) < patches/decouple_framedrawing.patch
$(PATCH) < patches/crosshaircolor.patch
Expand All @@ -45,18 +45,21 @@ apply-patches:
unix2dos src/vcpp/sauerbraten.vcxproj
cd src && make depend

gzip-menus:
gzip-cfgs:
gzip --keep --force --best --no-name data/p1xbraten/menus.cfg && xxd -i - data/p1xbraten/menus.cfg.gz.xxd < data/p1xbraten/menus.cfg.gz
gzip --keep --force --best --no-name data/p1xbraten/master.cfg && xxd -i - data/p1xbraten/master.cfg.gz.xxd < data/p1xbraten/master.cfg.gz
gzip --keep --force --best --no-name data/p1xbraten/gamehud.cfg && xxd -i - data/p1xbraten/gamehud.cfg.gz.xxd < data/p1xbraten/gamehud.cfg.gz
gzip --keep --force --best --no-name data/p1xbraten/keymap.cfg && xxd -i - data/p1xbraten/keymap.cfg.gz.xxd < data/p1xbraten/keymap.cfg.gz

_include-menus:
sed -i "s/0,\/\/menuscrc/0x$(shell crc32 data/p1xbraten/menus.cfg),/" src/fpsgame/p1xbraten_cfgs.cpp
sed -i "s/embeddedfile<0> menuscfg/embeddedfile<$(shell stat --printf="%s" data/p1xbraten/menus.cfg.gz)> menuscfg/" src/fpsgame/p1xbraten_cfgs.cpp
sed -i "s/0,\/\/mastercrc/0x$(shell crc32 data/p1xbraten/master.cfg),/" src/fpsgame/p1xbraten_cfgs.cpp
sed -i "s/embeddedfile<0> mastercfg/embeddedfile<$(shell stat --printf="%s" data/p1xbraten/master.cfg.gz)> mastercfg/" src/fpsgame/p1xbraten_cfgs.cpp
sed -i "s/0,\/\/gamehudcrc/0x$(shell crc32 data/p1xbraten/gamehud.cfg),/" src/fpsgame/p1xbraten_cfgs.cpp
sed -i "s/embeddedfile<0> gamehudcfg/embeddedfile<$(shell stat --printf="%s" data/p1xbraten/gamehud.cfg.gz)> gamehudcfg/" src/fpsgame/p1xbraten_cfgs.cpp
embed-cfgs: gzip-cfgs
sed -i "s/0,\/\/menuscrc/0x$(shell crc32 data/p1xbraten/menus.cfg),/" src/fpsgame/embedded_cfgs.cpp
sed -i "s/embeddedfile<0> menuscfg/embeddedfile<$(shell stat --printf="%s" data/p1xbraten/menus.cfg.gz)> menuscfg/" src/fpsgame/embedded_cfgs.cpp
sed -i "s/0,\/\/mastercrc/0x$(shell crc32 data/p1xbraten/master.cfg),/" src/fpsgame/embedded_cfgs.cpp
sed -i "s/embeddedfile<0> mastercfg/embeddedfile<$(shell stat --printf="%s" data/p1xbraten/master.cfg.gz)> mastercfg/" src/fpsgame/embedded_cfgs.cpp
sed -i "s/0,\/\/gamehudcrc/0x$(shell crc32 data/p1xbraten/gamehud.cfg),/" src/fpsgame/embedded_cfgs.cpp
sed -i "s/embeddedfile<0> gamehudcfg/embeddedfile<$(shell stat --printf="%s" data/p1xbraten/gamehud.cfg.gz)> gamehudcfg/" src/fpsgame/embedded_cfgs.cpp
sed -i "s/0,\/\/keymapcrc/0x$(shell crc32 data/p1xbraten/keymap.cfg),/" src/fpsgame/embedded_cfgs.cpp
sed -i "s/embeddedfile<0> keymapcfg/embeddedfile<$(shell stat --printf="%s" data/p1xbraten/keymap.cfg.gz)> keymapcfg/" src/fpsgame/embedded_cfgs.cpp

clean-sauer: check-env
cd $(SAUER_DIR) && \
Expand Down
138 changes: 138 additions & 0 deletions data/p1xbraten/keymap.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
// do not modify, use "bind" in autoexec.cfg instead

keymap -1 MOUSE1
keymap -3 MOUSE2
keymap -2 MOUSE3
keymap -4 MOUSE4
keymap -5 MOUSE5
keymap -6 MOUSE6
keymap -7 MOUSE7
keymap -8 MOUSE8
keymap -9 MOUSE9
keymap -10 MOUSE10
keymap -11 MOUSE11
keymap -12 MOUSE12
keymap 8 BACKSPACE
keymap 9 TAB
keymap 13 RETURN
keymap 27 ESCAPE
keymap 32 SPACE
keymap 33 EXCLAIM
keymap 34 QUOTEDBL
keymap 35 HASH
keymap 36 DOLLAR
keymap 38 AMPERSAND
keymap 39 QUOTE
keymap 40 LEFTPAREN
keymap 41 RIGHTPAREN
keymap 42 ASTERISK
keymap 43 PLUS
keymap 44 COMMA
keymap 45 MINUS
keymap 46 PERIOD
keymap 47 SLASH
keymap 48 0
keymap 49 1
keymap 50 2
keymap 51 3
keymap 52 4
keymap 53 5
keymap 54 6
keymap 55 7
keymap 56 8
keymap 57 9
keymap 58 COLON
keymap 59 SEMICOLON
keymap 60 LESS
keymap 61 EQUALS
keymap 62 GREATER
keymap 63 QUESTION
keymap 64 AT
keymap 91 LEFTBRACKET
keymap 92 BACKSLASH
keymap 93 RIGHTBRACKET
keymap 94 CARET
keymap 95 UNDERSCORE
keymap 96 BACKQUOTE
keymap 97 A
keymap 98 B
keymap 99 C
keymap 100 D
keymap 101 E
keymap 102 F
keymap 103 G
keymap 104 H
keymap 105 I
keymap 106 J
keymap 107 K
keymap 108 L
keymap 109 M
keymap 110 N
keymap 111 O
keymap 112 P
keymap 113 Q
keymap 114 R
keymap 115 S
keymap 116 T
keymap 117 U
keymap 118 V
keymap 119 W
keymap 120 X
keymap 121 Y
keymap 122 Z
keymap 127 DELETE
keymap 0x40000059 KP1
keymap 0x4000005a KP2
keymap 0x4000005b KP3
keymap 0x4000005c KP4
keymap 0x4000005d KP5
keymap 0x4000005e KP6
keymap 0x4000005f KP7
keymap 0x40000060 KP8
keymap 0x40000061 KP9
keymap 0x40000062 KP0
keymap 0x40000063 KP_PERIOD
keymap 0x40000054 KP_DIVIDE
keymap 0x40000055 KP_MULTIPLY
keymap 0x40000056 KP_MINUS
keymap 0x40000057 KP_PLUS
keymap 0x40000058 KP_ENTER
keymap 0x40000067 KP_EQUALS
keymap 0x40000052 UP
keymap 0x40000051 DOWN
keymap 0x4000004f RIGHT
keymap 0x40000050 LEFT
keymap 0x40000048 PAUSE
keymap 0x40000049 INSERT
keymap 0x4000004a HOME
keymap 0x4000004d END
keymap 0x4000004b PAGEUP
keymap 0x4000004e PAGEDOWN
keymap 0x4000003a F1
keymap 0x4000003b F2
keymap 0x4000003c F3
keymap 0x4000003d F4
keymap 0x4000003e F5
keymap 0x4000003f F6
keymap 0x40000040 F7
keymap 0x40000041 F8
keymap 0x40000042 F9
keymap 0x40000043 F10
keymap 0x40000044 F11
keymap 0x40000045 F12
keymap 0x40000053 NUMLOCK
keymap 0x40000039 CAPSLOCK
keymap 0x40000047 SCROLLOCK
keymap 0x400000e5 RSHIFT
keymap 0x400000e1 LSHIFT
keymap 0x400000e4 RCTRL
keymap 0x400000e0 LCTRL
keymap 0x400000e6 RALT
keymap 0x400000e2 LALT
keymap 0x400000e7 RMETA
keymap 0x400000e3 LMETA
keymap 0x40000065 COMPOSE
keymap 0x40000075 HELP
keymap 0x40000046 PRINT
keymap 0x4000009a SYSREQ
keymap 0x40000076 MENU
71 changes: 71 additions & 0 deletions data/p1xbraten/keymap.cfg.gz.xxd
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
0x1f, 0x8b, 0x08,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, 0x6a, 0xc7,
0xf2, 0xa5, 0xd7, 0x50, 0x0d, 0xee, 0x52, 0xe8, 0xd4, 0xd1, 0x2a, 0x4b,
0xed, 0xf8, 0x42, 0x6c, 0x4e, 0x61, 0xdd, 0xb6, 0xe1, 0xa5, 0x9f, 0xe9,
0xd9, 0xbf, 0x1c, 0xa0, 0x47, 0xaa, 0x1a, 0xad, 0x61, 0x9c, 0x2c, 0x74,
0x91, 0x67, 0xb0, 0xca, 0xf0, 0x65, 0x12, 0x98, 0x4b, 0x38, 0x87, 0x6d,
0xf5, 0xa8, 0x18, 0x17, 0x30, 0x97, 0x78, 0x96, 0x9e, 0x3a, 0xfc, 0xd0,
0x73, 0x8f, 0xe6, 0xf4, 0x97, 0x44, 0x1b, 0xee, 0x2d, 0x6a, 0xf8, 0xb6,
0xe9, 0xd8, 0x87, 0xcb, 0x3d, 0xdc, 0x9d, 0xb3, 0xfa, 0x96, 0xad, 0x43,
0xff, 0xea, 0x74, 0x37, 0x5d, 0xfd, 0x0f, 0x8e, 0x49, 0x3d, 0xdb, 0x75,
0x0a, 0x00, 0x00
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,32 @@ Index: src/Makefile
fpsgame/fps.o \
fpsgame/monster.o \
fpsgame/movable.o \
+ fpsgame/p1xbraten_cfgs.o \
+ fpsgame/embedded_cfgs.o \
fpsgame/render.o \
fpsgame/scoreboard.o \
fpsgame/server.o \
Index: src/engine/main.cpp
===================================================================
--- src/engine/main.cpp (revision 6496)
+++ src/engine/main.cpp (working copy)
@@ -1299,6 +1299,7 @@
defformatstring(gamecfgname, "data/game_%s.cfg", game::gameident());
execfile(gamecfgname);
if(game::savedservers()) execfile(game::savedservers(), false);
+ game::writep1xbratencfgs();
@@ -1294,8 +1294,9 @@
initsound();

identflags |= IDF_PERSIST;

Index: src/fpsgame/p1xbraten_cfgs.cpp
logoutf("init: cfg");
+ game::writeembeddedcfgs();
initing = INIT_LOAD;
- execfile("data/keymap.cfg");
+ execfile("data/p1xbraten/keymap.cfg");
execfile("data/stdedit.cfg");
execfile("data/sounds.cfg");
execfile("data/menus.cfg");
Index: src/fpsgame/embedded_cfgs.cpp
===================================================================
--- src/fpsgame/p1xbraten_cfgs.cpp (nonexistent)
+++ src/fpsgame/p1xbraten_cfgs.cpp (working copy)
@@ -0,0 +1,66 @@
--- src/fpsgame/embedded_cfgs.cpp (nonexistent)
+++ src/fpsgame/embedded_cfgs.cpp (working copy)
@@ -0,0 +1,77 @@
+#include "cube.h"
+#include "p1xbraten_cfgs.h"
+#include "embedded_cfgs.h"
+
+namespace game {
+ struct embeddedfile<0> menuscfg = {
Expand All @@ -55,6 +58,14 @@ Index: src/fpsgame/p1xbraten_cfgs.cpp
+ }
+ };
+
+ struct embeddedfile<0> keymapcfg = {
+ "data/p1xbraten/keymap.cfg.gz",
+ 0,//keymapcrc
+ {
+ #include "../../data/p1xbraten/keymap.cfg.gz.xxd"
+ }
+ };
+
+ template<size_t N>
+ int update(embeddedfile<N> *i)
+ {
Expand All @@ -74,7 +85,7 @@ Index: src/fpsgame/p1xbraten_cfgs.cpp
+ return 0;
+ }
+
+ int writep1xbratencfgs()
+ int writeembeddedcfgs()
+ {
+ int err = update(&menuscfg);
+ if(err) { conoutf("\f6error updating %s (error code %d)!", menuscfg.name, err); return err; }
Expand All @@ -85,6 +96,9 @@ Index: src/fpsgame/p1xbraten_cfgs.cpp
+ err = update(&gamehudcfg);
+ if(err) { conoutf("\f6error updating %s(error code %d)!", gamehudcfg.name, err); return err; }
+
+ err = update(&keymapcfg);
+ if(err) { conoutf("\f6error updating %s(error code %d)!", keymapcfg.name, err); return err; }
+
+ return 0;
+ }
+
Expand All @@ -93,10 +107,10 @@ Index: src/fpsgame/p1xbraten_cfgs.cpp
+ else execfile("data/menus.cfg");
+ });
+}
Index: src/fpsgame/p1xbraten_cfgs.h
Index: src/fpsgame/embedded_cfgs.h
===================================================================
--- src/fpsgame/p1xbraten_cfgs.h (nonexistent)
+++ src/fpsgame/p1xbraten_cfgs.h (working copy)
--- src/fpsgame/embedded_cfgs.h (nonexistent)
+++ src/fpsgame/embedded_cfgs.h (working copy)
@@ -0,0 +1,10 @@
+#include "cube.h"
+
Expand All @@ -117,7 +131,7 @@ Index: src/shared/igame.h
extern const char *autoexec();
extern const char *savedservers();
extern void loadconfigs();
+ extern int writep1xbratencfgs();
+ extern int writeembeddedcfgs();

extern void updateworld();
extern void initclient();
Expand Down Expand Up @@ -150,7 +164,7 @@ Index: src/vcpp/sauerbraten.vcxproj
<ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)%(Filename)2.obj</ObjectFileName>
<ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(IntDir)%(Filename)2.obj</ObjectFileName>
</ClCompile>
+ <ClCompile Include="..\fpsgame\p1xbraten_cfgs.cpp">
+ <ClCompile Include="..\fpsgame\embedded_cfgs.cpp">
+ <PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cube.h</PrecompiledHeaderFile>
+ <PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">cube.h</PrecompiledHeaderFile>
+ <PrecompiledHeaderOutputFile Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)cube.pch</PrecompiledHeaderOutputFile>
Expand Down
Loading

0 comments on commit a980f5e

Please sign in to comment.