How to "fix" corrupted Game Boy ROM’s?(CTF challenge)

Hi, I am trying a CTF challenge in which they have given me a Game Boy ROM file which has one corrupted byte, now I understand I need to reverse engineer this file and I decided to use Ghidra, but from some YouTube tutorial I saw there is a specific format Game Boy ROM for this to work in Ghidra but I can’t see that option I can only get Raw Binary Format and this doesn’t help much when I still move onto anyway

Another tutorial suggested to use VBA as in virtual boy advance evaluator and use it’s debugger to solve this challenge but maybe my system is not compatible (Mac m1) or maybe the file is already corrupted and the vba throws error that it can’t debug this

So anyone have any idea how to go around this problem?

P.S: I googled and it seems ghidra may have added GBA debugging in their app but only one article that helps to download it uses some docker and stuff to build that extension from ground above and I really don’t understand it and doubt it will be worth it to learn right now.

submitted by /u/Stunning-Ad-7400
[link] [comments]

October 31, 2023
Read More >>