Custom Shaders Patch debug app Advanced

Custom Shaders Patch debug app Advanced 1.0

Login or Register an account to download this content
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 ;)

Note about "Reset car" and "Step back":
Only in Practice and Hotlap mode and with CSP "New AI behavior" enabled:
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



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,514
  • 1578340555784.png
    1578340555784.png
    185 KB · Views: 6,600

Latest updates

  1. v1.0 - 18 dec 2021

    -removed cam info, use CamInfo app :) https://www.racedepartment.com/downloads/caminfo.46609/...
  2. v0.99n - 20 may 2021

    -added more info for clipboard (from-to, streamedge+point, after using copy twice) -added...
  3. v0.99m - 10 april 2021

    -now with included "settings\settings_defaults.ini" so the appsize option actually is there in...

Latest reviews

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
Gunnar333
Premium
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

RaceDepartment Store

  • Featured
The TR80-LITE has been designed with experience gained since Trak Racer started in 2008. The base structure is an 80 × 40mm high-end aluminium T-Slot extruded profile, anodized in black. Your choice of wheel mount will be supported by an 80 × 40mm high-end aluminium T-Slot extruded profile...
The SPORT Series is inspired by car racing seats, combining comfort with racing aesthetic giving you that extra edge so you can work harder and game longer. Designed with superior ergonomics and adjustability providing you with the best comfort in every position to accommodate extended periods...
  • Featured
The TR8 Pro is an upgraded version of the popular Trak Racer TR8. From 2018 to 2021, the TR8 was the King of Sims. It ticks all of the boxes for a Sim Rig that assembles in 30-60 minutes. It's Strong, Adjustable, and has an Integrated Monitor Stand. In the usual Trak Racer way, we gathered...
Simucube Sport Bundle to get you going! Buy now from simucube.com for € 1970,02 Includes Simucube 2 Sport Wheel Base Simucube Tahko GT-21 Steering Wheel Wheel side SQR
  • Featured
The Trak Racer RS6 is a fully adjustable gaming machine! Featuring an adjustable pedal plate, wheel mount and bucket seat, the RS6 is predrilled for all the big name brands and will see you competing at the highest level in no time! The RS6's 2" iron construction will ensure stable gameplay...
RaceDepartment
5.00 star(s) 1 ratings
Views
4k
Reviews
1
Passionately designed for eSports, Technology, and Motorsports enthusiasts Simucube 2 Pro wheel base’s 25 Nm of torque is enough to give you deep immersion with any track, car, and condition. With Pro, one might forget they are in a simulation. Buy now from simucube.com for € 1450,79 Combined...
Author
Please Stop This
Downloads
4,097
File size
152.9 KB
Views
62,638
First release
Last update
User rating
5.00 star(s) 10 ratings

More mods from Please Stop This

Top