ACC Results Companion

Misc ACC Results Companion 1.24.8

Login or Register an account to download this content
Thanks for the heads up - I'd missed there was an update.

I'll have a look tomorrow
@highlanderduck - I'll put out a quick update that recognises the release date of ACC 1.10.3. As far as I can see, the ACC changes were only really cosmetic (new season/liveries). For Spa, the track appears the same and no BOP changes were listed.

A bit of history...the reason I originally put different track dates in was because of surface changes to tracks (Silverstone/Barcelona/Spa) which significantly affected lap times. Following that I added track/years versions because of either different tyres or BOP, which again affected tyres. Annoyingly, Kunos don't actually report which version of the track you are running on so I had to make an educated guess anyway.

As such, I don't intend to add extra 2024 versions for the tracks
 
Ref User ID: OMgKyqGNMG8APF2cD5hd3gyQZxUtib8nJbt9qI4OaZI

I must be overlooking something because I can't get ACC results to record my ACC results. Today, I was hotlapping at Donnington; but there are no results. Any suggestions?

My ARC Folder is C:\Users\home\OneDrive\Documents\ACCResults\
My ACC Data Folder is: C:\Users\home\OneDrive\Documents\Assetto Corsa Competizione

I can see my history of results. Note: I stopped using ACC for a while, so there is a long gap (since Nov 2023). I am running v1.24.7. Thanks!!!
 
Last edited:
Ref User ID: OMgKyqGNMG8APF2cD5hd3gyQZxUtib8nJbt9qI4OaZI

I must be overlooking something because I can't get ACC results to record my ACC results. Today, I was hotlapping at Donnington; but there are no results. Any suggestions?

My ARC Folder is C:\Users\home\OneDrive\Documents\ACCResults\
My ACC Data Folder is: C:\Users\home\OneDrive\Documents\Assetto Corsa Competizione

I can see my history of results. Note: I stopped using ACC for a while, so there is a long gap (since Nov 2023). I am running v1.24.7. Thanks!!!
I assume you’ve exported diagnostics. I’ll have a look when I’m back tomorrow
 
Ref User ID: OMgKyqGNMG8APF2cD5hd3gyQZxUtib8nJbt9qI4OaZI

I must be overlooking something because I can't get ACC results to record my ACC results. Today, I was hotlapping at Donnington; but there are no results. Any suggestions?

My ARC Folder is C:\Users\home\OneDrive\Documents\ACCResults\
My ACC Data Folder is: C:\Users\home\OneDrive\Documents\Assetto Corsa Competizione

I can see my history of results. Note: I stopped using ACC for a while, so there is a long gap (since Nov 2023). I am running v1.24.7. Thanks!!!
It can't find the folder C:\Users\home\OneDrive\Documents\ACC\ - this is where it expects the ACC data folder to be. Check it is still in that location...if so, make sure for OneDrive you have selected that folder is "always available" or available offline (I can't remember the term they use).

If you have re-installed ACC, it is likely the folder have moved...default location is E:\Users\<username>\Documents\Assetto Corsa Competizione. Go to the ACC Settings page and update ACC Data Folder to point to this folder then restart ACC Results Companion
 
Hi Doug

maybe i found a bug.
i am using version 1.24.7
On the settings-tab i can choose which widget i want to use and it will be saved after i close and reopen acc results.
But when i mark the option "results summary" or "summary on PB only" it will not be saved.
It is always unmarked when i reopen your tool.

Great work! i love it.
thx
Carsten
 
Hi Doug

maybe i found a bug.
i am using version 1.24.7
On the settings-tab i can choose which widget i want to use and it will be saved after i close and reopen acc results.
But when i mark the option "results summary" or "summary on PB only" it will not be saved.
It is always unmarked when i reopen your tool.

Great work! i love it.
thx
Carsten
Hi Carsten,
I’ll check this
Thanks
Doug
 
Hi Doug

maybe i found a bug.
i am using version 1.24.7
On the settings-tab i can choose which widget i want to use and it will be saved after i close and reopen acc results.
But when i mark the option "results summary" or "summary on PB only" it will not be saved.
It is always unmarked when i reopen your tool.

