Skip to content

Instantly share code, notes, and snippets.

@AX-MMD
AX-MMD / KK_zero_scale_bone_fixer.py
Last active August 13, 2025 07:19
KK_zero_scale_bone_fixer
import re
import os
"""
Replace
<ScaleModifier>
<x>0</x>
<y>0</y>
<z>0</z>
</ScaleModifier>
@AX-MMD
AX-MMD / text.md
Last active July 27, 2025 19:01
Adjusting Windows Pagefile

Use the Windows key + R and type the sysdm.cpl command to open the first window

image

Then change the size to System managed or if you really want a custom size at least 80% of your Ram size.

2

Reboot your PC

@AX-MMD
AX-MMD / KK-folders-map.txt
Last active August 10, 2025 19:48
Koikatsu file structure map
<Koikatsu folder>
|
|- BepInEx
| |-- plugins (`.dll` files/plugins go here)
| |-- patchers (for specific `.dll` files)
|
|
|- mods (`.zipmod`s go here,
| also `.zip` ONLY if contain
| `/abdata` AND `manifest.xml`)
@AX-MMD
AX-MMD / mp4_to_ogg.bat
Last active May 12, 2025 01:40
ffmpeg ogg scripts
@echo off
setlocal
:: Check if an argument is provided
if "%~1"=="" (
echo Usage: mp4_to_ogg.bat input.mp4
exit /b 1
)
:: Get the input file name and directory
@AX-MMD
AX-MMD / gist:d407a8a456ffff39d8e35cc0a45018c2
Last active May 19, 2025 21:03
ffmpeg install instruction

Download

Install

  • Extract the content wherever you like, but it's probably better to create a folder at the root of C:/ drive.
  • No matter where you placed it, copy the path of the /bin folder.

image

  • Set the environment variable to indicate to windows where ffmpeg is located, open Run in the windows bar and launch rundll32 sysdm.cpl,EditEnvironmentVariables with it.