···12, runCommandLocal
13, makeWrapper
14, coreutils
0015}:
16let
17 version = "2011-09-06";
···64 # the Idea is to apply the scalingFactor to all positions and sizes and I tested 1,2,3 and 4
65 # 2,3,4 look acceptable on my 4k monitor and 1 is unreadable.
66 # also the ./ in the run command is removed to have easier time starting the game
00000067 postPatch = ''
68 substituteInPlace zod_launcher_src/zod_launcherFrm.cpp \
69 --replace 'message = wxT("./zod");' 'message = wxT("zod");'
···12, runCommandLocal
13, makeWrapper
14, coreutils
15+, scalingFactor ? 2 # this is to resize the fixed-size zod_launcher window
16+, substituteAll
17}:
18let
19 version = "2011-09-06";
···66 # the Idea is to apply the scalingFactor to all positions and sizes and I tested 1,2,3 and 4
67 # 2,3,4 look acceptable on my 4k monitor and 1 is unreadable.
68 # also the ./ in the run command is removed to have easier time starting the game
69+ patches = [
70+ (substituteAll {
71+ inherit scalingFactor;
72+ src=./0002-add-scaling-factor-to-source.patch;
73+ })
74+ ];
75 postPatch = ''
76 substituteInPlace zod_launcher_src/zod_launcherFrm.cpp \
77 --replace 'message = wxT("./zod");' 'message = wxT("zod");'