celandro/pokebattler-fight

Move pokemongo.json file to a seperate repository

BrunnerLivio opened this issue ยท 6 comments

Is it possible to move the pokemongo.json, and everything whats needed to fetch the data for it to a seperate repository?

The benefits are from it:

  • Easier to find the latest Pokemongo GAME_MASTER file using google
  • Better version control
  • Cleaner project
  • When I have a project, which needs the latest GAME_MASTER file, I don't want to depend on a "pokebattler-fight" repository, because it actually does not have anything to do with my project

I hope you understand, what I'm trying to say :)

sp00x commented

It would be good with an archive of older versions also, as the legacy moves are not visible in the always-latest-version

I can move it to a java repo that will have all the compiled protos, the binary gamemaster and the json gamemaster when I have some free time. My biggest issue is I can no longer get the binary game master file out of the android cache directory so I am dependent on others to update

I uploaded the last one two days ago. I don't think there's a new one but in case there is, I can reupload it too. https://gist.github.com/hacknug/924b0a61b7404deceb17e04d3409910f

@sp00x good idea!
@celandro I think as soon as projects depend on it, someone is going to constantly update the GAME MASTER file. And as it has shown on reddit, it is some interest around this topic. I don't think this will be an issue

Are we going to create a Github organisation or does anyone want to maintain the repository on their account?

And before we are going to create a repository; how are we going to structure it?
My suggestion is:

โ”œโ”€โ”€ bin
โ”‚   โ””โ”€โ”€ update_gamemaster.sh
โ””โ”€โ”€ versions
    โ”œโ”€โ”€ 0.57.1
    โ”‚   โ”œโ”€โ”€ GAME_MASTER.json
    โ”‚   โ””โ”€โ”€ GAME_MASTER.protobuf
    โ”œโ”€โ”€ 0.57.2
    โ”‚   โ”œโ”€โ”€ GAME_MASTER.json
    โ”‚   โ””โ”€โ”€ GAME_MASTER.protobuf
    โ””โ”€โ”€ latest
        โ”œโ”€โ”€ GAME_MASTER.json
        โ””โ”€โ”€ GAME_MASTER.protobuf

I created a repository. I can move it to an organisation later, if you want to. I added @hacknug protobuf file and @celandro json file. Thanks for that!

Happy if you contribute in any way to the repository!

That repo needs to have the json generator added as a script. Probably need another repository that provides the compiled Java classes of the protos as well. I may have time this weekend to work on it