...
- Debug Log
- Unpacking Files
- File Structure
- XSD Files
- XML and I8N
- True Names
- Goals R Good
- Game Starts
- AI Scripts
- Mission Director
- Ships and things
- The Universe
- ui and Lua
- effects
- Ventures with mods - at least for 2.5
...
...
...
Most of the code and data that governs the game is located in XML files. Mods can add to the game data, or even alter the stock data as its loaded.
...
Appearance is governed in libraries/character_macros.xml
Helmets can be removed there...
...
ui / Lua
...
- API - Truly epic, early implementation of named pipes to MD. Data I/O to a python script running beside the game. I'm still thinking up uses for this one.
From Discord (20190624): > Mysterial: @mewosmith @UniTrader if you're trying to make a >new new menu by adding your own ui.xml like XR then it won't work. The >modmod-friendly path is bugged. You have to replace one of Egosoft's >uiui.xml files. That's what the whole _G workaround thing is about.
...
Event list: https://gist.github.com/NodusCursorius/56f55f267a5f0f5509b6f46c6a1d3703 VTable list: https://gist.github.com/NodusCursorius/ac6bd44080ebee47662204c1ed983dcb Lua function list: https://gist.github.com/NodusCursorius/b61f26177fdcb490d2456e353d57f363 API misc list; https://gist.github.com/NodusCursorius/c8a97cc73a03fe6bdb466863e1a8ef84
Ventures with mods
from the Discord:
[2019-07-01 11:15 PM] Nodus Cursorius: X4: Foundations - 2.5 Prevent modified flag (yay ventures with mods) X4.exe Offset: 0x112140 - 3 byte change 48 83 EC 28 E8 27 5B 57 00 85 C0 0F 95 C0 48 83 C4 28 C3 ; pre-hack 0F 95 C0 48 83 EC 28 E8 27 5B 57 00 85 C0 B0 00 90 48 83 C4 28 C3 ; post-hack B0 00 90 ^ ^ ^
; origial
IsGameModified proc near
sub rsp, 28h
call sub_140688870
test eax, eax
setnz al
add rsp, 28h
retn
IsGameModified endp
; changed
IsGameModified proc near
sub rsp, 28h
call sub_140688870
test eax, eax
mov al, 0
nop
add rsp, 28h
retn
IsGameModified endp
...