This repository contains the ProtoBuf .proto
files needed to decode the PokémonGo RPC.
If you want to know which messages are implemented right now, click here.
Current recommended protoc version: "Protocol Buffers v3.0.0-beta-4".
You can find download links here.
Be sure to add protoc
to your environmental path.
Ensure that you have the newest version of protoc
installed.
Use homebrew
to install protobuf
with brew install --devel protobuf
.
There are two ways to compile POGOProtos.
Run python compile_single.py
to compile everything to a single file.
- Add the
-l
or--language
flag to compile to whatever language you need, the default is C#. - Add the
-o
or--output
flag to set an output directory, the default isout
. - Add the
-d
or--desc_file
flag to only generate a descriptor file,POGOProtos.desc
will be written to the specified output directory.
Run python compile.py
to recursively compile everything.
- Add the
-l
or--language
flag to compile to whatever language you need, the default is C#. - Add the
-o
or--output
flag to set an output directory, the default isout
.
You can find all available languages here https://github.com/google/protobuf.
If you don't want to compile POGOProtos but instead use it directly, check out the following repository.
More will be added later when most proto files are added.
Language | Source |
---|---|
NodeJS | https://github.com/rastapasta/node-pokemongo-protobuf |