Skip to content

minisphere 3.2.0

Choose a tag to compare

@fatcerberus fatcerberus released this 22 May 17:26

minisphere 3.2.0 is the third minor release in the 3.x series. This release boasts a vastly improved module resolver based on Node.js and console.log() support, and paves the way for an eventual API overhaul in minisphere 4.0. Upgrading is highly recommended.

Release Notes - Breaking Changes

  • Module IDs passed to require() are resolved using a more advanced algorithm
    designed to emulate the behavior of Node.js. Compatibility is mostly
    retained; however, there may be subtle differences, for example in the
    handling of relative IDs.
  • minisphere 3.2 supports console.log() and its variants. Output produced
    this way will only be visible with the debugger (SSJ) attached.

Changes in this Release

  • The module system has been overhauled to work more like Node.js, and now has
    support for package.json files, parsing JSON files as objects, and useful
    APIs such as require.cache, module.loaded, and module.require.
  • require() can now load JS modules from anywhere in a game's file system by
    prefixing the module ID with a SphereFS alias (@/, ~/, or #/).
  • Adds support for console.log() and friends. stdout is reserved for
    under-the-hood logging, so console output will only be visible when SSJ is
    attached.
  • Improves frameskip behavior: The frame timer is now reset only if the skip
    limit is hit. This should ensure a more consistent update rate even under
    lag conditions.

Installing in Windows

Simply download and run minisphereSetup-3.2.0.exe. The Inno Setup install wizard will walk you through the installation process.

Installing in Linux

For Ubuntu (14.04 and later), minisphere is available via personal package archive (PPA):

Installing from a PPA is easy. Simply open Terminal and run the following commands:

  • sudo add-apt-repository ppa:fatcerberus/minisphere
  • sudo apt-get update
  • sudo apt-get install minisphere

You only need to do this once. The system will automatically notify you of future minisphere updates.

For other Debian distributions such as Linux Mint or Debian itself, simply download one of the .deb packages below. Users of 32-bit systems will want minisphere_3.2.0_i386.deb, while 64-bit users should download minisphere_3.2.0_amd64.deb. Once downloaded, simply double-click the file and your package manager will guide you through the process of installing the package.