A Python package for creating CS:GO shuffle config files.
Project description
Description
csgoinvshuffle is a Python package designed to create shuffle configs for the game CS:GO.
With this package you can easily shuffle between different weapon types (e.g. M4A4 and M4A1-S) and have less limits in cusomizing the shuffle experience than in the in-game settings.
##Note: CS:GO never really queues your items in a random order. The items are arranged in one simple cycle.
You can use the config file it creates and replace <path_to_your_steam>/userdata/<your_steam_3id>/730/remote/cfg/csgo_saved_item_shuffles.txt
with it to apply your config.
###HINT: CS:GO needs to be closed while replacing the file
How to install
The package requires Python 3.9:
pip install csgoinvshuffle
Basic usage
Your steam inventory needs to be public!
Basic shuffle for everything in your inventory
from csgoinvshuffle import ShuffleConfig, get_inventory
with ShuffleConfig() as sc:
sc.add_items(get_inventory("YOUR_STEAM_ID_64"))
Give items a certain order in the cycle
from csgoinvshuffle import ShuffleConfig, get_inventory
from csgoinvshuffle.enums import TagsInternalName
# This example only works if you have at least 4 music kits in your inventory
sc = ShuffleConfig()
inv = get_inventory("YOUR_STEAM_ID_64")
music_kits = inv.filter_by_tags_internal_name(TagsInternalName.MUSIC_KITS)
sc.set_item(0 , music_kits[3])
sc.set_item(1, music_kits[1])
sc.save()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for csgoinvshuffle-1.0.0b0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0ed2355b83d3b5aff37dd607f1260df5ed7cfd048b2b35c178f3a0f7d6f6540 |
|
MD5 | 5be2ac04e9ecc34e46e244dbae43ac97 |
|
BLAKE2b-256 | a769548a5cf7893507d550b692759e330f8817fd095716cf42b957cae7e225b6 |