···1212, runCommandLocal
1313, makeWrapper
1414, coreutils
1515+, scalingFactor ? 2 # this is to resize the fixed-size zod_launcher window
1616+, substituteAll
1517}:
1618let
1719 version = "2011-09-06";
···6466 # the Idea is to apply the scalingFactor to all positions and sizes and I tested 1,2,3 and 4
6567 # 2,3,4 look acceptable on my 4k monitor and 1 is unreadable.
6668 # also the ./ in the run command is removed to have easier time starting the game
6969+ patches = [
7070+ (substituteAll {
7171+ inherit scalingFactor;
7272+ src=./0002-add-scaling-factor-to-source.patch;
7373+ })
7474+ ];
6775 postPatch = ''
6876 substituteInPlace zod_launcher_src/zod_launcherFrm.cpp \
6977 --replace 'message = wxT("./zod");' 'message = wxT("zod");'