Game Tools and Modifications

This article holds info about existing tools to extract or modify the data of the Touhou Project games.

All of the tools are built for Windows only, however some have source code included and therefore it might be possible to get them to work on other platforms.

If your computer has trouble recognizing Japanese words related to Touhou, see the Input Method Dictionary.

For more information on the inner workings of the games, see the Technical Information pages.

Localisation Patches

General Utilities

Mystic Square Toolkit

Download
Purpose

Collection of command-line tools to decompile and recompile the data of Mystic Square.

Features

Supports the following formats:

  • *.std – Stage scripts (Containing enemy layout, danmaku patttenrs, background section layout and scroll speeds) (Decompile/Recompile).
  • *.map – Background section definitions (A section is 5 rows of 24 tiles) (Decompile/Recompile).
  • *.mpn – MPTN Background tile bitmaps and palettes (Decompile/Recompile).
  • *.tx2 – Dialogues (Decompile/Recompile).

Supports
Icon th05.png
TH05

Latest version

Beta

Author

  • Tom

anm2png

Download, w/ source code
Purpose

Console application to convert anm files in Touhou dat files to png images.

Author

Rarity

Extractors

thbgmextractor

Download
Purpose

GUI extraction tool with lots of customization options

Thbgmextractor V1.6.4.png
Screenshot
Features

  • Loop count and fade-out curves customisable on a per-track basis
  • Waveform display
  • Automatic tagging
  • Configurable hooks for external encoders
  • Support for new games can be added using title files

Supports

Built-in:

Icon th06.png
TH06
Icon th07.png
TH07
Icon th08.png
TH08
Icon th09.png
TH09
Icon th095.png
TH095
Icon th10.png
TH10
Icon alcostg.png
alcostg
Icon th11.png
TH11
Icon th12.png
TH12

Also supports additional games (all present and most likely future Windows-era Touhou games since 1.5.0 beta 2 / 1.4.6) via title files. The download page includes a collection of links to title files.

Icon th125.png
TH125
Icon th128.png
TH128
Icon th13.png
TH13
Icon th14.png
TH14
Icon th143.png
TH143
Icon th15.png
TH15
Icon th16.png
TH16
Icon th17.png
TH17
Icon th075.png
TH075
Icon sh02.png
SH02
Usage

  • Drag a BGM file (usually thbgm.dat) onto the ThbgmExtractor.exe file.
    The program will ask you for the output directory and then start the extraction process.

Latest version

1.6.7 (2020-05-21)

Author
smdn

Changers

Players

  • thplay – 東方蓄音機 (Touhou Gramophone) (Japanese)
  • bgmforall – BGM For All Version 1.1 By 野风信子 (Chinese)
  • FBPLAY – A player that supports a wide range of games including TH06-TH11. Unofficial versions support up to TH13.

Title files

There is a common format for files that store information about BGM names and their positions in thbgm.dat files. The usual naming convention is titles_thXX.txt.
Note that older versions of software may not fully support TH13 title files due to the reduced sample rate for spirit world versions in that game.

Here are some sources of these files:

Bgm files

These files are for use in Touhou Music Room / Touhou Vorbis Compressor:

Supporting multiple games

DX8 to DX9 converter

Download
Purpose

Various essential Windows 10 fixes. Touhou 6 EoSD unlimited FPS fix, Touhou 7.5 IaMP crashing fix, and more. Extract files into game directory.

Features

  • Enables exclusive fullscreen instead of (borderless) windowed fullscreen on Windows 10. Reduces input delay when used with the Vsync Patches.
  • Enables compatibility with various screen recording and streaming software (e.g. Open Broadcaster Software).
  • Enables compatibility with various third-party graphics tools (e.g. MSI Afterburner, SweetFX).

Known issues:

  • Touhou 7.5: Character sprites are blurry due to poor sprite filtering. If this is annoying, use AnKor’s converter instead.

Supports
Icon th06.png
TH06
Icon th07.png
TH07
Icon th08.png
TH08
Icon th09.png
TH09
Icon th095.png
TH095
Icon th075.png
TH075

Author
Boris Vorontsov (ENBDev)

Vsync Patches

Download
Purpose

Reduces input delay (game responds more quickly when a button is pressed).

For EoSD, please remember to install (and run!) the game in Japanese locale, or the filenames will be gibberish and the patch won’t be able to find the main program. Failing that, you can use vpatch_th06_unicode.dll instead of vpatch_th06.dll, and rename the program to 東方紅魔郷.exe.

Author download site: http://ux.getuploader.com/swmplv75e/

Features

Additional features include:

  • Enabling use of Ctrl to fast-forward replays, in older games that did not already have this feature
  • Fixing the display glitches for PCB cherry values above 1 million and UFO scores above 231
  • An option to select full-screen or windowed mode upon game startup, in older games that did not already have this feature
  • The ability to resize the game’s window to any dimensions and/or remove the title bar in windowed mode
  • The ability to increase the game speed above 60fps (but not decrease it)
  • Optional MoF MarisaB 3.xx power fix

Supports
Icon th06.png
TH06
Icon th07.png
TH07
Icon th08.png
TH08
Icon th09.png
TH09
Icon th095.png
TH095
Icon th10.png
TH10
Icon alcostg.png
alcostg
Icon th11.png
TH11
Icon th12.png
TH12
Icon th125.png
TH125
Icon th128.png
TH128
Icon th13.png
TH13
Icon th15.png
TH15

Danmakufu

Author
swmpLV/75E (English instructions by Drake)

dgVoodoo2

Download
Purpose

An advanced DX8 converter that enables optional high-resolution rendering (e.g. native 1080p) and other graphical enhancements, but has notable known issues.

