Resource icon

Apps ACLIB 0.5.2

Log in to download, or make sure to confirm your account via email

styinx

10RPM
Jan 2, 2018
11
9
29
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...
 

JTRaceFan17

250RPM
May 1, 2017
410
266
20
I don't know how to use this. I wish there was an easy way to make apps for AC with a GUI for newbies to AC app creation
 

styinx

10RPM
Jan 2, 2018
11
9
29
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

10RPM
Jan 2, 2018
11
9
29
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

10RPM
Jan 2, 2018
11
9
29
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

10RPM
Jan 2, 2018
11
9
29
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

10RPM
Jan 2, 2018
11
9
29
styinx updated ACLIB with a new update entry:

0.4.1

Hi,

I was unaware that the lap time calculation from the python API does not work in multiplayer.
The lap times are now estimated from ACLIB.
The accuracy depends on the FPS of the player since the lap time it is updated on every update cycle.
However, the comparator app should work now.

Let me know if you find other issues.

Cheers!
Read the rest of this update entry...
 

styinx

10RPM
Jan 2, 2018
11
9
29
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...
 

ramokerat

50RPM
Nov 27, 2015
71
37
24
Great Job! Anyway to also add an app that shows the current Brake bias? I hate having to change it to see what it is at. Thanks!
 

styinx

10RPM
Jan 2, 2018
11
9
29
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...
 

styinx

10RPM
Jan 2, 2018
11
9
29
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
 

ramokerat

50RPM
Nov 27, 2015
71
37
24
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!