RomFS

From 3dbrew
Revision as of 16:14, 24 June 2012 by 3dsguy (talk | contribs) (Created page with "{{Stub}} === Overview === RomFS or Read-Only Filesystem is part of the CXI format, and is used as external file storage. RomFS can be used: *in conjunction with the [[ExeFS...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Overview

RomFS or Read-Only Filesystem is part of the CXI format, and is used as external file storage.

RomFS can be used:

  • in conjunction with the ExeFS of a CXI
  • to contain the game manual accessible from the Home Menu
  • or to contain game cartridge update data

(There may be more implementations in the future)

Format

All of the content (including the header) in RomFS appears to be aligned to 0x1000 byte blocks.

The RomFS header is 0x80 bytes long and following is known about the structure:

START SIZE DESCRIPTION
0x00 0x4 Magic "IVFC"
0x14 0x4 2nd content size
0x2C 0x4 3rd content size
0x44 0x4 Main (1st) content size
0x60 0x20 Header Hash