Resource icon

Apps ACLIB 0.5.2

Login or Register an account to download this content
styinx submitted a new resource:

ACLIB - Everthing in one place

Hey all,

ACLIB is intended to unite everything in one place skip annoying parts of the app development in AC. Most of the mod apps start from scratch which means a great amount of work is spent with 'unimportant' stuff.
ACLIB also provides more data than the shared memory interface. It is meant to be used by developers.

The first iteration of this app is more than 2 years old and was mostly used by myself and therefore hacked together.

With this version (the second iteration) I tried to...

Read more about this resource...
 
What seems to be the problem? Could you please specify where you get stuck?
I made several wiki entries to explain parts of this library.
Here is a HOWTO create a first app.
 
styinx updated ACLIB with a new update entry:

0.2: Bugfix and Fuel App

Hi,

Tyres app:
  • ranges for colors were adjusted
  • add indicators for tire wear
View attachment 410433

Fuel app:
  • shows absolute and relative fuel
  • shows (average) fuel consumption per lap and km
  • shows possible distance with remaining fuel
View attachment 410432

Bug fixes:
  • errors may not lead to crashes anymore
  • errors in a callback function of the EventListener do not block the app(s) anymore
  • many more...

Read the rest of this update entry...
 
styinx updated ACLIB with a new update entry:

0.3

Hi,

first of all I would like encourage the people that have downloaded the library and used it to notify me if any errors exist. In the last release (0.2) the textures for the fuel app were missing, which I only found by accident.

I try to keep a 1-2 weekly release schedule. If I know that at least some people are interested in using the library I can keep up my motivation ;).




General improvements and fixes:
  • Add much more...

Read the rest of this update entry...
 
styinx updated ACLIB with a new update entry:

0.4

Hi,

a new version is here which brings a new app, new widget, and options for customization.

General:

UI:
  • Fix smaller issues
  • Add ListBox widget
  • View attachment 413607
  • Events that were ignored before now work for layouts as well (on_size_changed, on_position_changed, ...)
  • Stylesheets can now be applied to apps and/or widgets
Data:
  • Add server and multiplayer category
  • Add...

Read the rest of this update entry...
 
styinx updated ACLIB with a new update entry:

0.4.2

Hi,

a new version is here which brings better customization and performance.

General:

UI:

  • Add timers to ACWidget
  • Add no_update/no_render options
Data:
  • Data is collected less frequently to safe some computing power (has no impact on accuracy)
  • New Observable (RangeObservable) that only fires events when a value changes significantly.
Apps:

  • Comparator:
    • This app requires a stylesheet...

Read the rest of this update entry...
 
styinx updated ACLIB with a new update entry:

0.5.1

Hi,

a new version is here which brings a new app, a new widget, and new events.

General:

UI:

  • Add DOUBLE_CLICK event (double click timeout is configurable)
  • Add highlight for ACLIBListBox widget
  • Add ACVLabel (allows vertical alignment)
  • View attachment 415924
Data:
  • Fix some wrong properties
Apps:

  • Car Properties (NEW):
    • Provides values of some car properties
    • [ATTACH...

Read the rest of this update entry...
 
Thanks a lot for the new feature! For the car features app, could you increase the update frequency so it changes in realtime and so it shows the exact brake bias like if its 54.5 or 60.2 for example?
Thanks for your feedback!
I added priorities for the property calculation (10s, 1s, 500ms, 300ms, 100ms).
If you want higher accuracy you can adjust the values in the class Priority in the file C:/.../assettocorsa/apps/python/ACLIB/apps/ACLIB_CarProperties.py (on line 27) to your preferences.
But note that it might decrease performance.
The highest priority (100ms) updates a value 10 times per second which should be enough for most properties.

Python:
class Priority:
        NONE = -1
        LOW = 10.0      # 10s
        MEDIUM = 1.0    # 1s
        HIGH = 0.5      # 500ms
        HIGHER = 0.3    # 300ms
        HIGHEST = 0.1   # 100ms
 
Thanks for your feedback!
I added priorities for the property calculation (10s, 1s, 500ms, 300ms, 100ms).
If you want higher accuracy you can adjust the values in the class Priority in the file C:/.../assettocorsa/apps/python/ACLIB/apps/ACLIB_CarProperties.py (on line 27) to your preferences.
But note that it might decrease performance.
The highest priority (100ms) updates a value 10 times per second which should be enough for most properties.

Python:
class Priority:
        NONE = -1
        LOW = 10.0      # 10s
        MEDIUM = 1.0    # 1s
        HIGH = 0.5      # 500ms
        HIGHER = 0.3    # 300ms
        HIGHEST = 0.1   # 100ms
This Is perfect! Thank you so much!
 
styinx updated ACLIB with a new update entry:

Not dead

Hi all,

I have been busy for the last few months and could not find time to continue working on this mod. Sorry for that! I am still motivated to work on this library and extend it.

In the last week(s) I found some time and tried out different stuff.

First, I implemented a Python module with the C-Python API for the shared memory. It provides the same functionality as the sim_info module, but with less management overhead. I did not execute any benchmarks, but the execution...

Read the rest of this update entry...
 
I can't seem to use the apps, idk why. It shows in Settings-AC-Apps but I can't seems to run any in game.

EDIT: Looks like I can now, turns out when I redownload it from here it works, it's still a mystery though why the github one can't.
 
Last edited:

Latest News

Online or Offline racing?

  • 100% online racing

    Votes: 105 8.0%
  • 75% online 25% offline

    Votes: 134 10.2%
  • 50% online 50% offline

    Votes: 189 14.4%
  • 25% online 75% offline

    Votes: 369 28.1%
  • 100% offline racing

    Votes: 513 39.0%
  • Something else, explain in comment

    Votes: 5 0.4%
Back
Top