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?

  • What are these "packet structures"? Network, in-game data?
    – Jongware
    Dec 17, 2016 at 18:33
  • Please use the edit link next time, don't post an "answer" with missing info
    – Igor Skochinsky
    Dec 17, 2016 at 22:05

1 Answer 1


There is no automated way (as far as I know) for that. The most common approach is examining sender and receiver processes and their communications. Another thing is packet (or frame) doesn't matter if you don't mind about communication protocols. It is operating system's, hardware interface's and drivers' (or modules') business.Your interest is raw data communication that your game uses.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.