Downgrading to Unreal 5.5.4

This commit is contained in:
2026-05-15 18:28:41 -04:00
parent 1328f6e5f7
commit 94e6385f14
5 changed files with 172 additions and 4 deletions

View File

@@ -221,7 +221,10 @@ def unzip_unreal_engine_and_apply_patch():
print(f"Unzipping {zipfn}...")
with JZipFile(zipfn) as zf:
zf.extractall(INTEGRATION)
patchfile = f"{INTEGRATION}/EnginePatches/EnginePatch"
version = zips[0].stem.split("-")[1]
patchfile = f"{INTEGRATION}/EnginePatches/EnginePatch-{version}"
if not Path(patchfile).is_file():
sys.exit(f"Cannot find engine patch: {patchfile}")
shell(extracted, f"patch -p0 < {patchfile}")
Path(extracted).rename(UNREALENGINE)
Path(touchfile).touch()