Great work! i love it.
thx
Carsten
OK - confirmed it's a bug. At some point those options got lost. I need to sort a few things out - it seems like the pop-up doesn't get displayed after races, but fine for hotstints. I need to figure out why that has broken
 
never had this issue before but today this app was taking a lot of cpu usage wich made me get a dnf as i ended up with 100% cpu usage, is there any fix or way to prevent this from happening again? is it because my session log is too big?
 
never had this issue before but today this app was taking a lot of cpu usage wich made me get a dnf as i ended up with 100% cpu usage, is there any fix or way to prevent this from happening again? is it because my session log is too big?
Sorry about that - it sounds like an exception bug sending it into a loop. Can you export the diagnostics (don’t delete the logs). -
https://www.racedepartment.com/threads/acc-results-companion.172267/page-34#post-3324812

Also, which version are you running on and did you recently upgrade?
 
Sorry about that - it sounds like an exception bug sending it into a loop. Can you export the diagnostics (don’t delete the logs). -
https://www.racedepartment.com/threads/acc-results-companion.172267/page-34#post-3324812

Also, which version are you running on and did you recently upgrade?
its the latest one 1.24.7, i exported the diagnostics, i do see some error mesages from yesterday but i dont have any idea on what all that means lol.

[00000005-00.0|00.0|0] 2024-10-31 21:49:48 ERROR FileUtils.processServerResultsFile : Error processing file S:\Program Files\ACCResults\ACCResults.DB:The process cannot access the file 'S:\Program Files\ACCResults\ACCResults.DB' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)
at RCEngine.Utilities.FileUtils.processServerResultsFile(String resultFileName, Boolean backupFiles) in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\RCEngine\Utilities\FileUtils.cs:line 607
Caused by :
at RCEngine.Utilities.FileUtils.processServerResultsFile(String resultFileName, Boolean backupFiles) in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\RCEngine\Utilities\FileUtils.cs:line 607
at RCEngine.Utilities.FileUtils.scanServerResultsFolder(Boolean alwaysScan) in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\RCEngine\Utilities\FileUtils.cs:line 564
at RCEngine.DBModel.DBWriterTask..ctor() in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\RCEngine\DBModel\DBWriterTask.cs:line 326
at RCEngine.DBModel.DBWriterTask.getInstance() in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\RCEngine\DBModel\DBWriterTask.cs:line 263
at RCEngine.DBModel.DBWriterTask.WriterTask() in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\RCEngine\DBModel\DBWriterTask.cs:line 336
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()

[00000005-00.0|00.0|0] 2024-10-31 21:49:48 ERROR FileUtils.processServerResultsFile : Error processing file S:\Program Files\ACCResults\ACCResults.log:Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'RCEngine.ACCFiles.ACCServer.ACCServerResult' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
 
its the latest one 1.24.7, i exported the diagnostics, i do see some error mesages from yesterday but i dont have any idea on what all that means lol.

[00000005-00.0|00.0|0] 2024-10-31 21:49:48 ERROR FileUtils.processServerResultsFile : Error processing file S:\Program Files\ACCResults\ACCResults.DB:The process cannot access the file 'S:\Program Files\ACCResults\ACCResults.DB' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)
at RCEngine.Utilities.FileUtils.processServerResultsFile(String resultFileName, Boolean backupFiles) in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\RCEngine\Utilities\FileUtils.cs:line 607
Caused by :
at RCEngine.Utilities.FileUtils.processServerResultsFile(String resultFileName, Boolean backupFiles) in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\RCEngine\Utilities\FileUtils.cs:line 607
at RCEngine.Utilities.FileUtils.scanServerResultsFolder(Boolean alwaysScan) in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\RCEngine\Utilities\FileUtils.cs:line 564
at RCEngine.DBModel.DBWriterTask..ctor() in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\RCEngine\DBModel\DBWriterTask.cs:line 326
at RCEngine.DBModel.DBWriterTask.getInstance() in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\RCEngine\DBModel\DBWriterTask.cs:line 263
at RCEngine.DBModel.DBWriterTask.WriterTask() in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\RCEngine\DBModel\DBWriterTask.cs:line 336
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()

