The Hundred Line -Last Defense Academy-

The Hundred Line -Last Defense Academy-

Not enough ratings
Creating the most basic mod possible (Modding Part 1)
By ph0ne (greatijedi)
Steps for making the most basic mod possible - introducing a typo into the game text.
   
Award
Favorite
Favorited
Unfavorite
Getting Started
This mod requires minimal tools to make. You will need:

THL Tools - https://github.com/er1t-h/thl-tools/tree/main (Acquire by doing "download zip" and extracting to a directory)
Hxd - https://mh-nexus.de/en/hxd/
Rust - https://www.rust-lang.org/tools/install (Download installer and install)

Our goal here is to intentionally misspell the Game Option "Graphics" as "Graaaaas".
Extracting the files
Create a working directory for storing the extracted files. I am using F:\HundredLine\HundredLineMBE\patchText.

Then, navigate to where you extracted THL Tools, and execute this command (in Command Prompt, or shell) to extract the game files from a relevant mvgl file. :
cargo x [path to Hundred Line gamedata folder]\patch_text01.dx11.mvgl [extraction directory]

In my case, I would execute the following command to extract from the relevant file. I included quotes around my gamedata path due to the spaces:
cargo x "F:\SteamLibrary\steamapps\common\The Hundred Line -Last Defense Academy-\gamedata\patch_text01.dx11.mvgl" F:\HundredLine\HundredLineMBE\patchText

This will populate the extraction folder with the relevant game files.

Making the edit
Navigate to [extraction folder]\text. Open the file named option_category_name.mbe with Hxd. Scroll down and replace the necessary characters to turn "Graphics" into "Graaaaas". Do not change the file size.

When you save, Hxd will create a backup file (option_category_name.mbe.bak). Delete this backup file.

When the change is made, it's time to repack the mvgl file. Pack the file into a location separate from gamedata - it's best to avoid overwriting a file by accident.

You can pack the extracted files with this command after navigating to THL Tools in Command Prompt or shell:
cargo p [extraction folder] [packed files folder]\patch_text01.dx11.mvgl

In my case, I'm sending the packed file to the folder above my extraction folder. For me, this is:
cargo p F:\HundredLine\HundredLineMBE\patchText F:\HundredLine\HundredLineMBE\patch_text01.dx11.mvgl
Deployment
Make sure you have a backup of the gamedata patch_ files, just in case you need the originals later.

When the file is packed, move the generated patch_text01.dx11.mvgl file to Hundred Line's gamedata folder, and overwrite. Then launch.

You should see the altered text in Options: