TitleBG.pack: Difference between revisions

imported>Leoetlino
No edit summary
imported>Leoetlino
mNo edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''TitleBG.pack''' is a [[SARC|SARC archive]] which is found in [[Content/Pack]]. It contains frequently-used files that the game keeps loaded into memory in order to access them quickly.
<onlyinclude>
 
'''TitleBG.pack''' is a [[SARC|SARC archive]] which is found in [[Content/Pack]]. It contains most files that are used to initialise the game during the title screen in order to improve performance.
The archive is loaded as soon as the title screen has finished loading by a [[GameScene]] function<ref>"processes TitleBG in the background of the title screen" ("タイトル画面のバックグラウンド処理中") at 0x71007B3CAC</ref> and unloaded immediately after processing is complete<ref>0x71007B447C</ref>. GameScene will always wait for this function to finish before loading any [[stage]] that isn't the title stage, such as the main world (MainField) or shrines (CDungeon). Progress is represented by the first 20% of the loading bar<ref>0x71007ACCA4</ref> on the loading screen. TitleBG.pack is only loaded once per game launch.
</onlyinclude>
The archive is loaded by [[StarterPackMgr]] (see [[Executable]]) and also as soon as the title screen has finished loading by a [[GameScene]] function<ref>"processes TitleBG in the background of the title screen" ("タイトル画面のバックグラウンド処理中") at 0x71007B3CAC</ref> and unloaded immediately after processing is complete<ref>0x71007B447C</ref>. GameScene will always wait for this function to finish before loading any [[stage]] that isn't the title stage, such as the main world (MainField) or shrines (CDungeon). Progress is represented by the first 20% of the loading bar<ref>0x71007ACCA4</ref> on the loading screen. TitleBG.pack is only loaded once per game launch.


== Contents ==
== Contents ==