This page covers how to compile Sysbot.NET and how to make custom edits to source code using Visual Studio on a Windows device. We will be working with Sysbot.NET fork by Lusamine.
In order to build the program you will need to install the following:
Once you have installed the required programs and dependencies, restart your device to ensure that everything has been properly installed or you may face issues.
In this guide we will learn how to build/compile the application, switch between different branches, make small edits to existing source code, and how to keep up to date with the most recent commits of the program.
Some Sysbot.NET projects will require the user to compile the source code before use. This is typically done by cloning the Github repository in Visual Studio.
Figure 1 - Cloning the repositoryCode
button to reveal the dropdown menu.Clone a repository
in the table on the right, then click >GitHub
.Clone
and wait for a new window to open.Once you have cloned the repository you should see something similar to the above image. Next we need to switch the branch to Moarencounterbots to avoid compiling the wrong branch.
Figure 3 - Switching branchesMaster
at the bottom right-hand side of the window.Remotes
to see a full list of remote branches for the repository.moarencounterbots
and wait for Visual Studio to switch the branch.moarencounterbots
at the bottom right-hand side of the window instead.x64
, Then select SysBot.Pokemon.WinForms
as the Startup project.Debug
or Release
, in this example we will be choosing Release
.Build
, then click Re-build Solution
Sysbot.NET/SysBot.Pokemon.WinForms/bin/x64
directory.Optionally, you can choose to build the .exe as a single file instead, this is done by doing the following:
Step-by-step instructions:x64
, Then select SysBot.Pokemon.WinForms
as the Startup project.Debug
or Release
, in this example we will be choosing Release
.SysBot.Pokemon.WinForms
in the solution manager, then click Publish
Show all settings
and ensure that your configuration uses an x64 profile.Produce Single File
.Publish
, then wait for the program to finish building.Sysbot.NET/SysBot.Pokemon.WinForms/bin/x64
directory.