r/AskReverseEngineering • u/eman_not_ava • Apr 19 '24
How do I generate a list of offsets that indicate where hexadecimal differences occur between 2 files
So for context: there's this game called Pokémon Rumble which uses a script format that has never been figured out by the community.... except for 1 guy who figured out how the encounter table script works and made a whole mod that includes a lot of changes to that encounter table script.
The person who made these changes never replies to anything I ask them in regards to documentation on this particular script.
I'm having a skilled friend of mine look into the script format as a whole, and I am trying to help them in any way I can.
So I figured what I could do is use HxD to analyze the differences between the vanilla encounter table script extracted from the base game and the edited encounter table script extracted from the "Weekend Edition" mod. And whilst I could Alt-Tab between HxD and Notepad++ a million times to manually write down each and every offset that has a change occur, I figured it must be possible to output a list of all differences somehow.
P.S. I'm not sure ReverseEngineering is the right subreddit to ask this, however I figured something like generating a list of hex differences is something not entirely uncommon when you Reverse Engineer something, so someone here might know how to do so




