In light of the Coronavirus crisis, please help make sure nothing stands in the way of social distancing in the VFX industry.

This petition asks the MPAA to act accordingly:


Sign the petition on Change.org

Be safe, everyone.

Adding Reactor and its Content to an offline workstation.

Moderator: SecondMan

User avatar
dancemanj
Posts: 21
Joined: Tue Jun 18, 2019 9:37 am

Adding Reactor and its Content to an offline workstation.

#1

Post by dancemanj » Mon Nov 25, 2019 8:56 pm

Hello esteemed WSL Community,
your all an invaluable resource, made more valuable since rare for Fusion.
As permanent prevention for endless malware&viruses, my work station systems remain Offline.
So after installing Reactor both visually and manually, Reactor > Open Reactor.. and Tools etc. failed to run since not downloaded by Fusion’s FuScript "cURL" library, then resulting in errors:
[Reactor Error] Open the Reactor window once to download the missing file: C:\ProgramData\Blackmagic Design\Fusion\Reactor\System\UI\Atomizer.lua

So i,.
- downloaded "Reactor-master.zip"(1GB+) containing those files(&much! more), expanded(installed) it to C:\ProgramData\Blackmagic Design\Fusion\Reactor
- started Fusion, and confirmed Reactor > Tools now ran,

..but Open Reactor still failed with console error: "[Reactor Error] Fetch Failed: Couldn't resolve host name", which Andrew Hazelden kindly diagnosed as a Fusion, FuScript cURL connectivity issue before knowing my systems' Offline.
I've also ask him if any environmental settings or equivalent may be required for Open Reactor,

but If possible, could any members please,.
1) describe how to direct "Reactor > Open Reactor" to utilize the Reactor-master.zip program\script files installed into the
C:\ProgramData\Blackmagic Design\Fusion\Reactor folder?
2) describe any environmental settings or equivalent that may be required for Open Reactor?

Thanks for your passionate CG, and any assistance from same,
Jeff

System Configs:(If incompatibilities)
O.S. : Windows 7 64 Bit SP1,
MOTHERBOARD : Supermicro MDB(..),
CHASSIS : Cooler Master HAF 932 RC-932-KKN1-GP,
CPU(S) : 4x AMD Opteron 8435 6 cores, installed in CPU1,2,3,4,
CPU COOLERS : 4x Supermicro SNK-(..),
PSU : Silverstone Strider Gold, 1200 Watt PSU,
MEMORY : Hynix ECC Registered 800ghz 8x4Gb = 32Gb total (in CPU1,2,3&CPU4 dimm's 1a/1b),
HARD DRIVE : OCZ Vertex 60 gb SSD ,
VIDEO CARD : 2x NVidia 9800 GX2's in Quad SLI,
MONITOR : Samsung S27A950D monitor/3DTV connected via HDMI

User avatar
AndrewHazelden
Fusionator
Posts: 1589
Joined: Fri Apr 03, 2015 3:20 pm
Answers: 8
Location: West Dover, Nova Scotia, Canada
Been thanked: 2 times
Contact:

Adding Reactor Content to a 100% offline air-gapped computer

#2

Post by AndrewHazelden » Wed Nov 27, 2019 5:01 am

Hi @dancemanj.

There are several possible ways you could get to the end goal of having Reactor repository sourced content loaded onto your air-gapped offline VFX computer systems. Each approach is good for a certain type of user, with a specific level of technical skills. :)

Here are the most popular options you could go with:

How Does Reactor Work?

The Reactor package manager window you are trying to open simply uses the cURL networking library to list the available "atom" packages that are located in the Public Reactor GitLab repository "atoms" folder in a tree-like list view. And it allows you to press an "Install", "Update", or "Remove" button to manage what is installed on the system.

If you are in a 100% offline system setup the current Reactor package manager window GUI isn't going to be of much use since you'd have no source for individually downloading and installed the required atom packages inside the existing Reactor toolset.

Reactor Package Manager View.png

When Reactor is used to download and add content to a system, all of that material is stored in a Fusion PathMap controlled folder that is defined as "Reactor:/" in Fusion's PathMap preferences.

In a default Fusion Standalone based install of Reactor on Windows, the typical "Reactor:/" PathMap setting translates to:
C:\ProgramData\Blackmagic Design\Fusion\Reactor

Customizing the Reactor PathMap

On Windows that "Reactor:/ PathMap based content is saved to the "AllData:/Reactor/" PathMap folder by default unless you have overridden that setting using a "REACTOR_INSTALL_PATHMAP" environment variable. You could also modify the Reactor installer's standard PathMap install location using the "Custom Install Path" button shown below:

Reactor Installer - Custom Path.png
Reactor Installer - Custom Path.png (26.14 KiB) Viewed 851 times

BTW, if you are modifying a Reactor install, the "REACTOR_INSTALL_PATHMAP" environment variable/Reactor PathMap setting has to be mapped to an actual mounted "drive letter" on Windows and it cannot be a UNC path since Lua scripts are used to read/write the individual atom package files.

Migrating Reactor GUI Installed Content to an Offline System

If you have a laptop computer, you could use the following download link to install Fusion (Free) v9.0.2 on it.

Note: The entry to look for on the WSL forum "Fusion official download links" topic is "Fusion 9.0.2 for Windows".

Fusion Download Links.png

Then, in a "one-time" fashion could use the standard Reactor package manager GUI as intended to browse and install the exact Reactor content you want to use from a live internet session on that laptop.

Next, you would compress in a (Zip/RAR/7Zip/BZ2/TAR/GZIP/etc) archive the contents of the "Reactor:/" PathMap folder and bring it over to your air-gapped VFX workstations/render nodes to be used in an offline fashion from that point onwards.

As a reminder, this is the folder you would backup/restore to save a snapshot of all the installed Reactor content that is on your system:

C:\ProgramData\Blackmagic Design\Fusion\Reactor

Reactor PathMap Folder Contents.png

Note: You can jump into this folder location quickly using the "Reactor > Tools > Show Reactor Folder" menu item.

Reactor.Fu Menus

Reactor Tools Menu.png
If you wanted to have the "Reactor" menu item added to your air-gapped Fusion Studio systems, to be able to access features like the "Reactor > Tools" menu items you will also need to archive the Config:/Reactor.fu file. The original plain-text format text file "Reactor.fu" is located in the base folder of the Reactor GitLab repo.

The Reactor installer script places a copy of the "Reactor.fu" file in this folder:

C:\Users\<Your User Account name>\AppData\Roaming\Blackmagic Design\Fusion\Config


Which can be pasted into the Windows Explorer folder navigation text field as:

%appdata%\Blackmagic Design\Fusion\Config

Reactor Fu Menu Entry.png

Manually Configuring your PathMaps

On your air-gapped workstations, the Fusion Standalone and Fusion Render Node applications need to have the following PathMap values defined in the Fusion preferences window:

Reactor PathMap Preferences.png

Default PathMaps

From: Scripts
To: UserPaths:Scripts;Reactor:System/Scripts

From: UserPaths:
To: UserData:;AllData:;Fusion:;Reactor:Deploy


User PathMaps
From: Reactor:
To: C:\ProgramData\Blackmagic Design\Fusion\Reactor\

When you restart the Fusion program/Fusion Render Node applications after defining those values, the Reactor provided content like plugins, fuses, macros, and scripts will be active on your air-gapped systems.

Note: These custom Fusion PathMap preferences are stored on disk in the .prefs files located in this folder:

C:\Users\<Your User Account name>\AppData\Roaming\Blackmagic Design\Fusion\Profiles\Default\

Customizing a Shared Reactor Folder Path

If you wanted to have a shared Reactor content folder that was hosted on a NAS or file server to be used across the air-gapped systems on your local LAN, you could customize the PathMap entry below to point to a specific shared drive letter mount like this:

User PathMaps
From: Reactor:
To: E:\Dancemanj\Pipeline\Reactor\

Note: Don't try to use a UNC Path here! You need to have this folder as an actual Windows "Map Network Drive" file path.

Windows - This PC - Map Network Drive.png
Windows - This PC - Map Network Drive.png (41 KiB) Viewed 851 times

Further Resources

If you are looking for more information to read about a manual Reactor + Atom package installation process check out the following documentation topics:

Reactor GitLab Docs - Using Reactor Content on a Fusion Render Node

Reactor GitLab Docs - Using Reactor

This topic of a studio-wide install of Reactor content has been discussed previously on WSL in the following threads:

2019-08-29 Installing Reactor on network share [studio setup]
viewtopic.php?p=25126#p25126

2019-02-19 Fresh Re-install
viewtopic.php?p=22313#p22313

2019-01-29 Deploying Reactor to render farm?
viewtopic.php?p=21814#p21814

