yasp dom1torii
winget install --id=dom1torii.yasp -e TUI CS2 Server picker
winget install --id=dom1torii.yasp -e TUI CS2 Server picker
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.
paru -S yasp
git clone https://github.com/dom1torii/yet-another-server-picker.gitcd into the foldersudo go-task installwinget install yasp
scoop bucket add cs2 https://github.com/dom1torii/cs2
scoop install cs2/yasp
git clone https://github.com/dom1torii/yet-another-server-picker.gitcd into the foldergo 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.
mm_dedicated_search_maxping is recommended)If you have any ideas on how to fix or improve something, pull requests are always welcome :)
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