Skip to content

Latest commit

 

History

History
63 lines (38 loc) · 2.79 KB

README.md

File metadata and controls

63 lines (38 loc) · 2.79 KB

Build stellarstellaris Windows

StellarStellars - Windows (+Linux?) edition

The goal of this project is to start building an enhanced version of StellarStellaris that can hook into Stellaris on multiple platforms, with the initial focus being Steam Windows, since that is the most heavily used version.

This is in a very early alpha stage, it currently doesn't do much of anything.

Currently supported in version v0.1.1-alpha:

  • Windows Steam (should support any current version)
  • Windows GOG (should support any current version)

NEED BETA TESTERS, JOIN DISCORD!

Current State

Currently works on WINDOWS, Steam or GOG. I will eventually add Linux support, I don't have any macs.

Game bugs patched:

  • Hull/Shield/Armor Regen overflow - Replaced fixed point calculations with double based calculations to eliminate ship regen overflow
  • Disapearing army outliner group - Fixed Armies dissapearing from outliner menu

Performance issues patched:

  • Species-is-modifiable alert - Causes large lag spikes in late game with a lot of species/planets

Debug logging added:

  • CEvent::ExecuteActual
  • CEffect::ExecuteActual
  • CRandomInListEffect::ExecuteActual
  • CEveryInListEffect::ExecuteActual
  • COnActionDatabase::PerformEvent
  • Implemented but disabled (way too noisy) - CTrigger::ExecuteActual
  • Implemented but disabled (also too noisy) - CToken related code to investigate token init.

in order to dump debug data to a new log file (stellarstellaris-debug.log in the normal directory example file as of 9/14/2022 here).

Install/Using:

Compiled windows executables are available in Github workflows/actions as build artifacts, download the zip file, extract it somewhere, start Stellaris and run stellar-loader.exe

This will load the DLL into the currently running game, it must be run every time the game is restarted to use it.

NOTE: There is not currently any protection against loading the patch into game memory more than once at a time; this may cause weirdness.

Compatibility:

Currently, there are no compatibility issues, the loader can be run at any time during a game, and can be removed by restarting the game without any issue (although obviously any patched bugs will return).

Support discord:

https://discord.gg/Mtm5nURDSC

Join Support discord link

How to sponsor / support:

https://github.com/sponsors/MattMills

https://www.patreon.com/RadioCapture

References / Thanks / Borrowed code:

https://github.com/khalladay/hooking-by-example