From f0ce7600c45f3af6c3bff85c896ee7e36571abd4 Mon Sep 17 00:00:00 2001 From: UsernamesAreNotMyThing <92757918+UsernamesAreNotMyThing@users.noreply.github.com> Date: Thu, 17 Oct 2024 20:10:41 -0400 Subject: [PATCH] Disable Esync and Fsync for Disgaea 4 Complete + to stop game from crashing on launch (#151) * Add Disgaea 4 fix There is a regression in Proton 8 that causes the game to crash at launch unless Esync and Fsync are disabled, and it doesn't set these by default. * Added return type to be consistent with other game fixes * Update 1233880.py Fix lint error by using triple quotes instead of single * Update 1233880.py Adding missing double quote * Update 1233880.py Use triple quotes for top level comment/docstring --------- Co-authored-by: R1kaB3rN <100738684+R1kaB3rN@users.noreply.github.com> --- gamefixes-steam/1233880.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 gamefixes-steam/1233880.py diff --git a/gamefixes-steam/1233880.py b/gamefixes-steam/1233880.py new file mode 100644 index 0000000..fa2ce2b --- /dev/null +++ b/gamefixes-steam/1233880.py @@ -0,0 +1,8 @@ +"""Game fix for Disgaea 4 Complete+""" + +from protonfixes import util + +def main() -> None: + """Usually won't reach menu unless Esync and Fsync are disabled""" + util.disable_esync() + util.disable_fsync()