Launch Diarkis Server on Windows Environment
Last updated
Was this helpful?
Last updated
Was this helpful?
You can also build and run the Diarkis server as a Windows binary.
This allows client engineers developing on a Windows machine to operate the Diarkis server without WSL, aiding in the efficiency of development work.
However, please note that it is not intended for use in production environments, so it should be limited to local or development environments.
As of 2025-04-04, the operation is assumed in the following environments:
Windows 10/11
Go 1.22 or later
(git, if you're cloning the repository using git)
Install Go 1.22 or later.
You can also install it using a package manager like scoop.
Run the following command in PowerShell to generate the project.
project_id
: Project ID issued by our company
builder_token
: Builder Token issued by our company
output
: Output destination of the generated project. Here, it is explained as ../server_bin
module_name
: Module name. Here, it is explained as server_bin
Move to the directory where the project was output and execute the following command.
Execute the following command to build the Diarkis server binary.
Once the build is complete, the binary is output to the remote_bin directory.
Start mars, http, and udp each in separate PowerShell windows.
You can verify communication using the Go test client.
HTTP address: Address of the Diarkis HTTP server
client user ID: ID of the user for authentication.
client Key: Client key. Specify key
in the development environment
puffer enabled: Use of the Diarkis Puffer module. Specify false here
If authentication is successful, it will display as follows and enter the command waiting state.
To create a Room after connection, you can create it by executing the following command.
In the test client, you can execute various built-in commands in addition to the room create
command to verify. Please check the following page of the help center for details.
magefile
Like make/rake, it is a build tool that allows build flows to be described in Go, enabling platform-independent management.
If you want to check other targets, you can do so by running it without any arguments as follows.
Clone .
Open , download the latest version Assets, and extract and use them.
.¥run-mage.bat
uses a Go tool called internally.