2025/08/08(金)Replay Manager:幻想人形演舞リプレイファイル整理ツール

日本語と英語に対応しています。
There is an English document at the bottom of this page.
A Windows desktop app for organizing (renaming / folder-sorting) the online-battle replay files (.rep) of Touhou Puppet Dance Performance (TPDP).
It supports both Japanese and English.
導入前に必ず、当ページの解説やダウンロードファイル内の ReadMe.txt をお読み下さい。
Be sure to read the instructions on this page and the ReadMe_en.txt file included in the download before installation.
- このツールについて
- インストール/アンインストール
- 動作確認環境
- 使い方
- 仕様
- ダウンロード
- 更新履歴
- Credit(JP)
- About
- Install / Uninstall
- Tested Environments
- How to Use
- Specifications
- Download
- Change History
- Credit(EN)
このツールについて
「幻想人形演舞」「幻想人形演舞 -ユメノカケラ-」が生成する、ネット対戦リプレイファイル(.rep)を整理するためのWindowsデスクトップアプリです。当該のゲームやリプレイファイルの格納場所については、理解済の方の使用を想定していますので、ここでは解説しません。
ご使用前に操作対象のファイルをバックアップしておくことを強くお勧めします。
本ツールの使用によって発生したいかなる損害にも製作者は一切の責任を負いません。
インストール/アンインストール
適当なフォルダに解凍してご使用ください。本ツールはレジストリを使用せず、ファイルも生成しません。
不要になった場合は、解凍したフォルダごと削除して下さい。
動作確認環境
- Windows 11
- 幻想人形演舞 ver1.31 / 1.34
- 幻想人形演舞 -ユメノカケラ- ver1.103
- 幻想人形演舞 -ユメノカケラ- Extended (※非公式拡張パッチ)
使い方
同梱の"ReplayManager.exe"を実行して下さい。1. ウィンドウに拡張子.repのファイルか、.repファイルの入ったフォルダをドラッグ&ドロップします。(参照ボタンからの指定もできます)
2. 読み込んだファイルから「処理対象」(ゲームとバージョン、自プレイヤー名)が自動判定されます。件数の多いものが最初から選ばれているので、通常はそのままで構いません。
3. 「フォルダ分け」「リネーム」それぞれの設定を選びます。初期状態はすべて「しない」になっており、実行側を選ぶまでファイルには何も起きません。
4. 画面下部の一覧で変更前/変更後を確認します。行をクリックするとチェックが切り替わり、チェックを外したファイルは処理されません。
5. [適用]を押すと確認の後に実行されます。
例)
自分のプレイヤー名が「ワタシ」で、「アナタ」という名前の人と対戦したとします。
その時に作られたリプレイファイルが「240120_000000.rep」(7ターンの対戦)だとします。
リネーム「する」で適用すると、ファイル名が「240120_000000_ワタシ_アナタ_7.rep」に変更されます。
さらにフォルダ分け「する」で適用した場合は、「アナタ」という名前のフォルダに移動します。
仕様
処理対象
処理対象は「ゲーム(無印/ユメノカケラ)とバージョン」および「自プレイヤー」の組で決まります。プレイヤー1(=そのリプレイを保存した側)が自プレイヤーと一致するファイルだけが処理されます。
処理対象から外れたファイル(バージョン違い・別ゲーム・自プレイヤーが別名のもの)はリネームされません。一覧ではグレーの「対象外」として表示されます。
「対象外ファイル:別のフォルダに分類」を選ぶと、対象外のファイルを名前を変えずに次の専用フォルダへ一括で移動できます。
- 自プレイヤーがプレイヤー1でないファイル → 「%他のプレイヤー」
- 同じゲームの他バージョン → 「%他Ver」
- 別ゲーム(バージョン問わず) → 「%無印」または「%ユメノカケラ」
- リプレイとして読めないファイル → 「%不明」
フォルダ分け
フォルダ分け「する」を選ぶと、処理対象のファイルが対戦相手(プレイヤー2)の名前のフォルダに移動します。リネーム
ファイル名の形式は「年月日_時分秒_自プレイヤー名_相手プレイヤー名_(形式外)_ターン数.rep」です。チェックボックスで一部の項目を外すこともできます。
日時は元のファイル名の先頭にあるものを最優先で引き継ぎます。
元のファイル名に日時が無い場合はリプレイ内部のデータから復元しますが、実際の対戦開始時刻よりも1~2分程の誤差があります。
リネーム済みファイルの扱いは3通りから選べます。
- 変更しない … 下記形式以外の名前のファイル(手動で変更したものなど)には触れません。
- 流用 … 形式外の部分を「(形式外)」の位置に残してリネームし直します。
- 刷新 … 形式外の部分を捨ててリネームし直します。
旧形式の名前を手動で変更していた場合、その部分は「(形式外)」として引き継げます。
プレイヤー名に、ファイル名に使用できない記号が含まれていた場合、その文字は全角文字に変換されます。
次の記号が該当します(区切りに使用する_と、専用フォルダの先頭に使用する%を含みます)。
/:*?"<>|\_%
移動先・変更後の名前が既存のファイルと重なる場合は、末尾に「_001」のような連番が付きます。
同名のpngファイル
.repと同じ名前の.pngファイルがある場合、.repの移動・リネームに合わせて自動で追従します。一覧には.repの直下に青字で表示されます。
pngだけを個別に処理することはできません。同名の.repが無いpngは処理されません。
その他
読み込めるのは「1 つのフォルダ」または「同じフォルダ内の .rep ファイル」のみです。フォルダをドラッグ&ドロップした場合、そのフォルダの直下のファイルだけが対象になります。サブフォルダの下にあるファイルは対象になりません。
対象ファイルの拡張子が.repで無い場合は読み込まれません。
極めて低い確率ですが、対象にした無関係のファイルの拡張子が.repで、偶然内部的にも幻想人形演舞のリプレイファイルと同じような構造だった場合、処理が実行されてしまう可能性はゼロではありません。
その際は手動でファイル名を元に戻して下さい。
ダウンロード
2つの配布形態があります。【軽量版】
ファイルサイズは小さいです(約240KB)。別途.NET 8 デスクトップランタイムのインストールが必要です。
【全部入り版】
ランタイムのインストール不要でそのまま動きます。ファイルサイズは大きめです(約65MB)。
- Replay Manager ver3.0 (軽量版)
- Replay Manager ver3.0 (全部入り版)
RepFileRenamer ver2.0※公開終了幻想人形演舞(無印)のリプレイファイルの末尾に対戦者の名前を追加するスクリプトver1.0※公開終了幻想人形演舞-ユメノカケラ-のリプレイファイルの末尾に対戦者の名前を追加するスクリプトver1.0※公開終了
更新履歴
【ver3.0:2026.7.19】Replay Manager に改称して全面刷新(RepFileRenamer の後継)
フォルダ分け機能を追加(対戦相手別+対象外ファイルの分類)
処理対象(ゲーム×バージョン×自プレイヤー)を選択する方式に変更
リネーム形式のカスタマイズ、リネーム済み/旧形式ファイルの引き継ぎ(変更しない/流用/刷新)
同名 png ファイルの追従、実行前の一覧プレビューと選択適用、日本語/英語対応
【ver2.0:2025.8.8】
アプリケーション版「RepFileRenamer」として刷新
ログ表示、進捗ゲージの追加などUIを改善
大容量ファイルに対応。1ファイルあたりの処理時間を統一
プレイヤー名にWindows禁則文字が使用されていた場合、削除せず全角文字に変換する仕様に変更
幻想人形演舞(無印)版/ユメノカケラ版を同時に扱えるように統合
【ver1.0:2024.1.24】
ファイルパスの入力をファイルのドラッグ&ドロップで読み込ませるように変更
対戦した両プレイヤーの名前を自動で読み込んで反映できるように変更
【ver0:2023.12.17】
対象フォルダや対戦相手名を手入力する仕様のPowerShellスクリプトとして作成
Credit(JP)
実行ファイル/ウィンドウのアイコンにFocasLens様の公開画像素材を使用しています。幻想人形演舞、幻想人形演舞-ユメノカケラ-は、同人サークルFocasLens様/幻想人形劇団様 の著作物で、東方Projectの二次創作作品です。
幻想人形演舞-ユメノカケラ-Extendedは、Barudo様のチームが制作された、幻想人形演舞-ユメノカケラ-の非公式拡張パッチです。
本ツールはくしち個人による、非公式の制作物です。
本ツールに関する、FocasLens様、幻想人形劇団様やBarudo様チームへのお問い合わせはご迷惑となりますので行わないようお願い申し上げます。
About
A tool for organizing the online-battle replay files (.rep) generated by"幻想人形演舞(Gensou Ningyou Enbu)/Touhou Puppet Dance Performance (TPDP)" and "幻想人形演舞-ユメノカケラ-(Gensou Ningyou Enbu: Yumeno Kakera)/Touhou Puppet Dance Performance: Shard of Dreams (TPDP SoD)".
This page assumes you are already familiar with the games and where their replay files are stored, so those topics are not covered here.
We strongly recommend backing up the target files before use.
The author accepts no responsibility for any damage caused by using this tool.
Install / Uninstall
Extract the archive to any folder and run it from there.The tool does not touch the registry and does not create any files.
To uninstall, simply delete the extracted folder.
Tested Environments
- Windows 11
- Gensou Ningyou Enbu ver 1.31 / 1.34
- Gensou Ningyou Enbu -Yume no Kakera- ver 1.103
- Gensou Ningyou Enbu -Yume no Kakera- Extended (unofficial expansion patch)
How to Use
Run the bundled "ReplayManager.exe".1. Drag & drop .rep files, or a folder containing .rep files, onto the window (you can also use the browse buttons).
2. The processing target (game & version, own player name) is detected automatically from the loaded files. The most common one is preselected, so you can usually leave it as is.
3. Choose the "Folder sorting" and "Rename" settings. Everything defaults to "No" - nothing happens to your files until you explicitly choose an action.
4. Check the before/after list at the bottom. Clicking a row toggles its checkbox; unchecked files are not processed.
5. Press [Apply] to execute (after a confirmation).
Example:
Say your player name is "Me" and you fought someone named "You", and the resulting replay file is "240120_000000.rep" (a 7-turn battle).
Applying with Rename = Yes changes the filename to "240120_000000_Me_You_7.rep".
If Folder sorting = Yes is also applied, the file moves into a folder named "You".
Specifications
Processing Target
The target is defined by the pair "game (Enbu / Yume no Kakera) + version" and "own player".Only files whose player 1 (= the side that saved the replay) matches the selected own player are processed.
Files outside the target (different version, different game, or a different player 1) are never renamed. They appear greyed out as "Out of scope" in the list.
Selecting "Out-of-scope files: Sort into other folders" moves them, without renaming, into these dedicated folders:
- player 1 is not your own player → "%OtherPlayers"
- other versions of the same game → "%OtherVer"
- the other game (any version) → "%TPDP" or "%SoD"
- files that cannot be read as replays → "%Unknown"
Folder Sorting
With Folder sorting = Yes, target files move into a folder named after the opponent (player 2).Rename
The filename format is "Date_Time_OwnName_OpponentName_(extra)_Turns.rep".Individual fields can be excluded with the checkboxes.
The date/time at the head of the original filename is carried over with top priority.
If the original filename has none, it is reconstructed from the replay's internal data, but this can differ from the actual battle start time by 1-2 minutes.
Three policies are available for already-renamed files:
- Leave unchanged … files whose names do not match the format below (e.g. manually renamed ones) are left untouched.
- Carry over … renames while keeping the non-format part in the "(extra)" position.
- Refresh … renames from scratch, discarding the non-format part.
If you had manually edited such a name, the edited part can be carried over as "(extra)".
If a player name contains characters that cannot be used in filenames, they are converted to full-width characters.
The following characters apply (including "_" used as the separator and "%" used as the prefix of the dedicated folders):
/:*?"<>|\_%
If the destination name collides with an existing file, a sequence number such as "_001" is appended.
Same-name png files
If a .png file with the same name as a .rep exists, it automatically follows the .rep when moved or renamed. It is shown in blue directly under its .rep in the list.png files cannot be processed independently. A png without a same-name .rep is not processed.
Miscellaneous
You can only load a single folder, or .rep files from the same folder.When a folder is dropped, only the files directly inside it are targeted; files in subfolders are not.
Files whose extension is not .rep are not loaded.
Although extremely unlikely, if an unrelated file happens to have the .rep extension and an internal structure resembling an Enbu replay, it could be processed.
In that case, please restore the filename manually.
Download
This tool comes in two editions.[Lite edition]
smaller, but the ".NET 8 Desktop Runtime"(about 240 KB).
[Full edition]
no runtime needed; The file size is larger (about 65 MB).
- Replay Manager ver3.0 (lite edition)
- Replay Manager ver3.0 (full edition)
RepFileRenamer ver2.0: No longer availableScript to Add Opponent Names to the End of TPDP Replay Files, Version 1.0: No longer availableScript to Add Opponent Names to the End of TPDP SoD Replay Files, Version 1.0: No longer available
Change History
[ver3.0: 2026.07.19]Renamed to "Replay Manager" and fully redesigned (successor to RepFileRenamer)
Added folder sorting (per-opponent + classification of out-of-scope files)
Switched to selecting a processing target (game x version x own player)
Customizable filename format; handling of already-renamed / old-format files (leave unchanged / carry over / refresh)
Same-name png files follow their .rep; preview list with selective apply; Japanese / English support
[ver2.0: 2025.08.08]
Relaunched as the “RepFileRenamer” application
Support for large files; unified per-file processing time
Windows-forbidden characters in player names are now converted to full-width characters instead of being removed
Unified handling of both Enbu and Yume no Kakera replays
[ver1.0: 2024.01.24]
File paths are now loaded via drag & drop
Both players' names are now read and applied automatically
[ver0: 2023.12.17]
Created as a PowerShell script with manually entered target folders and opponent names
Credit(EN)
The executable/window icon uses publicly released image material by FocasLens]."幻想人形演舞(Gensou Ningyou Enbu)/Touhou Puppet Dance Performance (TPDP)" and "幻想人形演舞-ユメノカケラ-(Gensou Ningyou Enbu: Yumeno Kakera)/Touhou Puppet Dance Performance: Shard of Dreams (TPDP SoD)" are the works of the doujin circle FocasLens / 幻想人形劇団(Gensou Ningyou Gekidan), and are derivative works of Touhou Project.
"Touhou Puppet Dance Performance" and "Touhou Puppet Dance Performance: Shard of Dreams" are
an unofficial English title.
"Touhou Puppet Dance Performance: Shard of Dreams -Extended-"
is an unofficial expansion patch
created by Barudo and their team.
This tool is an unofficial creation by くしち (Kushichi) (individual).
Please do NOT contact FocasLens, Gensou Ningyou Gekidan, or Barudo's team about this tool — it would only cause them trouble.