USM Video: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
Line 115: Line 115:
<pre>
<pre>
crid_mod.exe -b 00A1CACC -a C4CF453D -v -x -i MainMenu_loop.usm
crid_mod.exe -b 00A1CACC -a C4CF453D -v -x -i MainMenu_loop.usm
</pre>
</div>
* Demuxing USM files from "Persona 5 Royal (EFIGS)" (using crid_mod
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;">
<pre>
crid_mod.exe -b 00000000 -a 035B6784 -v -x -i mov000.usm
</pre>
</pre>
</div>
</div>

Revision as of 14:31, 3 October 2021

Back to index | Edit this page

USM

  • Format Type : Video
  • Endian Order : Big Endian
  • Signature : CRID


Format Specifications

// USM video file format

// big endian

num_of_chunks *
{
   4 bytes (char) - chunk signature  // "CRID" or "@SFV" or "@SFA"
   4 bytes (uint32) - chunk size

   chunk_data
   {
      1 byte - unknown  // always 0?
      1 byte (uint8) - payload offset
      2 bytes (uint16) - padding size
      1 byte (uint8) - channel number
      2 bytes - unknown
      1 byte (uint8) - payload type  // 0 - stream (audio/video binary data)
                                     // 1 - header (media metadata about a video or audio track)
                                     // 2 - section end (info about end of the chunk data)
                                     // 3 - seek (data about the seek positions of a video track)

      4 bytes (uint32) - frame time // used for "stream" chunks, 0 for other chunks

      4 bytes (uint32) - frame rate // for audio chunk always 2997
                                    // for stream chunk 100*stream_rate
                                    // for other chunks always 30
      8 bytes - unknown
      x bytes - payload  // e.g. "@UTF" chunk
      x bytes - padding
   } 
}

MultiEx BMS Script

Not written yet.

Notes and Comments

  • Some *.USM files are encrypted using a XOR key (like in HCA files)
  • USM keys are often the same as HCA keys (not always)

Games

List of games using this file format:

  • Genshin Impact (*.USM) (encrypted?)
  • NEO: The World Ends with You (*.USM) (encrypted?)
  • Okami HD (*.USM) (encrypted, more info here and here and here)
  • Persona 5 Royal (*.USM) (encrypted, more info here)
  • Tekken 7 (PC) (*.USM) (encrypted, more info here)
  • The Witcher 2 (PC) (*.USM)
  • The Witcher 3: Wild Hunt (PC) (*.USM)

Compatible Programs

USM Keys

Keys listed below are shared for educational purposes only.
Please don't use them to steal assets from games.

Game Title Key (HEX) Key (ASCII)
Okami HD (PC) 006B6172 61616765 karaage
Tekken 7 (PC) 00A1CACC C4CF453D n/a
Persona 5 Royal 00000000 01C87822 n/a

Examples

  • Demuxing USM files from "Okami HD" (PC version) using crid_mod
crid_mod.exe -b 006B6172 -a 61616765 -v -x -i prologue.usm
  • Demuxing USM files from "Tekken 7" (PC version) using crid_mod
crid_mod.exe -b 00A1CACC -a C4CF453D -v -x -i MainMenu_loop.usm
  • Demuxing USM files from "Persona 5 Royal (EFIGS)" (using crid_mod
crid_mod.exe -b 00000000 -a 035B6784 -v -x -i mov000.usm

See Also