Важно Форуму RPGRUSSIA 15 лет!
  • 2.224
  • 19
Друзья, сегодня нашему форуму исполняется 15 лет! Кажется, только вчера мы открывали первые разделы, спорили о правилах и радовались каждому новому участнику. Но годы пролетели - а мы всё здесь, и...
Новости Path of Exile 2: Патч 0.2.0 «Dawn of the Hunt» - краткое описание
  • 1.279
  • 0
Вчера вечером, в 22.00 по МСК, в прямом эфире вышла презентация по будущему патчу 0.2.0. В целом, игроки ждали нового класса и ребаланса существующих умений, но то что выкатили GGG на публику...
Новости Gothic 1 Remake - Demo (Nyras Prologue)
  • 4.676
  • 2
Ну что, заключённые, готовы к встрече с колонией? Мир, где каждый встречный мечтает вас зарезать за кусок хлеба, а единственный закон - сила. Вас ждёт совершенно новый пролог к легендарной...
Новости Большое интервью с HotA Crew - часть 2
  • 3.026
  • 0
HotA Crew о Кронверке и будущих обновлениях (часть 2) Какие герои будут вести армии Кронверка? Герои-воины зовутся Вожди, маги — Старейшины. Их параметры и способности подчеркнут сильные стороны...
Union API

Union Framework Union API beta

Нет прав доступа на загрузку
Инструменты для моддинга Gothic с доступом к памяти
Union API is the core of Union Framework that provides an API to create native plugins for Gothic games based on ZenGin. Native plugins can use Union API to access the game objects in memory and hook any function using the Decorator pattern to extend and modify ZenGin behavior to a large extent.
The complementary Gothic API repository contains ZenGin headers with a mapping to the memory address for each supported Gothic release.

Project status
Union API is under active development and is not released yet. You are welcome to try and play with it, but please keep in mind that it's not finished, may contain bugs and the API may change before the final release.

Documentation
Documentation is available on Union API Wiki.

Usage

Build
Union API is a Visual Studio solution and requires Visual Studio 2022 (v143) platform toolset to compile. To build the Union API, clone the repository to your computer, open union-api.sln using Visual Studio and select the configuration:
  • DLL - dynamically linked library (recommended)
  • LIB - statically linked library
  • EXE - executable with an entry point from union-api.cpp for testing the code without running it as DLL attached to the game
Configurations with d suffix build the project for debugging.

Create a plugin
To create a plugin using Union API, you have to create a C++ project, add union-api to include directories and link Union API to it. Then you can compile the plugin with preprocessor definitions _UNION_API_DLL if you linked Union API dynamically or _UNION_API_LIB if statically. The resulting plugin DLL can be loaded by Gothic with Union runtime installed.

For the step-by-step instructions follow Create a new project Wiki page.
Сверху Снизу