New patch has really made the performance way better than before, however I'm experiencing a weird issue.
Audio works fine, until I show the CamTool2 App in-game then the Audio all becomes choppy. It remains choppy until I exit the game and restart unless if I forget to hide CamTool2 before exiting.
Additional weird issue which seemed related to this is when I pause the replay, the engine sound of the car(s) will continue to play.
I tested deleting all of the Camtool2 files, reinstalled the original Camtool2 app, and patched the v0.3 release and the problem persists.
UPDATE:
So I tried another clean install of CamTool2 and then v0.1 Patch from here - Audio works fine with App enabled.
Then I applied the patch v0.2 - continues to work fine as well.
Then I applied v0.3 - then the audio becomes choppy as I applied it.
UPDATE 2:
So I tried applying this after v0.2, it causes the choppy audio as well (This is the same link above provided by the author).
Hi, thanks for your help!
For v 0.2, I don't think I touched anything about sound.
For the version 0.3 though, there is some things that could be related to it.
On the file "CamToolTool.py", at the end, there is this code:
def get_volume(self):
# self.__path.GetVolume.restype = ctypes.c_float
# return self.__path.GetVolume()
return ac.ext_getAudioVolume()
def set_volume(self, value):
# self.__path.SetVolume.argtypes = [ctypes.c_float]
# self.__path.SetVolume.restype = ctypes.c_bool
# return self.__path.SetVolume(value)
return ac.ext_setAudioVolume(value)
--> basically, all lines starting by "#" are old codes which are disabled. You can try revert to the old code by removing these # and add a # at the begining of the new code which doesn't have a # Like this:
def get_volume(self):
self.__path.GetVolume.restype = ctypes.c_float
return self.__path.GetVolume()
# return ac.ext_getAudioVolume()
def set_volume(self, value):
self.__path.SetVolume.argtypes = [ctypes.c_float]
self.__path.SetVolume.restype = ctypes.c_bool
return self.__path.SetVolume(value)
#return ac.ext_setAudioVolume(value)
Can you test and tell us if there is still a problem ? Maybe, you can try also with the functions just on top of these ones about replay and if the problem is still here after these changes.
Some other questions:
- does this bug occurs only on replay ?
- can you confirm that this only happens on version 0.3 ?
The changes made on version 0.3 are just on this file "CamToolTool.py" so you could try applying the fix on a fresh camtool2 without the version 0.2 to be sure the problem is from this file and not modifications from v0.2
I think it would be better to track bugs/issues on github here:
https://github.com/tmeedend/camtool/issues because it's not easy to keep track of them on RaceDepartment.I have also created a board for things we could add:
https://github.com/tmeedend/camtool/projects/1
Thank you!