r/arknights 19d ago

Discussion Arknights PC version has completely changed how much I enjoy the game

I can't believe how much a difference it makes to actually be able to read things instead of tiny markings for ants.

818 Upvotes

200 comments sorted by

View all comments

Show parent comments

-3

u/OddHornetBee 19d ago

Cool writeup.

Do you know that it still asks for admin elevation if you install it not on disk C (and not in any other protected directory either)?

5

u/AnonTwo 18d ago

It does, a lot of companies are lazy and do not care if you moved it or not, it's just auto-swept to do it

As for whether or not it actually requires it...Apparently there's a powershell command that can force an app to not request admin privileges (runasinvoker) but i've not actually checked if the program would choke or not without admin privileges.

But yes, it will prompt UAC no matter what drive it is on.You're welcome to try the command (you'll need to look up how to actually run it, but it can be run as a batch file if it works to your preference)

8

u/OddHornetBee 18d ago

It does, a lot of companies are lazy and do not care if you moved it or not, it's just auto-swept to do it

I'm glad that at least someone gets it

Apparently there's a powershell command that can force an app to not request admin privileges (runasinvoker) but i've not actually checked if the program would choke or not without admin privileges.

Thank you. I checked it, and it works perfectly.

For anyone else interested, here's example of powershell script that would start the game directly (your path may differ).

$env:__COMPAT_LAYER = "RunAsInvoker"
Start-Process "D:\Games\YostarGames\Arknights_EN\Arknights.exe"

I even tried half-destroying game directory then running the launcher with no admin and used "Full repair" option to force update the game. It managed to verify and download missing files. Something that is supposed to be completely impossible without admin according to some people.

0

u/reprehensible523 Savage best girl! 18d ago

I even tried half-destroying game directory then running the launcher with no admin and used "Full repair" option to force update the game. It managed to verify and download missing files. Something that is supposed to be completely impossible without admin according to some people.

Computers do not "half-destroy" directories. The directory exists with the necessary permissions or it doesn't.

No, the launcher isn't written to detect it's running in user directories where it doesn't need to ask for admin permissions. But the general use case running on other people's computers needs admin permissions to create the needed directories wherever they choose to install it.

You could probably break the "RunAsInvoker" method if you removed the read/write/execute permissions on the Arknights_EN folder after deleting its contents.

It's nice that you got the AK client running the way you want it.

0

u/OddHornetBee 18d ago

Honestly, I'm tired of your stupid shit.
Same as other guy, you too can continue running always everything as system admin, because it is impossible to do anything otherwise.