Rizline:Game config.json: Difference between revisions

No edit summary
No edit summary
 
Line 1: Line 1:
{{DISPLAYTITLE:Rizline: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 <code><nowiki>https://rizlineassetstore.pigeongames.cn/configs/game_config.json</nowiki></code> to check for updates.
<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 ==
== JSON structure ==