Camtool 2 extension: perf fix and more features

Camtool 2 extension: perf fix and more features 2.2.1

Login or Register an account to download this content
Hi, with the permission of the original author kasperski95, I managed to add a parameter to the camera tab of the Camtool2 app. The author is welcome to add it to the app itself if he wants to.

Requirements:
You will need CSP as we managed to win FPS by calling its function instead of DLL calls.

About performance fix:
For the moment, I managed to optimize the app by refreshing the app window only when necessary and replacing most of the DLL calls with CSP ext functions. By monitoring camtool with the python debug app, I noticed that we win 8 milliseconds for each frame (average) for a total of 2.75 milliseconds instead of 11ms originally. You might win some FPS but it will depends of your CPU/GPU. You will win more on low specs devices. Because of this optimization, some dynamic text (fov, point of view) which were refreshed at each frame are now refreshed a bit less, but it should not bother the user experience that much.

A big thank you to @Atrupelador who helped me to test all these new things and Marocco2 for giving the code to use CSP ext functions.

New hotkey features
  • You can press F10 to enable camtool. Pressing another F key to switch to another cam will disable camtool and switch to the requested cam
  • You can press y, u, i, o or p to switch between your saved camtool data files

How to use the new specific cam feature:
The default value of this new field "Specific cam" is "Camtool". If you click on it, it will cycle through standard assetto cameras. Then, when this camera is enabled, it will switch to this instead of the camtool camera.
specific cam.PNG

For the moment, I managed to support these cameras: steering wheel, cockpit, free outside, helicopter, roof, wheel, inside car, driver, passenger, behind (roof), chase cam, chase cam far, subjective, hood.

Read this if you want to use the specific cam feature:
- There is no existing function (in the commands provided by assetto) to select which F1 cam to use (F1 cams = cams when you press F1). So what you must do to be sure that the label of the "specific cam" field will work correctly, is to sync it manually the first time: so let's say you select "Steering wheel" and that the cam used is the one on the hood, you must press manually on F1 until the correct camera is used. Then after, it will be in sync. I had also a very crazy bug: if you use a F6 cam, all the sync for F1 cams were broken. I think I managed to fix it (but after several hours, so I hope it will be ok, it was very tricky).
- Also, on some mods (I saw it on the Lancia Delta S4), some cameras (mostly F6 cams) are not correct (compared to the kunos ones), For example, you select the roof cam but it's the passenger cam which will be used. I cannot do anything about it, it's configured in the mod.

Warning:
Make a backup or your Camtool 2 before. Feedback is appreciated, if you find bugs, I will try to correct them.

How to install:
Enable it with the mod functionality of Content Manager or override camtool files by the ones in the archive.

If Camtool doesn't show up, try installing the original one then override it with this version. Some people reported this problem even if I cannot reproduce it, for me it works without this manipulation.

Github repo if you want to help (authorization given by the original author):
I did not manage to get the source code for the DLL though.

Submit issues and ideas here:


This is an example of a camtool replay with the specific cam feature. Thanks to this, no video editing is needed if you want to add F1 or F6 cameras:

Latest updates

  1. fix for when app not showing

    I always had some people complaining the app won't load but for me it was working so never...
  2. some fixes including sync button not working

    fixes: when using hotkeys to load data files, load input field and last used file is not...
  3. fix stuttering happening sometimes weh car is fast

    I had to revert to old code to fix this stuttering and lost some perf. So I put a new cache...

Latest reviews

I recorded a new cinematic TTV-YT video with Camtool 2 Evo 2.2.1 ktulu77 2024 (original idea by @kasperski95). Then simply retrieve Camtool presets, and onward to the beautiful showcases!
Shows loading errors in the LUA Debug. Unusable sadly
ktulu77
ktulu77
We fixed it by MP. You didn't use the last version
OMG! Camtool has been bringing tears to my eyes cause of how painful it was! I am now in heaven! Thank you so much! Made my day <3
ktulu77
ktulu77
Im glad it helps :)
My car keeps bugging/jittering, anyone know how to fix?
You crazy son of a bitch you did it. I went from 200+FPS down to about 80FPS using the original, now I just lose 2-3FPS. THANK YOU!
Great fix makes it silky smooth
I was having frame drop issues and stuttering issues and after i installed this it was holding solid 80fps with everything maxed. Thank you so much.
ktulu77
ktulu77
glad it helped :)
BRUH CAMTOOL IS ENABLED YET IT DOESNT SHOW IN THE SIDEBAR YOU LIED!!
I have this error in the zoom at the beginning it works normally but after some configured cameras the zoom stops working

https://youtu.be/GuheT1EsIfk
Hello, anyone know how to fix it( https://youtu.be/u_h170ezelA )
i used f5 camera to record spline
Nice addition to the original app. It would be nice if CSP integrated this app in its features, everyone on racedepartment is publishing configs for every track for this app. Can someone tell Ilja to add it to CSP?
Increases FPS and easy access to cams
Great performance boost. Thanks
How to disable the shortcut key F10
ktulu77
ktulu77
remove these lines from the file "hotkey.py" :
keyboard.add_hotkey('f10', self.__camtool.activate, args=())
keyboard.add_hotkey('f1', camtool.desactivate, args=())
keyboard.add_hotkey('f2', camtool.desactivate, args=())
keyboard.add_hotkey('f3', camtool.desactivate, args=())
keyboard.add_hotkey('f5', camtool.desactivate, args=())
keyboard.add_hotkey('f6', camtool.desactivate, args=())
keyboard.add_hotkey('f7', camtool.desactivate, args=())
It's like a dream come true for me... This app is the love of my life for the past several months (thanks, Mr kasperski95)!
I use it daily and invested money and time to use it the best I can with the PC I have but it was always so heavy on my system.
You finally made it incredibly better and faster. Thank you my good friend, you're my hero!
I got +30 fps more! Thank you.
loving it!!!!! thanks....
excellent
Hi, thank you for your wonderful work.
However, I wanted to point out that this version 0.7.1 creates conflicts with the keyboard commands, creating a delay in the steering, brake and gas axes, making driving impossible. I hope it will be useful to you.
ktulu77
ktulu77
I don't understand, you mean that you drive while camtool is active?
How to disable shortcut keys ?
ktulu77
ktulu77
I will post an update to disable these hotkey. I have to implement a way to save settings first.

Latest News

Author
ktulu77
Downloads
10,175
File size
806.5 KB
Views
72,334
First release
Last update
User rating
4.71 star(s) 34 ratings

More mods from ktulu77

What would be the ideal raceday for you to join our Club Races?

  • Monday

    Votes: 45 11.8%
  • Tuesday

    Votes: 40 10.5%
  • Wednesday

    Votes: 46 12.0%
  • Thursday

    Votes: 44 11.5%
  • Friday

    Votes: 131 34.3%
  • Saturday

    Votes: 226 59.2%
  • Sunday

    Votes: 167 43.7%
Back
Top