A BepInEx plugin for Koikatu and Koikatsu Party main games that allows "randomization" of outfits that they wear during the story mode.
- Make sure BepInEx is installed and your game is updated.
- Download the latest release from here.
- Extract the plugin into your game directory. The dll file(s) should end up inside the folder
BepInEx\plugins
. - Starting the game will generate the folders: Wiki
- Fill the folders related to Hstates with the coordinates you want and put coordiantes with similar themes in a folder in the Hstate respective Sets folder.
-
A file structure is required and can be copied from this repositry, but the files will be created when on the "going to school" cutscene happens.
-
I originally wanted to use Tags for the images rather than forcing file paths, but unfortunatly PNG doesn't actually support it.
-
Anything that is in the parent folder of \Sets will be coordinating with itself rather than with those that share the folder unlike the Sets folder when proper match is enabled.
-
Reloading a Save will cause this to break for characters already loaded. Going back to Title will fix this.
Example: start day, immediate go home, and load same save.
Cause: Characters probably stored in memory
Potential solution: Force reload characters in memory
-
KPlug seems to affect only the main heroine and any who invited or joined will load with default.
Cause:Kplug load method
Potential solution: Unavailable without further modifying Kplug code
This is a simple fix I made for Kplug 2.5 public to compensate for those who are bothered by the mandatory file structure of this mod and also happen to have Kplug enabled and don't want to have to have copies of files in the folder.
This fix doesn't apply to this mod itself but rather enable the use of KK_Browser files that is installed with HFPatch.
The fix won't apply the outfits generated by this mod to invited girls or girls who joined themselves, but will allow them to be affected by cosplay mode as Kplug 2.5 doesn't support subfolders. Granted the reason was me... since I enabled the KK_Browser Preset browser support. Don't blame Katarsys for that.
Currently if you were to apply an outfit using KK_Browsers to the main girl she would stop wearing the outfit when changing.
Use at your own risk
Open Kplug DLL with DNSpy; this step is required to compile using DNSpy
DNSpy: File->open->select all files in K***_Data/Managed/
Select Kplug.CmpBase->ClothesCtrl
Right click edit class
before the namespace add , I'll recommend at line 13, add
using System.IO;
inside "public class ClothesCtrl : MonoBehaviour", I'll recommend at line 703, add
private static string Finder(string filename)
{
List<string> list = new List<string>();
string coordinatepath = new DirectoryInfo(UserData.Path).FullName;
coordinatepath += "coordinate";
list.Add(coordinatepath);
string[] folders = Directory.GetDirectories(coordinatepath, "*", SearchOption.AllDirectories);
list.AddRange(folders);
foreach (string path in list)
{
string[] files = Directory.GetFiles(path);
for (int i = 0; i < files.Length; i++)
{
if (files[i].EndsWith(filename))
{
return files[i];
}
}
}
return UserData.Path + "coordinate/" + filename;
}
Go to line 339 and replace it with
string text = ClothesCtrl.Finder(this.currentCostume);
Compile
File->Save module