> For the complete documentation index, see [llms.txt](https://xeavin.gitbook.io/the-insurgents-toolkit/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xeavin.gitbook.io/the-insurgents-toolkit/features/menu-resource-pack-mrp-editor.md).

# Menu Resource Pack (MRP) Editor

### Description

A mrp holds information about one UI part of the game (e.g. Save Menu).

Each mrp contains a list of texture names and one or more groups which all have one or more entries. A group is a specific part of the UI (e.g. party member stats) where as an entry (e.g. status effect icon) is one content of that group.

### Examples

* Move around parts of UI.
* Change the scaling of a UI part.
* Change the color of a UI part.
* and much more.

### Usage

This editor can edit a mrp file from the following sources:

<table><thead><tr><th width="148">Source</th><th>Description</th></tr></thead><tbody><tr><td>MRP Pack</td><td>A binary file that contains 23 mrp files which are always loaded in memory.</td></tr><tr><td>MRP Menu</td><td>A directory that contains 8 mrp files which are only loaded when necessary, and overwritten if they are no longer needed.</td></tr></tbody></table>

The usage of this editor varies slightly depending on which file you modify.

{% tabs %}
{% tab title="MRP Pack" %}

1. Decide what you want to edit (e.g. Character Silhouette In Gambits Menu).
2. Click on the *File Selection* checkbox to expand the group.
3. Click on the value field of *Section Identifier* to open its drop-down list.
4. Select a section in the drop-down list (e.g. 11 : Gambits Menu).
5. Edit everything to your liking.

You can navigate through the list of groups and entries by modifying their respective *Identifiers.*
{% endtab %}

{% tab title="MRP Menu" %}

1. Decide what you want to edit (e.g. Character Image In Save Menu).
2. Click on the *File Selection* checkbox to expand the group.
3. Click on the value field of *File Identifier* to open its drop-down list.
4. Select a file in the drop-down list (e.g. 2 : save\_load).
5. Edit everything to your liking.

You can navigate through the list of groups and entries by modifying their respective *Identifiers.*

If the value of most fields in the editor consists of question marks, it means that the selected file is not currently loaded. So you have to force it by opening a menu that uses it, for example the Save Menu for the file *save\_load.mrp*.
{% endtab %}
{% endtabs %}

There is no way to know beforehand which group or entry correlates to which part of the UI. You can either guess it after viewing the data in the editor, or modify each entry until you notice a change in the UI part that you were searching for.

However, most groups and entries were already mapped in the `MRP Entries` spreadsheet from [Resources](/the-insurgents-toolkit/getting-started/resources.md). So I would heavily recommend that you work with it while modifying anything as otherwise you will have no idea what you are even changing.

### Save Changes

Depending on which file you want to export, the steps vary slightly.

{% tabs %}
{% tab title="MRP Pack" %}

1. Create the following directory structure: `ps2data\image\ff12\myoshiok\us\packfiles\mrppack_ys.bin.dir` (the [language directory name](/the-insurgents-toolkit/getting-started/important-notes.md#language-directory-name) may differ).
2. Click on the *File Selection* checkbox to expand the group.
3. Click on the value field of *Section Identifier* to open its drop-down list.
4. Select a section in the drop-down list (e.g. 11 : Gambits Menu).
5. Click on the checkbox of *Export Section To File* to expand the group.
6. Click on the checkbox of *Execute Script* to run the script.
7. Navigate into the directory from step 1: `mrppack_ys.bin.dir\...`
8. Confirm your choice by selecting save.
   {% endtab %}

{% tab title="MRP Menu" %}

1. Create the following directory structure: `ps2data\image\ff12\myoshiok\us\mrp_menu` (the [language directory name](/the-insurgents-toolkit/getting-started/important-notes.md#language-directory-name) may differ).
2. Click on the *File Selection* checkbox to expand the group.
3. Click on the value field of *File Identifier* to open its drop-down list.
4. Select a file in the drop-down list (e.g. 2 : save\_load).
5. Click on the checkbox of *Export Section To File* to expand the group.
6. Click on the checkbox of *Execute Script* to run the script.
7. Navigate into the directory from step 1: `mrp_menu\...`
8. Confirm your choice by selecting save.
   {% endtab %}
   {% endtabs %}

Repeat steps 3-8 if you wish to export another section/file. Once you are done, create an archive (.7z, .zip, .rar etc.) out of the root directory (ps2data) and install it (e.g. Vortex).

### Notes

{% hint style="danger" %}
A mrp file from the mrp\_menu directory will be overwritten whenever it is no longer needed any more. Therefore, if you intent on keeping any of your changes, make sure to export them before.
{% endhint %}

{% hint style="warning" %}
Since this editor works with the currently loaded .mrp files in memory, all changes applied to the them via mods will already be present. Hence why you can simply export your changes, install it as a mod, and continue working where you left of the last time. However, this means that you have to be very mindful with which mods you have active while working on yours as otherwise you will unknowingly work on top of the changes of other mods.
{% endhint %}

{% hint style="info" %}
Any changes to a mrp will not have an effect until the game accesses it again to redraw the related UI section. To force it, you need to guess what might result in the game needing to redraw it. For example, if you modify the position of a character's HP in the party stats menu, any changes to the character's HP will result it in being redrawn again.

Worst case scenario, you need to reopen the entire UI part again (party menu, save menu, etc.), or enter a new location which can also trigger it.
{% endhint %}

{% hint style="info" %}
Loading the exported files of this editor require the [FF12 External File Loader](https://www.nexusmods.com/finalfantasy12/mods/170) to be installed.
{% endhint %}

{% hint style="info" %}
For a detailed list of all the information available in this editor, you can view the mrp entries spreadsheet in [Resources](/the-insurgents-toolkit/getting-started/resources.md).
{% endhint %}
