Skip to content

A central repository for all proto files of PokémonGO.

License

Notifications You must be signed in to change notification settings

Fabio1988/POGOProtos

 
 

Repository files navigation

POGOProtos Build Status Donate

alt text The contents of this repo are a proof of concept and are for educational use onlyalt text


This repository contains the ProtoBuf .proto files needed to decode the PokémonGo RPC.


Versioning

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

Addons

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

Usage

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.

Preparation

Current recommended protoc version: "Protocol Buffers v3.14.0". You can find download links here.

Windows

Be sure to add protoc to your environmental path.

*nix

Ensure that you have the newest version of protoc installed.

OS X

Use homebrew to install protobuf with brew install --devel protobuf.

Compilation

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:

Compile last raw
  • 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
Same similar outputs up but others langs:
  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

Decode Game Master or Asset Digest:
  python compile_base.py -gm [./BIN] (as txt)
  python compile_base.py -ga [./BIN] (as txt)

Initial UpStream

About

A central repository for all proto files of PokémonGO.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%