Initial commit, hook into StarWarsI.exe

This commit is contained in:
2026-02-27 21:53:08 -06:00
parent f4c90a15cd
commit cb9c3879ce
14 changed files with 690 additions and 1 deletions

View File

@@ -1 +1,12 @@
# SWEAW Hooks
# SWEaW Hooks
A powrprof.dll hook which adds custom Lua functions to Forces of Corruption.
## Usage
Drop powrprof.dll and MinHooks.x64.dll into the `/corruption/` folder of your Empire at War installation.
Currently only works with the debug kit `StarWarsI.exe`; `StarWarsG.exe` support is coming soon.
## Functions
- Global `WriteToFile(str a, str b)` - Appends a line of text `b` to the file name `a` in the game directory.