Rizline:Local game files: Difference between revisions

From Rhythm Game Wiki
Jump to navigation Jump to search
No edit summary
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
''[[Rizline:Rizline|Rizline]]''<nowiki>'</nowiki>s game files are files stored on the device, that are separate from the files inside the [[Rizline:APK files|APK]].
'''Local game files''' are game files that are stored on the device. They are separate from [[Rizline:Application files|application files]], which are stored inside of Rizline's [[Rizline:Application package|application package]].


== Location ==
== Location ==
Line 6: Line 6:


Apart from the <code>data</code> directory, ''Rizline'' also creates an empty directory for [[OBB file]]s at <code>/storage/emulated/0/Android/obb/com.PigeonGames.Rizline</code>.
Apart from the <code>data</code> directory, ''Rizline'' also creates an empty directory for [[OBB file]]s at <code>/storage/emulated/0/Android/obb/com.PigeonGames.Rizline</code>.
Some of the local game files are downloaded after the game is launched, and they are referred to as [[Rizline:assets|assets]].


== Directory structure ==
== Directory structure ==
Line 20: Line 22:
     {{DataStructureField|tombstone_02|file|Empty file.}}
     {{DataStructureField|tombstone_02|file|Empty file.}}
     {{DataStructureField|com.unity.addressables|directory||
     {{DataStructureField|com.unity.addressables|directory||
       {{DataStructureField|catalog_catalog.hash|file|Unknown binary file, 32 bytes in size.}}
       {{DataStructureField|catalog_catalog.hash|file|A text file containing a 32-character hexadecimal hash for <code>catalog_catalog.json</code>. Can be thought of as a "version number" for <code>catalog_catalog.json</code> - it is for checking if the catalog has changed, by comparing this file's contents to the server file contents. Mentioned here: https://discussions.unity.com/t/significance-of-binary-fields-in-the-addressables-catalog-for-example-m_keydatastring/789193/6}}
       {{DataStructureField|catalog_catalog.json|file|[[Rizline:catalog_catalog.json|catalog_catalog.json]] - A text JSON file. Around 1 MiB in size. Along with other things, contains all asset bundle names and 4 big binary items inside, encoded as [[base64]].}}
       {{DataStructureField|catalog_catalog.json|file|[[catalog.json]] - A text [[Wikipedia:JSON|JSON]] file, around 1 MiB in size. It is essentially a list of all assets used in the game, including [[Rizline:assets|downloadable assets]].}}
     }}
     }}
     {{DataStructureField|Cookies|directory||
     {{DataStructureField|Cookies|directory||
       {{DataStructureField|Library|file|Unknown binary file, 8 bytes in size.}}
       {{DataStructureField|Library|file|Unknown binary file, 8 bytes in size. {{Unfinished}}}}
     }}
     }}
     {{DataStructureField|HTTPCache|directory||
     {{DataStructureField|HTTPCache|directory||
Line 32: Line 34:
       {{DataStructureField|unity.ver|file|Text file containing a GUID with Unity's version. {{verify}}}}
       {{DataStructureField|unity.ver|file|Text file containing a GUID with Unity's version. {{verify}}}}
       {{DataStructureField|Metadata|directory||
       {{DataStructureField|Metadata|directory||
         {{DataStructureField|global-metadata.dat|file|Unknown binary file. 10.6 MiB in size. Probably contains the game's code.}}
         {{DataStructureField|global-metadata.dat|file|Unknown binary file. 10.6 MiB in size. Probably contains the game's code. {{Unfinished}}}}
       }}
       }}
       {{DataStructureField|Resources|directory||
       {{DataStructureField|Resources|directory||
         {{DataStructureField|mscorlib.dll-resources.dat|file|Unknown binary file. Probably contains a library that the game uses.}}
         {{DataStructureField|mscorlib.dll-resources.dat|file|Unknown binary file. Probably contains a library that the game uses. {{Unfinished}}}}
         {{DataStructureField|System.Data.dll-resources.dat|file|Unknown binary file. Probably contains a library that the game uses.}}
         {{DataStructureField|System.Data.dll-resources.dat|file|Unknown binary file. Probably contains a library that the game uses. {{Unfinished}}}}
       }}
       }}
     }}
     }}
     {{DataStructureField|Unity|directory|Contains some analytics data. {{Todo}}}}
     {{DataStructureField|Unity|directory|Contains some analytics data. {{Unfinished}}}}
     {{DataStructureField|UnityCache|directory||
     {{DataStructureField|UnityCache|directory||
       {{DataStructureField|Shared|directory|Directory containing all of the game's downloaded [[Rizline:assets|assets]], contained in [[asset bundles]]|
       {{DataStructureField|Shared|directory|Directory containing all of the game's downloaded [[Rizline:assets|assets]], contained in [[asset bundles]]. The assets are downloaded on-demand, so not all devices will have all of the assets in this directory.|
         {{DataStructureField|<asset_bundle_name>|directory|Where ''asset_bundle_name'' is a 32-character-long lowercase hexadecimal string (for example <code>1e0e32f42bc785e2a525cf3a8ea7abaf</code>). This name is the <code>assetBundleName</code> property of the bundle.|
         {{DataStructureField|<asset_bundle_name>|directory|Where ''asset_bundle_name'' is a 32-character-long lowercase hexadecimal string (for example <code>1e0e32f42bc785e2a525cf3a8ea7abaf</code>). This name is the <code>assetBundleName</code> property of the bundle.|
           {{DataStructureField|<asset_bundle_id>|directory|Where ''asset_bundle_id'' is a 32-character-long lowercase hexadecimal string (for example <code>4c3416138aed0f7bc6f085bd2d121125</code>). This ID changes if the asset changes; sometimes the <code>assetBundleName</code> changes instead though. This is also the file name in the URL that the bundle is downloaded from.|
           {{DataStructureField|<asset_bundle_hash>|directory|Where ''asset_bundle_hash'' is a 32-character-long lowercase hexadecimal string (for example <code>4c3416138aed0f7bc6f085bd2d121125</code>). This ID changes if the asset changes; sometimes the <code>assetBundleName</code> changes instead though. This is also the file name in the URL that the bundle is downloaded from.|
             {{DataStructureField|__data|file|[[Rizline:AssetBundle __data file|AssetBundle __data file]]. This file is not present if the asset bundle is a music asset bundle.}}
             {{DataStructureField|__data|file|[[AssetBundle __data file]]. This file is not present if the asset bundle is a music asset bundle.}}
             {{DataStructureField|__info|file|[[Rizline:AssetBundle __info file|AssetBundle __info file]]. This file is not present if the asset bundle is a music asset bundle.}}
             {{DataStructureField|__info|file|[[AssetBundle __info file]]. This file is not present if the asset bundle is a music asset bundle.}}
             {{DataStructureField|*.acb*|file|[[Rizline:ACB file|ACB file]]. This file is present only in asset bundles containing music. The filename is the music ID as indicated in [[Rizline:Default.asset|Default.asset]], but lowercase, and with <code>.acb&equals;&lt;checksum&gt;</code> added at the end, where <code>checksum</code> is some kind of 3-byte long lowercase hexadecimal check sum (for example <code>tempest.plum.0.acb&equals;3f1540</code>).}}
             {{DataStructureField|*.acb*|file|[[ACB file]]. This file is present only in asset bundles containing music. The filename is the music ID as indicated in [[Rizline:Default.asset|Default.asset]], but lowercase, and with <code>.acb&equals;&lt;checksum&gt;</code> added at the end, where <code>checksum</code> is an unknown kind of 3-byte long lowercase hexadecimal checksum (for example <code>tempest.plum.0.acb&equals;3f1540</code>).}}
           }}
           }}
         }}
         }}
         {{DataStructureField|__info|file|Text file - different from [[Rizline:AssetBundle __info file|AssetBundle __info file]]}}
         {{DataStructureField|__info|file|Text file - different from [[AssetBundle __info file]]. {{Unfinished}}}}
       }}
       }}
       {{DataStructureField|Temp|directory|Empty directory.}}
       {{DataStructureField|Temp|directory|Empty directory.}}
Line 55: Line 57:
   }}
   }}
}}
}}
== Navigation ==
{{RizlineGameNavBox}}

Latest revision as of 19:12, 12 May 2025

Local game files are game files that are stored on the device. They are separate from application files, which are stored inside of Rizline's application package.

Location

[edit | edit source]

On Android, Rizline's game files are located in /storage/emulated/0/Android/data/com.Rizline.PigeonGames (on most Android devices you can access this directory by going to /Android/data/com.Rizline.PigeonGames).

Apart from the data directory, Rizline also creates an empty directory for OBB files at /storage/emulated/0/Android/obb/com.PigeonGames.Rizline.

Some of the local game files are downloaded after the game is launched, and they are referred to as assets.

Directory structure

[edit | edit source]
  • /storage/emulated/0/Android/data/com.Rizline.PigeonGames
    • cache (directory)
      • vulkan_pso_cache.bin (file) - Unknown binary file.
    • files (directory)
      • Hosts (file) - Hosts file - Binary file. Contains various URLs, such as: https://www.google.com:443, https://rizlineassetstore.pigeongames.cn:443, https://service.rhythnet.com:443, wss://service.rhythnet.com:443, https://consent.google.com:443, https://www.baidu.com:443
      • Library (file) - Library file - Binary file. Contains an URL to download the game_config.json file from.
      • tombstone_00 (file) - Text file. Crash dump.
      • tombstone_01 (file) - Empty file.
      • tombstone_02 (file) - Empty file.
      • com.unity.addressables (directory)
      • Cookies (directory)
        • Library (file) - Unknown binary file, 8 bytes in size. [unfinished]
      • HTTPCache (directory)
        • 1 (file) - Text file. Contains a cached HTTP response from https://rizlineassetstore.pigeongames.cn/configs/game_config.json with both the body and the headers.
      • il2cpp (directory)
        • unity.ver (file) - Text file containing a GUID with Unity's version. [verify]
        • Metadata (directory)
          • global-metadata.dat (file) - Unknown binary file. 10.6 MiB in size. Probably contains the game's code. [unfinished]
        • Resources (directory)
          • mscorlib.dll-resources.dat (file) - Unknown binary file. Probably contains a library that the game uses. [unfinished]
          • System.Data.dll-resources.dat (file) - Unknown binary file. Probably contains a library that the game uses. [unfinished]
      • Unity (directory) - Contains some analytics data. [unfinished]
      • UnityCache (directory)
        • Shared (directory) - Directory containing all of the game's downloaded assets, contained in asset bundles. The assets are downloaded on-demand, so not all devices will have all of the assets in this directory.
          • <asset_bundle_name> (directory) - Where asset_bundle_name is a 32-character-long lowercase hexadecimal string (for example 1e0e32f42bc785e2a525cf3a8ea7abaf). This name is the assetBundleName property of the bundle.
            • <asset_bundle_hash> (directory) - Where asset_bundle_hash is a 32-character-long lowercase hexadecimal string (for example 4c3416138aed0f7bc6f085bd2d121125). This ID changes if the asset changes; sometimes the assetBundleName changes instead though. This is also the file name in the URL that the bundle is downloaded from.
              • __data (file) - AssetBundle __data file. This file is not present if the asset bundle is a music asset bundle.
              • __info (file) - AssetBundle __info file. This file is not present if the asset bundle is a music asset bundle.
              • *.acb* (file) - ACB file. This file is present only in asset bundles containing music. The filename is the music ID as indicated in Default.asset, but lowercase, and with .acb=<checksum> added at the end, where checksum is an unknown kind of 3-byte long lowercase hexadecimal checksum (for example tempest.plum.0.acb=3f1540).
          • __info (file) - Text file - different from AssetBundle __info file. [unfinished]
        • Temp (directory) - Empty directory.
[edit | edit source]
 Rizline
Game Mechanics
Gameplay
Currencies
Screens
Events
Technical
Game files