Touhou BGM Player for all platform.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
debian
thtk @ 3fe5da1
thtk-config
.gitignore
.gitmodules
COPYING
README.md
boundedbuffer.cpp
boundedbuffer.hpp
main.cpp
mainwindow.cpp
mainwindow.hpp
mainwindow.ui
res.qrc
songlist.cpp
songlist.hpp
thdatwrapper.cpp
thdatwrapper.hpp
thplayer.pro

README.md

TouHou Player

Website

TouHou BGM player for all platform.

Please notice that thplayer doesn't support Mac for now.

Usage

No need for config. Drag the TouHou game program into thplayer main window, or click the Load button and choose the game folder. thplayer will automatically load songs and then it's ready for use!

Supported game versions

The Touhou game versions we support are:

th07, th08, th09, th10, th11, th12, th13, th14, th15, th16
th095, th125, th128, th143, th165

This is all made possible by the thpatch/thtk project. Thanks!

Build

In order to build, you should get the source code first. We are using thpatch/thtk as a git submodule, since the download as zip option will not pack the submodules inside the zip file, you should use git clone --recurse-submodules https://github.com/BearKidsTeam/thplayer.git instead.

Build using qmake

You can choose to build TouHou Player using qmake normally.

# Clone the repo
git clone --recurse-submodules https://github.com/BearKidsTeam/thplayer.git
# Create a build folder
mkdir ./thplayer/build && cd $_
# Build it
qmake ../thplayer.pro && make && make clean

(Tip: If you forget to use --recurse-submodules when you clone this repo, you need do git submodule update --init --recursive then)

After that, you'll get the runnable binary inside the build folder. Enjoy!

Build manually

To build it manually, get Qt open-source version from qt.io or from your package manager, install it and open thplayer.pro using QtCreator, and build it as you wish!

License

BSD 2-Clause License

Redistribution and use in source and binary forms, with
or without modification, are permitted provided that the
following conditions are met:

1. Redistributions of source code must retain this list
   of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce this
   list of conditions and the following disclaimer in the
   documentation and/or other materials provided with the
   distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.