YASP - Cross-platform TUI tool that allows you to select which CS2 servers you want to play on by blocking IPs of unwanted servers in your firewall.
YASP fetches relays from https://api.steampowered.com/ISteamApps/GetSDRConfig/v1?appid=730 and allows you to select relays you want or don't want. After you made your choice and chose "Block servers you don't want", it creates firewall rules (using iptables on linux and netsh on windows) to block unwanted servers.
No, because all it does is prevent your PC from connecting to certain IPs. It doesn't interact with the game at all and isn't a cheat.
Releases are available for Windows and Linux on the releases page.
AUR (Arch Linux)
paru -S yasp-bin- Install GoLang and Go-Task
- Clone the repository:
git clone https://github.com/dom1torii/yet-another-server-picker.git cdinto the folder- Install:
sudo go-task install
Winget (recommended)
winget install yasp
scoop bucket add cs2 https://github.com/dom1torii/cs2
scoop install cs2/yasp
- Install GoLang -> https://go.dev/doc/install
- Clone the repository:
git clone https://github.com/dom1torii/yet-another-server-picker.git cdinto the folder- Build the binary:
go build ./cmd/yasp/
Config file is located at /home/username/.config/yasp/ on linux or C:\Users\Username\.config\yasp\ on windows and is created by default when you first launch the executable.
It allows you to easily access and change some settings you might want to change.
Default config would look something like this:
[relays]
show_perfectworld = true
[ips]
path = "/home/username/yasp_ips.txt"
[logging]
enabled = false
path = "/home/username/yasp.log"Explaination:
show_perfectworld - show/hide perfect world servers in the list.
ips:path - path to the file where ips you selected will be stored.
logging:enabled - enable logging (for debugging purposes).
logging:path - path to the file where logs will be stored.
- Selecting servers is not fully accurate and sometimes you may get routed through the server you selected instead of playing directly on it.
- Sometimes server you selected may not be found. (using high
mm_dedicated_search_maxpingis recommended)
If you have any ideas on how to fix or improve something, pull requests are always welcome :)
- Custom presets
https://github.com/charmbracelet/bubbletea and others from Charm - TUI.
https://github.com/spf13/pflag - CLI flags.
https://github.com/BurntSushi/toml - TOML parser.
https://github.com/muesli/reflow - Small library for text wrapping.
https://github.com/prometheus-community/pro-bing - For pinging IP addresses.
Thank you alekun for the logo <3