KCD2 RTTR Dump

⭐ — (2 endorsements) 📥 62 downloads 📌 v0.2 📅 2/19/2025
🟠 Updated over a year ago

By GoogleBen · Miscellaneous

⬇ Download Mod Source: Nexus Mods ↗ 📅 Updated: 2/23/2025 📅 Created: 2/19/2025

🔍 Analysis

  • 🏆 #238 of 256 Miscellaneous mods in this game by downloads

📋 About This Mod

A dump of RTTR-supplied type information extracted from the game at runtime.

Kingdom Come: Deliverance 2 Runtime Type Information Dump

The out.cpp file is a comprehensive dump of available RTTR-supplied information for Kingdom Come: Deliverance 2. This file provides detailed information about the memory layout of various types used in the game, which can be invaluable for modders looking to create more complex modifications that interact with the game's code or data at runtime.

Potential Uses

  • []Understanding the memory layout of game types to facilitate code injection or static code patching.

    []Creating mods that modify game behavior by accessing or altering in-game data structures.

    []Reverse engineering game mechanics to better understand how the game operates internally.

    []Assisting in the development of tools that interact with the game's memory.

    File Structure

    The out.cpp file contains information about classes, structs, and enums in the game. Each type is described with its size, pointer dimension, and known member variables or methods. The format is designed to be human-readable while specifying offsets directly, making it easier to interpret, but that means it's not actual compilable code.

    Classes and Structs

    Classes and structs are described with their base types, member variables, and methods. Member variables include their offsets and types, while methods include their signatures and location in memory or vtable offset.

    class Foo : class MyBase {

    0x0 : bar : int;

    0x8 : baz : int*;

    //vtable offset: 0x8

    getBar( int );

    Enums are described with their underlying type and members, including their values.

    enum ExampleEnum : int {

    Option1 = 1,

    Option2 = 2,

    Limitations

    While the out.cpp file provides extensive information, it may not be complete or entirely accurate. Some properties may require getter functions, and certain offsets or method details might be missing or incorrect. Additionally, the file is not intended to be compiled as-is but rather to serve as a reference for modding and reverse engineering efforts.

    For more information and the code used to generate the dump, you can visit the project repository here (https://github.com/googleben/kcd2_rttr_dumper).

📊 Mod Details

Game
Kingdom Come 2 Mods
Author
GoogleBen
Version
0.2
Downloads
62
Endorsements
2
Category
Miscellaneous
Created
2/19/2025
Updated
2/23/2025

🔧 How to Install KCD2 Mods

Use Vortex or manual.

📖 Full step-by-step install guide for KCD2 →

Visit the official mod page for specific installation instructions for this mod.

🎮 Need cheat codes or console commands? Check ur gaming wiki for KCD2 commands, item IDs, and more.

Keep browsing — more KCD2 mods await

📋 All KCD2 Mods 🏆 Top 25 📂 More Miscellaneous 👤 More by GoogleBen 🔎 Similar Mods 🌐 Best Miscellaneous (All Games) 🔀 Check Compatibility ⚖️ Compare Mods 🆕 New Mods