I'm trying to reverse engineer a game with the goal of creating an emulator.
I want to know how to get the structure of a network packet of a game whether it is client or server.
Example (Random) Client -> Server: XX XX XX XX XX XX XX XX XX XX XX XX XX
Structure: uint16: 10 - byte: 3 - int16: 300
I just want to know how to get the type of each byte is.
I already gathered a few packet structures from publically available repos. I want to know how everyone does this? Is there a tool out there that helps with getting structures?