icewolfz / jiMUD

MUD client for ShadowMUD.com using electron
http://www.shadowmud.com
7 stars 0 forks source link
electron game mud mud-client telnet telnet-client text-adventure-game

jiMUD

A mud client using electron for ShadowMUD based on it's web client.

Installation

Build

To build jiMUD you must have nodejs 20 LTS or >=22, npm, typescript 2.3+, cPython installed Steps to build:

Prerequisites

Install or download Node: https://nodejs.org/en/download/

Electron builder:

Required modules or packages to build different installer types: https://www.electron.build/multi-platform-build.html

Flatpak Prerequisites

  1. Ensure flatpak and flatpak-builder are installed on build system
  2. Ensure the platform and sdk runtimes are installed: flatpak install flathub org.freedesktop.Platform//23.08 org.freedesktop.Sdk//23.08 org.electronjs.Electron2.BaseApp//23.08

Clone repository or use archive zip

  1. git clone https://github.com/icewolfz/jiMUD.git or git pull if already ready cloned, or you can download and unzip the source archive

Windows

  1. npm install - install all the node modules, Note you will need to rerun this only if modules have been updated in the package.json
  2. npm run release:win - build installer and portable exe

Linux

  1. npm install - install all the node modules, Note you will need to rerun this only if modules have been updated in the package.json
  2. npm run release:linux - build tar, deb, appImage, rpm, and flatpak packages

Linux Slim - Build without flatpak

  1. npm install - install all the node modules, Note you will need to rerun this only if modules have been updated in the package.json
  2. npm run release:linux-slim - build tar, deb, appImage, and rpm packages

Mac

  1. npm install - install node modules, Note you will need to rerun this only if modules have been updated in the package.json
  2. npm run release:mac - build Mac packages

Build and package files are all saved to dist folder

Run

  1. npm install - install node modules
  2. npm run rebuild - this rebuilds modules to work with electron if needed
  3. npm run compile - compile typescript into javascript files
  4. npm run start - start jiMUD

This will allow you to run jiMUD directly from this folder with out the need to package into a self contained folder or building an installer.

Note you only need to run the install, rebuild, and compile steps the first time or any time you update the packages.

Standalone application

  1. npm install - install node modules
  2. npm run build:debug-compile

This will compile typescript into javascript, rebuild native node modules and create a runnable package that can be ran from dist/ARCH-unpacked folder. This can be used for debugging or running it as full app with out the need to install, just run the jiMUD executable in dist/ARCH-unpacked folder.

FAQ

Basic questions answered about jiMUD

Command line arguments

Usage: jiMUD [arguments...]

References

Known Issues