A bundle of tools related to text editing Fox Engine / MGSV Ground Zeroes files.
This bundle contains the following tools:
Name | Description |
---|---|
FfntTool | Font unpacker/repacker |
LangTool | String table unpacker/repacker |
SubpTool | Subtitle unpacker/repacker |
Microsoft .NET Framework 4.5
Repacking might lead to crashes or endless loading times with the current version. This is due to not every value being saved in the xml file.
A Fox Engine bitmap font (.ffnt) unpacker and repacker.
FfntTool file_path [output_path]
Unpacking a font file. This will create the file called KanjiFont.ffnt.xml and a folder called KanjiFont. The font bitmaps will be exported as png files to the KanjiFont folder. Each layer of the bitmap font is exported as a single black and white png image.
FfntTool KanjiFont.ffnt
Repacking a font file. This will create the file called KanjiFont.ffnt. The bitmap font layers will be read and merged. Only pixels with the color white will be included in the resulting font.
FfntTool KanjiFont.ffnt.xml
A Fox Engine localizable string table (.lng) unpacker and repacker. Uses a dictionary to recover langId strings. Supplied lang_dictionary.txt is combined TPP/MGO Check https://github.com/TinManTex/mgsv-lookup-strings for updated dictionaries.
LangTool file_path [-OutputHashes]
-Dictionary Specify file path of dictionary to use. Defaults to lang_dictionary.txt
-OutputHashes | -o Outputs all StrCode32 langId Key hashes of the lng being processed to _langIdHashes.txt
Unpacking an .lng file. This will create the file gz_menu.lng#eng.xml.
LangTool gz_menu.lng#eng
Repacking an .lng file. This will create the file gz_menu.lng#eng
LangTool gz_menu.lng#eng.xml
A Fox Engine subtitle pack unpacker and repacker. Supplied subp_dictionary.txt is currently TPP only. Check https://github.com/TinManTex/mgsv-lookup-strings for updated dictionaries.
SubpTool file_path [-<encoding>] [-OutputHashes]
Encoding: The language of the file may be specified to correctly decode certain subtitles. Not specifying a language option will default to the ISO-8859-1 (Latin 1) encoding.
Option | Language | Encoding |
---|---|---|
-eng | English | ISO-8859-1 |
-fre | French | ISO-8859-1 |
-ger | German | ISO-8859-1 |
-ita | Italian | ISO-8859-1 |
-spa | Spanish | ISO-8859-1 |
-rus | Russian | ISO-8859-5 |
-ara | Arabic | UTF-8 |
-jpn | Japanese | UTF-8 |
-por | Portuguese | UTF-8 |
-OutputHashes Outputs all StrCode32 subtitleId Key hashes of the lng being processed to _subtitleIdHashes.txt
Unpacking a subtitle package.
SubpTool common.subp
Unpacking an encoded subtitle package.
SubpTool -jpn JpnText\common.subp
Repacking a subtitle package.
SubpTool common.subp.xml