Hard West
0 of 0

File information

Last updated

Original upload

Created by

Uskok

Uploaded by

Uskok

Virus scan

Safe to use

Tags for this mod

Documentation

Readme

View as plain text

About

This mod fixes the infamous black screen bug.


If you experience a black screen (with only parts of interface visible) when loading the last mission of the campaign As Good As Dead (where you confront the Masked Man) this might help you continue playing and finish the mission. If you experience similar black screen on other missions, or other bugs, you can open the log file in your game folder (...\Hard West\HardWest_Data\output_log.txt) and check if the following error is logged:

NullReferenceException: Object reference not set to an instance of an object
at CFGCharacterList.OnTacticalStart () [0x00000] in :0

at CFGSessionSingle.StartLevel () [0x00000] in :0

at CFGLoadingScreen.OnBtnPlay (Int32 a) [0x00000] in :0

at CFGButtonExtension.OnPointerUp (UnityEngine.EventSystems.PointerEventData eventData) [0x00000] in :0

This mod should help you fix this error, and is unlikely to help with anything else.

Contents

- Patchwork - this is a utility which can patch C# assembly files with custom code
- AppInfo.dll - custom dll file required by Patchwork to work with a particular game
- HardWestAgadFix.pw.dll - the actual mod, an assembly file containing the fixed code


How to install

Download the zip, extract it into an empty folder.

How to run

If you wish to be safe, create a backup of your save data, and all files in folder Managed in your game folder (...\Hard West\HardWest_Data\Managed).

Start the PatchworkLauncher.exe
The program will ask for the location on your system where Hard West is installed, specify it and press ok.
Press the button "active", press "add", and choose the mod file (HardWestAgadFix.pw.dll)
The mod will appear in the table, press close.
Press "launch with mods" to start the game.

In game, load the mission as usual, it should start and allow you to play.


The mod is unlikely to cause problems in other parts of the game, but this is not impossible. In any case, once you finish the problematic mission you don't need to use the mod and Patchwork anymore. Instead simply run the game through Steam, Galaxy, etc. as usual.

How the Patchwork works

Patchwork combines the included pw.dll file with assembly-csharp.dll in your game folder (...\Hard West\HardWest_Data\Managed\Assembly-CSharp.dll). It creates a backup of the original file, and when you exit the game the original is restored (the game is unpatched). In case of a crash, it will be unpatched the next time Patchwork is started.

Credits

Huge thanks to the creators of Patchwork because they made this fix possible.

Credit should also go to Tyr62 whose modding tutorial and source code helped me a lot in learning how to patch this game.

Thanks to the creators of Hard West, I only wish they would fix the game before starting other game projects.