You don't need to edit anything with the hex editor. Marvel4 already shared his conversion scripts on Gametoast: https://www.gametoast.com/viewtopic.php?f=64&t=24321
The last link is exactly what you're looking for. I hope it helps.
The last link is exactly what you're looking for. I hope it helps.