
This is a hack of hard-coded code for maximum game resolution
Intro
This is a hack of hard-coded code for maximum game resolution
The value has been changed from 2560 to 5120
And also, the area of fog has been increased from 6 to 8 (checked only for resolution 3440×1440)
Tested on game version – 1.404
Warning!
Some elements of the game may not display correctly, since this was not provided by the developers!
For example – game menu
Gameplay screenshots
16:9
21:9
32:9
Instructions
You can use a modified file or make changes manually
Installing modified file
- Download modified file – http://puu.sh/IAvRz/5091af952a.dll – [puu.sh]
- Copy Assembly-CSharp.dll to the game folder
Â
Graveyard Keeper\Graveyard Keeper_Data\Managed
- Agree to replace the file
- Now you can choose your resolution in the game settings
Manual modification
- Download dnSpy from GitHub – https://github.com/dnSpy/dnSpy/releases – [github.com]
- Unpack and run dnSpy.exe
- Opening the file Assembly-CSharp.dll from your game folder
Â
Graveyard Keeper\Graveyard Keeper_Data\Managed
- Expanding the file tree structure, open – section
Â
Â
Assembly-CSharp Assembly-CSharp.dll -
- Scroll down to ResolutionConfig, and right click -> Edit Class (C#)…
- Find
Â
if (height <= 1440 && width <= 2560)
- Edit 2560 to 5120
Â
Â
if (height <= 1440 && width <= 5120)
- After that, click Compile in the bottom right
- Scroll up to FogObject, and right click -> Edit Class (C#)…
- Find
Â
else if (this.tile_pos.x > 6f - FogObject.BORDER_X)
- Edit 6f to 8f
Â
Â
else if (this.tile_pos.x > 8f - FogObject.BORDER_X)
- Find
Â
for (int i = 0; i < 6; i++)
- Edit 6 to 8
Â
Â
for (int i = 0; i < 8; i++)
- Find
Â
private readonly Vector3 TILES_X_VECTOR = new Vector2(36f, 0f);
- Edit 36f to 48f
Â
Â
private readonly Vector3 TILES_X_VECTOR = new Vector2(48f, 0f);
- Also click Compile in the bottom right
- Select File -> Save All…
- Now you can choose your resolution in the game settings
Credits and links
- Based info about editing resolution – https://imgur.com/a/lZ2XiIQ – [imgur.com]
- Info about fix fog –
Â
https://www.youtube.com/watch?v=TkAS_BtImt8 - Screenshots from – https://www.wsgf.org/dr/graveyard-keeper/en – [wsgf.org]
- dnSpy – https://github.com/dnSpy/dnSpy/ – [github.com]
This is all about Graveyard Keeper – Support for Superwide and Ultrawide resolutions 5120×1440 (32:9)/3440×1440 (21:9); I hope you enjoy reading the Guide! If you feel like we should add more information or we forget/mistake, please let us know via commenting below, and thanks! See you soon!
- All Graveyard Keeper Posts List
Leave a Reply