-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Setting up da DK
If you arrived here for the first time, welcome! We're very happy to see yet another traveler that is interested in our project, although bear in mind that with great power comes great responsibility - ASF is capable of doing a lot of different Steam-related things, but only as long as you care enough to learn how to use it. There is a steep learning curve involved here, and we expect from you to read the wiki in this regard, which explains in detail how everything operates.
If you're still here then it means that you endured our text above, which is nice. Unless you skipped over it, then you're going to have a bad time soon enough... Anyway, ASF is a console app, which means that the program itself doesn't have a friendly GUI that you're in general used to. ASF was mainly supposed to be run on servers, so it acts as a service (daemon) and not a desktop app.
This however doesn't mean that you can't use it on your PC or using it is in some way more complicated than usual, nothing like that. ASF is a standalone program that doesn't need installation, and works out of the box right away, but requires configuration prior to becoming useful. Configuration is telling ASF what it should in fact do after you launch it. If you launch it without configuration, then ASF won't do anything, simple.
In general, here is what we'll do in the next few minutes:
- Install .NET Core prerequisites.
- Download latest ASF release in appropriate OS-specific variant.
- Extract the archive into new location (and
chmod +x ArchiSteamFarm
if you're on Linux/OS X). - Configure ASF.
- Launch ASF and see the magic.
Sounds simple enough, right? So let's get through it.
First step is ensuring that your OS can even launch ASF properly. ASF is written in C#, based on .NET Core and may require native libraries that are not available on your platform yet. Depending on whether you use Windows, Linux or OS X, you will have different requirements, although all of them are listed in .NET Core prerequisites document that you should follow. This is our reference material that should be used, but for the sake of simplicity we've also detailed all needed packages below, so you don't need to read the full document.
It's perfectly normal that some (or even all) dependencies already exist on your system due to being installed by third-party software that you're using. Still, you should ensure that it's truly the case by running appropriate installer for your OS - without those dependencies ASF won't launch at all.
Keep in mind that you don't need to do anything else for OS-specific builds, especially installing .NET Core SDK or even runtime, since OS-specific package includes all of that already. You need only .NET Core prerequisites (dependencies) to run .NET Core runtime included in ASF.
- Microsoft Visual C++ 2015 Redistributable Update (x64 for 64-bit Windows, x86 for 32-bit Windows)
- It's highly recommended to ensure that all Windows updates are already installed. At the very least you need KB2533623 and KB2999226, but more updates may be needed. All of them are already installed if your Windows is up-to-date. Ensure that you meet those requirements prior to installing Visual C++ package.
Package names depend on the Linux distribution that you're using, we've listed the most common ones. You can obtain all of them with native package manager for your OS (such as apt
for Debian or yum
for CentOS).
-
libc6
(libc
) -
libgcc1
(libgcc
) -
libicu
(icu-libs
, latest version for your distribution, for examplelibicu67
) -
libgssapi-krb5-2
(libkrb5-3
,krb5-libs
) -
libssl1.1
(libssl
,openssl-libs
, latest version for your distribution,1.1.X
or1.0.X
) -
libstdc++6
(libstdc++
, in version5.0
or higher) -
zlib1g
(zlib
)
At least a majority of those should be already natively available on your system. The minimal installation of Debian stable required only libicu63
.
OS X:
- None for now, but you should have latest version of OS X installed, at least 10.13+
Since we have all required dependencies already, the next step is downloading latest ASF release. ASF is available in many variants, but you're interested in package that matches your operating system and architecture. For example, if you're using 64
-bit Win
dows, then you want ASF-win-x64
package. For more information about available variants, visit compatibility section. ASF is also able to run on OSes that we're not building OS-specific package for, such as 32-bit Windows, head over to generic setup for that.
After download, start from extracting the zip file into its own folder. We recommend using 7-zip, but all standard utilities like unzip
from Linux/OS X should work without problems as well.
If you're using Linux/OS X, don't forget to chmod +x ArchiSteamFarm
in the extracted folder, since permissions are not automatically set in the zip file. This has to be done only once after initial unpack.
Be advised to unpack ASF to its own directory and not to any existing directory you're already using for something else - ASF's auto-updates feature will delete all old and unrelated files when upgrading, which may lead to you losing anything unrelated you put in ASF directory. If you have any extra scripts or files that you want to use with ASF, put them in one folder above.
An example structure would look like this:
C:\ASF (where you put your own things)
βββ ASF shortcut.lnk (optional)
βββ Config shortcut.lnk (optional)
βββ Commands.txt (optional)
βββ MyExtraScript.bat (optional)
βββ (...) (any other files of your choice, optional)
βββ Core (dedicated to ASF only, where you extract the archive)
βββ ArchiSteamFarm(.exe)
βββ config
βββ logs
βββ plugins
βββ (...)
We're now ready to do the very last step, the configuration. This is by far the most complicated step, since it involves a lot of new information you're not familiar with yet, so we'll try to provide some easy to understand examples and simplified explanation here.
First and foremost, there is configuration page that explains everything that relates to configuration, but it's a massive amount of new information, a lot of which we don't need to know right away. Instead, we'll teach you how to get the information you're actually looking for.
ASF configuration can be done in two ways - either by using our web config generator, or manually. This is explained in-depth in configuration section, so refer to that if you want more detailed information. We'll use web config generator way, since it's much easier.
Navigate to our web config generator page with your favourite browser, you'll need to have javascript enabled in case you manually disabled it. We recommend Chrome or Firefox, but it should work on all most popular browsers.
After opening the page, switch to "Bot" tab. You should now see a page similar to the one below:
If by any chance the version of ASF that you've just downloaded is older than what config generator is set to use by default, simply choose your ASF version from the dropdown menu. This can happen as the config generator can be used for generating configs to newer (pre-release) ASF versions that weren't marked as stable yet. You've downloaded latest stable release of ASF that is verified to work reliably.
Start from putting name for your bot into the field highlighted as red. This can be any name you'd like to use, such as your nickname, account name, a number, or anything else. There is only one word that you can't use, ASF
, as that keyword is reserved for global config file. In addition to that your bot name can't start with a dot (ASF intentionally ignores those files). We also recommend that you avoid using spaces, you can use _
as a word separator if needed.
After you decided about your name, change Enabled
switch to be on, this defines whether your bot is supposed to be started by ASF automatically after launch (of the program).
Now you can decide upon two things:
- You can put your login in
SteamLogin
field and your password inSteamPassword
field - Or you can leave them empty
Doing the first thing will allow ASF to automatically use your account credentials during startup, so you won't need to input them manually each time ASF needs them. You can however decide to omit them, in which case they're not being saved, so ASF won't be able to automatically start without your help and you'll need to input them during runtime.
ASF requires your login credentials because it includes its own implementation of Steam client and needs the same details to log in as the one that you use yourself. Your login credentials are not saved anywhere but on your PC in ASF config
directory only, our web config generator is client-based which means that the code is run locally in your browser to generate valid ASF configs, without details you're inputting ever leaving your PC in the first place, so there is no need to worry about any possible sensitive data leak. Still, if you for whatever reason don't want to put your credentials there, we understand that, and you can put them manually later in generated files, or omit them entirely and put them only in ASF command prompt. More on security matter can be found in configuration section.
You can also decide to leave just one field empty, such as SteamPassword
, ASF will then be able to use your login automatically, but will still ask for password (similar to Steam Client). If you're using Steam parental to unlock the account, you'll need to put it into SteamParentalCode
field.
After the decision and optional details, your web page will now look similar to the one below:
You can now hit "download" button and our web config generator will generate new json
file based on your chosen name. Save that file into config
directory which is located in the folder where you've extracted our zip file in the previous step.
Your config
directory will now look like this:
Congratulations! You've just finished the very basic ASF bot configuration. We'll extend this shortly, for now this is everything that you need.
You're now ready to launch the program for the first time. Simply double-click ArchiSteamFarm
binary in ASF directory.
After doing so, assuming you installed all required dependencies in the first step, ASF should launch properly, notice your first bot (if you didn't forget to put generated config in config
directory), and attempt to log in:
If you supplied SteamLogin
and SteamPassword
for ASF to use, you'll be asked for your SteamGuard token only (e-mail, 2FA or none, depending on your Steam settings). If you didn't, you'll also be asked for your Steam login and password.
Now is a good time to review our privacy policy section if you're concerned about what will happen next, as stated by ASF itself.
After passing through initial login gate, assuming your details are correct, you'll successfully log in, and ASF will start idling using default settings that you didn't change as of now:
This proves that ASF is now successfully doing its job on your account, so you can now minimize the program and do something else. After enough of time (depending on performance), you'll see Steam trading cards slowly being dropped. Of course, for that to happen you must have valid games to idle, showing as "you can get X more card drops from playing this game" on your badges page - if there are no games to idle, then ASF will state that there is nothing to do, as stated in our FAQ.
This concludes our very basic setting up guide. You can now decide whether you want to configure ASF further, or let it do its job in default settings. We'll cover a few more basic details, then leave you entire wiki for discovery.
ASF supports idling more than one account at a time, which is its primary function. You can add more accounts to ASF by generating more bot config files, in exactly the same way as you've generated your first one just a few minutes ago. You need to ensure only two things:
- Unique bot name, if you already have your first bot named "MainAccount", you can't have another one with the same name.
- Valid login details, such as
SteamLogin
,SteamPassword
andSteamParentalCode
(if using Steam parental settings)
In other words, simply jump to configuration again and do exactly the same, just for your second or third account. Remember to use unique names for all of your bots.
You change existing settings in exactly the same way - by generating a new config file. If you didn't close our web config generator yet, click on "toggle advanced settings" and see what is there for you to discover. For this tutorial we'll change CustomGamePlayedWhileFarming
setting, which allows you to set custom name being displayed when ASF is idling, instead of showing actual game.
So let's do that, if you run ASF and start idling, in default settings you'll see that your Steam account is in-game now:
Let's change that then. Toggle advanced settings in web config generator and find CustomGamePlayedWhileFarming
. Once you do that, put your own custom text there that you want to display, such as "Idling cards":
Now download the new config file in exactly the same way, then overwrite your old config file with new one. You can also delete your old config file and put new one in its place of course.
Once you do that and start ASF again, you'll notice that ASF now displays your custom text in previous place:
This confirms that you've successfully edited your config. In exactly the same way you can change global ASF properties, by switching from bot tab to "ASF" tab, downloading generated ASF.json
config file and putting it in your config
directory.
ASF is a console app and doesn't include a graphical user interface. However, we're actively working on ASF-ui frontend to our IPC interface, which can be a very decent and user-friendly way to access various ASF features.
In order to use ASF-ui, you should ensure that you set up IPC
and SteamOwnerID
global configuration properties (ASF tab).
For SteamOwnerID
, you need to input unique Steam identificator in 64-bit form of your account. You can look it up in various different ways, we'll use SteamRep for that purpose. Open the website, locate sign in through Steam button in top right corner, then log in. Afterwards, in the same place, click on your avatar, and look up steamID64
field on your profile.
For my account, this is 76561198006963719
number. You'll have a similar one, also starting from 7656
. Copy it.
Now navigate once again to our web config generator and input that number as SteamOwnerID.
You need to do only one more thing, toggle advanced settings, find IPC
option, and enable it.
Now you can download your ASF config and put it in your config
directory, as usual. Afterwards, launch ASF again, and you should be able to confirm that it properly started IPC interface:
If you did everything properly, you'll now be able to access ASF's IPC interface under this link, as long as ASF is running. You can use ASF-ui for various purposes, e.g. sending commands. Feel free to take a look around in order to find out all ASF-ui functionalities.
Please note that ASF-ui is currently in preview state and not everything is available/working yet, but it's more than enough for simple ASF usage.
You've successfully set up ASF to use your Steam accounts and you've already customized it to your liking a little. If you followed our entire guide, then you even managed to send a simple command through our ASF-ui interface. Now is a good time to read our entire configuration section in order to learn what all those different settings you've seen in advanced tab actually do, and what ASF can offer. If you've stumbled upon some issue or you have some generic question, read FAQ instead which should cover all, or at least majority of questions that you may have. If you want to learn everything about ASF and how it can make your life easier, head over to the rest of our wiki. Have fun!
This setup is for advanced users that want to set up ASF to run in generic variant. It's not recommended for people that can use OS-specific setup.
You want to use generic variant mainly in those situations (but of course you can use it regardless):
- When you're using OS that we don't build OS-specific package for (such as 32-bit Windows)
- When you already have .NET Core Runtime/SDK, or want to install and use one
- When you want to minimize ASF structure size by handling runtime requirements yourself
- When you want to use a custom plugin which requires a generic setup of ASF to run properly (due to missing native dependencies)
However, keep in mind that you're in charge of .NET Core runtime in this case. This means that if your .NET Core SDK (runtime) is unavailable, outdated or broken, ASF won't work. This is why we don't recommend this setup for casual users, since you now need to ensure that your .NET Core SDK (runtime) matches ASF requirements and can run ASF, as opposed to us ensuring that our .NET Core runtime bundled with ASF can do so.
For generic package, you can follow entire OS-specific guide above, with two small changes. In addition to installing .NET Core prerequisites, you also want to install .NET Core SDK, and instead of having OS-specific ArchiSteamFarm(.exe)
executable file, you now have a generic ArchiSteamFarm.dll
binary only. Everything else is exactly the same.
With extra steps:
- Install .NET Core prerequisites.
- Install .NET Core SDK (or at least runtime) appropriate for your OS. You most likely want to use an installer. Refer to runtime requirements if you're not sure which version to install.
- Download latest ASF release in generic variant.
- Extract the archive into new location (and
chmod +x ArchiSteamFarm.sh
if you're on Linux/OS X). - Configure ASF.
- Launch ASF by either using a helper script or executing
dotnet /path/to/ArchiSteamFarm.dll
manually from your favourite shell.
Helper scripts (such as ArchiSteamFarm.cmd
for Windows and ArchiSteamFarm.sh
for Linux/OS X) are located next to ArchiSteamFarm.dll
binary - those are included in generic variant only. You can use them if you don't want to execute dotnet
command manually. Obviously helper scripts won't work if you didn't install .NET Core SDK and you don't have dotnet
executable available in your PATH
. Helper scripts are entirely optional to use, you can always dotnet /path/to/ArchiSteamFarm.dll
manually.
- π‘ Home
- π§ Konfiguration
- π¬ FAQ
- βοΈ Setting up (start here)
- π₯ Produktaktivering i baggrunden
- π’ Commands
- π οΈ Compatibility
- 𧩠ItemsMatcherPlugin
- π Management
- β±οΈ Performance
- π‘ Remote communication
- πͺ Steam-familiedeling
- π Trading
- β¨οΈ Command-line arguments
- π§ Deprecation
- π³ Docker
- π€ Extended FAQ
- π HΓΈjydelsesopsΓ¦tning
- π IPC
- π Localization
- π Logging
- πΎ Low-memory setup
- π΅πΌββοΈ MonitoringPlugin
- π Plugins
- π Sikkerhed
- 𧩠SteamTokenDumperPlugin
- π¦ Tredjepart
- π΅ To-faktor autentificering