Core Keeper の操作キャラクターの見た目を、好きな画像に差し替える Windows 用ツールです。 A Windows tool that replaces the look of your Core Keeper character with a picture of your choosing.
Important
これは Pugstorm / Core Keeper の公式製品ではありません。有志が作った非公式のツールです。本ツールについて、ゲームの公式サポートへ問い合わせないでください。
This is not an official Pugstorm or Core Keeper product. It is an unofficial, fan-made tool. Please do not contact the game's official support about it.
操作キャラクターの見た目(体・髪・目・服・ズボン・防具)を、自分で用意した画像に差し替えます。 差し替えはキャラクター単位で、ゲームのセーブデータそのものには手を加えません。
| 構成 | 内容 |
|---|---|
GUI (cks-gui.exe) |
画像の取り込み、ドット編集、ゲームへの配置までを行う本体 |
CLI (cks.exe) |
同じ変換をコマンドラインから行う道具。通常は使いません |
MOD (src/mod) |
ゲーム側で絵を差し替える PugMod 製の MOD。C# ソースのまま配布し、ゲームが読み込み時にコンパイルします |
Warning
このツール、および導入される MOD の使用は、すべて利用者ご自身の責任において行ってください。 作者はいかなる損害についても責任を負いません。セーブデータの破損、ゲームの動作不良、ゲームの アップデートに伴う不具合、マルチプレイでの不都合などが起こり得ます。 重要なセーブデータは、使用前に必ず控えを取ってください。
同じ内容をアプリの初回起動時にも表示します。同意された場合のみ使用できます。
- Windows 10 / 11 (64bit)
- Steam 版 Core Keeper(1.3.0.6-6e73 で動作を確認済み。対応する版は
data/supported-versions.jsonに記載) - .NET のインストールは不要(配布物は自己完結ビルド)
このツールの版の番号の先頭 2 つは、対応する Core Keeper の版に合わせています(3 つ目の数はツール自身の更新を表します)。現在の版 v1.3.1 は Core Keeper 1.3.0 系用です。
- Releases から zip をダウンロードし、展開して
cks-gui.exeを実行します。画面上部の帯に「MOD が未導入です」と出ていたら「MOD を導入」を押します - 画像を開く・プリセットを選ぶ・ゲームから取得する、のいずれかでシートを作ります
- 必要ならドット単位で描き直します
- 右側でキャラクターにチェックを入れ、「ゲームへ配置」を押します
zip に同梱の readme.txt には、アプリを使い始める前に必要なこと(SmartScreen の警告への対処、
ゲームが見つからない場合の手順)とやめるときの手順を書いています。使い方のすべてはアプリ内の
「ヘルプ」にあります。
- 画像から作る — ドラッグ&ドロップで取り込み、背景の透過、切り抜き位置、ドット絵化、輪郭線、 歩行と攻撃の動き付けを設定できます
- プリセットから作る — 6 カテゴリ 30 種。18 種はこのプロジェクトの画像生成ツール (cksgen、下記)で作った絵、 12 種は配色のレシピからツールが描くもので、ゲームの絵は使っていません
- ゲーム内の見た目を取り込む — キャラクターの現在の見た目を、編集画面へ取り込みます(MOD の導入が必要です)
- ドット単位の編集 — 左右対称に描く、全コマに反映、元に戻す/やり直す、シート内の色から選ぶ
- 動きの確認 — 待機・歩行・攻撃・構え・運転・着席、正面・右・左・背面
- キャラクターごとの配置と削除 — キャラクターごとに別の画像を持てます
- MOD の導入・更新・削除 — アプリから行えます。Unity や .NET の導入は不要です
- mod.io 用の書き出し — 作った見た目を、mod.io に登録できる MOD の zip として書き出します(下記)
- 日本語 / English の切り替え
取り込む元の絵は、別のツール「Core Keeper スキン生成ツール (cksgen)」で、画像生成 AI に描かせることも できます。cksgen は別のリポジトリで公開しています。
cksgen が書き出す PNG(背景が透明な絵)は、このツールの「画像を開く…」でそのまま開けます。cksgen で横と 後ろの絵も描いた場合は、「向き別の絵(任意)」の「右向きの絵…」と「背面の絵…」で開きます(横の絵は右を 向いている必要があります)。cksgen の動作には NVIDIA の GPU が必要です。詳しくは cksgen の README を ご覧ください。
作った見た目は、mod.io に登録できる MOD の zip として書き出せます。登録した MOD は、遊ぶ人がゲームの MOD メニューから購読して有効にするだけで使えます(このツールは要りません)。
- ふだんどおり「ゲームへ配置」でゲーム内の見た目を確かめ、「PNG として保存…」で保存しておきます
- 「mod.io 用に書き出す…」を押し、MOD の名前・版・装備の見え方(防具・服・兜を絵の上に重ねるか、 非表示にするか)を選んで、保存先を選びます
- zip と一緒に、ロゴ画像(1280×720)と登録メモができます。mod.io の Web サイトで登録してください。 このツールは登録しません
- 登録メモに、付けるタグと手順を書いています。とくに Game Version のタグ(例: 1.3.0)が無いと、起動時に 警告が出て、遊ぶ人がそこで読み込むほうを選ばない限りゲームが読み込みません。Access Type を Asset にすると MOD のスクリプトが動きません
- 書き出した MOD が掛かるのは、遊ぶ人自身の操作キャラクターだけです。書き出すたびに別の MOD になる ので、いくつ書き出しても、それぞれ別の MOD として登録できます
- 別の MOD として登録するには、mod.io の「Add」→「Mod」から新しく登録します。すでにある MOD の ページにファイルを上げると、その MOD の更新になり、前の絵は置き換わります。遊ぶ人は使いたい MOD だけを有効にしてゲームを再起動します。このツールで書き出した MOD を 2 つ以上同時に有効にすると、 読み込み順で先の 1 つだけが掛かります
- 「ゲームへ配置」で絵を置いたキャラクターでは、そちらの絵が優先されます
ゲームのプレイヤーは 234×156 ピクセル・39 コマのスプライトシートで描かれています。このツールは
同じ配置のシートを作り、MOD が実行時にキャラクターのシートを差し替えます。コマの位置やパーツの
矩形は、ゲームから実測した data/ の JSON に基づきます。
- 左向きの専用コマはありません。ゲームが右向きを左右反転して表示するため、文字やロゴなど左右 非対称な絵は左を向いたときに鏡文字になります
- 絵は最終的に 16×19 ピクセル程度まで縮小されます。細かい模様や小さな文字は判別できません
- 動きを付けられるのは歩行(6 コマ)と攻撃(2 コマ)だけです。待機・構え・運転・着席は、ゲーム側が それぞれ 1 コマしか持たないため静止したままです
- 手に持つ武器・ツール・盾・釣り竿は変更できません
- 差し替えた見た目が見えるのは、自分の画面の自分のキャラクターだけです。マルチプレイでは、ほかの 参加者から見た自分のキャラクターは、相手が同じ MOD を導入していても通常の見た目のままです
- ゲームがアップデートされると MOD が動作しなくなる場合があります
- Windows 版のみに対応します(ゲームと設定フォルダの検出が Windows の仕組みに依存するため)
すべての制限はアプリ内の「ヘルプ」に記載しています。
必要なもの: .NET 9 SDK の 9.0.300 以降(GUI が使う Avalonia の コード生成は、それより前の SDK のコンパイラでは動きません)
dotnet build src/gui/CoreKeeperSkinTool.Gui.csproj -c Release
dotnet test src/tool.tests/CoreKeeperSkinTool.Tests.csproj
dotnet test src/gui.tests/CoreKeeperSkinTool.Gui.Tests.csprojGUI をビルドすると、Avalonia がビルド時の匿名の利用統計を avaloniaui.net へ送ります(配布物の実行時には
送りません)。送らないようにするには、環境変数 AVALONIA_TELEMETRY_OPTOUT=1 を設定してからビルドしてください。
MOD の同梱データ build/mod-payload/CustomPlayerSkin.zip はリポジトリに含みません。これが無い
ままビルドすると、MOD 導入機能が使えないアプリになります(ビルド時に警告が出ます)。テストは
同梱データを使う ModPayloadTests(8 件)と ModPayloadLinkTests(4 件)だけが失敗し、残る 1043 件は通ります。作り直すには
Unity 6000.0.59f2 と、Pugstorm が配布している Core Keeper Mod SDK が必要です。SDK 自体もこの
リポジトリには含まないため、CoreKeeperModSDK/ に自分で配置してください。
scripts/setup-dev.ps1 # .NET SDK・Unity・AssetRipper の確認と導入(Unity は手順の案内のみ)
scripts/setup-mod-project.ps1 # src/mod を SDK のプロジェクトへ接続
scripts/build-mod.ps1 # Unity バッチビルド(約 5 分)
scripts/package-release.ps1 # 配布用 zip の作成build-mod.ps1 はゲームの場所を自動で探します。見つからない場合は -GamePath か環境変数
CKS_GAME_PATH で指定してください。なお SDK の仕様上、このスクリプトはビルドした MOD を
ゲームのフォルダへ直接導入します。
| パス | 内容 |
|---|---|
src/core |
共通ロジック(画像処理・シート生成・導入・ローカライズ) |
src/tool |
CLI (cks) |
src/gui |
GUI (cks-gui、Avalonia) |
src/mod |
ゲーム内 MOD(PugMod。C# ソースで配布) |
src/mod-export |
mod.io 用に書き出す MOD のスクリプト(書き出す zip にそのまま入る C# ソース) |
src/sdk-editor |
Unity のバッチビルドに使うエディタスクリプト |
src/tool.tests, src/gui.tests |
テスト(1055 件) |
data |
ゲームから実測した座標、プリセットの配色と絵、画像生成用のプロンプト |
scripts |
開発・ビルド・配布用の PowerShell |
packaging |
配布物に同梱する readme |
このリポジトリにゲームの画像・音声・アセンブリは一切含みません。data/ にあるのは矩形座標などの
実測値と、このプロジェクトで用意した配色レシピ・プリセットの絵・画像生成用のプロンプトだけです。
Core Keeper 本体とそのアセット・商標は Pugstorm に帰属します。
MIT License(LICENSE)。配布物に同梱するライブラリの著作権表示は THIRD-PARTY-NOTICES.md にあります。
It replaces how your character looks - body, hair, eyes, shirt, trousers and armour - with a picture you supply. The replacement is per character, and the game's save data itself is left untouched.
| Part | What it is |
|---|---|
GUI (cks-gui.exe) |
The application: import a picture, edit it pixel by pixel, put it in the game |
CLI (cks.exe) |
A command-line tool doing the same conversion. Not needed for normal use |
Mod (src/mod) |
A PugMod mod that swaps the artwork in the game. Shipped as C# source and compiled by the game as it loads |
Warning
You use this tool, and the mod it installs, entirely at your own risk. The author accepts no liability for any damage arising from its use: save data can be corrupted, the game can misbehave, a game update can break things, and multiplayer sessions can be affected. Back up any save you care about before you start.
The same notice appears the first time you run the application, and you can only proceed by accepting it.
- Windows 10 / 11 (64-bit)
- Core Keeper on Steam, checked with 1.3.0.6-6e73. The versions it supports are listed in
data/supported-versions.json - No .NET installation: the released build is self-contained
The first two numbers of this tool's version follow the Core Keeper version it is made for, and the third counts the tool's own updates: the current version, v1.3.1, is for Core Keeper 1.3.0.x.
- Download the zip from Releases, extract it and run
cks-gui.exe. If the status bar at the top says the mod is not installed, press "Install mod" - Build a sheet by opening a picture, picking a preset, or fetching what is already in the game
- Redraw pixels by hand if you want to
- Tick a character on the right and press "Apply to game"
The readme.txt inside the zip covers what you need before you can start using the application -
the SmartScreen warning and what to do when the game cannot be found - and how to remove it.
Everything about using it is in the application's help.
- From a picture - drag and drop, then choose how the background is removed, where the crop sits, how it is reduced to pixels, whether it gets an outline, and how it moves when walking or attacking
- From a preset - 30 characters in 6 categories: 18 are pictures made for this project with its companion image generator (cksgen, see below), and the tool draws the other 12 from colour recipes; none of the game's own artwork is involved
- From the game - fetch a character's current appearance into the editor (the mod has to be installed)
- Pixel editing - mirrored drawing, apply to every frame, undo and redo, pick from the colours already in the sheet
- Preview - idle, walk, attack, aim, drive and sit, facing front, right, left and back
- Per character - apply to and remove from each character separately; each can have its own picture
- Install, update and remove the mod from inside the application. Neither Unity nor .NET is needed
- Export for mod.io - write the look as a mod zip that can be registered on mod.io (see below)
- Japanese and English interface
The picture to import can also be drawn by an image-generation AI, with a separate tool: Core Keeper Image Generator (cksgen), published in a repository of its own. Its interface is in Japanese only.
The PNG that cksgen writes - with a transparent background - opens here with "Open image…" as it is. When cksgen has also drawn the side and back pictures, open them with "Right-facing art…" and "Back-facing art…" under "Art per facing (optional)"; the side picture has to face right. cksgen needs an NVIDIA GPU; its README has the details.
A look you made can be written as a mod zip that can be registered on mod.io. Once it is registered, players only need to subscribe to it and enable it from the game's Mods menu; this tool is not needed for that.
- Check the look in the game with "Apply to game" as usual, and save it with "Save as PNG…"
- Press "Export for mod.io…", choose the mod's name, its version and how the equipment looks (the armour, clothes and helmet drawn over the picture, or hidden), and choose where to save
- A logo (1280x720) and upload notes are saved beside the zip. Register it on the mod.io website; this tool does not upload anything
- The upload notes list the tags to pick and the steps. Above all, without the Game Version tag (such as 1.3.0) players get a warning at start-up and the game does not load the mod unless they choose to load it anyway, and with Access Type set to Asset its scripts do not run
- The mod changes only the player's own character. Every export becomes a separate mod, so however many you export, each can be registered as a mod of its own
- To register one as a separate mod, add it as a new mod with "Add" > "Mod" on mod.io. Uploading the file to the page of an existing mod updates that mod instead, and its earlier picture is replaced. Players enable only the mod they want and restart the game. With two or more mods exported by this tool enabled at once, only the first in the load order is applied
- A character given a picture with "Apply to game" keeps that picture
The game draws the player from a 234x156 pixel sheet of 39 frames. This tool builds a sheet with
the same layout, and the mod swaps the character's sheet in at run time. Frame positions and part
rectangles come from the JSON in data/, measured from the game.
- There are no frames for facing left: the game mirrors the right-facing ones, so lettering and anything else asymmetric reads backwards when the character turns left
- The picture ends up around 16x19 pixels. Fine detail and small text will not survive
- Only walking (6 frames) and attacking (2 frames) can be animated. Idle, aim, drive and sit hold a single frame each in the game, so they stay still
- Held weapons, tools, shields and fishing rods cannot be changed
- The replaced look is shown only for your own character on your own screen. In multiplayer, the other players see your character looking ordinary, even if they have installed the same mod
- A game update can stop the mod from working
- Windows only: finding the game and its settings folder relies on how Windows does things
The application's help lists all of them.
You need the .NET 9 SDK, version 9.0.300 or later (the code generator of Avalonia, which the GUI uses, does not run on the compiler of earlier SDKs).
dotnet build src/gui/CoreKeeperSkinTool.Gui.csproj -c Release
dotnet test src/tool.tests/CoreKeeperSkinTool.Tests.csproj
dotnet test src/gui.tests/CoreKeeperSkinTool.Gui.Tests.csprojBuilding the GUI makes Avalonia send anonymous build-time usage statistics to avaloniaui.net (the
released application sends nothing when it runs). To opt out, set the environment variable
AVALONIA_TELEMETRY_OPTOUT=1 before building.
The bundled mod, build/mod-payload/CustomPlayerSkin.zip, is not in the repository. Building
without it produces an application whose install-mod feature cannot work, and the build says so.
The tests that use that bundle - 8 in ModPayloadTests and 4 in ModPayloadLinkTests - fail
without it; the other 1043 pass.
Rebuilding it needs Unity 6000.0.59f2 and the Core Keeper Mod SDK that Pugstorm distributes. The
SDK is not in this repository either: put it in CoreKeeperModSDK/ yourself.
scripts/setup-dev.ps1 # check for and install the .NET SDK, Unity and AssetRipper (Unity: instructions only)
scripts/setup-mod-project.ps1 # attach src/mod to the SDK project
scripts/build-mod.ps1 # Unity batch build, about 5 minutes
scripts/package-release.ps1 # build the release zipbuild-mod.ps1 searches for the game itself; pass -GamePath or set CKS_GAME_PATH when it
cannot find it. Note that the SDK builds a mod straight into the game folder, so this script
installs it there.
| Path | Contents |
|---|---|
src/core |
Shared logic: image processing, sheet building, installation, localisation |
src/tool |
The CLI (cks) |
src/gui |
The GUI (cks-gui, Avalonia) |
src/mod |
The in-game mod (PugMod, shipped as C# source) |
src/mod-export |
The scripts of the mod written for mod.io (C# source copied into every exported zip) |
src/sdk-editor |
Editor script used by the Unity batch build |
src/tool.tests, src/gui.tests |
Tests (1055 of them) |
data |
Measurements taken from the game, the preset colour recipes and pictures, and the image-generator prompt |
scripts |
PowerShell for development, building and packaging |
packaging |
The readme that ships inside the zip |
This repository contains none of the game's artwork, audio or assemblies. What data/ holds is
measurements - rectangles and coordinates - plus the colour recipes, preset pictures and
image-generator prompt prepared for this project. Core Keeper itself, its assets and its
trademarks belong to Pugstorm.
MIT License, in LICENSE. Copyright notices for the libraries that ship inside the released binaries are in THIRD-PARTY-NOTICES.md.