Skip to content

Commit

Permalink
Release 2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ManlyMarco committed Feb 22, 2019
1 parent 57d8e29 commit a1d69d0
Show file tree
Hide file tree
Showing 3 changed files with 226 additions and 164 deletions.
40 changes: 25 additions & 15 deletions HelperLib/HelperLib.cs
Original file line number Diff line number Diff line change
Expand Up @@ -134,26 +134,36 @@ public class HelperLib
public static void SetConfigDefaults([MarshalAs(UnmanagedType.LPWStr)] string path, bool uncensorSelector, bool gameplayMod)
{
var ud = Path.Combine(path, @"BepInEx\config.ini");
var contents = File.ReadAllLines(ud).ToList();

if (contents.All(x => x.Trim() != "[KK_UncensorSelector]"))
try
{
File.AppendAllLines(ud, new []
if (!File.Exists(ud)) File.WriteAllText(ud, string.Empty);

var contents = File.ReadAllLines(ud).ToList();

if (uncensorSelector && contents.All(x => x.Trim() != "[KK_UncensorSelector]"))
{
"[KK_UncensorSelector]",
"DefaultFemaleUncensor=moderchan",
"DefaultMaleUncensor=SoS"
});
}
File.AppendAllLines(ud, new[]
{
"[KK_UncensorSelector]",
"DefaultFemaleUncensor=moderchan",
"DefaultMaleUncensor=SoS"
});
}

if (contents.All(x => x.Trim() != "[marco-gameplaymod]"))
{
File.AppendAllLines(ud, new[]
if (gameplayMod && contents.All(x => x.Trim() != "[marco-gameplaymod]"))
{
"[marco-gameplaymod]",
"LewdDecay=False",
"DecreaseLewd=False"
});
File.AppendAllLines(ud, new[]
{
"[marco-gameplaymod]",
"LewdDecay=False",
"DecreaseLewd=False"
});
}
}
catch (Exception e)
{
File.AppendAllText(Assembly.GetExecutingAssembly().Location + ".log", e + Environment.NewLine);
}
}

Expand Down
20 changes: 10 additions & 10 deletions Translations.iss
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ bareInstall=Update and repair
noneInstall=Skip BepInEx install (NOT RECOMMENDED)
customInstall=Custom installation

MsgInvalidModsDetected=WARNINIG - Outdated or useless plugins/files were detected in your BepInEx directory. To avoid issues all mods will be deleted.
MsgKplugDetected=WARNINIG - KoikPlugins was detected and will be removed if you start installation to avoid potential compatibility issues (settings will not be removed).%n%nPlease follow KoikPlugins manual on how to install it again after patching is done.
MsgIncompatibleModsDetected=WARNINIG - Incompatible mods have been detected in your game folder! You are using very outdated mods or mods from other games in Koikatsu, which WILL cause problems. All old mods will have to be removed to fix this.
MsgExeNotFound=WARNINIG - Koikatu.exe was not found in selected directory. This patch has to be installed directly to the main Koikatsu game directory in order to work properly.%n%nAre you sure that this directory is correct?
MsgInvalidModsDetected=WARNING - Outdated or useless plugins/files were detected in your BepInEx directory. To avoid issues all mods will be deleted.
MsgKplugDetected=WARNING - KoikPlugins was detected and will be removed if you start installation to avoid potential compatibility issues (settings will not be removed).%n%nPlease follow KoikPlugins manual on how to install it again after patching is done.
MsgIncompatibleModsDetected=WARNING - Incompatible mods have been detected in your game folder! You are using very outdated mods or mods from other games in Koikatsu, which WILL cause problems. All old mods will have to be removed to fix this.
MsgExeNotFound=WARNING - Koikatu.exe was not found in selected directory. This patch has to be installed directly to the main Koikatsu game directory in order to work properly.%n%nAre you sure that this directory is correct?
MsgMissingGameFiles=ERROR - Critical game files are missing, make sure this is the game directory. If the directory is correct you have to reinstall the game.
MsgMissingDLC1=NOTICE - You are missing the Koikatu! Ex - Additional Personality Pack extension (07/27 2018 Summer Paid DLC). It adds 3 new personalities and new items.%n%nIf you want to use it, install it BEFORE running HF Patch.
MsgMissingDLC2=NOTICE - You are missing the Koikatu! AS - After School extension (12/21 2018 Winter Paid DLC). It adds 4 new personalities, 3P and some other gameplay features.%n%nIf you want to use it, install it BEFORE running HF Patch.
MsgExtractedZipmod=WARNINIG - Most likely a sideloader mod was extracted inside the game directory. Some game files might now be corrupted.%n%nRepair will be attempted, but if you still have problems you will have to reinstall the game.
MsgExtractedZipmod=WARNING - Most likely a sideloader mod was extracted inside the game directory. Some game files might now be corrupted.%n%nRepair will be attempted, but if you still have problems you will have to reinstall the game.

RunGame=&Run Koikatsu
RunWiki=Open Koikatsu wiki (FAQ, English manual)
RunDiscord=Join Koikatsu! discord channel (Help, updates, sharing)
RunDiscord=Join Koikatsu! Discord channel (Help, updates, sharing)
RunHF=Open HongFire release thread

IconGame=Koikatsu launcher
Expand All @@ -26,16 +26,16 @@ TaskDelete=Delete old mods before installation (Recommended if you want to avoid
TaskDeleteSide=Delete ALL existing sideloader mods
TaskDeletePlugins=Delete BepInEx folder (Deletes old plugins and translations. Recommended if you have issues or when updating from old repacks)
TaskDeletePluginSettings=Reset plugin settings (Recommended if you have issues)
TaskDeleteLst=Delete custom listfiles (Disable hardmods, they will be replaced with sideloader mods. Recommended always)
TaskSideDupes=Delete duplicate sideloader mods after installation (Newest versions are kept. Recommended always)
TaskDeleteLst=Delete custom listfiles (Disable hardmods, they will be replaced with sideloader mods. Always recommended)
TaskSideDupes=Delete duplicate sideloader mods after installation (Only the newest versions are kept. Always recommended)
TaskPW=Uninstall Patchwork if installed and delete Plugins folder (Optional, will free up some disk space. If you intend to use PW, make sure your version is compatible with the current game update. If you have issues, run the game without PW)
TaskIPA=Uninstall IPA if installed (Has to be removed for BepInEx to work correctly. Use BepInEx/IPA to load IPA plugins instead.)

CompDev=Developer version with dnSpy debugging
CompTL=English translation
CompDefCards=Default cards, scenes and backgrounds
CompUNC=Uncensor
CompFIX=Fixes and improvements
CompFIX=Important fixes
CompMISC=Other


Expand Down Expand Up @@ -75,5 +75,5 @@ jp.CompDev=dnSpyデバッグ付き開発者版
jp.CompTL=英訳
jp.CompDefCards=デフォルトのカード、シーン、背景
jp.CompUNC=無修正化
jp.CompFIX=修正点と改善点
jp.CompFIX=重要な修正
jp.CompMISC=他の
Loading

0 comments on commit a1d69d0

Please sign in to comment.