Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/BrunnerLivio/deprecated-pokemongo-game-master

:warning: DEPRECATED - LOOK README :warning: This repository is collection of the decoded GAME_MASTER-protobuf files
https://github.com/BrunnerLivio/deprecated-pokemongo-game-master

game-master json pokemongo protobuf

Last synced: about 2 months ago
JSON representation

:warning: DEPRECATED - LOOK README :warning: This repository is collection of the decoded GAME_MASTER-protobuf files

Awesome Lists containing this project

README

        

> :warning: DEPRECATED :warning:
>
> THIS REPOSITORY HAS MOVED TO [pokemongo-dev-contrib/pokemongo-game-master](https://github.com/pokemongo-dev-contrib/pokemongo-game-master)
>
> DO NOT FURTHER USE THIS REPOSITORY

# pokemongo-game-master

[![Online Users in pokemongo-game-master Discord Server](https://discordapp.com/api/guilds/293741011665027073/embed.png)](https://discord.gg/ssVqwvX)

This repository is collection of the decoded GAME_MASTER-protobuf files

## Contribute

This project heavily relies on the help of you. So please contribute.

### Add a new version

#### Dependencies

- [Docker](https://www.docker.com/)

You can use the `./bin/add-version.sh` script (Linux only)

```bash
cd pokemongo-game-master
cp ~/your/GAME_MASTER.protobuf .

# Latest version
./bin/add-version.sh -f ./GAME_MASTER.protobuf -v "0.85.3" --latest # Adds the new version "0.85.3", which is the latest version

# Older Version
./bin/add-version.sh -f ./GAME_MASTER.protobuf -v "0.82.1" # Adds the new version "0.82.1", which is NOT the latest version
```

[Or from scratch (Windows / Linux)](doc/ADDVERSION.md)

### Commits

We use [this standard](https://github.com/erlang/otp/wiki/Writing-good-commit-messages).

## Third party

### Bash

If you want to have the latest GAME_MASTER version as a developer, you can use
```bash
wget https://raw.githubusercontent.com/pokemongo-dev-contrib/pokemongo-game-master/master/versions/latest/GAME_MASTER.json
```

### NodeJS

#### Installation

```bash
npm i -s pokemongo-game-master
```

#### Usage

```JavaScript
const gameMaster = require('pokemongo-game-master');

gameMaster.getVersion('latest', 'json').then(console.log); // Returns as object: { itemTemplates: [ ... ], timestampMs: '1512514949791' }
gameMaster.getVersion('0.83.3', 'protobuf').then(console.log); // Returns the version 0.83.3 as string
```

### Projects

- [pokemongo-json-pokedex](https://github.com/pokemongo-dev-contrib/pokemongo-json-pokedex) - GAME_MASTER data normalized to better processable data

## Contributors

Livio Brunner <[email protected]>

Ryan Barker <[email protected]>