Custom Shaders Patch debug app Advanced

Custom Shaders Patch debug app Advanced 0.99m

Log in to download, or make sure to confirm your account via email
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

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

exthlpr_0.9_cm.png



Find it in game here:
timeattack_icon.jpg


It looks like this:
exthlpr_0.9.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 ;)

"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



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
  • 1578340167485.png
    1578340167485.png
    149.6 KB · Views: 6,206
  • 1578340555784.png
    1578340555784.png
    185 KB · Views: 6,259

Latest updates

  1. v0.99m - 10 april 2021

    -now with included "settings\settings_defaults.ini" so the appsize option actually is there in...
  2. v0.99k - 10 april 2021

    -added "App size multiplier" option, set it in CM->Settings->APPS->Shaders Extension Debug (not...
  3. v0.99j - march 15 2021

    -fixed renaming if "...unfinished..." with same name is already there, else you would end up...

Latest reviews

Must have app for track developing!
Upvote 0
Bloody fantastic tool! Thank you!
Upvote 0
Excellent tool! Simplify a lot camera making!
Upvote 0
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
Upvote 0
merçi Excellent
Upvote 0
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.
Upvote 0
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
Upvote 0
Thanks, it is very easy
Upvote 0
Author
Please Stop This
Downloads
2,491
File size
147.4 KB
Views
40,815
First release
Last update
Rating
5.00 star(s) 8 ratings

More resources from Please Stop This

Top