Download
What is this?
This is an attempt to do CTF (capture the flag), which is often done at computer security conferences such as defcon, at ROMHack.
CTF is a competition to find the hidden passcode faster than anyone else by decrypting binary data and ciphers.
You have to fix the glitch in the game and find the passcode by looking at the EndEvent.
Once you find the passcode, please take a screenshot of the game and post it.
Please do not use Ctrl+U in the FEBuilderGBA debugger, etc. to directly display the EndEvent.
It would be great if you could also post when you have created an interesting problem.
Let’s deepen our understanding of the game by experiencing and solving glitch.
Q1:
Glitch in enemy turn.
Difficulty: low
Model answer:
This is because this enemy unit is positioned out of range.
Simply moving him to the correct position will solve this problem.
password:
Q2:
Collapsing world.
Difficulty: low
Model answer:
This is because you forgot the instruction to turn off the background.
This can be solved by simply adding an instruction to turn off the background.
password:
Q3:
Missing a weapon. Where is Merlinus?
Difficulty: Middle
Model answer:
This is because Supply is checked in Ability2 for both the Merlinus character and the class Transporter.
This feature is inherited by FE8 from FE7.
Units with this Ability will not appear on the Prepare screen.
Therefore, the solution is to turn off both of these checks.
This brings Merlinus to the preparation screen, where you can select him as a unit.
He has a Super sword which is very strong and you can use it to clear the game.
password:
Q4:
Missing DeathQuote
For some reason, the event battle with the boss does not occur, and the DeathQuote is not displayed, even though it should be set correctly.
Difficulty: Hard
Model answer:
This is because the game engine misunderstands that the screen remains dark.
After darkening the screen with FADI, you must issue FADU, etc. to restore the screen to its original state.
However, if you start a conversation with Dialog (TEXTSTART) after FADI, for some reason, the screen goes blank and the game engine operates normally.
However, the game engine recognizes that the screen is still dark, so the issuance of event combat is ignored.
Since no event combat occurs, no DeathQuote is generated.
Issuing a FADU just before the event combat will work correctly.
password:
Q5:
Unopenable treasure chest
Somehow you are unable to retrieve the item from the treasure chest.
Difficulty: Middle
Model answer:
This is because the designation of treasure chest and empty chest is reversed in tileset.
In FE8U, both are displayed as chest, so it is easy to make a mistake.
You have to be careful when creating a custom tileset.
In FEBuilderGBA, because it is confusing, the treasure chest tile is shown as chest and the empty box tile as chest [empty].
password:
Q6:
After 2 minutes, the world collapses.
Difficulty: Middle
Model answer:
This is because the music data is corrupted.
In this case, I broke it by forcefully rewriting the address of the GOTO jump destination for this track using hex editor.
If I re-import a different song, it works correctly.
If you change the Map BGM to a different song, you can still solve the puzzle.
Failure to check the music data can cause this strange situation.
When testing, it is recommended to use frame skipping and listen to one loop of the song.
If you have a large amount of data, you may want to put SoundRoom in random playback mode and leave it overnight to see what happens.
password:
Q7:
Cannot display menu
Difficulty:Hard (ASM, report7z)
Model answer:
Since this is report7z, you can use the diff debug tool to solve this problem.
Start the diff debug tool from MENU->Tools.
The data is listed in chronological order, so find the last backup that was working correctly.
With the last correctly working backup selected, take a diff diff. 4.
This time there was only one diff.
Let’s merge this one for now.
Press F5 and you will see that it works correctly.
Problem solved.
This is because the Hook address in the patch that anyone can use Supply is wrong.
This time I forced the address destruction with hex editor to create this CTF07.
It is quite difficult to track down the problem with ASM, but with the diff debug tool, I can see that the problem can be easily fixed.
password: