Skip to content

GoodenoughPhysicsLab/TouHouTool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TouHouTool

a tool for TouHou Project.

download TouHou Project game from there.

other projects like this:

functions

  • Some semi-automatic assistance.
  • Play thxx game automatically.

how to use

you can also type python -m thtool --help to get help.

make

Requires c++20 on windows

support: MSVC, g++, clang++ (for windows)

for g++ or clang++ user, requires gnu make for windows(download make-<version>.tar.gz, unpack it and run build_w32.bat, then you can use WinRel\gunmake.exe to run makefile on windows)

install build dependencies:

python -m pip install --upgrade pip
pip install -r requirements.txt

build release version:

python .\make.py

this will build all python excutable extension and copy them to the thtool.

build debug version:

python .\make.py --debug

use g++ or clang++

python .\make.py --c-compiler gcc --cxx-compiler g++ --make-program gnumake
python .\make.py --c-compiler clang --cxx-compiler clang++ --make-program gnumake

escape cmake setup:

if you have not edited any CMakeLists.txt after the first build and do not change your C++ compiler to build, you can use this command to skip the cmake setup to speed up your bulid:

python .\make.py --skip-cmake-setup