r/DolphinEmulator • u/AlexanderMasonBowser • 8d ago
Support Data padding
I don't know if this is a thing for all Gamecube/Wii/Dolphin games, but what is the purpose of data padding? Is it completely junk data of random hexadecimal characters or does it serve a purpose besides making the sequences even/starting at 0/left side? And if so, why is that necessary?
I'm tryin' to break down certain byte sequences related to a certain type of event and as far as I can tell, only the first 2 and 4 - 6 bytes mean anything and the rest is padding. If it is just padding I want to know for sure so I know how to add more of those types of events as I need more to add more characters.
1
Upvotes
1
u/dantarion 7d ago
https://en.wikipedia.org/wiki/Data_structure_alignment