Skip to content

zzymyn/gpg-batch-uploader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

gpg-batch-uploader

Google Play Games batch uploader.

This script will batch update Google Play Games localizations for achievements and leaderboards.

How to use

  1. Get the BulkUploader.js file.

  2. Set gpgGameId to your Google Play Games application id.

  3. Fill out/generate the "achievements" structure with all your localizations, here is the spec:

     var achievements = [
       {
         "id": "xxxxxxxxx-xxxxxxxx",
         "position": 1,
         "locales": [
           {
             "code": "locale-code",
             "title": "title text",
             "desc": "desc text",
           },
           // more locales...
         ],
       },
       // more achievements...
     ];
    
  4. Fill out/generate the "leaderboards" structure with all your localizations, here is an example:

      var leaderboards = [
       {
         "id": "xxxxxxxxx-xxxxxxxx",
         "position": 1,
         "locales": [
           {
             "code": "locale-code",
             "title": "title text",
             "suffix": " points",
             "suffixSingular": " point",
             "suffixMany": " points", // only used in ru-RU?
           },
           // more locales...
         ],
       },
       // more leaderboards...
     ];
    
  5. Navigate to the Google Play developer console and paste the entire BulkUploader.js file into the javascript console in Chrome.

About

Google Play Game Services batch localization uploader

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published