Features

  • Similar features to the DX8 to DX9 converter (Windows 10 fixes, etc), but converts to DX11 (feature level 10.1).
  • Enable high-resolution rendering, anti-aliasing, and anisotropic filtering.
  • Alt-Enter shortcut to toggle fullscreen.

Known issues:

  • Additional input lag and higher graphical requirements compared to the DX8 to DX9 converter.
  • When playing at high resolutions, graphical artifacts are visible throughout the interface and around some in-game sprites.
  • Incorrect graphics in some games (e.g. invisible trees in EoSD stage 3).

Supports
Icon th06.png
TH06
Icon th07.png
TH07
Icon th08.png
TH08
Icon th09.png
TH09
Icon th095.png
TH095
Icon th075.png
TH075

Author
Dege

THRotator

Download
Purpose

Another tool allowing games to be played in a vertical-oriented resolution, with more games supported and customisable positioning for HUD elements.

Supports
Icon th06.png
TH06
Icon th07.png
TH07
Icon th08.png
TH08
Icon th09.png
TH09
Icon th095.png
TH095
Icon th10.png
TH10
Icon alcostg.png
alcostg
Icon th11.png
TH11
Icon th12.png
TH12
Icon th125.png
TH125
Icon th128.png
TH128
Icon th13.png
TH13
Icon th14.png
TH14
Icon th143.png
TH143
Icon th15.png
TH15
Icon th16.png
TH16
Icon th165.png
TH165

Latest version

2.1.0

Author

massanoori

Touhou Input Display

Download
Purpose

Reads the memory of Touhou games and gives a display of the game’s inputs.

Features

  • Displays the inputs of replays as well.
  • Auto-detects the running game
  • Does not depend on input device or setup.
  • Somewhat configurable, will likely support future games.

Supports
Icon th06.png
TH06
Icon th07.png
TH07
Icon th08.png
TH08
Icon th09.png
TH09
Icon th095.png
TH095
Icon th10.png
TH10
Icon alcostg.png
alcostg
Icon th11.png
TH11
Icon th12.png
TH12
Icon th125.png
TH125
Icon th128.png
TH128
Icon th13.png
TH13
Icon th14.png
TH14
Icon th143.png
TH143
Icon th15.png
TH15
Icon th16.png
TH16
Icon th165.png
TH165
Icon th17.png
TH17

Author
Drake

Real Hitbox Patches

Download
Purpose

Changes the sizes of bullets to approximately match their hitboxes.

Supports
Icon th06.png
TH06
Icon th07.png
TH07
Icon th08.png
TH08
Icon th09.png
TH09
Icon th095.png
TH095
Icon th10.png
TH10
Icon th11.png
TH11
Icon th12.png
TH12
Icon th125.png
TH125
Icon th128.png
TH128
Icon th13.png
TH13
Icon th14.png
TH14
Icon th143.png
TH143

Author
sibgamer

Mục lục bài viết

Voice Mod

Download
Purpose

Allows characters to have a voice.
See the Voice Mod page for a detailed usage description.

Supports

Icon th105.png
TH105
Icon th123.png
TH123

Author
unknown

ThMouse

Download
Purpose

Enables mouse control in Touhou danmaku games, allowing the player character to move towards wherever the cursor points.

Supports
Icon th10.png
TH10
Icon th11.png
TH11
Icon th12.png
TH12
Icon th125.png
TH125
Icon th128.png
TH128
Icon th13.png
TH13
Icon th14.png
TH14

Latest version

v0.31 (2013-08-27)

Author
hwei

Supporting single games

Retexture Patch

Download
Purpose

Replaces all the images in EoSD with cleaner, higher resolution images. The sprites have also been updated with those from the newer games. Read the readme before installing, as it contains some important information. This patch is packaged with the English translation patch as well.

Latest version

0.3

Author
Emarrel

Hitbox Patch

Download
Purpose

Displays a visible hitbox on the character sprite when the Shift key is pressed. Hitbox is invisible when Shift is not pressed.

Author
jisakujien

Practice Mode Replay Patch

Download
Purpose

Allows players to save replays from Practice Mode stages, a feature that was first officially introduced in PCB.

Author
unknown chinese people (Redone by Wriggle)

th08bgm_patch

Download, w/ source code
Purpose

Binary patcher to fix several audio glitches in Imperishable Night’s BGM file.

Author
unknown

noflashmyon

Download, w/ source code
Purpose

DLL patch that makes Youmu’s ghost half transparent when focused, so that it no longer obscures her hitbox

Author
jisakujien

SA Boss Rush

Download
Purpose

A boss rush modification to TH11. Removes stages, bombs and continues, and every player faces Satori’s entire arsenal, along with other quirks. Created as a challenge mode and a means to boss practice.

Author
Drake

Score counter bugfix

Download, w/ source code
Purpose

Binary patch to fix the score display glitch that occurs when score exceeds about 2.14 billion.

Author
Nereid

UFO Boss Rush

Download
Purpose

A boss rush modification to TH12. Removes stages, bombs and continues, along with other little quirks. Created as a challenge mode and a means to boss practice.

Author
Drake

th13

Download, w/ source code
Purpose

(Only for Windows Vista and Windows 7) Adds a code to the th13.exe so the game can play on Windows Aero. It does no affect to the game whatsoever. Simply replace th13.exe with the one in the download link.

Latest version

2011-08-14

Author

雷鸣

PBG6 Data Extractor

Download, w/ source code
Purpose

Command-line tool to extract data from the *.ac6 files.

Latest version

2011/01/13 (Initial release)

Author
NamelessLegacy

See Also

  • Len’en Wiki’s entry for Game Tools and Modifications