Skip to content

NodeCG bundle to help facilitate the running of speedrunning marathons, including overlays.

License

Notifications You must be signed in to change notification settings

fGeorjje/nodecg-speedcontrol

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nodecg-speedcontrol

Screenshot

This is a bundle for NodeCG; if you do not understand what that is, we advise you read their website first for more information.

nodecg-speedcontrol, usually known as just "Speedcontrol", is a bundle for the NodeCG broadcast graphics framework/application developed for automating tasks for speedrunning marathons, mainly changing information on overlays and updating the Twitch information.

Some basic information:

  • Import schedules from Horaro and Oengus [work in progress].
  • By default, can store information on the run and the players, but can also be customised to store more if needed by advanced users.
  • Automatically change Twitch title and/or game directory if needed.
  • Automatically feature the current player(s) on the FrankerFaceZ featured channels function below the stream.
  • Has an inbuilt timer (powered by livesplit-core); no need to have a seperate application open.
  • Support for some donations trackers can be added with extra bundles (see below).
  • User interface avaiable in English and Japanese.

This bundle doesn't come with any graphics, you will need to create them yourself in another bundle. If you have no experience in developing, you can check out speedcontrol-simpletext for an simple example bundle, or check out the API documentation if you're are more advanced user.

Installation

You will need Node.js (10.x LTS tested) and git installed to install NodeCG, then see the NodeCG documentation on how to install that. I also suggest installing nodecg-cli; information on that is also on the documentation just linked.

  • nodecg install speedcontrol/nodecg-speedcontrol to install the latest version of nodecg-speedcontrol

This bundle can run without any extra configuration, but it's needed to use all of the functionality, and if you want to switch to a different localisation. Please see the Configuration documentation for more information. You may also want to read the Schedule Formatting documentation for advice on formatting your Horaro schedules before importing, if you choose to import via this method.

tl;dr installation

Install Node.js (10.x LTS tested) and git, then make a folder anywhere and open a command prompt/shell/bash window, then run these commands in order:

npm install nodecg-cli -g
nodecg setup
nodecg install speedcontrol/nodecg-speedcontrol
nodecg start

Basic Usage

Currently this basic guide assumes you are importing from a Horaro schedule; importing from Oengus is very simple anyway and the other parts of this guide still apply.

Once installed, go to https://localhost:9090 (unless you have overridden the defaults in the NodeCG config) to access the dashboard.

To import a schedule, go to the Run Modifications workspace along the top, and look for the Horaro Schedule Import panel. Paste in a Horaro schedule URL into the text box (it will be automatically pre-filled if you set schedule.defaultURL in this bundles config) and click Load Schedule Data.

Schedule Import Before

Next you will see a list of dropdowns. These are used to select which columns in your schedule relate to which information in the run data. The import tries to automatically select the appropriate columns, but if something is wrong you can change it here. Also available here is an option on how the players in the Players column should be split; see the Schedule Formatting documentation for more information on what these options mean and how the Players column data should be formatted. Once you have everything selected correctly, click on the Import button.

Schedule Import Settings

The schedule will begin importing. If you have the speedrun.com lookup enabled (by default it's enabled) this import may take a while, so be patient. Once the import is done, this panel will turn back to how it was before, and the runs will be listed in the Run Player and Run Editor panels.

Schedule Importing

To start "playing" runs, go back to the Main Workspace and find the Run Player panel, and click on the big "▶ [GAME]" button at the top.

Run Player Play Button

Next to the above panel should be the Run Timer panel. This should be very self explanitory; use the play button to start the timer, use the tick button to stop it or use the cross button if the player has to forfeit the run. You can also reset it if needed, pause it, undo a stop if done accidentally and also click inside the timer box, type and press enter to edit the time if needed for any reason. The timer changes slightly for races, but is easy to figure out as each team gains their own set of stop/forfeit/undo buttons.

Run Timer Stopped

If you have enabled the Twitch integration in this bundle's config, there will be a panel in Main Workspace called Twitch Control, which will have a button to set up the connection with Twitch. Use this to connect the application to your Twitch account.

Twitch Control Login

Once you have done the above, make sure to turn the auto-sync on in the panel, otherwise it will not be done when you change runs. You can also manually update the title, game and the Twitch usernames for the FrankerFaceZ featured channels integration if you have this enabled.

Twitch Control Logged In

Extra Support Bundles

Alongside the main bundle, there are some extra bundles that we maintain that you may also want to use for speedrunning marathons. See their GitHub pages for more detailed information on how to use them. Be warned they are somewhat undocumented as of now.

To easily install: nodecg install speedcontrol/BUNDLE-NAME

Where has this bundle been used before?

(This is not an exhaustive list.)

Authors/Contributors

Originally developed by Charleon, now mainly developed by zoton2.

With help from:

  • btrim
  • Zephyyrr
  • Planks
  • cma2819 (Oengus Support)
  • yagamuu (Japanese Localisation)

Contribution/Development

If you install from the latest release (for example, with nodecg-cli by doing nodecg install speedcontrol/nodecg-speedcontrol) you will get the latest stable build.

If you wish to help with further development, the master branch is where all the development is done, although you will need to install all dependencies (npm install) and build (npm run build) to actually use the bundle, and see any changes you make.

If you wish to test/use experimental unfinished features without needing to build yourself, there is a build branch which should usually mirror the master branch but has everything built already so you should only need to install production dependencies (npm install --production).

The v1.x branch is a legacy branch for that version; this exists for archival purposes, as the strucutre was highly different.

If you need to report an issue, you can do that on GitHub.

Feel free to raise an issue/Pull Request if you have used our bundle(s) for a marathon and would like to be linked above.

Localisation

This bundle supports additional languages using Vue I18n. If you wish to add support for another language, you must add the language code in configschema.json, under language > enum, and then also run npm run typeschemas to regenerate the configschema.d.ts file. You can then specify this language in the bundle's configuration file. Then, in the src\dashboard\_misc\i18n.ts file, add an additional object inside of the messages object inside the VueI18n instance for your newly added language. There are some reused pieces of text in this file that should be translated, but the rest are stored in the Single File Components (SFC) inside of the src\dashboard folder and subfolders, within the <i18n> blocks inside of those (in JSON format). If a piece of text is not translated yet, it will fall back to English (en).

About

NodeCG bundle to help facilitate the running of speedrunning marathons, including overlays.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 53.2%
  • Vue 39.9%
  • JavaScript 4.5%
  • CSS 2.1%
  • Other 0.3%