Kenshi
0 of 0

File information

Last updated

Original upload

Created by

kapaer

Uploaded by

kapaer

Virus scan

Safe to use

Tags for this mod

Documentation

Readme

View as plain text

#
# Kenshi CTD fix v0.9
# by kapaer
#

** Description **
This MOD fixed some crashes and alert broken save-file.
- Generate Animation-Crash fix patch automatically.
- check whether the last save normally ended, and display a warning if there is a problem.

Before 1.0.41:
- CTD when carrying a dead body or a fainting person

Of course, I would like official developer to correct these, and I would be happy if these would be helpful.


** Install **
Copy all files in the archive into the Kenshi installation folder (the folder where kenshi_x64.exe is located).
If it has been installed successfully, a beep will sound immediately after startup (before the MOD menu window appears).
The startup sound may not sound on some PCs, but it works if "_kenshi_fix1.log" was generated.

This mod create patches to fix crashes in MODs that add animation automatically.
#### Please activate "-KCF autogenerated patch-" at the bottom of the MOD selection screen. ####
The contents of the patch are to copy the animation file in the wrong path to the correct path, and to correct the link in the MOD to the copied file.
The list of modified MODs is output in the description of the patch and "_kenshi_fix1.log".


** Uninstall **
Delete all installed files (dinput8.dll, _kenshi_fix1.asi, _kenshi_fix1.ini, _kenshi_fix1.log).



** for developer or interested one **

-MOD that crashes due to additional animation
Failure to place the animation files in the folder defined by [Characters] in resources.cfg will cause a crash.
Since this was only recently discovered, mods created before or whose authors do not know about this are prone to crashes.
It is not realistic to have all MOD authors correspond, this program scan installed MODs and automatically create correction patches.

Also, on Windows, paths are not case sensitive, but for paths defined in resources.cfg will not be recognized unless you use the same case as the definition.
How the path is actually recognized is output to Kenshi.log.


-whether the last save normally ended
Kenshi's save is divided into a number of files that can be loaded without any errors if some of them are lost.
The terrain data is also divided into multiple parts, and if there is no terrain data in the save, it will be generated by default as the "first place visited".

For this reason, if the game crashes while saving, some data may be lost without your knowledge.
If the terrain data of your base part is lost, the base will disappear with the base mark remaining on the map. In towns or ruins, there are no homes you buy and the number of NPCs is doubled.
It is difficult to fix this, but you can check if the previous save was completed successfully at next startup.


-Crash log is not output with CTD
Usually, an access violation cannot be caught by an application because it is dangerous to continue to run.
For this reason, the crash log output program is also terminated without being executed.
It can be captured by setting the compile option, but it is not good because it may impair the stability of the OS.
Alternatively, we can set the registry to output logs by Windows. This program was created based on the crash log obtained.
Reference URL:
https://docs.microsoft.com/en-us/windows/win32/wer/collecting-user-mode-dumps