Skip to content

Commit

Permalink
Finalize 1.1.0, add more games
Browse files Browse the repository at this point in the history
  • Loading branch information
sas41 committed Apr 27, 2020
1 parent 564ca94 commit 8a37fdb
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace ProcessAffinityControlTool
{
class Program
{
const string version = "1.0.1";
const string version = "1.1.0";

const int minArgumentCount_AddException = 4;
const int exactArgumentCount_AddRemoveProcess = 2;
Expand Down Expand Up @@ -551,13 +551,15 @@ static void TogglePACT()
static void ApplyCustomConfig()
{
pow.Config = conf;
pow.Games = games;
pow.SetTimer();
pow.RunScan(true);
}

static void ApplyDefaultConfig()
{
pow.Config = pausedConf;
pow.Games = new List<string>();
pow.PauseTimer();
pow.RunScan(true);
}
Expand Down
14 changes: 12 additions & 2 deletions games.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
caveblazers
blackdesert64
caveblazers
cemu
cppfps-win64-shipping
csgo
easyanticheat
easyanticheat_launcher
game
gta5
kingdomcome
mcc-win64-shipping
mcclauncher
modernwarfare
origin
r5apex
steam
regions of ruin
rpcs3
ryujinx
steam
yuzu
27 changes: 27 additions & 0 deletions help.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,33 @@ PACT v1.0.1 Commands:

Example:
default_priority 1
-----------------------------------------------------------
game_cores or gc
Sets the default cores for all games.

Syntax:
game_cores [cores]
Cores:
Can be from 0 to howevermany you have.

Example:
game_cores 0 1 2 5
-----------------------------------------------------------
game_priority or gp
Sets the default priority for all games.

Syntax:
game_priority [priority]
Priority:
0: Idle (Not Recommended)
1: Below Normal
2: Normal
3: Above Normal
4: High
5: Real Time (Not Recommended)

Example:
game_priority 3
-----------------------------------------------------------
scan_interval or si
Set the scan interval in miliseconds.
Expand Down

0 comments on commit 8a37fdb

Please sign in to comment.