blob: 05c839f688066d44332b9f400c0a60066e0cd078 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
{ buildUnity, fetchGog, monogamePatcher }:
buildUnity {
name = "hollow-knight";
fullName = "hollow_knight";
saveDir = "Team Cherry/Hollow Knight";
version = "1.4.3.2";
src = fetchGog {
productId = 1308320804;
downloadName = "en3installer0";
sha256 = "19g0b6mzjahvj1y3mk25li61wardgk4fnl5cn9v24s9lhq8i8d28";
};
nativeBuildInputs = [ monogamePatcher ];
buildPhase = ''
monogame-patcher replace-call \
-i hollow_knight_Data/Managed/Assembly-CSharp.dll \
'System.String UnityEngine.Application::get_dataPath()' \
'System.String UnityEngine.Application::get_persistentDataPath()' \
ConfigManager::Awake
'';
}
|