UPDATED: 08/28/2015 New version of the patch fixes remaining ratio and interface bugs
I've been a fan of Zanzarah for almost 15years and was very pleased to see it offered a new life through Steam,
many thanks for that.
Unfortunately the provided game files are from the original 1.010 build that dates back to 2002/2003. It was left
unchanged by Daedalic who probably don't even have the source code available to attempt modifications on the
It means the game is limited to a maximum resolution of 1024x768x32b and that's very annoying.
So in hopes of making the play-through more enjoyable for people backing off the game because of the low res I
made a set of patched binaries that allow for arbitrary screen sizes.
Here's a simple python script that will patch the "zanthp.exe" provided by Steam to the desired resolution:
Code: Alles auswählen
from struct import pack
RES_X,RES_Y = 1920,1080
resX = pack("<L", RES_X).encode("hex")
resY = pack("<L", RES_Y).encode("hex")
p1 = [0x001078, "9090"]
p2 = [0x006762, "c7442410"+resX+"c7442414"+resY+"90909090909090909090909090909090909090909090909090"]
p3 = [0x01128c, "e90e2c1900"]
p4 = [0x0f5c43, "59595968"+resY+"68"+resX+"5233c99090"]
p5 = [0x1a3e9f, "8d732c8bcec7442408"+resX+"c744240c"+resY+"e9d8d3e6ff"]
with open("zanthp.exe", "rb") as f: blob = f.read()
for p in [p1, p2, p3, p4, p5]: blob = blob[:p] + p.decode("hex") + blob[p+len(p.decode("hex")):]
with open("zanthp."+str(RES_X)+"x"+str(RES_Y)+".exe", "wb") as f: f.write(blob)
And here are some links to download already patched binaries for various setups:
My advice would be to run the script on your own installation of the game instead of using the provided binaries,
malware could be hidden in there, who knows...
To run the script yourself just:
- install python's 2.7 branch: https://www.python.org/downloads/
- put the file "patch.py" inside your installation folder (Zanzarah/System) where "zanthp.exe" is located.
- Edit patch.py using any text editor and replace "1920,1080" at the top with the desired value.
- Run patch.py by double-clicking.
It will create a new copy of the program "zanthp.exe" named after the chosen resolution like
When it's done just double click on this new "zanthp.1920x1080.exe" to run the game.
After that, the "zanzarah.exe" launcher has no use anymore, you could just delete it and replace the desktop
shortcut to run the game by a shortcut to your new ""zanthp.1920x1080.exe".
note: when using the patched version of the game the drop-down startup options menu "Video/Mode" is disabled.
Resolution won't change anymore when modifying that option. Only the selected color depth mode is relevant, just
select any mode with either 16 or 32bits depth and your game will run using that depth at the fixed resolution as
per the patch.
Finally here's a screenshot from the result, running at 1920x1080x32, enjoy this wonderful game in all its glory: