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 details)
Built Distribution
File details
Details for the file csxhair-1.0.1.tar.gz
.
File metadata
- Download URL: csxhair-1.0.1.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d682cc520e23278c31427b7e6216d82eb738bea68b5e46ee2768dae229f5575 |
|
MD5 | 4ddd1ba70522dc96b20a0454588aa914 |
|
BLAKE2b-256 | 8c4aaf203c6568ecf2b92e617d7d9521337e5e74a46ab8db92714a17aec42218 |
File details
Details for the file csxhair-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: csxhair-1.0.1-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fc526e83957b1ef11867cbc1d125eb6749ec9e8f5790158e43f55adf54ba504 |
|
MD5 | 46d0ab784eec17e8550f8e8b371f6af5 |
|
BLAKE2b-256 | e91442a1300ed9e1a0c7ce358959615880567112bbfdb3db2ce50bd07ab743a1 |