STEAM GROUP
Special K - "Kaldaien's Mod" Special☆K
STEAM GROUP
Special K - "Kaldaien's Mod" Special☆K
323
IN-GAME
2,560
ONLINE
Founded
23 May, 2016
Language
English
All Discussions > Development > Topic Details
How to whitelist a folder from another disk?
Hello, I have a little issue: I managed to whitelist the EpicGames folder just fine but I don't get how I'm supposed to do it for another folder not located in my main partition (C:)
Can someone help me please?
Originally posted by Aemony:
In the backend, it's basically regexp, but keeping it simple usually just suffices.

My own file, for example, looks like this (and nothing else):

oriandthewillofthewisps MoonMan dungeons.exe quake2.exe Epic Games srttr.exe WindowsApps

The Escapist 2 might experiencing some other issue that prevents the overlay from showing up and whatnot. You can validate if Special K initializes itself in the game by looking for a folder that matches the name of the game executable below Documents\My Mods\SpecialK\Profiles\


Edit: As the strings are regexp, some characters have special meaning. For example, those periods (.) I have in my list technically means "any character" at that exact position, so e.g. "quake2.exe" would equally match against a process by the name of "quake2aexe". But since those types of processes are basically impossible in Windows, the actual wildcard-nature of a single dot makes no practical difference in my case, and so I can use it.

This is, by the way, why backslashes are using two slashes, as a single slash \ has different meanings depending on the following character. For example \b would mean the match would have to be made at the beginning of a string -- and so subfolders needs to use \\ as the first \ basically escapes the following slash \, so \\ is interpreted as a single \.

I personally don't use slashes at all in my whitelist config because of it. Just typing the name of the executable of the game is usually what I go for.
< >
Showing 1-10 of 10 comments
Aemony 10 Jul, 2020 @ 9:13am 
Exactly the same way.

The lines you add is matched against the full path of the game process. So if e.g. you added "EpicGames" to the list, it'll match games residing in any of the below locations:

C:\Program Files\Epic\EpicGames\MyGame
D:\EpicGames\Derp
E:\User\Personal\Folders\Documents\My pictures\EpicGames\SRTT

etc.
its chewsday init 10 Jul, 2020 @ 9:47am 
Oh so it searches for that specific folder name is that correct?
its chewsday init 10 Jul, 2020 @ 9:48am 
Because for some reason it won't load on The Escapist 2
Last edited by its chewsday init; 10 Jul, 2020 @ 9:51am
its chewsday init 10 Jul, 2020 @ 9:54am 
Also does it need to be like:
Program Files\\Epic Games\\
Games\\

with a new line for a new entry or do I need to put those characters: " like that

"Program Files\\Epic Games\\"
"Games\\"
Last edited by its chewsday init; 10 Jul, 2020 @ 9:54am
The author of this thread has indicated that this post answers the original topic.
Aemony 10 Jul, 2020 @ 11:19am 
In the backend, it's basically regexp, but keeping it simple usually just suffices.

My own file, for example, looks like this (and nothing else):

oriandthewillofthewisps MoonMan dungeons.exe quake2.exe Epic Games srttr.exe WindowsApps

The Escapist 2 might experiencing some other issue that prevents the overlay from showing up and whatnot. You can validate if Special K initializes itself in the game by looking for a folder that matches the name of the game executable below Documents\My Mods\SpecialK\Profiles\


Edit: As the strings are regexp, some characters have special meaning. For example, those periods (.) I have in my list technically means "any character" at that exact position, so e.g. "quake2.exe" would equally match against a process by the name of "quake2aexe". But since those types of processes are basically impossible in Windows, the actual wildcard-nature of a single dot makes no practical difference in my case, and so I can use it.

This is, by the way, why backslashes are using two slashes, as a single slash \ has different meanings depending on the following character. For example \b would mean the match would have to be made at the beginning of a string -- and so subfolders needs to use \\ as the first \ basically escapes the following slash \, so \\ is interpreted as a single \.

I personally don't use slashes at all in my whitelist config because of it. Just typing the name of the executable of the game is usually what I go for.
Last edited by Aemony; 10 Jul, 2020 @ 11:26am
its chewsday init 10 Jul, 2020 @ 3:05pm 
Alright! Thank you very much for these explanations, it made the use of Special K way more clearer in no time!

Also, I have another question:
do you know if changing a setting in my config file would change the mouse cursor being frozen on payday 2 ? because I can't move my mouse in special k in payday 2, it's literally frozen in place..

Anyway thanks for the answer :)
[SK] Kaldaien 10 Jul, 2020 @ 4:26pm 
There's a feature referred to "cursor anti-warp" that's designed to solve that kind of issue.

However, the reason it's not working in that game is because PayDay 2 has anti-cheat systems; Dying Light has a similar issue. They're designed with extra steps to prevent input manipulation from things like aim-bots.

It's not recommended that you use Special K in those games, if the game's developer has a policy of banning users then it's risky (even though Special K is in no way associated with cheating, some devs tend to not really care).
its chewsday init 10 Jul, 2020 @ 4:34pm 
I found a work around which sometimes work, i can use the arrows of my keyboard but not in a consistent way but that does the trick to play borderless fullscreen (the reason i use it on payday)
[SK] Kaldaien 10 Jul, 2020 @ 4:43pm 
I assume you know about the input mode that lets you use the control panel with the keyboard?

Press Caps Lock, and it will then let you use WASD/arrow keys to move a virtual cursor around in the control panel.
its chewsday init 11 Jul, 2020 @ 10:03am 
Originally posted by SK Kaldaien:
I assume you know about the input mode that lets you use the control panel with the keyboard?

Press Caps Lock, and it will then let you use WASD/arrow keys to move a virtual cursor around in the control panel.
No I didn't know about that, thanks for the tip! I was pressing my keyboard randomly until it would work again lol
Is there a setting to bypass that mouse block?
Last edited by its chewsday init; 11 Jul, 2020 @ 10:04am
< >
Showing 1-10 of 10 comments
Per page: 1530 50

All Discussions > Development > Topic Details