-
Notifications
You must be signed in to change notification settings - Fork 18
Compiling Sala from source
Aleksi edited this page Aug 24, 2020
·
5 revisions
- Follow the Gotk3 setup guide to set up your compilation environment: https://github.com/gotk3/gotk3/wiki/Installing-on-Windows
- Make sure that both the Git and Go binaries are in your PATH! This is important.
- Start "MSYS MinGW 64-bit" from Start Menu.
- Run
go get -d -v github.com/Gskartwii/roblox-dissector
(see alternative command below for WinDivert). - Run
cd $(go env GOPATH)/github.com/Gskartwii/roblox-dissector
. - Run
git submodule update --init
.
You may also want to use an additional compilation flag for WinDivert support: -tags=divert
. In that case, you must download the WinDivert binary packages (the A option will most likely work). You must also download the appropriate dependencies: go get -d -v -tags=divert github.com/Gskartwii/roblox-dissector
When compiling for the first time, copy x64\WinDivert.lib
to your mingw64 installation's /mingw64/lib/
directory. Also copy x64\WinDivert.dll
and x64\WinDivert64.sys
to %GOPATH%\src\github.com\Gskartwii\roblox-dissector\
(without renaming them).
- Start "MSYS MinGW 64-bit" from Start Menu.
- Run
cd $(go env GOPATH)/github.com/Gskartwii/roblox-dissector
. - Run
go build -ldflags "-H=windowsgui"
to compile the executable. Append-tags=divert
to the command if you want WinDivert to be enabled. - Try running the executable:
./roblox-dissector.exe