Custom Shaders Patch debug app Advanced

Custom Shaders Patch debug app Advanced v1.4

Login or Register an account to download this content
EDIT Jan 2023: use CamInfo to auto generate cameras!

Description:

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" (acstuff . ru / patch). Only the FPS counter would work without it. It provides some values for track makers ie when making
data\cameras.ini
data\ai_hints.ini
data\overlays.ini

Note: "Step Back" function is broken since CSP v0.1.79 or v0.1.78!

Install:
Unpack archive to AC root.

Activate here:
upload_2019-10-6_18-54-26.png


Configure Reset-Car, StepBack-Car and FOV keyboard-shortcuts here:
(note: there is no warning, if shortcut is already assigned!)

1662413000898.png



Find it in game here:
timeattack_icon.jpg


It looks like this:
1664721516582.png


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

Buttons:
"v"/"^" - to toggle tyre details vs all details
"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
"fov+.." / "fov-.." - change FOV for free cam (F7), not available (!) with car-cameras (F1)
"r" - reset min/max values for fps- and light-counters, also - when active - resets generating "cameras.ini" or "overlays.ini"
"Reset Car" - resets the car to the nearest point on AI-line, only available in Practice/Hotlap mode! Makes current hotlap invalid!
"Step back" - sets the car back on AI-line for ~ 300 meters, only available in Practice/Hotlap mode! Makes current hotlap invalid!
"c" - copies only camera "POSITION=x,y,z" in Windows-Clipboard, like original app did
"Copy" - copies some more values into Windows-Clipboard:
Code:
POSITION=118.857, 1.644, -155.86  (current camera position)
FORWARD=-0.3235, 0.4993, -0.0243
UP=-0.1244, 0.0323, 0.9249     ('UP=' param in cameras.ini)
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)
xyzRel2Car-0.2333, 0.2323, 0.2349
currPoT - is the percentage value on the ai-spline for following params in "camera.ini":
IN_POINT=0.95
OUT_POINT=1.0
and also for the following values in "data\ai_hints.ini":
START=0.4
END=0.41

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 ;)

Note about "Reset car" and "Step back":
Only in Practice and Hotlap mode and with CSP "New AI behavior" enabled:
Edit: unfortunately after csp 0.1.78 (maybe before) the "Step back" doesnt work anymore
1624524084823.png


"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...
-note3: update v0.7: automatically copies "ai\fast_lane.ai" to "data\ideal_line.ai" if not already there
timeattack_all.jpg



EDIT Jan 2023: use CamInfo to auto generate cameras!


update v0.7:
button "new 'cameras(_X).ini' "
-creates new cameras.ini, leaves existing cameras.ini or cameras_1.ini and such alone and adds a number for a new one
-use it in a replay, where you can pause the game
-switch to free-cam mode with "F7"
-move camera around with cursor-keys plus Ctrl and/or Shift
-follow steps 1-5 below:
-first cam to add is around s/f line, with a look at the car from the back, it should have already crossed the finish line
steps1-3.jpg

steps4+5.jpg

note1: to finish creating 'cameras.ini', you click the button "add camera #X" again, the app should auto detect if the lap is over (after the car crossed the finish line and started a new lap)
note2: if cameras.ini is not finished, it will be renamed to "...unfinished.TXT" on session exit (to not cause a crash because of this incomplete file), it gets deleted with app below v0.99h
note3: please edit "camera.ini" to your liking, as it only has some generic default values
note4: takes current FOV +-20 into acount when adding a camera (thats why the FOV-buttons)

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
Track cameras, a tutorial

If you feel like donating something: https://www.patreon.com/leBluem
  • 1578340167485.png
    1578340167485.png
    149.6 KB · Views: 6,810
  • 1578340555784.png
    1578340555784.png
    185 KB · Views: 7,040

Latest updates

  1. normal v1.4 again

    to avoid confusion :) about the experimental lua version see threee updates below!
  2. experimental lua version

    direct link to this lua version...
  3. button ID from CM minus 1 !!!

    Basically what the title says, dont just plug in button ID from CM -controller page, but minus 1...

Latest reviews

OMG, dude you make my dream come true, hiding the steering wheel INGAME was something I wanted since the begenning
THANK'S!!!
Thank you for this fantastic app!
The step back and reset car is not working for me
Please Stop This
Please Stop This
only working with a) New ai Behaviour on and b) existing ai-line c) Practice or Hotlap Mode
Fantastic tool. thx so much
Must have app for track developing!
Bloody fantastic tool! Thank you!
Excellent tool! Simplify a lot camera making!
Top notch, simple app to create track cameras. Now with 0.99b UP coordinates fix, it's also easy to create static cameras. Just do your angles and FOVS, go to your newly created track camera .ini file and replace all of IS_FIXED=0 lines to IS_FIXED=1 with Notepad option
merçi Excellent
For someone with very little modding talent, I was SO happy to discover this app. Up to this point, I waited on fellow sim racers to create track cams, but this has enabled me to easily generate my own. So thankful. Thank you very much.
This is a nice resource. Can you add the ability to activate additional animations? Some cars like the McLaren F1 road car allow you to open the hood and trunk and the Formula RSS 2000 V10 has tire warmers and barriers that get set up when you activate the right door animation or other animations.
Please Stop This
Please Stop This
sry, atm the only animation function available with CustomShadersPatch during race is the doors
Thanks, it is very easy

Latest News

Author
Please Stop This
Downloads
7,858
File size
152.4 KB
Views
93,274
First release
Last update
User rating
5.00 star(s) 11 ratings

More mods from Please Stop This

What's needed for simracing in 2024?

  • More games, period

  • Better graphics/visuals

  • Advanced physics and handling

  • More cars and tracks

  • AI improvements

  • AI engineering

  • Cross-platform play

  • New game Modes

  • Other, post your idea


Results are only viewable after voting.
Back
Top