Skip to content

A tool to put engines created in Automation into Assetto Corsa.

License

GPL-3.0, GPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE
GPL-3.0
COPYING
Notifications You must be signed in to change notification settings

zephyrj/engine-crane

Repository files navigation

engine-crane

A tool to put engines created in Automation into Assetto Corsa.

Code quality

Initially created to learn the Rust Programming language; I wouldn't recommend trying to learn from this code. The current working practice can be best be summarised as "please just work". This will be improved over time


How to use

A guide on how to install and use it can be found on YouTube here


Summary

It is a stand-alone program that takes data from a combination of:

  • a BeamNG mod exported from Automation (the car is irrelevant - just the engine data is used at the moment)
  • the simulated engine data that is generated by Automation and shown to you when you're in the engine designer

It generates the following data:

  • an N/A wheel torque-curve in the power.lut based on some assumed drivetrain losses; currently it bases the mechanical efficiency on the drive-type of the AC though in future I plan to make it configurable.
  • If a turbo is used for the engine then it will generate a turbo section and accompanying turbo controller file to match the boost@RPM values from Automation as closely as it can
  • A coast torque value based on the friction values of the engine in the BeamNG mod
  • The inertia of the engine; again taken from the BeamNG mod
  • fuel consumption based off the efficiency data of the engine. You can either specify an AC vanilla physics fuel consumption calculation (which is not very accurate) or it can generate a lut for the more accurate CSP extended physics fuel calculations (details here)
  • If the existing cars engine weight is known then it will update the car weight based on the difference between the old and new engine weights
  • It updates the auto-shifter based on the RPM of the new engine and if it can find shift leds in the target AC car it will update those to the new engine RPM
  • It generates a new set of UI data for the car based of the new engine

Limitations

  • It currently doesn't use the engine sounds created in Automation; this is a work-in-progress
  • It cannot swap engines into Assetto Corsa cars that have an encrypted data.acd file e.g. ier_p13c

About

A tool to put engines created in Automation into Assetto Corsa.

Resources

License

GPL-3.0, GPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE
GPL-3.0
COPYING

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages