Windows
ENiGMA½ will run on both 32bit and 64bit Windows. If you want to run 16bit doors natively then you should use a 32bit Windows.
Prerequisites
Section titled “Prerequisites”Node.js
Section titled “Node.js”Download and install Node.js from nodejs.org. Use the current LTS release — non-LTS/bleeding-edge versions are not tested and may cause issues.
Visual Studio Build Tools
Section titled “Visual Studio Build Tools”ENiGMA½ includes native modules (node-pty and sqlite3) that must be compiled during installation. This requires Visual Studio Build Tools:
- Download Visual Studio Build Tools 2022
- Run the installer and select the “Desktop development with C++” workload
- Ensure the following are included (selected by default with the workload):
- MSVC build tools
- Windows SDK
- C++ CMake tools
Note: Visual Studio Build Tools 2017 or newer is required. Older versions will not be detected by node-gyp.
Install Git and optionally TortoiseGit.
Install 7-Zip and add it to your PATH:
- Right click
This PCand selectProperties - Go to the
Advancedtab and clickEnvironment Variables - Select
PathunderSystem Variablesand clickEdit - Click
Newand paste the path to 7-Zip (e.g.C:\Program Files\7-Zip) - Close and reopen your console — type
7zto verify it works
(See Archivers for additional archive utilities.)
Installation
Section titled “Installation”-
Clone ENiGMA½ — browse to the directory you want and run:
Terminal window git clone "https://github.com/NuSkooler/enigma-bbs.git"Optionally use TortoiseGit by right clicking the directory and selecting
Git Clone. -
Install ENiGMA½:
Terminal window cd enigma-bbsnpm install -
Generate your initial configuration:
Terminal window node .\oputil.js config new -
Edit your configuration files in
enigma-bbs\configwith Notepad++ or Visual Studio Code. -
Run ENiGMA½:
Terminal window node .\main.js
Then test your installation.
See Production Installation when you are ready to go live.
Troubleshooting: node-gyp / Visual Studio Not Found
Section titled “Troubleshooting: node-gyp / Visual Studio Not Found”If npm install fails with an error like “could not find a version of Visual Studio” or “unknown version found”, node-gyp is not detecting your VS Build Tools installation. Try:
npm config set msvs_version 2022npm installIf problems persist, see the node-gyp Windows installation guide for further troubleshooting steps.