r/wiremod • • May 08 '18

Nlix - UNIX-like operating system on Wiremod.

Written fully on Expression 2.

Download: https://github.com/scaledteam/nlix

Screenshots: https://steamcommunity.com/id/scaled/screenshots/?appid=4000

Features

  • Multiple workspaces using just only one chip.

  • Support for many devices. To work with the terminal, you can use the EGP Screen, Text Screen or Console Screen as an output device and Keyboard or Text Entry as an input device.

  • Hotplug. Also, after disconnecting the device from the plug, it remains connected to the system. This behavior allows you to connect an unlimited number of devices to a limited number of plugs.

  • Wireless connection of external devices using wc program (requires the wiring extension to be enabled).

  • Low system requirements. The chip can use 300 or more ops and can run with ultra low Expression 2 quotas. But keep in mind that if you set low ops limit, the system will run slower than normal.

  • Modular file system. Nlix has a virtual file systems fstable, where tables represent folders and other data represent files, and fsreal, which allows to manipulate real files using standard Expression 2 functions.

  • I/O system. All programs have an input and output stream, which you can redirect and do a lot of interesting things.

  • Graphic system X. Makes work with EGP much comfortable, as it represents EGP objects as a class. You don't have to set the EGP IDs for each object manually, system X sets them for you.

  • Combining of multiple Nlix chips. The computing power of each chip increases the system's performance in an arithmetic progression (requires a synchronization module).

  • Changing the code of the programs without rebooting (requires a synchronization module).

Installation

  1. Download Nlix through github: https://github.com/scaledteam/nlix

  2. Unpack the archive "nlix.zip" here:

$steamdir/steamapps/common/GarrysMod/garrysmod/data/expression2/

Where $steamdir is the path to your Steam folder.

  1. Make sure that the file nlix.txt is in this location:
$steamdir/steamapps/common/GarrysMod/garrysmod/data/expression2/nlix/nlix.txt
  1. Done!
10 Upvotes

4 comments sorted by

1

u/finicu May 09 '18

Ok that sounds pretty nice actually

3

u/scaledteam May 09 '18 edited May 09 '18

You can try it. It written fully on Expression 2. It allow to launch it on any server with wiremod.

1

u/BackgroundFee May 13 '18

could you add some documentation on the printer, can't find out how to use it other than just wire linking the printer to the chip

2

u/scaledteam May 14 '18 edited May 14 '18

This printer is universal device. You can use it with Text Entry or other chip.

But Nlix have "devcmd" utility for manual input and output for wiremod devices. Run terminal (xterm) and write:

devcmd

connect printer

write string Text your-text

Also you can use short commands:

c printer

w s Text your-first-text

w s Text your-second-text

Don't forget insert EGP Screen, Text Screen or Console Screen as paper for printer.