• Welcome to the largest (sim) racing website in the world!
    Blurring the line between real and virtual motorsports.

Custom Shaders Patch debug app Advanced 0.5

generate "overlays.ini" for TimeAttack mode and more for track makers

  1. Please Stop This
    update v0.4: added everything that was missing to work ;)
    update v0.5: fixed generating "overlays.ini"
    -you need at least 3 AC_TIME... gates, including s/f
    -and dont forget to copy/make an "data\ideal_line.ai"

    Unpack archive to AC root.

    I made my own version of one of the four "Custom Shaders Patch" apps (available here: https://github.com/ac-custom-shaders-patch/acc-extension-apps). Its the debug app and atm it replaces the original in "assettocorsa\apps\python\AccExtHelper" completely, as it has the same base. To work properly you obviously have to install "Custom Shaders Patch" (https://acstuff.ru/patch/). Only the FPS counter would work without it. It provides some values for track makers ie when making

    Activate here:

    Find it in game here:

    It looks like this:

    Values shown:
    -Shaders Patch version
    -FPS (min/max): current
    -track light count (lights in mirror)
    -visible track lights count (min/max): current
    -current global ambient value
    (then the values mentioned for "Copy" button below and more self-explaining values)

    "Driver" - toggle driver visibility
    "door"-icon - toggle open/close door
    "V +/-" - toggle vao-visibility (if any vao-patch was loaded)
    "V o/N" - toggle vao-patch mode (gray-scaled/normal)
    "lamp"-icon - toggle light-debug view
    "r" - reset min/max values for fps- and light-counters
    "Step back" - only available in "Practice" mode! - sets the car BACK ON THE AI-line for ~ 500 meters
    "Copy" - copies some values into Windows-Clipboard:
    WORLD_POSITION=118.857, 1.644, -155.86 (current camera position)
    ORIENTATION=-0.1244, 0.0323, 0.9249 (current camera direction)
    xyz-dist=-118.857, -1.644, 155.86 (dist. to last cam [after using copy button])
    dist2last=9211.0143925 (dist. to last cam position also after using copy button)
    currPoT=0.973901 - current Point of Track (0.0...1.0)
    is the percentage value on the ai-spline for following params in "camera.ini":
    and also for the following values in "data\ai_hints.ini":

    With only F3 and F7 and a xeroxed "camera.ini" you get a result pretty fast
    Be aware of "IS_FIXED=1" in camera.ini, it was a hunt for me ;)

    "record overlays.ini" button generates the "data\overlays.ini" for TimeAttack-mode, follow this abc-picture
    -note1: copy "ai\fast_lane.ai" to "data\ideal_line.ai" for it to work
    -note2: TimeAttack is simply all time-gates defined by [AC_TIME_x_R/L] objects plus a banner above, you cannot set Checkpoints, if there are no AC_TIME_x-objects at that position...

    used info from:
    Roberto Olivetti - https://www.assettocorsa.net/forum/index.php?threads/how-to-make-time-attack-mode-work.20535/
    Fat-Alfie - https://www.racedepartment.com/threads/thomson-road-grand-prix-singapore.127582/page-8#post-2377425
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.