Memory shards

Do something lively!

Bottles compatibility list

Game State Configuration Runner Notes
Taimanin Asagi 0 Working lavfilters-j Caffe 7.7 Tweak 1
Flowers Playable lavfilters-lite Caffe 7.7 Tweak 2 (movies don’t play)
Factorio Working d3dcompiler Caffe 7.7
Beat Angel Escalayer Reboot Working lavfilters Caffe 7.7
Sharin no Kuni Working lavfilters-j Caffe 7.7 Tweak 1, 3, 4
Ace of Spades Working any Caffe 7.7
Koumajou Densetsu II Working any Caffe 7.7 Tweak 1
Taimanin Asagi 3 Working lavfilters-j Caffe 7.7 Tweak 1, 4, 5 and workaround 6
Touhou Working lavfilters-j Caffe 7.7 Tweak 1, 12 (configuration for the whole series)
Yotsunoha Working lavfilters Caffe 7.7 Tweak 3
Zenichi Working lavfilters-j Caffe 7.7 Tweak 1, 4
School Days Working lavfilters Caffe 7.7 Tweak 6
World End Economica (series) Working lavfilters-lite Caffe 7.7 Tweak 3
Fate/Stay Night [Realta Nua] Working lavfilters-j Caffe 7.7 Tweak 1, 4, 5
Coμ Working lavfilters-j-32 Caffe 7.7 Tweak 1, 4, 5
Hanachirasu Working lavfilters-lite Caffe 7.7 Tweak 5
Mahotsukai no Yoru Working lavfilters-j Caffe 7.7 Tweak 1, 4
ef - a fairy tale of the two Working lavfilters-lite Caffe 7.7 Tweak 3
Baldr Sky Working lavfilters-micro-gdi Wine 5.5 Tweak 2 or workaround 4 (for DXVK)
Ourai no Gahkthun Playable any Caffe 7.7 (movies don’t play)
Starless Working lavfilters-new Wine 8.15 Tweak 3, 4, 13
Tomoyo After Working lavfilters-j-new Wine 8.15 Tweak 1, 3, 10
Subarashiki Hibi Working lavfilters-lite Caffe 7.7
Cho Ren Sha 68K Working any Caffe 7.7
Koutetsu no Majo Annerose Working lavfilters-j Caffe 7.7 Tweak 1, 4, 5
Shuffle Working lavfilters-lite Caffe 7.7
Planetarian Working lavfilters-j Caffe 7.7 Tweak 1
Kara no Shoujo Working lavfilters Caffe 7.7 Tweak 4, 5
G-senjou no Maou Working lavfilters-j Caffe 7.7 Tweak 3
Taimanin Asagi Premium Box Working lavfilters-j Caffe 7.7 Tweak 4, 5
Dra+koi Working lavfilters-j Caffe 7.7 Tweak 1
Ever17 Working lavfilters-j Caffe 7.7 Tweak 1, 3
Discipline Playable directmusic Caffe 7.7 Tweak 3, 11, 12 and workaround 3
Bible Black Playable directmusic Caffe 7.7 Tweak 3, 11, 12 and workaround 3
Cartagra Working lavfilters-lite Caffe 7.7
Sengoku Rance Playable lavfilters-lite Caffe 7.7 Tweak 3 (movies don’t play)
Rewrite Playable lavfilters-j Caffe 7.7 Tweak 1 (movies don’t play)
Saya no Uta Working lavfilters Caffe 7.7 (remaster crashes on the main menu)
Higanbana no Saku Yoru ni Working lavfilters-j Caffe 7.7 Tweak 1 (configuration for the whole series)
Tenioha! : Girls Can Be Pervy Too! Working lavfilters-lite Caffe 7.7 Tweak 5
Bunny Black Working lavfilters-j Caffe 7.7 Tweak 1
Valhellio Working lavfilters-j Caffe 7.7 Tweak 9
Sono Hanabira ni Kuchizuke o (series) Working any Caffe 7.7 Tweak 1, 3 and workaround 5
Holocure Working any Caffe 7.7
Little Busters Working lavfilters-j-new Wine 8.15 Tweak 1, 3, 10
Clannad Working lavfilters Caffe 7.7 Tweak 1 (movies don’t play)
Fata Morgana no Yakata Working lavfilters-lite Caffe 7.7 Tweak 5
FreeCS Working lavfilters-lite Caffe 7.7
Deus Machina Demonbane Working lavfilters Caffe 7.7
Imouto Paradise (series) Playable lavfilters-j Caffe 7.7 Tweak 1, 3, 10, 15 (ImoPara 3 movie is muted)
eden* Working lavfilters-lite Caffe 7.7 Tweak 3
Baldr Force Playable lavfilters-j-bfse Wine 8.15 Tweak 1, 3, 13, 16 (game starts in windowed mode)
Higurashi no Naku Koro ni Working Caffe 7.7 (configuration for the whole series)
Dies Irae Working lavfilters-lite Caffe 7.7 Tweak 3, 5
Lemmix Working any Caffe 7.7 Tweak 5
Grisaia no Kajitsu Playable lavfilters-lite Caffe 7.7 Tweak 8, 14, 15 (movies don’t play)
Shabura Rental Working lavfilters-j Caffe 7.7 Tweak 1, 15
Duel Savior Working lavfilters-quartz-j Wine 5.5 Tweak 1
Melty Blood: AACC Working lavfilters-lite Caffe 7.7
Cosmos no Sora ni Working any Caffe 7.7 Tweak 1, 3, 17 and workaround 7 (use C.H.A.O.S.)
Kanon Working lavfilters-j Caffe 7.7 Tweak 1
Maitetsu Working lavfilters Caffe 7.7 Tweak 1
Kana -Little Sister- Playable lavfilters-xlite Caffe 7.7 Tweak 3 (remake uses the same configuration)

