add launcher info for most plugins, add launcher build date for plugins

(DivaMovie excluded to avoid conflicts when merging changes to that later)
This commit is contained in:
somewhatlurker
2019-10-06 15:51:09 +11:00
parent 32f6a4db26
commit 9a8fc1147d
10 changed files with 71 additions and 8 deletions
@@ -6,6 +6,7 @@
#include <filesystem>
#include <sstream>
#include <iomanip>
#include "PluginConfigApi.h"
void InjectCode(void* address, const std::vector<uint8_t> data);
void ApplyPatches();
@@ -322,3 +323,16 @@ void InjectCode(void* address, const std::vector<uint8_t> data)
memcpy(address, data.data(), byteCount);
VirtualProtect(address, byteCount, oldProtect, nullptr);
}
using namespace PluginConfig;
extern "C" __declspec(dllexport) LPCWSTR GetPluginName(void)
{
return L"Patches";
}
extern "C" __declspec(dllexport) LPCWSTR GetPluginDescription(void)
{
return L"Applies patches/tweaks to the game before it starts.\nThis plugin is required.";
}