HPL2/Tools

From Frictional Wiki
< HPL2
Revision as of 20:36, 5 June 2024 by Darkfire (talk | contribs) (Add introduction section)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Editors
Level Editor Everything that you do in the other editors comes to use here.
Model Editor Makes your 3D models come to life with ingame functions.
Particle Editor Create fire, smoke and other particles to spice up levels and models.
Material Editor Should a texture come with normal, specular or illumination maps? Should the material be transparent or sound like metal?
HPL Language Tool Helper tool to build,edit, and translate language files
Viewers
Map Viewer Gives extra information about the level and allows viewing without running the game. A useful tool for optimization.
Model Viewer See how your model will look ingame without having to start the game or make game specific files. Useful for porting assets.

Introduction

The editors come in 3 versions now:

  • The classic 1.3 editors (note: this version has the outdated color picker)
  • The community edition - based on the stable 1.3 version, they provide quality-of-life improvements and a dark theme
  • The 1.5 editors - based on patched versions of HPL2, these come prepackaged with the game on some platforms now
Alert icon.png

Warning: Keep in mind that these tools, while having been used to produce actual content and a lot of effort has been put on making them as stable as possible, can have bugs.

Make sure to back up your work often, and it is highly recommended to use a versioning system (e.g. Git).

Installation Instructions

Make sure to click the download links as copying the link will result in an error. If clicking the link also results in an error, try downloading in another browser.

Windows

Download the Windows HPL Editor Suite for Amnesia (click the link, it won't work if you copy it into a tab):

This file must be unpacked into the folder where you find Amnesia.exe, all .dll files and folders with game data. This may be one of two locations depending on which version of the game you have.

  • For Steam users: This will be your game installation directory, usually C:\Program Files\Steam\steamapps\common\Amnesia - The Dark Descent\
  • For retail/other users: This will be inside the "redist" folder inside your installation directory, for example C:\Program Files\Amnesia - The Dark Descent\redist\

When reporting crashes and bugs, always include a description of the problem and any log output from the editors themselves. Logs are located in your <Documents>\HPL2\ folder.

Linux

Download the Linux HPL Editor Suite for Amnesia:

Updated 2011-02-19 Updated to fix crashes when selecting enemies.

Extract the zip and run the installer (hpl_editor_suite.sh).

The installer should automatically find your currently installed copy of Amnesia if you installed it in one of the common installation locations. If not, simply select the Amnesia folder where you installed the game.

Note: No menu items are created by the installer, it simply installs the editor data files and executables for your platform.

Note: The HplLangTool.exe is included in the Linux HPL editor suite, it is a .NET application that does run under wine/mono.

When reporting crashes and bugs, always include a description of the problem and any log output from the editors themselves. Logs are located in your ~/.frictionalgames/HPL2 folder.

Mac OS X

Download the Mac OS X HPL Editor Suite:

Extract the zip and run the installer (HPL2 Editor Suite Installer). The installer should automatically find your currently installed copy of Amnesia no matter where you purchased it (including Steam). After installing the tools, simply run Amnesia and select the "Editor Suite" tab in the launcher to run the tools.

Notes:

  • This[Clarify] currently is not for the Mac App Store release, as updates to Amnesia will completely remove the Editor suite. Please read this for more information.
  • Update 2011-02-19 Includes fixes for crashes and "hangs"
  • Update 2011-03-19 Includes fixes for a crash that occurs when selecting entities to add to a level
  • You must install the Amnesia 1.0.1.2 Mac OS X Patch (this is a Mac-only patch). Steam users will get the update directly from the Steam client.

When reporting crashes and bugs, always include a description of the problem and any log output from the editors themselves. Logs are located in your ~/Library/Application Support/Frictional Games/HPL2 folder.

Community tools

HPL2 is now open source and a community edition of the editors is being worked on. They are available for Windows and Linux.

Features

The new features include:

  • A much more comfortable color picker (compared to the classic editors; this picker is included in 1.5 versions too)
  • Dark theme (installed by default, but the original one can be reinstated)
  • Keyboard shortcuts for common utilities (e.g. grid snapping)
  • Ability to load MFP maps and assets without errors
  • Other small improvements

Installation

  1. Go to this Github page to download the latest version of the community tools.
  2. Download the archive in the format of your choice (.7z is smaller than .zip but requires 7zip or Winrar to open).
  3. Extract the contents into the main directory of Amnesia.
  4. Merge and overwrite all when asked.