Skip to content

How to build OpenTaiko without using Visual Studio (on Windows)

L1m0n3 edited this page Feb 15, 2022 · 4 revisions

First of all, download BuildTools and execute vs_BuildTools.exe.

After Visual Studio Installer is installed and launched, click Individual components and type 4.6.1 in search box.
Then check .NET Framework 4.6.1 Targeting Pack and click Install at the bottom right of the screen.

image

After the installation of the buildtools is completed, you need to get the source code of OpenTaiko.

You can get the source code from main page of the repository on GitHub (Click "Code" -> "Download ZIP"),
But it is highly recommended to install git and use clone command to download as it makes it easier to update to the latest commit.

You can download git installer from here. Follow the instructions to install. In the setup, Do NOT select Use Git from Git Bash only option.

After git is installed, open up command prompt and run these commands. (Replace {Path} with the path of the destination folder you want to download.)

cd "{Path}" && git clone https://github.com/0auBSQ/OpenTaiko.git

Now you can finally build OpenTaiko!
Open up Developer Command Prompt for VS 2022 and run these commands.

msbuild "{Path of TJAPlayer3.sln in the source code folder}" /t:build -restore /p:Configuration=Release;Platform="x86"

That's all :D

Clone this wiki locally