Changes

Jump to navigation Jump to search
Line 59: Line 59:  
* "--card-uncompressed": See [[#Savedata]].
 
* "--card-uncompressed": See [[#Savedata]].
 
* ...
 
* ...
 +
 +
This emulator uses various hashes, SHA-1 is used for this.
 +
 +
This supports loading Bios from a file where the path is determined using the specified LanguageCode, when config flags "Emulate" and "LoadBios" are true, however with the MarioSunshine config the latter config flag is false.
 +
 +
RomFs contains the following:
 +
* "/hagi.config": Emulator json configuration.
 +
* "/hagi-override.config": Emulator json configuration.
 +
* "/rom.json": ROM json configuration, contains the following fields:
 +
** "UID": Game-name.
 +
** "DolHash": Hash.
 +
** "ROM": An array of strings for the absolute file path for the ROM. In this case, it only contains the following: "rom:/MarioSunshine/Super_Mario_Sunshine_Stardust-trimmed.gcm".
 +
* "/.nrr/Hagi.nrr": [[NRR]] for the AOT [[NRO]].
 +
* "/MarioSunshine/": This contains the following:
 +
** "Super_Mario_Sunshine_Stardust-trimmed.gcm": This is the .gcm image mentioned above.
 +
** "Super_Mario_Sunshine_Stardust-trimmed.hash": Contains json configuration for various hashes.
 +
* "/data/": This contains the following:
 +
** "database/": This contains the following:
 +
*** "config/MarioSunshine.config": This contains game-specific emulator json configuration.
 +
*** "hagi/MarioSunshine.json": This contains ROM json configuration. IDs, names, etc. This also contains various hashes, including a duplicate of the above .hash file.
 +
*** "pip/MarioSunshine/pipelineDB.pip"
 +
*** "vulkan/MarioSunshine/B1317A6632265CF763766CF6339AC8D1.cache": This is the .cache file mentioned in [[#Savedata]].
 +
** "gekko/MarioSunshine/nx/MarioSunshine.nrolz": This is the AOT [[NRO]]. LZ4 compressed, first 4-bytes is the big-endian decompressed size, then the compressed data follows.
 +
** "lazy_texture_replace/MarioSunshine": Contains PNG textures.
 +
** "saves/MarioSunshine/A.sav": Savedata. Presumably used to create the initial savedata file?
 +
** "texture_replace/": Contains "MarioSunshine.har" and "MarioSunshine.hix".
 +
** "video_replace/MarioSunshine/": Contains MP4 videos.
    
= SuperMarioGalaxy =
 
= SuperMarioGalaxy =

Navigation menu