This guide focuses on using Lutris with vanilla Wine for a simple and consistent experience. It does not cover every setup or edge case.
The goal here is to get most users running their Touhou games quickly and cleanly.
If you're looking for more advanced or alternative methods, other resources may be better suited.
Most major distros* should work well with this guide.
This guide has been personally tested with:
My only recommendation is to choose a well-known, widely-supported, and stable distro, which includes but is not limited to the following:
* This guide does NOT cover Arch Linux!Before continuing, ensure you have the necessary graphics drivers and system firmware installed.
Consult your distro's documentation or online resources for a proper setup (e.g., RPM Fusion for Nvidia drivers on Fedora).
Debian/Ubuntu/Linux Mint:
sudo apt update && sudo apt upgrade
Fedora:
sudo dnf update
Debian/Ubuntu/Linux Mint:
sudo apt install wine lutris
Fedora:
sudo dnf install wine lutris
If your Touhou game folders each have their own thcrap folders and English exe, it is recommended to delete them and follow this section.
Please note the following:
/your/path/to/
is a placeholder for where you installed the software.XX
represents the numeral of the Touhou game, such as 06
. (e.g. th06 for EoSD)WINEPREFIX=$HOME/.wine-thcrap WINEARCH=win64 winecfg
WINEPREFIX=$HOME/.wine-thcrap wine /path/to/wine-mono-VERSION-x86.msi
(substitute the actual version number for VERSION
)
* winecfg
is recommended as you may need to adjust some settings. Otherwise you can just close the GUI window.
† The THCRAP configuration tool requires .NET, which Mono substitutes on Linux. Otherwise it will display an error saying that .NET is missing.
‡ Directly installing Mono to the prefix avoids unforseen distro-related issues. If you have wine-mono installed system-wide, THCRAP will only display a pink screen before closing itself. This is usually because of broken packages in many distros (namely Fedora).
unzip
command. You may have to install it with your package manager. An example command in use is shown below:
unzip thcrap.zip -d $HOME/yourname/Downloads/thcrap
/your/path/to/thcrap/thcrap.exe
*/your/path/to/thcrap/
$HOME/.wine-thcrap
* thcrap.exe
is the THCRAP configuration tool, which allows you to download new patches and locate the games.
Meanwhile, thcrap_loader.exe
is the actual program that applies patches to the Touhou games.
Use the Wine prefix you created for THCRAP earlier. Run:
WINEPREFIX=$HOME/.wine-thcrap wine /your/path/to/thcrap/thcrap.exe
* It may take a few seconds for the patch list when you click on the "All patches" tab. This is normal behavior.
† It is highly recommended that the thcrap folder be placed in the same directory as your Touhou games.
‡ This shortcut is purely optional, as what actually matters is the config file created for that patch. You can delete the shortcut if desired.
Config files tell thcrap_loader.exe
which patches to load in order. These are located in the config
folder of the thcrap
folder ending with .js
Here are some examples of config files for various patches:
If you have already have installed a few patches, this can be very useful for patch stacking.
games.js
is a special config file. This file tells THCRAP all the known locations of your Touhou games.
An example with explanation comments is provided here.
If you have vpatch.exe
in any of the games' folders (see "Running Touhou with Vsync patches"), you can refer to that exe instead of the regular game exe within games.js
Information about the vsync patches is located here
unzip
command. An example command in use is shown below:
unzip vpatch.zip -d $HOME/yourname/Downloads/vpatch
vpatch
folder, locate the appropriate vpatch_thXX.dll
file for your game.
Provided below is a table for which vpatch folder to find your game's vpatch
Name | thXX |
vpatch version | .dll filename |
---|---|---|---|
Embodiment of Scarlet Devil | th06 | vpatch_rev4 | vpatch_th06.dll |
Perfect Cherry Blossom | th07 | vpatch_rev4 | vpatch_th07.dll |
Imperishable Night | th08 | vpatch_rev4 | vpatch_th08.dll |
Phantasmagoria of Flower View | th09 | vpatch_rev4 | vpatch_th09.dll |
Shoot the Bullet | th095 | vpatch_rev7 | vpatch_th095.dll |
Mountain of Faith | th10 | vpatch_rev7 | vpatch_th10.dll |
Subterranean Animism | th11 | vpatch_rev7 | vpatch_th11.dll |
Undefined Fantastic Object | th12 | vpatch_rev7 | vpatch_th12.dll |
Double Spoiler | th125 | vpatch_rev7 | vpatch_th125.dll |
Great Fairy Wars | th128 | vpatch_th12.8 | vpatch_th128.dll |
Ten Desires | th13 | vpatch_th13 | vpatch_th13.dll |
Double Dealing Character | th14 | vpatch_th14 | vpatch_th14.dll |
Legacy of Lunatic Kingdom | th15 | vpatch_th15 | vpatch_th15.dll |
vpatch_thXX.dll
*, vpatch.exe
, and vpatch.ini
files into your Touhou game's folder.
thXX.exe
.* For EoSD, use vpatch_th06_unicode.dll instead if you want to play with THCRAP.
†For EoSD, you must rename the exe to 東方紅魔郷.exe
for vpatch to be applied.
Please note the following:
/your/path/to/
is a placeholder for where you installed the software.XX
represents the numeral of the Touhou game, such as 06
. (e.g. th06 for EoSD)Skip to this section if you don't want to use Lutris.
If you are running vanilla or vpatch EoSD:
Follow this section if you want to play without THCRAP patches or vpatch.
/your/path/to/Touhou/thXX/thXX.exe
/your/path/to/Touhou/thXX/
$HOME/.wine
/your/path/to/Touhou/thXX/vpatch.exe
Follow this section if you have installed THCRAP patches.
thcrap_loader.exe
In the Arguments field, enter the .js
file of your patch* and the game† you want to run it with.
Examples of arguments:
en.js th06
skipgame.js th07
yourpatch.js th10
thcrap_loader.exe
* You can find all of your installed patches in the config
folder in the thcrap
folder.
† Game names are located in games.js
within the config
folder of the thcrap
folder
Replace thXX.exe
with the executable for your specific game:
LANG=ja_JP.UTF-8 wine start /unix /your/path/to/Touhou/thXX/thXX.exe
Same as above, but use vpatch.exe
instead:
LANG=ja_JP.UTF-8 wine start /unix /your/path/to/Touhou/thXX/vpatch.exe
Replace example.js
with your patch config, and thXX
with your game's ID:
wine /your/path/to/thcrap/thcrap_loader.exe example.js thXX
* Due to how EoSD (th06) handles encoding and locale, running it directly from the command line
requires LANG=ja_JP.UTF-8 wine start /unix
before the path to it.
All relevant files are located in the same folder as the game. *
* Or techically, wherever the game's .exe was last ran.
Starting with DS (th125)
, all save data is stored in AppData/Roaming/ShanghaiAlice
.wine
)drive_c/users/yourname/AppData/Roaming/ShanghaiAlice
in your Wine prefixthXX
folder that corresponds with your Touhou game(s), then copy or move all relevant files to a safe place. ** It is recommended to copy the files to the location of the actual game for organizational purposes.
Make sure to keep these files safe.
score.dat
*: Your saved scores and unlocksthXX_XX.rpy
: Replay files, located in the replay
folderthXX.cfg
†: Your game settings (e.g. fullscreen vs windowed)snapshot
folder.* scorethXX.dat
starting with StB (th095
)
† It's normal for the cfg file of EoSD to appear as “Œ•ûg–‚‹½.cfg
For more information, refer to this guide.
Refer to this guide for help
These two issues usually happen when running the Touhou games with regular/system Wine. A good alternative runner is GE-Proton, which should have little to no issues with the Lutris setup as outlined in this guide.
This mainly affects desktop environments that use Wayland. Currently there are no solutions besides switching to an Xorg session in the login screen.
Typically happens when you enable DXVK in original Wine. Fixes the non-up-scaling issue but also causes stretched visuals with that runner.
Install cjkfonts using winetricks:
wine winetricks cjkfonts
locale -a | grep ja_JP
ja_JP.utf8
on this list, look up how to install new locales on your OS/distro.Add this at the start of your command:
LANG=ja_JP.UTF-8
Special thanks to C0LDfinch, Yova, and the THCRAP community for their feedback and guidance!