{ buildUnity, fetchGog, mono, monogamePatcher }: buildUnity { name = "war-for-the-overworld"; fullName = "WFTOGame"; saveDir = "Subterranean Games/War For The Overworld"; version = "2.0.4"; src = fetchGog { productId = 1964276929; sha256 = "0p54dhd2j7zvc78444jnjmkjv7kf6sskbphxkj5vlxmfcrmbd2xq"; }; nativeBuildInputs = [ mono monogamePatcher ]; # The game tries to write stuff to its dataPath and it's even more # complicated than for most other games that try to write stuff into their # dataPath because the paths overlap with the assets. # # I've reported this upstream at: # # https://brightrockgames.userecho.com/communities/1/topics/4720-xdg # # So let's patch a few stuff so that at least starting the game and # loading/saving games will work. buildPhase = '' cat > nix-support.cs <