Fork of BAPSicle including a nix flake for packaging https://github.com/UniversityRadioYork/BAPSicle
Find a file
Matthew Stratford 26a6f72cf3
Merge pull request #18 from UniversityRadioYork/michaelg-bits
Not Overwhelming the Log Pages
2021-05-17 22:10:35 +01:00
.github/workflows CI fixes. 2021-05-02 19:22:33 +01:00
.vscode Shuffle flask into own file, change platypus options. 2021-04-17 21:28:57 +01:00
baps_types Store plan item clean status. 2021-05-02 02:27:41 +01:00
build Show beta status / git branch. 2021-04-27 21:48:17 +01:00
controllers Improve reconnection of controller. 2021-05-02 18:12:38 +01:00
dev Make githook set itself up. 2021-04-10 20:25:18 +01:00
docs/images Update readme with MacOS support. 2020-11-01 00:54:50 +00:00
helpers s p a c e 2021-05-17 22:03:09 +01:00
install Add logs folder mkdir to installer 2020-11-05 19:03:26 +00:00
logs Add logrotate and create dir if missing. 2021-04-05 22:41:22 +01:00
presenter@c6f3e32ad2 Update presenter with player counter support. 2021-05-02 19:14:07 +01:00
resources Replace splash image, add resource files. 2021-04-27 23:02:03 +01:00
state keep the folders to keep windows happy 2020-11-10 18:45:54 +00:00
tests Fix player test. 2021-05-02 19:26:39 +01:00
ui-static Replace splash image, add resource files. 2021-04-27 23:02:03 +01:00
ui-templates Let the Log Pages Cope 2021-05-15 23:51:12 +01:00
.gitignore Improve packaging, use package.json for all package info 2021-04-19 15:45:20 +01:00
.gitmodules Add presenter to bapsicle. 2021-04-16 20:30:50 +01:00
__init__.py Ran black for formatting. 2021-04-08 20:53:51 +01:00
file_manager.py Catch files that can't be removed, skip them. 2021-05-12 00:14:35 +01:00
launch.py Improve packaging, use package.json for all package info 2021-04-19 15:45:20 +01:00
package-lock.json CI fixes. 2021-05-02 19:22:33 +01:00
package.json Bump to 3.0.0 2021-04-27 20:55:07 +01:00
package.py Show beta status / git branch. 2021-04-27 21:48:17 +01:00
player.py More debug player logging 2021-05-17 22:03:38 +01:00
player_handler.py Add initial file preloading algorithm. 2021-04-26 00:18:50 +01:00
README.md README fixes 2021-05-15 23:53:53 +01:00
server.py CI fixes. 2021-05-02 19:22:33 +01:00
setup.py Improve packaging, use package.json for all package info 2021-04-19 15:45:20 +01:00
web_server.py Let the Log Pages Cope 2021-05-15 23:51:12 +01:00
websocket_server.py Add played counting. 2021-05-02 02:18:00 +01:00

BAPSicle

a.k.a. The Next-Gen BAPS server

"BAPSicle logo, a pink melting ice lolly."

Welcome! This is BAPS. More acurately, this is yet another attempt at a BAPS3 server.

Installing

Just want to install BAPSicle?

Windows

Currently there's just a batch script. Simply run install.bat as administrator. If you've just built BAPSicle yourself, it'll be in the /install folder.

This will:

  • Copy BAPSicle into C:\Program Files\BAPSicle
  • Install BAPSicle.exe as a Windows Service with NSSM.
  • If all goes well, open http://localhost:13500 for the server UI.

Linux

Installed service for linux is coming soon. Testing is primarily on Ubuntu 20.04. Your milage with other distros will vary.

MacOS

Currently there's no installer for MacOS, so you'll have to move the build/output/BAPSicle.app you've built and make it start automatically (if you want).

Starting and stopping the server, as well as UI links, are available in the System Menu once opening the app.

"BAPSicle in the MacOS System Menu"

Developing

Requirements

On all platforms:

  • Python 3.8 - 3.9 Tested
  • Git (Obviously)

On MacOS:

  • Homebrew (To install command line Platypus)

Running

To just run the server standaline without installing, run python ./launch.py.

Building

Windows

To build a BAPSicle.exe, run build\build-exe.bat. The resulting file will appear in build\output. You can then use the install instructions above to install it, or just run it standalone.

Linux

To build a BAPSicle executable, run build/build-linux.sh. The resulting file will appear in build/output.

MacOS

To build a BAPSicle.app, run build/build-macos.sh. The resulting file will appear in build/output.

Other bits

Provided is a VScode debug config to let you debug live, as well as dev\install-githook.{bat,sh} that will help git to clean your code up as you're committing!