Skip to content

Commit

Permalink
Android: Add Playstore metadata and helper tools
Browse files Browse the repository at this point in the history
Including screenshots, icons and translations.
Uses the fastlane gem.
Prequisites for EasyRPG#415.
  • Loading branch information
carstene1ns committed Oct 12, 2017
1 parent 3e38c4b commit 3bfa73c
Show file tree
Hide file tree
Showing 52 changed files with 458 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .tx/config
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,10 @@ source_file = builds/android/app/src/main/res/values/strings.xml
source_lang = en
lang_map = pt_BR: pt-rBR, zh_TW: zh-rTW
type = ANDROID

[player-android.playstorexml]
file_filter = builds/android/metadata/<lang>/playstore.xml
source_file = builds/android/metadata/en-US/playstore.xml
source_lang = en
lang_map = de: de-DE, es: es-ES, hu: hu-HU, ja: ja-JP, ko: ko-KR, pt_BR: pt-BR, ru: ru-RU, zh: zh-CN, zh_TW: zh-TW
type = ANDROID
10 changes: 10 additions & 0 deletions builds/android/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,13 @@ app/src/main/jniLibs

### Android Patch ###
gen-external-apklibs

# Bundler artifacts
.bundle
vendor/bundle

# immediate translation files
metadata/*/playstore.xml

# immediate changelog files
metadata/en-US/changelogs/*.txt
3 changes: 3 additions & 0 deletions builds/android/Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source "https://rubygems.org"

gem "fastlane"
138 changes: 138 additions & 0 deletions builds/android/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
GEM
remote: https://rubygems.org/
specs:
CFPropertyList (2.3.5)
addressable (2.5.1)
public_suffix (~> 2.0, >= 2.0.2)
babosa (1.0.2)
claide (1.0.2)
colored (1.2)
colored2 (3.1.2)
commander-fastlane (4.4.5)
highline (~> 1.7.2)
declarative (0.0.9)
declarative-option (0.1.0)
domain_name (0.5.20170404)
unf (>= 0.0.5, < 1.0.0)
dotenv (2.2.1)
excon (0.58.0)
faraday (0.12.2)
multipart-post (>= 1.2, < 3)
faraday-cookie_jar (0.0.6)
faraday (>= 0.7.4)
http-cookie (~> 1.0.0)
faraday_middleware (0.12.2)
faraday (>= 0.7.4, < 1.0)
fastimage (2.1.0)
fastlane (2.50.1)
CFPropertyList (>= 2.3, < 3.0.0)
addressable (>= 2.3, < 3.0.0)
babosa (>= 1.0.2, < 2.0.0)
bundler (>= 1.12.0, < 2.0.0)
colored
commander-fastlane (>= 4.4.5, < 5.0.0)
dotenv (>= 2.1.1, < 3.0.0)
excon (>= 0.45.0, < 1.0.0)
faraday (~> 0.9)
faraday-cookie_jar (~> 0.0.6)
faraday_middleware (~> 0.9)
fastimage (>= 2.1.0, < 3.0.0)
gh_inspector (>= 1.0.1, < 2.0.0)
google-api-client (>= 0.12.0, < 0.13.0)
highline (>= 1.7.2, < 2.0.0)
json (< 3.0.0)
mini_magick (~> 4.5.1)
multi_json
multi_xml (~> 0.5)
multipart-post (~> 2.0.0)
plist (>= 3.1.0, < 4.0.0)
rubyzip (>= 1.1.0, < 2.0.0)
security (= 0.1.3)
slack-notifier (>= 1.3, < 2.0.0)
terminal-notifier (>= 1.6.2, < 2.0.0)
terminal-table (>= 1.4.5, < 2.0.0)
tty-screen (~> 0.5.0)
word_wrap (~> 1.0.0)
xcodeproj (>= 1.4.4, < 2.0.0)
xcpretty (>= 0.2.4, < 1.0.0)
xcpretty-travis-formatter (>= 0.0.3)
gh_inspector (1.0.3)
google-api-client (0.12.0)
addressable (~> 2.5, >= 2.5.1)
googleauth (~> 0.5)
httpclient (>= 2.8.1, < 3.0)
mime-types (~> 3.0)
representable (~> 3.0)
retriable (>= 2.0, < 4.0)
googleauth (0.5.3)
faraday (~> 0.12)
jwt (~> 1.4)
logging (~> 2.0)
memoist (~> 0.12)
multi_json (~> 1.11)
os (~> 0.9)
signet (~> 0.7)
highline (1.7.8)
http-cookie (1.0.3)
domain_name (~> 0.5)
httpclient (2.8.3)
json (2.1.0)
jwt (1.5.6)
little-plugger (1.1.4)
logging (2.2.2)
little-plugger (~> 1.1)
multi_json (~> 1.10)
memoist (0.16.0)
mime-types (3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2016.0521)
mini_magick (4.5.1)
multi_json (1.12.1)
multi_xml (0.6.0)
multipart-post (2.0.0)
nanaimo (0.2.3)
os (0.9.6)
plist (3.3.0)
public_suffix (2.0.5)
representable (3.0.4)
declarative (< 0.1.0)
declarative-option (< 0.2.0)
uber (< 0.2.0)
retriable (3.1.1)
rouge (2.0.7)
rubyzip (1.2.1)
security (0.1.3)
signet (0.7.3)
addressable (~> 2.3)
faraday (~> 0.9)
jwt (~> 1.5)
multi_json (~> 1.10)
slack-notifier (1.5.1)
terminal-notifier (1.8.0)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
tty-screen (0.5.0)
uber (0.1.0)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.4)
unicode-display_width (1.3.0)
word_wrap (1.0.0)
xcodeproj (1.5.1)
CFPropertyList (~> 2.3.3)
claide (>= 1.0.2, < 2.0)
colored2 (~> 3.1)
nanaimo (~> 0.2.3)
xcpretty (0.2.8)
rouge (~> 2.0.7)
xcpretty-travis-formatter (0.0.4)
xcpretty (~> 0.2, >= 0.0.7)

PLATFORMS
ruby

DEPENDENCIES
fastlane

BUNDLED WITH
1.15.3
12 changes: 12 additions & 0 deletions builds/android/changelog.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/sh
#
# generates a short changelog from git merges since last release
# by carstene1ns 2017, released in the public domain

release=`git describe --abbrev=0 --tags`
hashes=`git rev-list $release..master --merges --simplify-merges --reverse --max-count=5`

echo "Latest 5 changes since $release release:"
git show -s --format="- %b" $hashes

echo "Changes in the last release: https://blog.easyrpg.org/category/release/"
5 changes: 5 additions & 0 deletions builds/android/fastlane/Appfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# fastlane global config

package_name "org.easyrpg.player"
# useful for local configuration:
#json_key_file "/path/to/our/key.json"
24 changes: 24 additions & 0 deletions builds/android/fastlane/Fastfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# fastlane task config

# disable usage tracking
opt_out_usage

lane :beta do
gradle(
task: 'assemble',
build_type: 'Release'
)

supply(
track: 'beta'
)
end

lane :playstore do
gradle(
task: 'assemble',
build_type: 'Release'
)

supply
end
26 changes: 26 additions & 0 deletions builds/android/fastlane/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@

Fastlane installation (execute in parent folder):

bundle install --binstubs --path vendor/bundle

Then you can use to push apk+metadata directly (requires finished gradle step):

bin/fastlane supply --track beta # for beta
bin/fastlane supply # for releases

There are some useful options/environment variables:

--skip_upload_images or SUPPLY_SKIP_UPLOAD_IMAGES
--skip_upload_screenshots or SUPPLY_SKIP_UPLOAD_SCREENSHOTS

NOTE: Connecting to the Google Play Api needs a json key (can be generated by the
Play Console). You can either use the `Appfile` to provide it or use --json_key
(or set SUPPLY_JSON_KEY=/path/to/file.json).

---

Maybe in the future we can even use the lanes described in the Fastfile to invoke
gradle and supply:

bin/fastlane beta # for beta
bin/fastlane playstore # for releases
7 changes: 7 additions & 0 deletions builds/android/metadata/be/full_description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
EasyRPG Player — гэта праграма, якая дазваляе гуляць у гульні, створаныя ў RPG Maker 2000 ды RPG Maker 2003 (навейшыя RPG-рухавікі, такія як XP, VX, VX Ace і MV, не падтрымліваюцца).

Дамашняя старонка: https://easyrpg.org/
Спіс змен: https://blog.easyrpg.org/
Паведамленні пра памылкі: https://github.com/EasyRPG/Player/issues/

Гэта праграма не мае дачынення да карпарацыі Kadokawa.
1 change: 1 addition & 0 deletions builds/android/metadata/be/short_description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Гуляйце ў гульні на RPG Maker 2000 і 2003 дзе заўгодна, дзякуючы EasyRPG Player
1 change: 1 addition & 0 deletions builds/android/metadata/be/title.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
EasyRPG для RPG Maker 2000
7 changes: 7 additions & 0 deletions builds/android/metadata/de-DE/full_description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Der EasyRPG Player ermöglicht die Ausführung von RPG Maker 2000 und RPG Maker 2003-Spielen (neuere Engines, u.a. XP, VX, VX Ace und MV, werden NICHT unterstützt)

Homepage: https://easyrpg.org/
Änderungen: https://blog.easyrpg.org/
Bugs melden: https://github.com/EasyRPG/Player/issues/

Diese App steht in keinerlei Verbindung zu Kadokawa Corporation.
1 change: 1 addition & 0 deletions builds/android/metadata/de-DE/short_description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Genieße deine RPG Maker 2000/2003-Spiele überall - Mit EasyRPG Player.
1 change: 1 addition & 0 deletions builds/android/metadata/de-DE/title.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
EasyRPG für RPG Maker 2000
12 changes: 12 additions & 0 deletions builds/android/metadata/en-US/changelogs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Put a textfile corresponding to the version number of the APK here and it will be
used as Changelog entry for that APK.

For example:

`android:versionCode` property in `AndroidManifest.xml` is "1234", then use
`1234.txt`.

You can use the `changelog.sh` script to generate this easily (assuming your
working directory is the `android` parent folder):

./changelog.sh > metadata/en-US/changelogs/1234.txt
7 changes: 7 additions & 0 deletions builds/android/metadata/en-US/full_description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
EasyRPG Player is a program that allows to play games created with RPG Maker 2000 and RPG Maker 2003 (the newer RPG engines like XP, VX, VX Ace and MV are not supported).

Homepage: https://easyrpg.org/
Changelog: https://blog.easyrpg.org/
Bug reports: https://github.com/EasyRPG/Player/issues/

This app is not affiliated with Kadokawa Corporation.
Binary file added builds/android/metadata/en-US/images/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions builds/android/metadata/en-US/short_description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Play your RPG Maker 2000 and 2003 games everywhere with EasyRPG Player.
1 change: 1 addition & 0 deletions builds/android/metadata/en-US/title.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
EasyRPG for RPG Maker 2000
7 changes: 7 additions & 0 deletions builds/android/metadata/es-ES/full_description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
EasyRPG Player es un programa que permite jugar a juegos creados con RPG Maker 2000 y RPG Maker 2003 (los nuevos motores RPG como XP, VX, VX Ace y MV no funcionan con este programa).

Web: https://easyrpg.org/
Novedades (en inglés): https://blog.easyrpg.org/
Para informar de fallos: https://github.com/EasyRPG/Player/issues/

Esta aplicación no está afiliada con Kadokawa Corporation.
1 change: 1 addition & 0 deletions builds/android/metadata/es-ES/short_description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Juega a juegos creados con RPG Maker 2000 y RPG Maker 2003 con EasyRPG Player.
1 change: 1 addition & 0 deletions builds/android/metadata/es-ES/title.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
EasyRPG para RPG Maker 2000
7 changes: 7 additions & 0 deletions builds/android/metadata/hu-HU/full_description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
EasyRPG Player egy program, ami lehetővé teszi, hogy RPG Maker 2000 és RPG Maker 2003 játékokkal játssz (az újabb RPG motorok, mint az XP, VX, VX Ace és MV nem támogatottak).

Weboldal: https://easyrpg.org/
Változásnapló: https://blog.easyrpg.org/
Hibajelentés: https://github.com/EasyRPG/Player/issues/

Ez a program nem áll kapcsolatban a Kadokawa Corporationnel.
1 change: 1 addition & 0 deletions builds/android/metadata/hu-HU/short_description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Játssz az RPG Maker 2000 és 2003 játékaiddal bárhol az EasyRPG Playerrel.
1 change: 1 addition & 0 deletions builds/android/metadata/hu-HU/title.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
EasyRPG az RPG Maker 2000-hez
8 changes: 8 additions & 0 deletions builds/android/metadata/ja-JP/full_description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
EasyRPGプレイヤーは、RPGツクール2000/2003で制作されたゲームを遊ぶためのアプリです。
(現在のところ、RPGツクールXP/VX/VX Ace/MVは非対応です。)

公式サイト: https://easyrpg.org/
更新履歴: https://blog.easyrpg.org/
バグ報告先: https://github.com/EasyRPG/Player/issues/

このアプリは、KADOKAWAと提携していません
1 change: 1 addition & 0 deletions builds/android/metadata/ja-JP/short_description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
EasyRPG プレイヤーで RPG ツクール 2000/2003 のゲームをどこでもプレイできます。
1 change: 1 addition & 0 deletions builds/android/metadata/ja-JP/title.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
EasyRPG for RPG Maker 2000
7 changes: 7 additions & 0 deletions builds/android/metadata/ko-KR/full_description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
EasyRPG 플레이어는 RPG 만들기 2000/2003에서 만든 게임을 구동하는 프로그램입니다 (이후 버전인 XP, VX, VX Ace와 MV는 지원하지 않습니다).

홈페이지: https://easyrpg.org/
변경내역: https://blog.easyrpg.org/
버그보고: https://github.com/EasyRPG/Player/issues/

본 앱은 주식회사 KADOKAWA와 관련이 없습니다.
1 change: 1 addition & 0 deletions builds/android/metadata/ko-KR/short_description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
RPG 만들기 2000/2003 게임을 EasyRPG 플레이어로 어디에서든 즐겨보세요.
1 change: 1 addition & 0 deletions builds/android/metadata/ko-KR/title.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
RPG 만들기 2000용 EasyRPG
7 changes: 7 additions & 0 deletions builds/android/metadata/pt-BR/full_description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
EasyRPG é um software que te permite jogar qualquer jogo criado com RPG Maker 2000 ou 2003 (obs: as novas engines como XP, VX, VX Ace e MV não são suportadas).

Página inicial: https://easyrpg.org/
Changelog (novidades/mudanças): https://blog.easyrpg.org/
Reportar Erros/Bugs: https://github.com/EasyRPG/Player/issues/

Este aplicativo não é afiliado com a Kadokawa Corporation.
1 change: 1 addition & 0 deletions builds/android/metadata/pt-BR/short_description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Jogue qualquer jogo de RPG Maker 2000 e 2003 com o EasyRPG Player.
1 change: 1 addition & 0 deletions builds/android/metadata/pt-BR/title.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
EasyRPG para RPG Maker 2000
7 changes: 7 additions & 0 deletions builds/android/metadata/ru-RU/full_description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
EasyRPG Player — это программа, которая позволяет играть в игры, созданные в RPG Maker 2000 и RPG Maker 2003 (более новые RPG-движки, такие как XP, VX, VX Ace и MV, не поддерживаются).

Домашняя страница: https://easyrpg.org/
Список изменений: https://blog.easyrpg.org/
Сообщения об ошибках: https://github.com/EasyRPG/Player/issues/

Эта программа не имеет отношения к корпорации Kadokawa.
1 change: 1 addition & 0 deletions builds/android/metadata/ru-RU/short_description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Играйте в игры на RPG Maker 2000 и 2003 где угодно, используя EasyRPG
1 change: 1 addition & 0 deletions builds/android/metadata/ru-RU/title.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
EasyRPG для RPG Maker 2000
7 changes: 7 additions & 0 deletions builds/android/metadata/uk/full_description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
EasyRPG Player — це програма, яка дозволяє грати в ігри, створені в RPG Maker 2000 або RPG Maker 2003 (новіші RPG-рушіі, такі як XP, VX, VX Ace або MV, не підтримуються).

Домашня сторінка: https://easyrpg.org/
Опис змін: https://blog.easyrpg.org/
Повідомлення про помилки: https://github.com/EasyRPG/Player/issues/

Ця програма не має відношення до корпорації Kadokawa.
1 change: 1 addition & 0 deletions builds/android/metadata/uk/short_description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Грайте в ігри для RPG Maker 2000 та 2003 будь-де за допомогою EasyRPG Player.
Loading

0 comments on commit 3bfa73c

Please sign in to comment.