How to Run - dapucita/haxbotron GitHub Wiki
This manual is written in English.
This document is outdated.
Please refer to latest version! (click here)
How to Run
You have to download the source code and build it for run Haxbotron.
We will learn how to build and run in this document.
Environment in example : Windows 10 64bit
Step 1 : Download and Uncompress
To download, first go to our main page and open the Release
item on the right side menu.
Then download the compressed file of the version you want and uncompress it to the appropriate location.
You can unzip in any path but I recommend you choose simple name for start the bot quickly.
Directory path in example : c:\haxbotron-master
Step 2 : Install Node.js
Download Node.js LTS(10.x, 14.x and so on) version from Node.js Website and install it.
Step 3 : Open Command Line and Move Path
Open Command Line(cmd) and command for move the directory path.
cd c:\haxbotron-master
If you unzipped it into other drive like D:, E:, you need to move drive path first by D: or E:.
DO NOT CLOSE the Command Line window.
Step 4 : Install Packages
Install packages for launching bot application. Command it.
npm install
It could takes some times.
DO NOT CLOSE the Command Line window.
Step 5: Build the Bot
It almost done. You need to build the bot application at once. Command it.
npm run build
DO NOT CLOSE the Command Line window.
Step 6 : Launch the Bot
Launch the bot application. Command it.
npm start
You could see the GUI-based window.
DO NOT CLOSE the Command Line window.
If you want to launch the bot on the console instead of GUI launcher, you can use CLI Launcher.
Step 7 : Run
Edit the settings.
Delete password for other players could enter the room without password.
Stay the public checkbox for your room could be seen on the room list.
Input Auth Token for start your own room.
You can get Auth Token from here.
Token obtained: "abcdefghijklmnopqrstuvwxyz"
Copy the string without double quotation and paste it.
Click the Run button if you are ready.
You can get the room link in a few seconds, or try it again.
DO NOT CLOSE the Command Line window during operating the room.