Skip to content

arves100/danmakufu

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Touhou Danmakufu XP (cross platform)

A forked version of Touhou Danmakufu ph3 with a focus on cross-compatibility.

Goals

  • Achieve true crossplatform (without the use of Wine or similar software) both platform and compilers
  • Run the software on mobile
  • Improve general performance of the engine by refactoring code and improving existing one
  • NEVER BREAK API! Everything has to aim to 1:1 compatibily with scripts and file formats
  • DynAsm (Just in time) script machine
  • Native 64-bit support without problems

Requirements

  • C++17 or greater compiler
  • CMake 3.20+
  • vcpkg

Dependencies

  • zlib
  • libvorbis
  • Boost.locale
  • spdlog
  • fmt
  • SDL2

Building

  1. Clone the repo git clone --recursive https://github.com/arves100/danmakufu

  2. Install dependencies You just have to install vcpkg, manifest mode will automatically download all dependencies.

  3. Configure and build VisualStudio:

mkdir build
cd build
cmake -DCMAKE_TOOLCHAIN_FILE="(vcpkg directory)/scripts/buildsystems/vcpkg.cmake" ../
msbuild /m Danmakufu.sln

MinGW:

mkdir build
cd build
cmake -G "Ninja Multi-Config" -DVCPKG_TOOLCHAIN_FILE="(vcpkg directory)/scripts/buildsystems" -DCMAKE_TOOLCHAIN_FILE="../cmake/mingw.toolchain" ../
ninja debug

Linux:

mkdir build
cd build
cmake -G "Ninja Multi-Config" -DVCPKG_TOOLCHAIN_FILE="(vcpkg directory)/scripts/buildsystems" -DCMAKE_TOOLCHAIN_FILE="../cmake/linux32.toolchain" ../
ninja debug

Special thanks

  • mkm for open sourcing the project
  • WishMarkers0 for providing a working base of this project
  • The friends that supported me and pushed torwards a crossplatform support. (you know who you are ^^)

License

The original source code was licensed with NYSL license, a very permissive japanese license.

I suppose WishMakers' code was also licensed with the same.

All my commit and changes are licensed under Mozilla Public License 2.0.

About

shh, it's all a secret

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 99.3%
  • Other 0.7%