Tweaks

  1. Install Japanese Fonts
  2. Enable “Take Focus” in the bottle display settings if needed
  3. Disable “Allow the window manager to decorate the windows” and “Allow the window manager to control the windows” in winecfg (“Legacy Wine Tools > Configuration”)
  4. Change renderer to “GDI” in your bottle settings (under “Display” and “Advanced Display Settings”) to avoid black screen when switching to fullscreen mode
  5. Enable “Virtual Desktop” (under “Display” and “Advanced Display Settings”) and configure it
  6. Change the prefix Windows version to “Windows XP”, install wmfdist11.exe and change it back to “Windows 10” or install wmp11 with this special codec script
  7. Enable DXVK in the executable shortcut settings
  8. Install quartz2 with the special codec script
  9. Add taskset -c 0 %command% as a launch command to only use the first core of your CPU
  10. Add LIBGL_ALWAYS_SOFTWARE=1 and/or __GLX_VENDOR_LIBRARY_NAME=mesa (only for Nvidia GPUs) as environment variable(s)
  11. Check “DirectSound enabled” in the game top menu and select “DirectSoundWave” in the “Music Setup Menu”
  12. For MIDI support, install timidity, a sound font and add timidity -iA -B2,8 -Os -EFreverb=0 & %command%; pkill -f timidity or timidity -iA -B2,8 -EFreverb=0 & %command%; pkill -f timidity as a launch command in your executable shortcut settings. Then select “Music from MIDI source” option in the game menu bar
  13. Change in-game graphics settings
  14. Install wmp10
  15. Change initial start-up settings
  16. Install quartz_dx with the special codec script
  17. Configure Japanese locale system wide or for Flatpak then add LC_ALL=ja_JP.UTF-8 and TZ=Asia/Tokyo as environment variables
  18. Add PULSE_LATENCY_MSEC=60 as an environment variable to fix audio crackling
  19. Install Mangohud and add these commands/environment variables as a launch command in your executable shortcut settings if a game runs at a really high framerate: MANGOHUD=1 MANGOHUD_CONFIG=no_display,fps_limit=60 DXVK_HUD=1 or MANGOHUD_CONFIG=no_display,fps_limit=30,vsync=3,gl_vsync=1 mangohud --dlsym %command%
  20. Import this registry file using the registry editor (under “Tools”, in your bottle settings) to change the Windows theme to a more modern one (runners usually come with a similar theme by default)
  21. Change runner/DXVK version
  22. Install GPU-related dependencies for your operating system to fix some crashes or performance issues: pacman -S --needed nvidia-dkms nvidia-utils lib32-nvidia-utils nvidia-settings vulkan-icd-loader lib32-vulkan-icd-loader cuda (Nvidia) / pacman -S --needed mesa lib32-mesa vulkan-radeon lib32-vulkan-radeon vulkan-icd-loader lib32-vulkan-icd-loader (AMD)
  23. Add WINEDEBUG=+wgl %command% &> wine.log as a launch command in your executable shortcut settings (it will create a log file at the executable location)

