The on-stream graphics used during Summer Games Done Quick 2018.
This is a NodeCG v0.9 bundle. You will need to have NodeCG v0.9 installed to run it.
- Video Breakdown
- Automated Builds
- Requirements
- Installation
- Configuration
- Setting up OBS
- Usage
- License
- Credits
We unfortunately do not have time to make a video breakdown for this event's bundle. However, we did make one for the last year's SGDQ, which still has a few similarities with this one.
If you are using an automated build (which includes everything in one zip file with a single exe), skip to Setting up OBS.
- Install to
nodecg/bundles/sgdq18-layouts
. - Install
bower
if you have not already (npm install -g bower
) - Install a compiler toolchain:
- WINDOWS: Install
windows-build-tools
to install the tools necessary to compilesgdq18-layouts
' dependencies. - LINUX: Install
build-essential
and Python 2.7, which are needed to compilesgdq18-layouts
' dependencies.
- WINDOWS: Install
cd nodecg/bundles/sgdq18-layouts
and runnpm install --production
, thenbower install
- Create the configuration file (see the configuration section below for more details)
- Run the nodecg server:
node index.js
(ornodecg start
if you havenodecg-cli
installed) from thenodecg
root directory.
Please note that by default, not all graphics will not work. This is because sgdq18-layouts
makes use of several non-free plugins for GSAP, which we cannot redistribute. If you wish to use all graphics in their current implementations, you will need to pay for access to Club GreenSock and save the following plugins to the following directories:
- SplitText:
shared/lib/vendor/SplitText.min.js
- CustomEase:
shared/lib/vendor/CustomEase.min.js
- DrawSVGPlugin:
shared/lib/vendor/DrawSVGPlugin.min.js
sgdq18-layouts
listens for donations in realtime, rather than polling the donation tracker for a new donation total. To facilitate testing,
we provide a small script that sends mock donations:
- Add
"donationSocketUrl": "http://localhost:22341"
to yournodecg/cfg/sgdq18-layouts.json
- From the
nodecg/bundles/sgdq18-layouts
folder, runnpm run mock-donations
- Run NodeCG (
nodecg start
ornode index.js
from thenodecg
folder)
In production, you'd use TipoftheHats/donation-socket-repeater along with the "Postback URL" feature of GamesDoneQuick/donation-tracker.
Lightning Round is GDQ's system for gathering interview questions from Twitter. It exists in two parts: one part running "in the cloud" as a Firebase app, and one part running locally as part of this NodeCG bundle.
Lightning Round is pretty weird and kind of difficult to set up. You can watch these videos for more information but please bear in mind that they are outdated, as they were made for SGDQ 2017, not SGDQ 2018:
To configure this bundle, create and edit nodecg/cfg/sgdq18-layouts.json
.
Refer to configschema.json for the structure of this file.
If you have nodecg-cli installed, you can run nodecg defaultconfig
from the nodecg/bundles/sgdq18-layouts/
folder to generate a cfg/sgdq18-layouts.json
file with default values derived from the schema.
sgdq18-layouts
has a deep, complex integration with OBS Studio. As such, it expects your OBS to be fairly precisely configured.
- Download and extract this custom build of OBS, which includes all the plugins we use.
- Once extracted, OBS can be launched via
bin/64bit/obs64.exe
.
- Once extracted, OBS can be launched via
- Go to "Profile > Import", and import the
obs-assets/obs-profile
directory from this repository. Then, ensure that the "SGDQ2018" profile is selected in OBS. - Go to "Scene Collection > Import", and import the
obs-assets/obs-scenes.json
file from this repository. Then, ensure that the "SGDQ2018 - Localhost" scene collection is selected in OBS. - Locate the "Scene Transitions" dropdown menu in the main interface of OBS (it will be near the bottom right by default). Select "Blank Stinger". Click the gear icon below the dropdown, and select "Properties". Update the "Video File" path to point to your
sgdq18-layouts/obs-assets/BlankTransition.mov
path.
This bundle is not intended to be used verbatim. Some of the assets have been replaced with placeholders, and most of the data sources are hardcoded. We are open-sourcing this bundle in hopes that people will use it as a learning tool and base to build from, rather than just taking and using it wholesale in their own productions.
To reiterate, please don't just download and use this bundle as-is. Build something new from it.
- Start NodeCG
# From the `nodecg` dir: node index.js
- If you're using an automated build, just run
nodecg.exe
.
- If you're using an automated build, just run
- Open http://localhost:9090
- Click on the "Setup" tab of the dashboard, and connect to OBS using the "OBS" panel.
- By default,
obs-websocket
uses port 4444 and has no password. - The
1
tab is for the "compositor" OBS, where the graphics are running. - The
2
tab is for the "recording" OBS, where the primary recordings are running.- You do not need to have
2
connected, it is optional.
- You do not need to have
- The
3
tab is for the "encoding" OBS, where the secondary recordings are running.- You do not need to have
3
connected, it is optional.
- You do not need to have
- By default,
sgdq18-layouts is provided under the Apache v2 license, which is available to read in the LICENSE file.
Designed & developed by Support Class