Rizline:Game config.json: Difference between revisions
Created page with "{{DISPLAYTITLE:game_config.json}} <code>game_config.json</code> is a file that contains information about the current Rizline:game version and Rizline:asset version. When the ''Rizline:Rizline'' app is started, the game downloads the <code>game_config.json</code> file from <code>https://rizlineassetstore.pigeongames.cn/configs/game_config.json</code> to check for updates. = JSON Format = This format is in use since Rizline:Rizline 1.0.10. {{Todo}}..." |
No edit summary |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:game_config.json}} | {{DISPLAYTITLE:Rizline:game_config.json}} | ||
<code>game_config.json</code> is a file that contains information about the current [[Rizline:game version|game version]] and [[Rizline:asset version|asset version]]. When the ''[[Rizline:Rizline|Rizline]]'' app is started, the game downloads the <code>game_config.json</code> file from a server to check for asset updates. | |||
Before [[Rizline:Rizline 2.0.4|Rizline 2.0.4]], the game downloaded the file from <code><nowiki>https://rizlineassetstore.pigeongames.cn/configs/game_config.json</nowiki></code>, but for [[Rizline:Rizline 2.0.4|Rizline 2.0.4]] and newer versions, certificate pinning was implemented, and the endpoint has changed to a currently unknown URL. The underlying file format and JSON structure are known to be still the same, as the HTTP response for the request for the <code>game_config.json</code> file gets cached into the [[HTTPCache]] directory of the game. | |||
In the strings of the [[global-metadata.dat]] file, next to the main <code>game_config.json</code> URL, other related URLs have been found in the game's code: | |||
* <code>https://rizlineassetstore.pigeongames.cn/configs/game_config.json</code> | |||
* <code>https://rizlineassetstore.pigeongames.cn/configs/review_config_SQ7Mpkop6M6ZDoOfYODOmYfeu1xto8ko.json</code> | |||
* <code>https://rizlineassetstore.pigeongames.cn/configs/review_config_public.json</code> | |||
These are currently theorized to be special config files that are used when the game developers send a new game update for review to Google Play Store and Apple's App Store. | |||
== JSON structure == | |||
=== New format === | |||
This format is in use since [[Rizline:Rizline 1.0.10|Rizline 1.0.10]]. | |||
This format | |||
{{DataStructure| | |||
{{DataStructureField|configs|array|List of configurations for different game versions.| | |||
{{DataStructureField||object|A configuration.| | |||
{{DataStructureField|version|string|App version that this config is intended for.}} | |||
{{DataStructureField|resourceUrl|string|URL to download the [[Rizline:assets|assets]] from. Can be an empty string.}} | |||
{{DataStructureField|maintenanceInfo|object, optional|Information about server maintenance. See [[#Maintenance Info object structure]] for details.}} | |||
}} | |||
}} | |||
{{DataStructureField|minimalVersion|string|The minimal game version.}} | |||
{{DataStructureField|maintenanceInfo|object, optional|Information about server maintenance. See [[#Maintenance Info object structure]] for details.}} | |||
}} | |||
< | ==== Maintenance Info object structure ==== | ||
{{DataStructure| | |||
{{DataStructureField|time|string|Date and time of the end of the maintenance period.}} | |||
{{DataStructureField|zhHans|string|Server maintenance message in Chinese (Simplified). The string may contain the substring <code>{TIME}</code>, which will get replaced by the value of the <code>time</code> field above.}} | |||
{{DataStructureField|zhHant|string|Server maintenance message in Chinese (Traditional). The string may contain the substring <code>{TIME}</code>, which will get replaced by the value of the <code>time</code> field above.}} | |||
{{DataStructureField|en|string|Server maintenance message in English. The string may contain the substring <code>{TIME}</code>, which will get replaced by the value of the <code>time</code> field above.}} | |||
{{DataStructureField|ja|string|Server maintenance message in Japanese. The string may contain the substring <code>{TIME}</code>, which will get replaced by the value of the <code>time</code> field above.}} | |||
}} | |||
=== Old format === | |||
This format was used before [[Rizline:Rizline 1.0.10|Rizline 1.0.10]]. | |||
{{DataStructure| | |||
{{DataStructureField|configs|array|List of configurations for different game versions.| | |||
{{DataStructureField||object|A configuration.| | |||
{{DataStructureField|version|string|App version that this config is intended for.}} | |||
{{DataStructureField|resourceUrl|string|URL to download the [[Rizline:assets|assets]] from.}} | |||
}} | |||
}} | |||
{{DataStructureField|minimalVersion|string|The minimal game version.}} | |||
{{DataStructureField|underMaintenance|bool|Are the servers currently under maintenance?}} | |||
{{DataStructureField|maintenanceNoticeZhHans|string|Server maintenance message in Chinese (Simplified).}} | |||
{{DataStructureField|maintenanceNoticeZhHant|string|Server maintenance message in Chinese (Traditional).}} | |||
{{DataStructureField|maintenanceNoticeEn|string|Server maintenance message in English.}} | |||
{{DataStructureField|maintenanceNoticeJa|string|Server maintenance message in Japanese.}} | |||
}} | |||
== Navigation == | |||
{{RizlineGameNavBox}} |
Latest revision as of 11:32, 14 July 2025
game_config.json
is a file that contains information about the current game version and asset version. When the Rizline app is started, the game downloads the game_config.json
file from a server to check for asset updates.
Before Rizline 2.0.4, the game downloaded the file from https://rizlineassetstore.pigeongames.cn/configs/game_config.json
, but for Rizline 2.0.4 and newer versions, certificate pinning was implemented, and the endpoint has changed to a currently unknown URL. The underlying file format and JSON structure are known to be still the same, as the HTTP response for the request for the game_config.json
file gets cached into the HTTPCache directory of the game.
In the strings of the global-metadata.dat file, next to the main game_config.json
URL, other related URLs have been found in the game's code:
https://rizlineassetstore.pigeongames.cn/configs/game_config.json
https://rizlineassetstore.pigeongames.cn/configs/review_config_SQ7Mpkop6M6ZDoOfYODOmYfeu1xto8ko.json
https://rizlineassetstore.pigeongames.cn/configs/review_config_public.json
These are currently theorized to be special config files that are used when the game developers send a new game update for review to Google Play Store and Apple's App Store.
JSON structure
[edit | edit source]New format
[edit | edit source]This format is in use since Rizline 1.0.10.
- (root)
configs
(array) - List of configurations for different game versions.-
(object)
- A configuration.
version
(string) - App version that this config is intended for.resourceUrl
(string) - URL to download the assets from. Can be an empty string.maintenanceInfo
(object, optional) - Information about server maintenance. See #Maintenance Info object structure for details.
-
(object)
- A configuration.
minimalVersion
(string) - The minimal game version.maintenanceInfo
(object, optional) - Information about server maintenance. See #Maintenance Info object structure for details.
Maintenance Info object structure
[edit | edit source]- (root)
time
(string) - Date and time of the end of the maintenance period.zhHans
(string) - Server maintenance message in Chinese (Simplified). The string may contain the substring{TIME}
, which will get replaced by the value of thetime
field above.zhHant
(string) - Server maintenance message in Chinese (Traditional). The string may contain the substring{TIME}
, which will get replaced by the value of thetime
field above.en
(string) - Server maintenance message in English. The string may contain the substring{TIME}
, which will get replaced by the value of thetime
field above.ja
(string) - Server maintenance message in Japanese. The string may contain the substring{TIME}
, which will get replaced by the value of thetime
field above.
Old format
[edit | edit source]This format was used before Rizline 1.0.10.
- (root)
configs
(array) - List of configurations for different game versions.-
(object)
- A configuration.
version
(string) - App version that this config is intended for.resourceUrl
(string) - URL to download the assets from.
-
(object)
- A configuration.
minimalVersion
(string) - The minimal game version.underMaintenance
(bool) - Are the servers currently under maintenance?maintenanceNoticeZhHans
(string) - Server maintenance message in Chinese (Simplified).maintenanceNoticeZhHant
(string) - Server maintenance message in Chinese (Traditional).maintenanceNoticeEn
(string) - Server maintenance message in English.maintenanceNoticeJa
(string) - Server maintenance message in Japanese.
Navigation
[edit | edit source]
![]() | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||
|