Difference between revisions of "HPL2/AMFP/Introduction"

From Frictional Wiki
< HPL2‎ | AMFP
Jump to navigation Jump to search
Line 51: Line 51:
 
===Full Conversion===
 
===Full Conversion===
  
In order to create full conversions with custom config files you need to download the file linked above.
+
In order to create full conversion mods the same way as in TDD you need to download the file linked above.
  
 
You can download the FC mod template [https://www.mediafire.com/file/995cuekkr9k4pcb/your_mod.rar/file here]. It is crucial to have experience with TDD full conversions before trying it with MFP.
 
You can download the FC mod template [https://www.mediafire.com/file/995cuekkr9k4pcb/your_mod.rar/file here]. It is crucial to have experience with TDD full conversions before trying it with MFP.
  
 
Almost all information about [[HPL2/TDD/Full Conversion Mod|TDD Full Conversions]] applies to MFP FCs. It is recommended to use the same asset folder names as the base game (e.g. "sounds"), as some assets might not work otherwise. Keep in mind that adding new assets while the game is running might not take effect until rebooting it.
 
Almost all information about [[HPL2/TDD/Full Conversion Mod|TDD Full Conversions]] applies to MFP FCs. It is recommended to use the same asset folder names as the base game (e.g. "sounds"), as some assets might not work otherwise. Keep in mind that adding new assets while the game is running might not take effect until rebooting it.

Revision as of 20:56, 20 March 2023

Amnesia: A Machine for Pigs, developed by The Chinese Room, has no official documentation.

Being technically almost identical to TDD, MFP only requires documenting the changes between it and its predecessor. This page lists all found differences.

Note icon.png Due to the above reasons, majority of the documentation written for TDD also applies to MFP.


Contributing

Almost all of the information about MFP was reverse engineered by examining the existing map, entity and script files in text editors. If you wish to contribute, you can look for undocumented things in the same vein.

Tools

MFP can be modded using custom tools available here.

Installation

The original TDD tools are available here. Install them in the same way, but in the MFP directory.

It is recommended to download the community version tools because these include the fixes described in the "Patching the original editors" section.

Alert icon.png Warning: MFP is missing the SDL.dll file which the editors use. If you have TDD, just copy it from there to the main MFP folder. Otherwise, download the 32 bit version from the official website.

Patching the original editors

If you decide to use the original editors:

The TDD editors can't load certain MFP assets. To make the TDD tools load MFP files properly, you will need to mod them with custom config files. Simply drag the new files into your MFP folder and replace all files when prompted.

Note: the custom config files include hints made by the community. These are not official and lack information which couldn't be deducted from the files.

Known issues / solutions

Issue: LevelEditor crashing when the /enemies entity folder is picked.

  • Solution: Find the folder and delete all .msh files. These files are cache, and as such, don't hold anything important. They will be regenerated by the game.

Issue: Level Editor displays lights in a weird way.

  • Solution: None. Unfortunately, the Level Editor seems to have a portion of the TDD shaders hardcoded into it. This still needs to be fixed in the community tools.

Modding MFP

Custom Stories

You can use the version of MFP which enables Custom Stories. As per the license of the source code it was compiled from, you need to copy the license file if you redistribute the .exe file. Alternatively, you can just link that file for your players to download on their own.

If you use this method, Custom Stories in MFP work exactly the same as in TDD. The same limitations still apply (e.g. no custom lantern). Additionally, remember that MFP is missing some features when compared to TDD (e.g. allowing the player to access the inventory).

Note icon.png This is the recommended way of modding MFP at the moment.

Full Conversion

In order to create full conversion mods the same way as in TDD you need to download the file linked above.

You can download the FC mod template here. It is crucial to have experience with TDD full conversions before trying it with MFP.

Almost all information about TDD Full Conversions applies to MFP FCs. It is recommended to use the same asset folder names as the base game (e.g. "sounds"), as some assets might not work otherwise. Keep in mind that adding new assets while the game is running might not take effect until rebooting it.