[00000005-00.0|00.0|0] 2024-10-31 21:49:48 ERROR FileUtils.processServerResultsFile : Error processing file S:\Program Files\ACCResults\ACCResults.log:Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'RCEngine.ACCFiles.ACCServer.ACCServerResult' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.

Hi,
I didn't receive the diagnostics file. Can you try again please. Be sure to press the Continue button on the Upload Diagnostics dialog to complete the upload and let me know the generated user ID (the Copy button will copy it to the clipboard).

EDIT: Actually, don't re-upload the diagnostics yet - I assume the reason it didn't upload is that the log file is huge for the reason below

From the error messages you posted it look like the folder setup is incorrect.
  • The ARC folder is the data folder for the app. Normally this is C:\Users\<Username>\Documents\ACCResults. It looks like yours might be currently pointed to S:\Program Files\ACCResults (I can't tell for sure until I seen the diagnostics). If it all works, then fine, but it probably isn't good practice to have data folders in the Program Files folder (Windows will require elevated privileges to write to files in that folder). If you wanted to move the folder, press F1 to bring up the help and go to Settings->ACC Settings->Folders->ARC Folders and it will tell you how to do that
  • While we're here, check the ACC Data Folder. This is normally C:\Users\<Username>\Documents\Assetto Corsa Competizione - ACC determines where this is
  • The main problem appears to be that your ACC Server Results Folder is pointing to the ARC Folder (and not a folder containing server results files). It will write an error to the log tab and the log file every time a file in that folder changes....because one of the files is the same log file, it detects a change and writes a new message and so on, for ever

4plqWm8.png


Clear the entry for ACC Server Results Folder and restart the app. Check the Log page...you shouldn't be getting repetitive red error messages now. The huge log file should be renamed to ACCResults1.log and it will start a new log. If you want to save space and the app is working OK, you can delete ACCResults1.log.

I'll put a change in so that if that field is inadvertently pointing to the wrong folder, it will only try to parse json files so shouldn't keep on throwing the same error
 
The source of this awesome program is closed, right?
Could there be any chance you could look into compiling it for use on Linux? I know hits hard for .Net stuff but there ways.
I haven't been sim racing until recently since after switching over to a Linux OS and this is the only thing I miss that doesn't work yet
 
The source of this awesome program is closed, right?
Could there be any chance you could look into compiling it for use on Linux? I know hits hard for .Net stuff but there ways.
I haven't been sim racing until recently since after switching over to a Linux OS and this is the only thing I miss that doesn't work yet
Hi,
I'm afraid the source code isn't open for various reasons. It is heavily dependent on .NET Framework so I'm afraid there is no possibility of a port to linux which would require a ground up re-write
 
Doug Duthie updated ACC Results Companion with a new update entry:

ACC Results Companion V1.24.8

• Setting to session summary pop-up not remembered
• Session summary pop-up not always shown after SP races
• Leaderboard widget improvements
• Player car now highlighted in reversed class colours (prevents colour clash for certain classes)
• Positions/gaps no longer jump as much when cars cross the start/finish line
• Option to show only the class leaderboard and ignore all other classes
○ Right click and select "Class Leaderboard Only"
• Shared Memory widget improved...

Read the rest of this update entry...
 
Hi,
I'm afraid the source code isn't open for various reasons. It is heavily dependent on .NET Framework so I'm afraid there is no possibility of a port to linux which would require a ground up re-write
Yeah, that's reasonable. I have managed to install & launch it on the same wine prefix as ACC and read my backed up db.
A big issue is that the app renders translucent black boxes on top of the tables and other elements, which stay in place when I move the window.
Yet to test if it will record new session data.

Edit:
Toggling fullscreen & windowed solves the black boxes issue and it correctly records session data.
Totally usable on Linux with proton 😁
 
Last edited:
Is there an easy way to transfer over lap times to a new PC from an old PC?
Thanks in advance.
Indeed there is. Start ACC-RC on your new PC. It will create a new folder (normally E:\Users\<Username>\Documents\ACCResults. Now close ACC-RC

On your old PC, go to the same folder. Copy ACCResults.DB and ARCResultsSettings.json to the above folder on your new PC. Restart ACC-RC and it should load up all your old results and settings
 
Back
Top