-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
01356bb
commit c700591
Showing
12 changed files
with
1,096 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# user | ||
results | ||
data/data_sets | ||
archive | ||
*.ptorch | ||
*.pkl? | ||
|
||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
*.py[cod] | ||
.ipynb_checkpoints | ||
|
||
# C extensions | ||
*.so | ||
|
||
# Distribution / packaging | ||
.Python | ||
build/ | ||
develop-eggs/ | ||
dist/ | ||
eggs/ | ||
lib/ | ||
lib64/ | ||
parts/ | ||
sdist/ | ||
var/ | ||
*.egg-info/ | ||
.installed.cfg | ||
*.egg | ||
|
||
# Installer logs | ||
pip-log.txt | ||
pip-delete-this-directory.txt | ||
|
||
# Unit test / coverage reports | ||
htmlcov/ | ||
.tox/ | ||
.coverage | ||
.cache | ||
nosetests.xml | ||
coverage.xml | ||
|
||
# Translations | ||
*.mo | ||
*.pot | ||
|
||
# Sphinx documentation | ||
docs/_build/ | ||
|
||
# | ||
*.zip | ||
|
||
# mujoco | ||
MUJOCO_LOG.TXT | ||
|
||
# custom | ||
output | ||
outputs | ||
assetto_corsa_gym.code-workspace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
<h1>Assetto Corsa Gym</span></h1> | ||
|
||
Plug-in installation instructions | ||
|
||
## Assetto Corsa plugin Installation | ||
1. **Install vJoy** | ||
- Needed to send commands to Assetto Corsa | ||
- Download and install [Vjoy](https://sourceforge.net/projects/vjoystick/) | ||
|
||
2. **Copy the plugin files** | ||
- Navigate to the plugin folder located in this repo: | ||
``` | ||
.\assetto_corsa_gym\assetto-corsa-autonomous-racing-plugin\plugins\sensors_par | ||
``` | ||
- Copy this folder to the Assetto Corsa installation folder under `apps\python\`. The default AC installation folder is usually located at: | ||
``` | ||
<AC_installation_folder>\assettocorsa\apps\python\ | ||
``` | ||
where `<AC_installation_folder>` is typically in: | ||
``` | ||
C:\Program Files (x86)\Steam\steamapps\common\assettocorsa\ | ||
``` | ||
- The destination path should look like this: | ||
``` | ||
C:\Program Files (x86)\Steam\steamapps\common\assettocorsa\apps\python\sensor_par | ||
``` | ||
4. **Installation of Configuration Files** | ||
Install the following configurations from `assetto_corsa_gym\assetto-corsa-autonomous-racing-plugin\windows-libs` | ||
- **Vjoy Configuration** | ||
- The `Vjoy.ini` file is a configuration file for Assetto Corsa. It should be copied to: | ||
``` | ||
C:\Users\%user%\Documents\Assetto Corsa\cfg\controllers\savedsetups | ||
``` | ||
- **WASD Controls** | ||
- The `WASD.ini` file allows you to control the car using WASD keys. Copy it to: | ||
``` | ||
C:\Users\%user%\Documents\Assetto Corsa\cfg\controllers\savedsetups | ||
``` | ||
- **Dlls and Lib Folders** | ||
- These folders contain a Python version of the socket library, used by the plugin. They should be copied to: | ||
``` | ||
C:\Program Files (x86)\Steam\steamapps\common\assettocorsa\system\x64 | ||
``` | ||
4. **Custom Shaders Patch** | ||
- This patch is needed to be able to restart the car. Install Content Manager from: | ||
[Content Manager Download](https://acstuff.ru/app/) | ||
- After installation, open Content Manager and navigate to: | ||
- Settings > Custom Shaders Patch | ||
- Click "install" to complete the setup. | ||
5. **Run Assetto Corsa** | ||
- In `options -> general -> UI Modules`: **enable sensor_par** | ||
- In `options -> control`: you should have vJoy and WASD. Load **vJoy** | ||
- In `options -> video -> Display -> Framerate limit` set to **50fps** | ||
See `assetto_corsa_gym\assetto-corsa-autonomous-racing-plugin\plugins\sensors_par\config.py` | ||
--- | ||
## Acknoledgements | ||
- Adrian Remonda (TU Graz) | ||
- Francesco Gatti (TII EuroRacing - Hipert) | ||
- Andrea Serafini (TII EuroRacing - Unimore) | ||
- Francesco Moretti (TII EuroRacing - Unimore) | ||
- Ayoub Raji (TII EuroRacing - Unimore) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.