About this mod

Mod changes rendering method for ALL particles in Kenshi and SPEEDS UP the game substantially in the process! NO, mod is not reducing particle effects nor compressing textures...

Requirements
Permissions and credits
Changelogs
Donations
General information

Idea is to simply make game faster without making visuals worse by altering the scripts around particle system
as well as reformatting and decompressing various particle files.  This mod is able to lower GPU usage without affecting visuals negatively. 

PSO should drastically outperform clones thanks to unique coding and replace of original textures

in this mod we change rendering method and loading method for textures by utilizing DirectDraw Surface format in DXT compression, this allow my new textures to stays compressed in your memory and be used WELL... directly without deciphering (unlike vanilla formats), on top of that my images are easier to use by GPU which improve loading
Scripts ware accommodated to support new formats and installer is making sure you got the right folders in the right place
 - Mod result in giant performance boost for loading new zones, traveling thru the map, using game speed settings, rotating camera
- This also improve performance of mods that add or edit particle effects


- New textures should presence no difference in visuals as long as played use in-game FXAA (comparing flat textures next to each other - specially when they have high res, might reveal differences)
For example: this is ash flake in ashland, in full resolution

Mod works with my other mods due to its unique coding.  Alongside with Optimization and Broken data cleanup, this is just FREE performance mod.  It does not cost the game on the visual side while providing benefits from using it.



Installation instruction (installer)

- Download mod
- unpack it inside kenshi.exe location which can be anywhere.  For steam its usually:                                                   C:/Program Files (x86)/Steam/steamapps/common/Kenshi
- Run Particle fix installer (don't run as administrator)
- Installer will guide you thru the process.
- Done, you can run the game now!
Installer update (quick note)
Spoiler:  
Show

if you used previous version before:
- We made backup scripts safety protocol
- installer check if backups wasn't made in past and if they do, it does not make new backup
If it's your first time of you using this mod, just go (you will have to type "all" to confirm)
- sorry for inconvenience

Installation method 2 (manual installation)
Spoiler:  
Show
- download
- Go to kenshi/data/particles
- Copy folders: Textures, scripts, materials and paste somewhere to make a backup
- Delete mentioned folders from kenshi/data/particles
- Take folders Textures, scripts, materials from my mod package and put them into kenshi/data/particles
- Done


How to know mod works?
(made this section because too many people came from world of steam-mods)
  • If you followed installation instruction and you can load the game at all mod is most likely working!
  • if you wanna be absolute sure go to: kenshi/data/particles/textures and sort by type, check DDS
  • if you have around 90+ DDS files there that means mod installed correctly
  • all vanilla particle scripts should be fixed and refer to the new DDS files in material code too
  • Mod will not show on your modlist, this is override for whole particle system not a dds steam mod

De-Installation method:
Spoiler:  
Show
- go to kenshi/data/particles
- Delete folders Textures, scripts, materials
- Find your backups (the installer stores backups in kenshi/resources/backup)
- And move the backup folders Textures, scripts, materials into kenshi/data/particles
- done

- Alternatively, you can verify integrity of game files or reinstall.
- I can not give you vanilla files because they belong to Lo-Fi games

How to Resolve XCOPY issue (windows)
add the location of xcopy.exe to the system path.  Here's how you do this:
  • Open System Settings (use the search option within Windows or refer to a guide to do this)
  • Click the Advanced tab
  • Click the Environment Variables button
  • In the System Variables section, highlight the Path option and click the Edit button
  • Click the New button and type the location of xcopy.exe on your system (normally C:\Windows\System32)
  • Click the OK button until all dialog windows are closed.

Mod is considered Completed
- i will update it with better tech or  conversion method if such will work, but otherwise its perfect
- i got new hobby: Collecting Endorsements 
Thank you.
SCIENCE:
https://blenderartists.org/t/png-vs-dds/482669
https://forum.game-guru.com/thread/220949
https://www.gamedev.net/forums/topic/601089-png-or-dds/
http://www.garagegames.com/community/forums/viewthread/49014
https://forum.game-guru.com/thread/222504
https://w3dhub.com/forum/topic/417101-dds-files-and-dxt-compression/
https://www.researchgate.net/publication/259000525_Real-Time_DXT_Compression
http://www.mrelusive.com/publications/papers/Software-Virtual-Textures.pdf
http://developer.amd.com/wordpress/media/2013/01/Chapter02-Mittring-Advanced_Virtual_Texture_Topics.pdf
https://en.wikipedia.org/wiki/Mipmap



According to my research, this format in current form is as far as optimization of the graphical side of the mod goes!
Game is hold back in most cases by CPU, 2GB GPU is more than enough to run it on high with my mods...
I will continue looking for ways to improve the situation, but i might need someone with shadowmap knowledge for it