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
File details
Details for the file pysupertuxkart2-0.4.0.tar.gz
.
File metadata
- Download URL: pysupertuxkart2-0.4.0.tar.gz
- Upload date:
- Size: 33.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b0eb3a20c2cdf0ae88a73de8bd44c0d2d5b70763201e705a7fbef4dca2ff138 |
|
MD5 | 1c7aeadc3cb31645cbe54e48abc04fe5 |
|
BLAKE2b-256 | fdde6de99208b25e791033049bac71b88c2d3fd9fb5a00988802fbbaaa3754fd |
File details
Details for the file pysupertuxkart2-0.4.0-cp313-cp313-win_amd64.whl
.
File metadata
- Download URL: pysupertuxkart2-0.4.0-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 6.2 MB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aadd02cd18dcb7e21d5686298008f8dd30566d2444a7380426becb63b6eeaee5 |
|
MD5 | 0e93c11e73577a92cca9550da5f9f096 |
|
BLAKE2b-256 | cbfbd09508388fce4987c8c389446ff649f415fb4edeafb4d487b2916d62a743 |
File details
Details for the file pysupertuxkart2-0.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: pysupertuxkart2-0.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 15.8 MB
- Tags: CPython 3.13, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eafddfa0a21fe2c352c75e852086f3e76c62f7bb62ffbd33fc5abb4c51db0e56 |
|
MD5 | 96af642255415eee95d402f5142d25e1 |
|
BLAKE2b-256 | 60fc772e3fdf2a1d28d7b7e3e56c95ce96130271a5fda844cdf6f4d5d1908495 |
File details
Details for the file pysupertuxkart2-0.4.0-cp313-cp313-macosx_10_13_universal2.whl
.
File metadata
- Download URL: pysupertuxkart2-0.4.0-cp313-cp313-macosx_10_13_universal2.whl
- Upload date:
- Size: 21.4 MB
- Tags: CPython 3.13, macOS 10.13+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2e014d2f669b763af42e4792ab2d68bc7a699af03406078f0c11d7c02e677b9 |
|
MD5 | 541818cea645a6f3a71246b54fb464fa |
|
BLAKE2b-256 | 986ea9f0a554198c6fdc1893a9719c68e688213be74c0600e20d2db7fd92178f |
File details
Details for the file pysupertuxkart2-0.4.0-cp312-cp312-win_amd64.whl
.
File metadata
- Download URL: pysupertuxkart2-0.4.0-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 6.2 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cdabe2f1c31a34b8dd8acdedc2d119af2cc487a42598bdb7ad98da04ddfbc8c |
|
MD5 | 04447d43e046a1f7cd7ccb556d528617 |
|
BLAKE2b-256 | 2005d1869ad93f15a23b89567243ce234468e5371e5c8f55568a4e08339df1ad |
File details
Details for the file pysupertuxkart2-0.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: pysupertuxkart2-0.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 15.8 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 820399ee09a5a947a160a1e1a0e7eef6c5399ee3de4dcd36f32ea58274bf74fc |
|
MD5 | 9f6e73a228385fa2c789dd73849f1029 |
|
BLAKE2b-256 | 315e93c55cb9a8d33f2261352f6226b86e017623cdb270fd9b43368da2ac2b2c |
File details
Details for the file pysupertuxkart2-0.4.0-cp312-cp312-macosx_10_9_universal2.whl
.
File metadata
- Download URL: pysupertuxkart2-0.4.0-cp312-cp312-macosx_10_9_universal2.whl
- Upload date:
- Size: 21.6 MB
- Tags: CPython 3.12, macOS 10.9+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b45f6e3830e8b25a68274c480cc15b225f1ba2df8a174d7d04eab86d5fba3fb6 |
|
MD5 | ab6036e43637f934127341f174fcacff |
|
BLAKE2b-256 | 317db02587ce955aacae7c17a30e56e3667ecc2f3a1a6758469cc89448168cae |
File details
Details for the file pysupertuxkart2-0.4.0-cp311-cp311-win_amd64.whl
.
File metadata
- Download URL: pysupertuxkart2-0.4.0-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 6.2 MB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f99a7dcc5321fc08d2586d68cbd65170d64bdc62fc1a98734a1d2dfe73f2edcc |
|
MD5 | e125fa5c93a5d7619ab7bd3cf9e99f65 |
|
BLAKE2b-256 | 63398846391e53c3feda7dc18d1b086e336162daaeafaf1997ecb456dbc38435 |
File details
Details for the file pysupertuxkart2-0.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: pysupertuxkart2-0.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 15.8 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af2baf72bbfdfc8e6bf3a4da124c42a8d49f68a599a40d7ade31312a9d91e91a |
|
MD5 | f3bfd4611d82e0ab90574efdc8b32e9f |
|
BLAKE2b-256 | 9f5cb73bcb7e77fe03de4d15dc95ec4860458455849cacae879260fac0d454ce |
File details
Details for the file pysupertuxkart2-0.4.0-cp311-cp311-macosx_10_9_universal2.whl
.
File metadata
- Download URL: pysupertuxkart2-0.4.0-cp311-cp311-macosx_10_9_universal2.whl
- Upload date:
- Size: 21.6 MB
- Tags: CPython 3.11, macOS 10.9+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da229650f1059b07ee0cac04add89ea8589c9a5d2e897db2372817e8c7043136 |
|
MD5 | e7715bef646b66908ba99930f6c604db |
|
BLAKE2b-256 | 9b3f907c54ebacec079795ba2e6b8612142f7c54b99356dd77b1afc3fcfe2ff0 |
File details
Details for the file pysupertuxkart2-0.4.0-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: pysupertuxkart2-0.4.0-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 6.2 MB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6938ac0355e43d3b456447ef9dd5df35cdbb7416fae4e3804ef1837f4d8ee4eb |
|
MD5 | 00851aeae55c62cfed516285c821706b |
|
BLAKE2b-256 | a88856572bd1526a085f39f270e141dbbf793e914886801fce9cd071cc5a9019 |
File details
Details for the file pysupertuxkart2-0.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: pysupertuxkart2-0.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 15.8 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c424273ec18b6f12117a2127fe37ed5b411385986cd56a3a5e430c7a2e80fdb |
|
MD5 | 50fcdfc474f758e18318653d27e9e22e |
|
BLAKE2b-256 | f05699f088dc34af26c35bc7d6a99cd4a22979b03b673bfe75d81dbca4e7857f |
File details
Details for the file pysupertuxkart2-0.4.0-cp310-cp310-macosx_10_9_universal2.whl
.
File metadata
- Download URL: pysupertuxkart2-0.4.0-cp310-cp310-macosx_10_9_universal2.whl
- Upload date:
- Size: 21.6 MB
- Tags: CPython 3.10, macOS 10.9+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54ef1418bf7098a02e46cdfcfb6bab59040176ddf3415e5dec8397057525936b |
|
MD5 | a9162f83015f7873911866c0c0a3ce19 |
|
BLAKE2b-256 | 5aabb0e5af1f31bbb864d06c563552646bd7de3540cd13837d09e445e21be288 |
File details
Details for the file pysupertuxkart2-0.4.0-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: pysupertuxkart2-0.4.0-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 6.2 MB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2d549b6614d00f90137fddf3b8313480a8015fdf8a205513a0da9f1deb237b2 |
|
MD5 | 1995d079b6233656bf513dc4b4e5974d |
|
BLAKE2b-256 | 6962bf8cfc6023ed5db8e993cefcf841e038ea4732f7d31bbf7cbd9b5ec529c3 |
File details
Details for the file pysupertuxkart2-0.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: pysupertuxkart2-0.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 15.8 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c9400625d2bbad1f4b111cf77691b42888b24dbdfe84046dedc0c70593c1d84 |
|
MD5 | ccb86316096582cb4a141607b691500c |
|
BLAKE2b-256 | a963339c43e8afc14a967c6681d91aeda20f7326cbca3a3403ad62ad7599d7b0 |
File details
Details for the file pysupertuxkart2-0.4.0-cp39-cp39-macosx_10_9_universal2.whl
.
File metadata
- Download URL: pysupertuxkart2-0.4.0-cp39-cp39-macosx_10_9_universal2.whl
- Upload date:
- Size: 21.6 MB
- Tags: CPython 3.9, macOS 10.9+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc091bc0dc4a475ea400b371cd6cb3d54adc9be9b2989ddda21e6744d9739b10 |
|
MD5 | e964adc7550dc79739c92d3f14ec58b9 |
|
BLAKE2b-256 | 2715cdaeaecfef7dbc3bb9059aaf274706fd9a78f3dc669349e9e4f215897069 |
File details
Details for the file pysupertuxkart2-0.4.0-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: pysupertuxkart2-0.4.0-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 6.2 MB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 650511718d878a42af07fb6106c699f23ec7ba595d217778c44df3ede0cef74a |
|
MD5 | dbb1d0066ddd1828e519e58040a171b3 |
|
BLAKE2b-256 | 73c207e6acc4c7c6adb9c1903ebf2d6dda39593a0f7ac062d055683fdc2b1431 |
File details
Details for the file pysupertuxkart2-0.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: pysupertuxkart2-0.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 15.8 MB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16924d7019f61b8efb71841590d164b4c3b31a6263bccef1830626a0440568ae |
|
MD5 | d191a33c03f896ae13ea6878b92e80bc |
|
BLAKE2b-256 | 1b36b6ba2224215021a444ace19f5c873d5e2f6597a637e3c68831b7f122715b |
File details
Details for the file pysupertuxkart2-0.4.0-cp38-cp38-macosx_10_9_universal2.whl
.
File metadata
- Download URL: pysupertuxkart2-0.4.0-cp38-cp38-macosx_10_9_universal2.whl
- Upload date:
- Size: 21.6 MB
- Tags: CPython 3.8, macOS 10.9+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2aa6c94410d651c73ce211775c52a4b4dfb7452f2efb8bf0c390ef4e68210bc1 |
|
MD5 | 1531fa1b2fc74636b1e043620d50b856 |
|
BLAKE2b-256 | 49b94a8bb423799351f69895132fc58e9cb6ad2f99e252e2d1b1773798e06953 |