This repository has been archived by the owner on Jun 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 141
Developer Setup
Kell Evoy edited this page May 10, 2023
·
9 revisions
- Install Python 3.10 (newer versions are not compatible)
- Clone/download this repository
- Open the project folder in your editor/IDE
- (NOTE) It is highly recommended that you use Visual Studio Code. Some IDEs (like Pycharm) are known to have import pathing issues with this project.
- Open the repository folder in a terminal window
- (NOTE) If you downloaded OSBC as a .zip file, be aware there may be a duplicate container folder
- Create a virtual environment
py -3.10 -m venv env
- Activate the newly created virtual environment
.\env\Scripts\activate
- Install the dependencies
pip install -r requirements.txt
- Run
./src/OSBC.py
*(may need to restart IDE for it to recognize installed dependencies)
Please only use Linux if you know what you're doing. OSBC has only been tested in Ubuntu v22.04.
- Make sure your GNOME display server is running Xorg, not Wayland. See here for instructions. If you don't see the option to switch to Xorg on the Ubuntu login page, try the following:
- Run
sudo apt-get install xorg-dev
- Open a file called
/etc/gdm3/custom.conf
- Uncomment the line
#WaylandEnable=false
- Save the file and run
sudo systemctl restart gdm3
- Uncomment the line
- Run
- Set up RuneLite:
- Download the AppImage file from RuneLite.net
- Install FUSE
sudo apt install fuse
- Modify the permissions of the file
chmod 764 <path-tofile>/RuneLite.AppImage
- Run the following commands:
sudo apt update
sudo apt install build-essential
-
sudo apt install python3-dev
(ensure Python 3.10 is installed) sudo apt install python3-tk
- Clone the repository and navigate to the project folder in your terminal. Run the following commands:
- Create a virtual environment
python3 -m venv env
- Activate the virtual environment
. env/bin/activate
- Install the dependencies
pip install -r requirements.txt
- Create a virtual environment
- Run
./src/OSBC.py
- If you're getting errors involving
mss
, retry step 1.
- If you're getting errors involving
OSBC currently does not work well with scaled-resolution screens. Please set your resolution scaling to 100% in your operating system settings.