Hacknet Wiki
Advertisement
Logos - Intro Extension

Extensions are a feature in Hacknet.

Description[]

Extensions allow players to create custom storylines in Hacknet using assets from the game and (optionally) the Hacknet - Labyrinths DLC.

Basic structure[]

Files[]

  • ExtensionInfo.xml - the core file that contains the extension's metadata.
  • Intro.txt - the intro text that appears when the extension is launched. In the original game, the intro is handled by the BitSpeech.txt file.
  • Logo file(s) - logos that appear in-game and the Steam Workshop.

Folders[]

  • Actions - contains action files.
  • Factions - contains faction files.
  • HackerScripts - contains hacker script files.
  • Music - contains music files. Must be in .ogg format to work properly.
  • Missions - contains mission files.
  • Nodes - contains node (computer) files.
  • People - contains files that define people in various in-game databases.
  • Themes - contains theme (background) files.
  • Web - contains HTML and CSS files for web server daemons.

Additional folders can be created if necessary.

Debug commands[]

Hacknet has debug commands that make developing Extensions easier. There are two ways to use them:

  • "Set Launch Options" on Steam
  • Launch Hacknet via command prompt with debug commands: Hacknet.exe -enabledebug

Command list:

  • -extstart [EXTENSION_FOLDER_NAME] - autostarts the extension once the game is launched.
  • -altmonitor - starts the game on the second monitor.
  • -enablefc - enables the feature to force-complete an active mission without meeting the requirements.
  • -enabledebug - enables in-game debug commands:
    • fh - instantly breaks into a system.
    • dscan [ID] - scans a node by its ID.
    • ra - reveals all nodes on the netmap.
    • reloadext - reloads and updates all nodes from the Extension.
    • printflags - prints obtained flags into the terminal.
    • runhackscript [HACKER_SCRIPT_PATH] - launches the Hacker Script and prints any errors in the terminal.
    • debug - adds 4 debug nodes on the netmap, also adds every single .exe file in main game and Labyrinths extension, along with KBT_TestFirmware.dll to your computer's bin folder. This includes scripts that could have been intended to hack ports non-hackable in normal play. However, these files seem to not work. This command's effects persist across savestates.
  • -allowextpublish - allows publishing Extensions to the Steam Workshop.

Downloading extensions[]

Steam users can download extensions from the Steam Workshop.

Non-Steam users can download extensions from NexusMods.

Gallery[]

External links[]

Extensions
ExtensionInfo.xml
ActionsFactionsHacker ScriptsMissionsNodes
Advertisement