BOX is an Assetto Corsa framework created by Marco 'Marocco2' Mollace. It's created for Assetto Corsa developers who want a set of features without spending so much time.
This is an unstable SDK, so functions can be deprecated very soon. Check changelog or wiki what is changed
- A push notification system via Telegram bot
- Sound player
- An auto-update/auto-install system
(WORK IN PROGRESS)
- Voice commands
Your app must have the following structure:
In your app python (in this example BoxApp.py
) you need to add these lines:
...
import sys
import os
import platform
if platform.architecture()[0] == "64bit":
sysdir = "stdlib64"
else:
sysdir = "stdlib"
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "box", sysdir))
os.environ['PATH'] = os.environ['PATH'] + ";."
...
import traceback
import ctypes
import threading
importError = False
try:
from box import box, sim_info, win32con
except:
ac.log('BoxApp: error loading modules: ' + traceback.format_exc())
importError = True
...
- newupdate and install_zip don't work
- class SoundPlayer is now working
- first attempt to make newupdate() work
- reworked functions (check Wiki page)
- added getZipFile function