
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 | API | Notes | Extra |
|---|---|---|---|
| 2.37.0 | 0.129.1 | Compatible | Protocol Buffers v3.6.1 |
If you want to figure out the current version in an automated system, use this file.
https://raw.githubusercontent.com/Furtif/POGOProtos/master/.current-version
Note: This file will contain pre-release versions too.
Current recommended protoc version: "Protocol Buffers v3.6.1".
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:
python compile.py cpp:
- POGOProtos/Data/PlayerData.proto -> POGOProtos/Data/PlayerData.pb.cpp
python compile.py csharp:
- POGOProtos/Data/PlayerData.proto -> POGOProtos/Data/PlayerData.g.cs
python compile.py go:
- POGOProtos/Data/*.proto -> github.com/aeonlucid/pogoprotos/data
- POGOProtos/Data/PlayerData.proto -> github.com/aeonlucid/pogoprotos/data/player_data.pb.go
python compile.py java:
- POGOProtos/Data/*.proto -> com/github/aeonlucid/pogoprotos/Data.java
python compile.py js:
- POGOProtos/**/*.proto -> pogoprotos.js
python compile.py objc:
- POGOProtos/Data/PlayerData.proto -> POGOProtos/Data/PlayerData.pbobjc.m
python compile.py python:
- POGOProtos/Data/*.proto -> pogoprotos/data/__init__.py
- POGOProtos/Data/PlayerData.proto -> pogoprotos/data/player_data_pb2.py
python compile.py ruby:
- POGOProtos/Data/*.proto -> pogoprotos/data.rb
- POGOProtos/Data/PlayerData.proto -> pogoprotos/data/player_data.rb
- Run
python compile.py --helpfor help. - 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.
| Language | Source | Status |
|---|---|---|
| NodeJS | https://github.com/pogosandbox/pogobuf | OK |
| NodeJS (pure JS) | https://github.com/pogosandbox/node-pogo-protos | OK |
| .NET (nuget pack) | https://www.nuget.org/packages/POGOProtos.Core | OK |
| Swift | https://github.com/123FLO321/POGOProtos-Swift | OK |
| PHP | https://github.com/jaspervdm/pogoprotos-php | OUTED |
| Go | https://github.com/pkmngo-odi/pogo-protos | OUTED |
| Haskell | https://github.com/relrod/pokemon-go-protobuf-types | OUTED |
| Rust | https://github.com/rockneurotiko/pokemon-go-protobuf-rs | OUTED |
| Java | https://github.com/pokemongo-dev-contrib/pogoprotos-java | OK |
| Additional resources | Source | Status |
|---|---|---|
| Gamemaster Json | https://github.com/pokemongo-dev-contrib/pokemongo-game-master | OK |