Go into files. Only the first file will work properly. It will say that planetbase framework is needed

-how to install planetbase framework

click the link to Github. Select the issues tab, then go back to the code tab. Select the green button saying "Code". Select the "Download .zip" option. Then once downloaded, extract it to the documents/planetbase/mods folder. "Note- some antivirus programs may classify that as a threat  and may take action. Ignore that, it did that with the patcher too.".

-what to do afterwards.
In the first file, it will be zipped too. Extract it to the same place as planetbase framework. Then open the registry editor (regedit.exe). Go under Computer/HKEY_CURRENT_USER/SOFTWARE/Valve/Steam/apps/403190 key. Right click to create a new key under 403190. Name it NoPowerShortages. Left click on the new key you've made then in the blank space under the default value, right click to create 2 Multi-String-SZ values. Name the first one NoPowerShortages.cpsroj. Then right click on that value and select Modify. Under value data, put all the text from the file NoPowerShortages.cpsroj in the zipped file you downloaded. Get the text by opening NoPowerShortages.cpsroj with Notepad and selecting all the text that comes up in notepad and copying it then pasting it to value data. If it warns you that you left empty strings and they will be removed, don't worry. Add a second value and name it NoPowerShortages.cs then copy the code from NoPowerShortages.cs. That is all you need to add to the key. Next you need to give Planetbase permission to utilize it.

-how to give planetbase access to the key

Right click on your new key and choose "permissions". Select advanced permissions, then select "Disable inheritance", then select the first option "convert all inherited permissions to explicit permissions". That gives you permission to edit permissions for the key. Under "System", now select "edit". Then check the box saying "Full control.". That gives planetbase full control of the key.

Article information

Added on

Edited on

Written by

218765617

1 comment

  1. 218765617
    218765617
    • member
    • 1 kudos
    for the registry value, you can also put this into the command prompt.
    REG ADD HKCU\Software\Valve\Steam\Apps\403190\NoPowerShortages

    REG ADD HKCU\Software\Valve\Steam\Apps\403190\NoPowerShortages /v NoPowerShortages.cpsroj /t REG_MULTI_SZ /d C:\Users\(replace with your username)\Documents\Planetbase\Mods\NoPowerShortages\NoPowerShortages\NoPowerShortages.cpsroj

    REG ADD HKCU\Software\Valve\Steam\Apps\403190\NoPowerShortages /v NoPowerShortages.cs /t REG_MULTI_SZ /d C:\Users\(replace with your username)\Documents\Planetbase\Mods\NoPowerShortages\NoPowerShortages\NoPowerShortages.cs

    Then you can skip to the "how to give planetbase access to the key" section. There is no way to do that in the command prompt.