- 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
x64to 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\modulesfor x64cd PATH_TO_INSTALL_DIR\MTA San Andreas 1.5\server\mods\deathmatch\modulesfor Win32mklink ml_redis.dll "PATH_TO_REPO\Bin\Debug\ml_redis.dll"
- Press
F5in Visual Studio and the MTA-Server should start
- Put the resulting
Bin/ml_redis.dll/.sointo your MTA:SA servermodulesfolder. - Add
<module src="ml_redis.dll"/>(or.sofor Linux) to yourmtaserver.conf. - Start the server
Todo
Todo
via https://github.com/Contextualist/glare
- Stefan K.