Python bindings for SuperTuxKart
Project description
Python SuperTuxKart 2
This is a modified version of the free SuperTuxKart racing game with Python bindings. A lot of code was borrowed from PySTK, with some main differences:
- The code is now quite close to SuperTuxKart (no code deletion) so that SuperTuxKart updates can be easily applied
- The assets are now downloaded in a "cache" directory (no more data package)
- (project) races can be run in parallel (e.g. for Reinforcement Learning experiments)
The current source code is based on the SuperTuxKart 1.4 branch. The PySTK changelog can be found in this file.
Licence
As STK and PySTK, PySTK2 is released under the GNU General Public License (GPL) which can be found in the file COPYING
in the same directory as this file.
SuperTuxKart
SuperTuxKart is a free kart racing game. It focuses on fun and not on realistic kart physics. Instructions can be found on the in-game help page.
The SuperTuxKart homepage can be found at https://supertuxkart.net/. There is also our FAQ and information on how get in touch with the community.
Hardware Requirements
To visualize the races (not mandatory), make sure that you computer's specifications are equal or higher than the following specifications:
- A graphics card capable of 3D rendering - NVIDIA GeForce 470 GTX, AMD Radeon 6870 HD series card or Intel HD Graphics 4000 and newer. OpenGL >= 3.3
- You should have a dual-core CPU that's running at 1 GHz or faster.
- You'll need at least 512 MB of free VRAM (video memory).
- System memory: 1 GB
- Minimum disk space: 700 MB
- Ideally, you'll want a joystick with at least 6 buttons.
License
The software is released under the GNU General Public License (GPL) which can be found in the file COPYING
in the same directory as this file.
3D coordinates
A reminder for those who are looking at the code and 3D models:
SuperTuxKart: X right, Y up, Z forwards
Blender: X right, Y forwards, Z up
The export utilities perform the needed transformation, so in Blender you just work with the XY plane as ground, and things will appear fine in STK (using XZ as ground in the code, obviously).
Building from source
Building instructions can be found in INSTALL.md
Python bindings
pystk.[hc]pp
: manage racesstate.[hc]pp
: observable and actionspyckle.[hc]pp
: pickly statesfake_input_device.[hc]pp
: a fake input device used to control playersutils.[hc]pp
,views.hpp
buffer.[hc]pp
PYSTK_LOG_LEVEL
can control the log level (debug
, verbose
, info
, warn
, error
, fatal
)
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 Distributions
Hashes for pysupertuxkart2-0.3.8-cp313-cp313-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 267a92e73d6c934c2f7e33bb161e38969b72e31d265f9c980c4335e66855c0c9 |
|
MD5 | 560b4ccfe1423b2b1b11c01dd96eb6ff |
|
BLAKE2b-256 | a27d8db55bf2f766659d900746c6342f5018b3e464096cb687cf37b39399ff49 |
Hashes for pysupertuxkart2-0.3.8-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fba7437da730a376f6073168d77b52807e32786d48f9237a5e54124c64f12952 |
|
MD5 | 6a015a7a373fbc15b450de60303bd2c9 |
|
BLAKE2b-256 | de2da6c8ffcb28422345a7b6e67de34af2843ae06255058c3fa06a50f7564b13 |
Hashes for pysupertuxkart2-0.3.8-cp313-cp313-macosx_10_13_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 874761e1fce1e8fbd4f1174e45342d4ea35443de85f6ed48eaadb9189b94cb23 |
|
MD5 | 1ee22b7f774ba098cce10c5fea03817a |
|
BLAKE2b-256 | 6fff99e59709b6e932463ed11dc47945f8f6720d0102c42e5b025e785f419432 |
Hashes for pysupertuxkart2-0.3.8-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8a6e83b9d5b899b1c1a278d1db779efa7543a648499e9bbdeec9df3a64e235e |
|
MD5 | dc04abb7b40b6ad762d8600c121dd46a |
|
BLAKE2b-256 | 2d47bda1ba197babdc04a1f7dd73eeaba0c6871418d410ab69e1d894bcdb24eb |
Hashes for pysupertuxkart2-0.3.8-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6afc36ccb2ca68ea02d767930f56861f710b08ad77168a70ac2d742131cbfa0d |
|
MD5 | 26d7664ec0672992dcd201a1230487a7 |
|
BLAKE2b-256 | 3cfe1d51abb3cba3f179f9d665ef51b5fc398a140050e699e446ea8ea05a0498 |
Hashes for pysupertuxkart2-0.3.8-cp312-cp312-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2cbb36596a8835db27d3bc2510a6f4376b66c1f884703cec31d40c704005d18 |
|
MD5 | 40c1414619784f8a2e1c99f7a2190049 |
|
BLAKE2b-256 | 967e9de262da53de0ae74da625192153fe12c207f7ce05910597e638ed239709 |
Hashes for pysupertuxkart2-0.3.8-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 226c8fcc1eb5c8b48b2a1521937ea7ffb5f550d16f3642e1d03a9adc3333fff6 |
|
MD5 | 9ba1c3fa78773a491c7443868fa8897c |
|
BLAKE2b-256 | b3498008c567c08d5075d77b174dfb3ccc922b7083c256d58f0c2439d80db62d |
Hashes for pysupertuxkart2-0.3.8-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fa2e2acd436633b42465eaaa8b0e818535d0ad2cd5539b54c4d83801fdbf64f |
|
MD5 | 6e76d8ecc8734e623b0d8e909e6b6166 |
|
BLAKE2b-256 | 198ba47472228bbc5aa8ff0cb38253ab847ce885ce37f9556659b7a95f1ae255 |
Hashes for pysupertuxkart2-0.3.8-cp311-cp311-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8460736b390d0ea45a00fdafad2c4513fb9a30b724026d7eaec78b6d9953ce9 |
|
MD5 | 233fbee0925d6866689a683e0461dfd7 |
|
BLAKE2b-256 | 0d309fd00a591ff621f2d8fac614d865b2f809b4f737e6ac06f322b1e09f920f |
Hashes for pysupertuxkart2-0.3.8-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd495e92c893d1a72972eab0a198c7f1ef64f39a8eda4730ba175cd0d3c121fa |
|
MD5 | cabf4e162ed33b4c5303a4dd8ba73eda |
|
BLAKE2b-256 | 8ce38f0d4658326b3796019474382d00bbc66b59bc5f023383c28529c5f6b1e4 |
Hashes for pysupertuxkart2-0.3.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4f301397d4f1bde770d4724d7e50b8983b7db05bbba8f9022e2191b6305f765 |
|
MD5 | 6e1f229bc223f0d5e0a86820c55b8698 |
|
BLAKE2b-256 | 2fd3d288a7cffda52c4b2e05ea5e96c6e252e382d9c5c6ab0d86b4689d7574ee |
Hashes for pysupertuxkart2-0.3.8-cp310-cp310-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e4519c233950b827e0a9445ae6d5f0e72fcfe9f7f616414486a4065b8c4dbd5 |
|
MD5 | 5c9f7fb7e21906f66e04dde0728d72d0 |
|
BLAKE2b-256 | c73cd2c3a4cf70390a20ce404d8e7227d737de9a7003dbd22edc9c8ff9e6e5fb |
Hashes for pysupertuxkart2-0.3.8-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c38c22e533fdbccc493dfc989166f14002d205c5538c18dd5fde1572b2e9425b |
|
MD5 | 44547e65bdd2406aec75b1e461ec4631 |
|
BLAKE2b-256 | 95b3b2487b981cc436880c7e5e08629960647b61a83482abb448126571757115 |
Hashes for pysupertuxkart2-0.3.8-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 127ed68580ad309b6ff605bf24938c064bfc8dd4e25e25f3cbab660d6436dfe9 |
|
MD5 | b71cbbf80f82a1de364030fc95f29ea5 |
|
BLAKE2b-256 | eaabd28b2878cbba202c0d349193d8afbcf4519f1e1e6d93a5eb2cc19372b915 |
Hashes for pysupertuxkart2-0.3.8-cp39-cp39-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dce352126363bae8d8e15cf37085b6f5b5b64530e0eaaa29e3045345d8448aea |
|
MD5 | 4710906f5c401218e181a20c80ed013d |
|
BLAKE2b-256 | 2843710ffc2c8d404c1483bff8873edb52d680a79104fc72f22560b78142300c |
Hashes for pysupertuxkart2-0.3.8-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 205cc5ae930468b1a77b72ddacff620782b3a61369bf9e9a0cb462959cfc1373 |
|
MD5 | fd06716b7d993a54fea340c0e15d5126 |
|
BLAKE2b-256 | 0275e8ab96e2b2dfda3c44cb98ea7f8f55be20e41e4ab5cef2cdc26cac55b430 |
Hashes for pysupertuxkart2-0.3.8-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bfad6bc81ff640e2ead577ba228b36065c338dfa8848c9ec3a7268c186cfabc |
|
MD5 | baf92b0939024f59d9182a3201c46e18 |
|
BLAKE2b-256 | 8b93a193a9f0f8fae14ce291d8a3397cd41ad3b6586a12531f269707a5274d12 |
Hashes for pysupertuxkart2-0.3.8-cp38-cp38-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 222c8e7750b55a17f1cb862843d2ea6c59c4e0e040390c3f4ed00fb5bf06a53e |
|
MD5 | 6b313f5195a5aded1216a6aa3371eaee |
|
BLAKE2b-256 | d151602bbb36c3ee646eb9eb390ef48380ff5a786d5494e691d509e17bb8d94d |