RSL Data Containers

Discussion in 'Wii - Hacking' started by TempusC, Apr 17, 2009.

  1. TempusC

    TempusC GBAtemp Regular

    Nov 22, 2006
    I was asked to look into the feasibility of a translation patch for the currently cancelled Fatal Frame 4. After gathering the game resources, I found they consisted mostly of

    .thp files - movie files, around since the GC era. Shouldn't contain subtitles.
    .brstm files - sound files

    and our hopeful winner, .rsl files (as well as a bunch of other files that are too few to contain the necessary text)

    The rsl files comprise 99% of all data other than the thp and brstm files. They seem to contain a variety of data, including images and textures, but no or little clearly legible raw text (Shift-JIS raw text, of course).

    The rsl files are probably either some form of compression, or a proprietary file for an in-house editor to contain a series of data bundles and resources.

    There are thousands of these little guys, sometimes with wildly varying filesizes and structures. However, most (about 70%) of the rsl files have a similar heading.

    0x03 - 0x03 - RMHG
    0x04 - 0x3F - unknown
    0x40 - 0x43 - RMHG
    0x44 - 0x9F - unknown
    0xA0 - 0xA3 - GDLG or GCT0 or SCR0 of CGMG

    Another recurring pattern is the sequence: "STRIMAG2" (usually within the first 1000 addresses)

    Often the addresses for the above are modified, with more of the unknown space in between. In several cases, the header appears in multiple parts of the file, mostly near the middle.

    Below is an abridged list of the file structure (many files omitted)
    Titles in brackets represent a series of files with those variations.

    Zero 4
    ----Item (1400+items)
    ----Various thp files
    --RSL (1000+files) - uniques contain unique char/num strings, 3-6 chars long
    ----PZ(000_4_1 - 000_16-4).RSL
    ----Various brstm files and company

    If anyone has suggestions about the RSL format or other insights, it would be appreciated. If anyone can point me to good resources for this sort of trouble, please do - it's not really my area of expertise. I'll continue to fiddle in the meantime.
  2. TempusC

    TempusC GBAtemp Regular

    Nov 22, 2006
    Bump for Fatal Frame 4....
  3. misteromar

    misteromar GBAtemp Regular

    May 17, 2009
    Bump for Fatal Frame 4
  4. frostyfrosty

    frostyfrosty GBAtemp Regular

    Oct 17, 2008
    United States
  5. JussiPik

    JussiPik GBAtemp Regular

    Nov 3, 2008