The contents of this repo are a proof of concept and are for educational use only
This repository contains the ProtoBuf .proto
files needed to decode the PokémonGo RPC.
We are following semantic versioning for POGOProtos. Every version will be mapped to their current PokémonGo version.
Version | Base | Notes | Extra |
---|---|---|---|
2.53.7 | v0.199.0 | Updated (/base/base.proto) | Protocol Buffers v3.14.0 |
Additional resources as *.json files | Source | Status |
---|---|---|
v2_GAME_MASTER.json | Root | OK |
GAME_MASTER.json | Root | OK |
ASSET_DIGEST.json | Root | OK |
Additional resources as *.txt files | Source | Status |
---|---|---|
v2_GAME_MASTER.txt | Root | OK |
ASSET_DIGEST.txt | Root | OK |
If you want to figure out the current version in an automated system, use this file. .current-version Note: This file will contain pre-release versions too.
Current recommended protoc version: "Protocol Buffers v3.14.0". 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
.
The compilation creates output specifically for the target language, i.e. respecting naming conventions, etc.
This is an example of how the generated code will be organized:
- Note: the *.desc file is auto created in this function
python compile_base.py -l cpp -k:
- v0.199.0.proto -> out/single_file/cpp/POGOProtos.Rpc.desc
- -> out/single_file/cpp/POGOProtos.Rpc.pb.cc
- -> out/single_file/cpp/POGOProtos.Rpc.pb.h
- -> out/single_file/cpp/POGOProtos.Rpc.proto
python compile_base.py -l csharp -k
python compile_base.py -l java -k
python compile_base.py -l js -k
python compile_base.py -l python -k
python compile_base.py -l php -k
python compile_base.py -l objc -k
python compile_base.py -l ruby -k
* python compile_base.py -l swift -k
* python compile_base.py -l go -k
* python compile_base.py -l lua -k
* python compile_base.py -l dart -k
* = Needs plugins
python compile_base.py -gm [./BIN] (as txt)
python compile_base.py -ga [./BIN] (as txt)