The Hundred Line -Last Defense Academy-

The Hundred Line -Last Defense Academy-

Not enough ratings
Editing Chapter Select jump points to teleport around the school (Modding Part 5)
By ph0ne (greatijedi)
A guide for how to modify the game's Chapter Select to teleport you to various locations.
   
Award
Favorite
Favorited
Unfavorite
Objective
The objective of the mod this guide will create is threefold:

  • Trick the game into thinking that a "Before Decision" jump point is actually after a decision.
  • Move the jump point to an earlier event.
  • Teleport to a location of your choice. (In this case, it will be Darumi's Room).

Part 1-3 of my Modding series will tell you what tools you need.
Decompiling and editing the mbe files
There are several things we must decompile.

For this guide, I will be editing the portion of Day 4 that occurs before the decision that day, when Eito is no longer available.

First, you'll want to make sure that your app_0 folder has the contents of patch_0 pasted over it. patch_0 has a critical file we need, and its format differs from the app_0 version.

Then, decompile the following mbe files with MBEPacker (or a suitable replacement):
  • event_info_s14_0_00.mbe from app_0
  • field_chapter_select.mbe from app_0 (which should be the version from patch_0)
  • field_map_name.mbe from patch_text01

Begin by opening field_chapter_select.json. Head down to the last two records that have the text "s14_0_00_d004". The first one should have a JumpType of 1 - this is the jump point that send you to the start of the day. The one we want is the record with a JumpType of 2.

First, change the 2 to a 3. This will mark the jump point as an "After Decision".

The StoryProgress of the record should be 40. Open event_info_s14_0_00.json, and find the records where the Day is set to 4. Each of these records should have a StoryProgress set, in increasing order. Our jump point targets the event with story progress 40; return to field_chapter_select, and change the jump point's StoryProgress to 30 instead. This will trigger the story section just before the one it usually goes to.

Finally, open field_map_name.json. Search for Darumi's Room (or another suitable location of your choice). Copy the integer value in ID, and paste it over the value in MapID in our jump point record.

When you're done, the jump point record should look like this:
Deployment
Repack field_chapter_select.json into a mbe, put it in data, and repack patch_1.dx11.mvgl. Move it to gamedata. Then, load the game, and use Chapter Select to reach the jump point.

Video demonstration of the results: