HomeGame GuidesAdd Support for Superwide and Ultrawide resolutions 5120x1440 (32:9)/3440x1440 (21:9) - Graveyard...

Add Support for Superwide and Ultrawide resolutions 5120×1440 (32:9)/3440×1440 (21:9) – Graveyard Keeper

Published on

ADVERTISEMENT

By 123

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

  1. Download modified file – http://puu.sh/IAvRz/5091af952a.dll
  2. Copy Assembly-CSharp.dll to the game folder
    Graveyard Keeper\Graveyard Keeper_Data\Managed
  3. Agree to replace the file
  4. Now you can choose your resolution in the game settings

Manual modification

  1. Download dnSpy from GitHub – https://github.com/dnSpy/dnSpy/releases
  2. Unpack and run dnSpy.exe
  3. 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

  1.         –
  2. Scroll down to ResolutionConfig, and right click -> Edit Class (C#)…
  3. Find
    if (height <= 1440 && width <= 2560)
  4. Edit 2560 to 5120

    if (height <= 1440 && width <= 5120)
  5. After that, click Compile in the bottom right
  6. Scroll up to FogObject, and right click -> Edit Class (C#)…
  7. Find
    else if (this.tile_pos.x > 6f – FogObject.BORDER_X)
  8. Edit 6f to 8f

    else if (this.tile_pos.x > 8f – FogObject.BORDER_X)
  9. Find
    for (int i = 0; i < 6; i++)
  10. Edit 6 to 8

    for (int i = 0; i < 8; i++)
  11. Find
    private readonly Vector3 TILES_X_VECTOR = new Vector2(36f, 0f);
  12. Edit 36f to 48f

    private readonly Vector3 TILES_X_VECTOR = new Vector2(48f, 0f);
  13. Also click Compile in the bottom right
  14. Select File -> Save All…
  15. Now you can choose your resolution in the game settings

Latest articles

Round Up: The Reviews Are In For NieR:Automata The End of YoRHa Edition

We're again as soon as once more with one other overview round-up and this...

‘Surrogate’ Is a Chilling Ghost Story Filled With Strong Characters and Palpable Dread

“There is no such thing as monsters.” These are the phrases dad and...

Aespa’s NingNing Gains Attention For Her Unreal Body Proportions — And Her Insane Duality

“Paris Fashion Week NingNing” is already a legend. ...

This Last Of Us Fan Is Recreating Shots From The HBO Show In Part 1’s Photo Mode

The Last Of Us Part 1’s lighting software is outwardly "a game changer" for...
ADVERTISEMENT

More like this

Round Up: The Reviews Are In For NieR:Automata The End of YoRHa Edition

We're again as soon as once more with one other overview round-up and this...

‘Surrogate’ Is a Chilling Ghost Story Filled With Strong Characters and Palpable Dread

“There is no such thing as monsters.” These are the phrases dad and...

Aespa’s NingNing Gains Attention For Her Unreal Body Proportions — And Her Insane Duality

“Paris Fashion Week NingNing” is already a legend. ...