KKAFIO
Koikatsu Auto File I/O. Create backup, filter and convert kks cards, install/remove chara given a folder.
Install / Use
/learn @RedDeadDepresso/KKAFIOREADME
KKAFIO: Koikatsu Auto File I/O
<p align="center"> <img width="720" alt="KKAFIO preview" src="https://github.com/user-attachments/assets/5acc50f1-baf3-476f-b625-fc0405bf4e2f"> </p>Features
1. Create Backup
- Automatically creates a
.7zfile that includes:UserdataMods(excluding Sideloader Modpack)BepInExfolders
- If a
.7zfile with the same name already exists, it will be overwritten.
2. Filter & Convert KKS
- Functions similarly to FlYiNGPoTAToChiP's KK_SunshineCardFilter
- Given a folder, the script:
- Finds all KKS (Koikatsu Sunshine) cards and moves them into the folder
_KKS_card_ - Optional: If conversion is enabled, it also converts KKS cards and stores them in
_KKS_to_KK_
- Finds all KKS (Koikatsu Sunshine) cards and moves them into the folder
3. Install Chara
- Given a folder containing:
Chara,Coordinate,Overlays, andZipmodfiles
- The script automatically copies and pastes the files into their respective game folders.
- Additionally, if it finds any compressed files (e.g.,
.zip,.rar,.7z), it will automatically extract them.
4. Remove Chara
- Performs the reverse process of the "Install Chara" feature:
- Given a folder with
Chara,Coordinate,Overlays, andZipmodfiles, it looks for and deletes these files from the game directories if found.
- Given a folder with
- Important: Only use this feature if you have selected Rename or Replace in file conflicts when using the "Install Chara" feature.
Requirements
- 7-Zip installed
- If running from source code, uv installed.
Installation and Usage
Download the latest version and extract it, then run KKAFIO.exe.
If you want to run from source code, follow these steps:
- Clone or download this repository.
- Install uv if you haven't already.
- Run
uv syncin the repository folder to create the virtual environment and install dependencies. - Run
uv run KKAFIO.pyand modify the settings to your preference. - Press Start.
Note: You may have to run as administrator if Koikatsu is saved in C:\Program Files (x86). To do so, run Command Prompt as administrator, cd to the KKAFIO folder and then run uv run KKAFIO.py.
Please feel free to use and modify KAFIO as you see fit. Your feedback and contributions are always welcome.
Known Bugs
Here are some known issues with KKAFIO:
- Any .png that cannot be classified as chara or coordinate will be treated as Overlays. It is not a big issue, you can go to the Overlays folder, sort by date and delete any files that are not overlays.
Acknowledgment
I'd like to express my gratitude to the following individuals, listed in no particular order:
- zhiyiYo for providing PyQt-Fluent-Widgets allowing me to make the GUI.
- Kiramei for creating the logger. You can find the original here.
- FlYiNGPoTAToChiP for making KK_SunshineCardFilter open-source allowing me to implement it as a module. Also, they provided the method to distinguish chara and coordinate.
- Evaanxd and GaryuX for Ryuko Matoi card and image.
Related Skills
imsg
341.6kiMessage/SMS CLI for listing chats, history, and sending messages via Messages.app.
node-connect
341.6kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
oracle
341.6kBest practices for using the oracle CLI (prompt + file bundling, engines, sessions, and file attachment patterns).
lobster
341.6kLobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (s
