Decode, edit and encode CS:GO/CS2 crosshairs easily.
Project description
CSXhair
CSXhair is a simple package for decoding/encoding CS:GO (and CS2!) crosshairs using game share codes.
All share codes are fully compatible with CS:GO/CS2.
from csxhair import Crosshair
my_crosshair = Crosshair.decode('CSGO-ZEw8O-KGXNu-4TTUU-VyXbD-SBCtG')
print(my_crosshair.gap) # -3.0
my_crosshair.size += 5
my_crosshair.recoil = True # exclusive to CS2
print(my_crosshair.encode()) # CSGO-hbBNp-7jd43-34SWO-9ck6v-p4FyB
print(my_crosshair.csgo_commands) # ['cl_crosshairgap -3.0', ..., 'cl_crosshairdot 0', ...]
print(my_crosshair.cs2_commands) # ['cl_crosshairgap -3.0', ..., 'cl_crosshairdot false', ...]
Special thanks to Aquarius for making a rough implementation led to this package.
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
csxhair-1.0.1.tar.gz
(5.2 kB
view hashes)