This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void Main() | |
{ | |
// Get process. | |
var gameProcess = Process.GetProcessesByName("Exanima").First(); | |
var externalMemory = new ExternalMemory(gameProcess); | |
var textSectionBaseAddress = 0x401000; // Exanima.exe.text | |
// Arsenal info. | |
var totalItemsToLoad = ArsenalItemIds.Length; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
message_scheduler = { | |
messages = {}, | |
tick = function() | |
local current_time = GetTime() | |
local next_messages_state = {} | |
for _, timed_message in ipairs(message_scheduler.messages) do | |
if current_time >= timed_message.time then | |
DebugPrint(timed_message.message) | |
else |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function init() | |
grassColors = { | |
{99 / 255, 146 / 255, 103 / 255}, | |
{84 / 255, 127 / 255, 86 / 255}, | |
{70 / 255, 107 / 255, 69 / 255} | |
} | |
map_cache = {} | |
resolution = 32 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function init() | |
-- configuration | |
bodies_to_process_per_tick = 10 -- bodies to process per tick | |
chunk_refresh_interval = 10 -- the interval (in seconds) to refresh the chunk (only if current chunk has finished processing) | |
is_debug = true | |
-- chunk state | |
chunk_position = GetPlayerTransform().pos | |
chunk_bodies = {} | |
chunk_size = 50 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Game (0.6.2 (patch 1)): "teardown.exe"+41CB00 | |
0x0 // Window Width (int) | |
0x4 // Window Height (int) | |
0x18 // Loading Screen Duration (float -- setting this while already ingame will show the loading screen for the specified seconds) | |
0x40 // Scene (pointer) | |
0x88 // Diagnostics Debug UI | |
0xA0 // Player (pointer) | |
0x144 // Simulation Interval (float -- default to 0.016 (60hz)) | |
Diagnostics Debug UI: Game+0x88 |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Found by Zooloo75 (http://steamcommunity.com/id/zooloo75/) | |
You can find console commands in this table. Search for strings that start with "wh_" for example to find Warhorse commands. | |
---------------------------------------------------------------------------------------------------------------------------- | |
Address Disassembly String | |
00007FFD6AA89930 lea rdx,qword ptr ds:[7FFD6BDE4358] " uvOrigin.x = %f, uvOrigin.y = %f\n" | |
00007FFD6AAB1B15 lea rdx,qword ptr |