2019-01-16 Fusion network rendering problems using Reactor
viewtopic.php?p=21437#p21437

2019-11-27 Rolling out Fusion to multiple users
viewtopic.php?p=21277#p21277

2018-11-09 Getting started with Reactor
viewtopic.php?p=20160#p20160

2018-04-12 Reactor custom installation as preset?
viewtopic.php?p=15978#p15978

2018-06-04 Reactor with UNC paths?
viewtopic.php?p=17235#p17235

2018-02-19 Psyop's Cryptomatte In Fusion
viewtopic.php?p=14513#p14513


Full Manual-Mode 100% Offline Install of Atom Packages

If you don't want to use a live system like a laptop to download the Reactor content in a one time fashion for archiving and insist on doing a 100% manual install from a GitLab Reactor repository zipped download, you'd better be prepared for some effort... :mrgreen:


It's a bit like this "Hello Computer" clip of Scotty from Star Trek IV: The Voyage Home:




You will need to read over the Reactor GitLab Docs - Creating Atom Packages information to understand how an individual atom package file is structured...

The Reactor install process is slightly more nuanced than simply dumping a downloaded copy of the Reactor GitLab repository atoms into a single folder for Fusion to find. This complexity is due to aspects like 3rd party Fusion compiled .plugins having the same name for Windows/macOS/Linux builds, and for Fusion v9 vs v16 releases which would cause headache-inducing conflicts if not managed. ;)

The atom package specification supports:


Atom Package based "InstallScript/UninstallScript" functionality asks the user if they want to run a Lua snippet to set disk permissions so a macOS/Linux installed program is executable via chmod, or will clean up files when an atom package is uninstalled, or it could offer to copy a file to a certain place like the creation of a desktop shortcut in the Notepad++ for Fusion atom package's InstallScript.

atom-package-installscript-confirmation-dialog.png

I hope that information helped! Good luck with your atom package install process @dancemanj. :)
Last edited by AndrewHazelden on Wed Nov 27, 2019 6:09 am, edited 3 times in total.

User avatar
SirEdric
Fusionator
Posts: 2265
Joined: Tue Aug 05, 2014 10:04 am
Answers: 9
Real name: Eric Westphal
Been thanked: 28 times
Contact:

Re: BUG REPORT:Awesome KartaVR Reactor results in: "[Reactor Error] Fetch Failed: Couldn't resolve host name"+,.

#3

Post by SirEdric » Wed Nov 27, 2019 5:10 am

AndrewHazelden wrote:
Wed Nov 27, 2019 5:01 am
It's a bit like this "Hello Computer" clip of Scotty from Star Trek IV: The Voyage Home:
One of my favourite movie scenes *ever*....:-)

User avatar
AndrewHazelden
Fusionator
Posts: 1589
Joined: Fri Apr 03, 2015 3:20 pm
Answers: 8
Location: West Dover, Nova Scotia, Canada
Been thanked: 2 times
Contact:

Re: BUG REPORT:Awesome KartaVR Reactor results in: "[Reactor Error] Fetch Failed: Couldn't resolve host name"+,.

#4

Post by AndrewHazelden » Wed Nov 27, 2019 5:15 am

Mine too @SirEdric! Mine too indeed. :)

User avatar
SecondMan
Site Admin
Posts: 4229
Joined: Thu Jul 31, 2014 5:31 pm
Answers: 15
Location: Vancouver, Canada
Been thanked: 58 times
Contact:

Re: Adding Reactor and its Content to an offline workstation.

#5

Post by SecondMan » Wed Nov 27, 2019 10:22 am

Adjusted topic title to reflect the facts that this is not a bug, neither is it about KartaVR... :)

Thanks for the excellent writeup, @AndrewHazelden

User avatar
dancemanj
Posts: 21
Joined: Tue Jun 18, 2019 9:37 am

Re: Adding Reactor and its Content to an offline workstation.

#6

Post by dancemanj » Wed Nov 27, 2019 12:27 pm

Thanks Andrew, SecondMan, and SirEdric for also providing Scotties' hilarious and apt 2-cents, one of Treks funniest moments among many, LOLoudest :lol:
Really appreciate the detailed and varied instructions i'm implementing Andrew, and accurate post re-titling.
Not only do you guys know your stuff but you'd obviously be fun to hang out with.
I'll update my progress or problems installing offline, and look forward to talking again then or anytime.
All the best Guys,
Jeff