Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Marocco2 authored Jul 29, 2016
1 parent bdeb334 commit aa4eebf
Showing 1 changed file with 78 additions and 1 deletion.
79 changes: 78 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,78 @@
# BOX v0.2BOX 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.## WARNING!!!!### **This is an unstable SDK, so functions can be deprecated very soon. Check changelog or wiki what is changed**### CURRENT FEATURES- A push notification system via Telegram bot- Sound player- An auto-update/auto-install system `(WORK IN PROGRESS)`### PLANNED FEATURES- Voice commands## IMPLEMENTATIONYour app must have the following structure:![Files](http://i.imgur.com/rofq8St.png)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 ...## CHANGELOG### v0.2- class SoundPlayer is now working### v0.1.3- first attempt to make newupdate() work### v0.1.2- reworked functions (check Wiki page)### v0.1.1- added getZipFile function
# BOX v0.2

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.

## WARNING!!!!

### **This is an unstable SDK, so functions can be deprecated very soon. Check changelog or wiki what is changed**

### CURRENT FEATURES

- A push notification system via Telegram bot
- Sound player
- An auto-update/auto-install system `(WORK IN PROGRESS)`

### PLANNED FEATURES

- Voice commands

## IMPLEMENTATION

Your app must have the following structure:

![Files](http://i.imgur.com/rofq8St.png)

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

...

## KNOWN ISSUES

- newupdate and install_zip don't work

## CHANGELOG

### v0.2

- class SoundPlayer is now working

### v0.1.3

- first attempt to make newupdate() work

### v0.1.2

- reworked functions (check Wiki page)

### v0.1.1

- added getZipFile function

0 comments on commit aa4eebf

Please sign in to comment.