Jump to content

What do you need to run all Touhou games without downloading anything?


Recommended Posts

Posted

I work with a bunch of computers and every pc in my class gets a fresh windows installation like 5 times every week completely removing whatever drivers was previously installed there. I tried running Touhou but there are stuffs that needed to be installed first and even if I did its gonna get removed the next day. So I wanna compile whatever stuffs are needed to run all the games so I have everything I need in one flash drive and just quickly install whatever and play.

There is also no wifi so thcrap is worthless

Posted (edited)

I am not sure what software needs to be installed from an fresh window installation, but are there any error messages that could be recorded to figure out what software needs to be installed? Otherwise, I can mention the software already used for Touhou games.

Put the files in their respective Touhou game folder.

===============================================

Now, thcrap as a patcher works fine without an internet connection, except thcrap will no longer be able to automatically update its patches. However, thcrap is not normally portable to its use of shortcuts and absolute paths. Here is a guide to making thcrap portable. I assume the thcrap folder is above the Touhou game folders, but change the paths if the thcrap folder is located in a different location.

game.js

  1. Within game.js, change every path to be relative like the following example: 
    "../Touhou 19 - Unfinished Dream of All Living Ghost/th19.exe"

The important part is at the beginning instead of the root drive being referred, ".." is used instead to get thcrap to look above its folder and look for the exe file in the other Touhou games.

thcrap Shortcuts

  1. In the folder of each Touhou game, make an .bat file
  2. Type the following in the .bat file: 
CD /D %~dp0
"..\thcrap\bin\thcrap_loader.exe" "en.js" thXX

The first line changes the directory to where the .bat file is located as "%~dp0" simply refers to the path where the .bat file is located. The second line is executing thcrap_loader with its proper arguments.

With these changes, thcrap is now setup with relative paths instead of absolute paths, which means putting thcrap on a portable install should now work.

 

Edited by Pinky Cat
  • Thanks 1
Posted
1 hour ago, Pinky Cat said:

I am not sure what software needs to be installed from an fresh window installation, but are there any error messages that could be recorded to figure out what software needs to be installed? Otherwise, I can mention the software already used for Touhou games.

Put the files in their respective Touhou game folder.

===============================================

Now, thcrap as a patcher works fine without an internet connection, except thcrap will no longer be able to automatically update its patches. However, thcrap is not normally portable to its use of shortcuts and absolute paths. Here is a guide to making thcrap portable. I assume the thcrap folder is above the Touhou game folders, but change the paths if the thcrap folder is located in a different location.

game.js

  1. Within game.js, change every path to be relative like the following example: 
    "../Touhou 19 - Unfinished Dream of All Living Ghost/th19.exe"

The important part is at the beginning instead of the root drive being referred, ".." is used instead to get thcrap to look above its folder and look for the exe file in the other Touhou games.

thcrap Shortcuts

  1. In the folder of each Touhou game, make an .bat file
  2. Type the following in the .bat file: 
CD /D %~dp0
"..\thcrap\bin\thcrap_loader.exe" "en.js" thXX

The first line changes the directory to where the .bat file is located as "%~dp0" simply refers to the path where the .bat file is located. The second line is executing thcrap_loader with its proper arguments.

With these changes, thcrap should now be using relative pathing instead of absolute pathing, which means  putting thcrap on a portable install should now work.

 

Thanks for the detailed explanation! I'll be trying to get all the game running externally on a flash drive and troubleshoot whatever issues might pop up. I guess I'll be updating this post if I ever find any issues for any specific game and what solution I come up for it.

  • Up 1
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.