- Download and install the EditorConfig plugin for Visual Studio: https://github.com/editorconfig/editorconfig-visualstudio#readme
- Launch
premake.bat
- Open
Build/Redis.sln
- Update configuration
x64
to use compiler option/bigobj
(See more: VS /bigobj)
- Create a directory junktion to MTA-Server directory in the root of the repo
mklink /J mta-server "PATH_TO_INSTALL_DIR\MTA San Andreas 1.5\server"
- Create a symlink to the build output dll in the modules directory
cd PATH_TO_INSTALL_DIR\MTA San Andreas 1.5\server\x64\modules
for x64cd PATH_TO_INSTALL_DIR\MTA San Andreas 1.5\server\mods\deathmatch\modules
for Win32mklink ml_redis.dll "PATH_TO_REPO\Bin\Debug\ml_redis.dll"
- Press
F5
in Visual Studio and the MTA-Server should start
- Put the resulting
Bin/ml_redis.dll/.so
into your MTA:SA servermodules
folder. - Add
<module src="ml_redis.dll"/>
(or.so
for Linux) to yourmtaserver.conf
. - Start the server
Todo
Todo
via https://github.com/Contextualist/glare
- Stefan K.