Workarounds

  1. Press Alt+F4 during the movie playblack and keep the focus on the small confirmation window to avoid flickering
  2. Create a backup the content of the SAVEDATA directory, delete its content, run the game and restore the files once the main menu appear to avoid a black screen when starting the game
  3. When the screen turns black after accessing the game top menu, refresh the screen by hovering in-game menu items
  4. Create a bottle using the “Gaming” preset (Wine 5.5), immediately change the Wine version to 8.21 after its creation and install lavfilters741 and quartz dependencies
  5. Run the game by changing the desktop resolution during gameplay only: nvidia-settings --assign=CurrentMetaMode="800x600" && bottles-cli run -p game -b 'BOTTLE' && nvidia-settings --assign=CurrentMetaMode="1920x1080" (only for Nvidia GPUs)
  6. On GNOME, toggle fullscreen mode with a keyboard shortcut if the game window doesn’t display fully when running vpatch and throtator in windowed mode
  7. Extract audio files from the audio CD, rename and move them into the game directory
  8. Use a 32 bit prefix
  9. If you get a “Some files didn’t install properly” error message when running a game executable, don’t put special characters in its path
  10. After updating Bottles, bottles virtual desktop settings can conflict with program launch options so you’ll have to edit bottle.yml to fix that
  11. Revert to the sdl package from sdl12-compat using your package manager
  12. Use an old version of Lutris (like 0.5.9.1) instead

Suggested Wine versions

Suggested dependencies

Game-specific instructions

Touhou

First, create a new bottle and import this configuration. Then, put all your games inside Program Files.

Mods

Vsync Patches and THRotator respectively fix issues with various Touhou games and allow them to be played in a vertical-oriented resolution. Download both tools and read the installation instructions included in both archives.

Here’s the content of my vpatch.ini.

[Window]
AskWindowMode = 0
enabled = 1
X = 0
Y = 0
Width = 1920
Height = 1080
TitleBar = 0
AlwaysOnTop = 0

[Option]
Vsync = 1
SleepType = 1
BltPrepareTime = 4
AutoBltPrepareTime = 1
GameFPS = 60
ReplaySkipFPS = 240
ReplaySlowFPS = 30
CalcFPS = 1
AlwaysBlt = 0
BugFixCherry = 1
BugFixTh10Power3 = 0

For THRotator, version 2.1.0 doesn’t seem to work with all games (like Touhou 7) so use an older version for those, like 1.3.1 or 1.2.2. For Touhou 13 and above, the .throtator files shoud be put in drive_c/users/user/AppData/Roaming/ShanghaiAlice/ instead of the game directory. And, because these configuration files are just text files, you can create your own using one of them as a template to add vertical play support to newer games (Touhou 17 and above).

Translations

Next, we need to set up thcrap to translate the games. To do that, download the installer here. But before running it, you need to make sure all your games use the latest version. You can find links to these updates on the thcrap wiki.

Standalone patches exist but I don’t recommend them as they’re based on an old version of thcrap and aren’t officially supported. Old static patches aren’t recommended either if you want to mod the game and get up-to-date translations.

Then, extract thcrap inside your bottle, in the Program Files directory. Go to the directory where you extracted the archive and create a config directory. Inside it, create a file named config.js and add {"use_wininet": true} inside it. This is an important step to avoid running into this issue.

Then, we can add thcrap_configure.exe located in the bin directory as a bottle shortcut and run it. Now, you just have to follow the installation process, select the patches you want and choose the vpatch paths (you can create the game shorcuts but we won’t use them). If you want to use the new installer, run thcrap_configure_v3.exe instead (it requires .NET Framework 4.6.1 and can be buggy though)

Now, go back to your bottle settings and create a shortcut for thcrap_loader.exe located in the thcrap directory next to config. And, put command arguments based on the game you want to run in the shortcut settings. For example, you need to add “en.js th06” for Touhou 6. Then, repeat these steps for each game.

Games

You will need to install Japanese Fonts. Then, you can run the games.

On a side note, Touhou 6 can crash after the character selection if you press “Start” on the main menu too quickly. So, let the menu loads before pressing any button. Also, the thcrap_loader.exe process might still be there after exiting a game.

Hisoutensoku

I highly recommend to use the Soku Rewired pack and this modpack (or just the entire pack) for this game as it fixes some issues and add extra features. You won’t need to use thcrap for this one as it uses its own mod to load the translation (it used to use a prepatched executable in the original pack).

Sources