diff --git a/PriorityMod.toml b/PriorityMod.toml index 1e7b0bf..e7e91c6 100644 --- a/PriorityMod.toml +++ b/PriorityMod.toml @@ -1,38 +1,41 @@ [PriorityMod] -enabled=true +enabled = true ## Priorities -# No Change = -1 -# Idle = 0 -# Below Normal = 1 -# Normal = 2 -# Above Normal = 3 -# High = 4 -# Realtime = 5 (Run as Administrator is required) (Not Recommended) +# No Change = -1 +# Idle = 0 +# Below Normal = 1 +# Normal = 2 +# Above Normal = 3 +# High = 4 +# Realtime = 5 (Run as Administrator is required) (Not Recommended) # Check Microsoft official document for the details # https://docs.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-setpriorityclass#parameters -priority=4 +priority = 4 ## Affinity # Process Affinity (0 = no change) # Check Microsoft official document for the details # https://docs.microsoft.com/en-us/windows/win32/procthread/processor-groups -affinity=0 + +# To set the value. You need CPU Affinity Mask Calculator +# https://bitsum.com/tools/cpu-affinity-calculator/ +affinity = 0 ## Dynamic Priority # For people who have bAlwaysActive=true # Priority and affinity will set to value below when lost focus # Regain focus or not responding will set back to [PriorityMod] section [DynamicPriority] -enabled=true -idle_priority=1 -idle_affinity=0 +enabled = false +idle_priority = 1 +idle_affinity = 0 ## ENBHost Priority # Only for 32bit games with ENB. # Related code won't be included at Compile-Time in Fallrim Priority 64bit # So you don't need to disable it when you playing 64bit game [EnbHost] -enabled=true -priority=4 -affinity=0 +enabled = true +priority = 4 +affinity = 0 diff --git a/pack.csx b/pack.csx index 8043457..b476806 100644 --- a/pack.csx +++ b/pack.csx @@ -1,4 +1,3 @@ -//#r "nuget: System.IO.Compression, 4.3.0" #r "System.IO.Compression" using System; using System.IO; @@ -15,11 +14,13 @@ ModReleaseInfo[] outputs = new ModReleaseInfo[] { new ("Skyrim Priority LE" ,"SKSE", x86), // The Elder Scroll Skyrim SE/VR new ("Skyrim Priority SE" ,"SKSE", x86_64), // The Elder Scroll Skyrim LE + new ("Enderal Priority LE" ,"SKSE", x86), // Enderal LE new ("Enderal Priority SE" ,"SKSE", x86_64), // Enderal SE new ("Oblivion Priority" ,"OBSE", x86), // The Elder Scroll Oblivion - new ("Fallout Priority" ,"F4SE", x86_64), // Fallout 4/VR - new ("Fallout Priority 3" ,"FOSE", x86), // Fallout 3 - new ("New Vegas Priority" ,"NVSE", x86), // Fallout New Vegas + new ("Fallout4 Priority" ,"F4SE", x86_64), // Fallout 4/VR + new ("Fallout3 Priority" ,"FOSE", x86), // Fallout 3 + new ("NewVegas Priority" ,"NVSE", x86), // Fallout New Vegas + //new ("Redfall Priority" ,"RESE", x86_64), // The Elder Scroll Redfall }; byte[] dll32 = File.ReadAllBytes($"{GetCompiledPath(x86)}\\{ModDllName}");