Skip to content

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

License

Notifications You must be signed in to change notification settings

jaschac/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.1 v0.191.2 Compatible Protocol Buffers v3.14.0
2.53.0 v0.191.2 Compatible (rpc only) This version cant not uses base/raw* but uses base/v0.191.2.proto
2.52.9 v0.191.0 Obfuscated (auto clean test) Protocol Buffers v3.13.0
2.52.7 v0.187.x 3/4 cleanned Protocol Buffers v3.13.0
2.52.2 v0.181.0 * ( or base.proto) * Compatible Protocol Buffers v3.13.0

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 -1 -k:
 - v0.191.2.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

Compile src with rpc

  • python compile_base.py -g -r -1 (Generate new Rpc.proto)
  • python compile_src.py cpp [Optional --include_imports --include_source_info --generate_desc]

Addons as json

Additional resources Source Status
V2_GAME_MASTER Root OK
GAME_MASTER Root OK
ASSET_DIGEST Root OK

Code sources initial and credits

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%