Gamedata.ssarc: Difference between revisions

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
imported>BravelyPeculiar
m (BravelyPeculiar moved page gamedata.ssarc to gamedata.ssarc: New naming scheme)
imported>BravelyPeculiar
No edit summary
 
Line 1: Line 1:
{{lowercase}}<onlyinclude>{{Resloc|path=GameData/gamedata.sarc|locations=[[Bootup.pack]]}}
{{lowercase}}<onlyinclude>{{Resloc|path=GameData/gamedata.sarc|locations=[[Bootup.pack]]}}
'''gamedata.sarc''' is a [[SARC]] archive that contains configuration files ([[bgdata]]) for [[GameDataMgr]].</onlyinclude>
'''gamedata.ssarc''' is a [[Yaz0]]-compressed [[SARC]] archive that contains configuration files ([[bgdata]]) for [[GameDataMgr]].</onlyinclude>


The archive is loaded by GameDataMgr at initialization time. All files under the <code>/</code> directory in gamedata.sarc are then loaded and parsed regardless of the file extension. However, the game assumes it will only ever get bgdata resources so putting any other file type in the archive will cause the game to crash.
The archive is loaded by GameDataMgr at initialization time. All files under the <code>/</code> directory in gamedata.sarc are then loaded and parsed regardless of the file extension. However, the game assumes it will only ever get bgdata resources so putting any other file type in the archive will cause the game to crash.

Latest revision as of 15:08, 3 April 2019

This resource is found in Bootup.pack.

Its canonical resource path is "GameData/gamedata.sarc".

gamedata.ssarc is a Yaz0-compressed SARC archive that contains configuration files (bgdata) for GameDataMgr.

The archive is loaded by GameDataMgr at initialization time. All files under the / directory in gamedata.sarc are then loaded and parsed regardless of the file extension. However, the game assumes it will only ever get bgdata resources so putting any other file type in the archive will cause the game to crash.

Files that are contained in gamedata.sarc are not listed in the resource size table. Additionally, their archive paths all contain a leading slash (e.g. /bool_array_data_0.bgdata).