From b7768d8d26cace85ba43e41db980e17168fd16b6 Mon Sep 17 00:00:00 2001 From: KeinNiemand <18308201+KeinNiemand@users.noreply.github.com> Date: Wed, 29 Nov 2023 09:24:41 +0100 Subject: [PATCH 1/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2c88574..a562dfb 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ The LargePageInjectorMods can provide a substantial performance boost to your St Setting the environment variable `MIMALLOC_ARENA_EAGER_COMMIT` to 1 may further help with performance. This setting does not require enabling Large Pages and can be tested for its impact on the game. I have this enviourment variable set and have not tested the mod without it. ### Standard Installation -1. **Download the Mod**: Download the ZIP file for your Stellaris launcher version from [insert link to releases page]. +1. **Download the Mod**: Download the ZIP file for your Stellaris launcher version from [releases page](https://github.com/KeinNiemand/LargePageInjectorMods/releases). 2. **Locate Stellaris Directory**: Find the directory where Stellaris is installed (the same folder where `stellaris.exe` is located). 3. **Extract Files**: Drag all the files from the downloaded ZIP file into the Stellaris installation folder. Click "Yes" to replace files if prompted. From cf17fa180bceafbda49f1fc569a80078dfa13d29 Mon Sep 17 00:00:00 2001 From: KeinNiemand <18308201+KeinNiemand@users.noreply.github.com> Date: Wed, 29 Nov 2023 09:25:15 +0100 Subject: [PATCH 2/4] Update README.md --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a562dfb..fa4697f 100644 --- a/README.md +++ b/README.md @@ -23,9 +23,12 @@ The LargePageInjectorMods can provide a substantial performance boost to your St Setting the environment variable `MIMALLOC_ARENA_EAGER_COMMIT` to 1 may further help with performance. This setting does not require enabling Large Pages and can be tested for its impact on the game. I have this enviourment variable set and have not tested the mod without it. ### Standard Installation -1. **Download the Mod**: Download the ZIP file for your Stellaris launcher version from [releases page](https://github.com/KeinNiemand/LargePageInjectorMods/releases). -2. **Locate Stellaris Directory**: Find the directory where Stellaris is installed (the same folder where `stellaris.exe` is located). -3. **Extract Files**: Drag all the files from the downloaded ZIP file into the Stellaris installation folder. Click "Yes" to replace files if prompted. +1. **Download the Mod**: Download the ZIP file for your Stellaris launcher version from [Releases Page](https://github.com/KeinNiemand/LargePageInjectorMods/releases). + Disclaimer: Some Antivirus (including Windows Defender) may falsely detect Injector.exe to be maleware, this is a false positive caused becouse antiviruses see dll injection as suspious. You can read the source code and compile it yourself if you don't trust me. +3. **Locate Stellaris Directory**: Find the directory where Stellaris is installed (the same folder where `stellaris.exe` is located). +4. **Extract Files**: Drag all the files from the downloaded ZIP file into the Stellaris installation folder. Click "Yes" to replace files if prompted. +5. **Run the game normally** Run the game normally, the included launcher-settings.json configures the paradox launcher to run the Injector which then runs the game. If succefull the game it will take a few extra seconds for the game to open and you will hear a short beep before the game opens to indicate success. + If you for some reason want to run the game without the paradox launcher you can alternativly run Injector.exe with some command line argument (currently there a bug in the way the injector parses and passes trough arguments that makes it not work if there are no command line args this will be fixed in the next release). ### Advanced Installation for Large Pages From cc8615267d2e96630a43c55b5c3b93e125998c54 Mon Sep 17 00:00:00 2001 From: KeinNiemand <18308201+KeinNiemand@users.noreply.github.com> Date: Wed, 29 Nov 2023 12:15:58 +0100 Subject: [PATCH 3/4] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fa4697f..f70257c 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ To enable Large Pages for further performance enhancement: 3. **System Requirements and Recommendations**: - Large Pages might not work effectively if your system has less than 16GB of RAM. - For systems with 16GB of RAM: Setting the environment variable higher than 4 is not recommended. It may be necessary to restart your PC before launching the game and disable unnecessary auto-starts to ensure enough continuous RAM is available. - - For systems with 32GB of RAM or more: Setting the environment variable to 4 or 8 is recommended. + - For systems with 32GB of RAM or more: Setting the environment variable to 4-8 is recommended. Please note that memory fragmentation can be an issue if sufficient continuous RAM is not available. @@ -56,7 +56,7 @@ This mod uses the following third-party libraries: - **EasyHook License**: [Add link to EasyHook License](https://github.com/KeinNiemand/LargePageInjectorMods/blob/master/3rdPartyLicences/EASYHOOK_LICENCE.txt) ## Compatibility -This mod is primarily designed for Stellaris but has the potential to be adapted for other games. It is compatible with most Stellaris mods. If you encounter any compatibility issues, please report them in the "Issues" section of this GitHub page. +This mod is primarily designed for Stellaris but has the potential to be adapted for other games. It is compatible with all Stellaris mods. If you encounter any compatibility issues, please report them in the "Issues" section of this GitHub page. ## Contributing Contributions to the LargePageInjectorMods are welcome! If you have suggestions for improvements or bug fixes, feel free to fork this repository and submit a pull request. From d49a1f96efe152239ad8f05c66cfe9cd49bb26b5 Mon Sep 17 00:00:00 2001 From: KeinNiemand <18308201+KeinNiemand@users.noreply.github.com> Date: Wed, 29 Nov 2023 21:26:50 +0100 Subject: [PATCH 4/4] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f70257c..4e84d6b 100644 --- a/README.md +++ b/README.md @@ -16,8 +16,8 @@ DLL (Dynamic Link Library) injection is a method used to run code within the add ## Performance Enhancement The LargePageInjectorMods can provide a substantial performance boost to your Stellaris gameplay: -- **Standard Performance Increase**: Expect up to an 80%+ increase in game performance with the mod's basic installation. -- **Enhanced Performance with Large Pages**: When enabled with Large Pages, the mod can deliver up to a 200% increase in performance, making for an even smoother and more responsive gaming experience. +- **Standard Performance Increase**: Expect up to an ~~80%+ increase in game performance~~, probably wrong havn't tested again without large pages but with Large pages I only got 22.5%, and without it should be an even smaller increase. +- **Enhanced Performance with Large Pages**: When enabled with Large Pages, the mod can deliver up to a ~~200% increase in performance~~ Probably wrong tested again and only got 22.5% performance improment, making for an even smoother and more responsive gaming experience. ### Additional Performance Settings Setting the environment variable `MIMALLOC_ARENA_EAGER_COMMIT` to 1 may further help with performance. This setting does not require enabling Large Pages and can be tested for its impact on the game. I have this enviourment variable set and have not tested the mod without it.