Difference between revisions of "Koei Tecmo Audio SRSA SRST"

From XentaxWiki
Jump to: navigation, search
(Compatible Programs)
(Games)
Line 137: Line 137:
 
* Persona 5 Strikers
 
* Persona 5 Strikers
 
* Dead or Alive 6
 
* Dead or Alive 6
 +
* Samurai Warriors 5
  
 
=== Compatible Programs ===  
 
=== Compatible Programs ===  

Revision as of 18:56, 18 June 2021

SRSA, SRST


Format Specifications

// SRSA file format

// header chunk
4 bytes (char) - magic  // "ASRS"
4 bytes - nulls
4 bytes (uint32) - total file size
4 bytes - nulls

x bytes - KTSR data


// SRST file format

// header chunk
4 bytes (char) - magic  // "TSRS"
4 bytes - nulls
4 bytes (uint32) - total file size
4 bytes - nulls

x bytes - KTSR data

Related Structures

// KTSR audio file format

// header chunk
4 bytes (char) - chunk magic  // e.g. "KTSR"
4 bytes (uint32) - chunk type   // e.g. "0x02 0x94 0xDD 0xFC" 
2 bytes (uint16) - version?   // "1"
1 byte - null
1 byte (uint8) - platform   //  0x01 - PC
                            //  0x03 - PS Vita
                            //  0x04 - Switch
4 bytes - game ID
8 bytes - nulls
4 bytes (uint32) - file size
4 bytes (uint32) - file size (repeated)
32 bytes - reserved


// entries
num_of_entries *
{
   4 bytes (uint32) - entry type   // "0x09 0xD4 0xF4 0x15" - config?
                                   // "0x61 0x72 0xDB 0xA8" - padding
                                   // "0xC9 0xC4 0x8E 0xC1" - unknown
                                   // "0xA9 0xD2 0x3B 0xF1" - config?
                                   // "0xC5 0xCC 0xCB 0x70" - sound data
                                   // "0xBD 0x88 0x8C 0x36" - config?
   4 bytes (uint32) - entry size
   x bytes - entry data
}


// Persona 5 Strikers
// Extra header structure

8 bytes (char) - magic // "IDRK0000"
4 bytes (uint32) - file size
4 bytes - nulls
4 bytes (uint32) - data size?
4 bytes - nulls
4 bytes (uint32) - file size (repeated)
8 bytes - nulls
4 bytes - unknown
4 bytes (char) - magic  // "MG4\x0D"
4 bytes - nulls
4 bytes - unknown
4 bytes - nulls

MultiEx BMS Script

Not written yet.


QuickBMS Scripts

Credits:
DKDave for explaining the process.
Joschka for writing those scripts.

srsa.bms

get NAME basename
get SIZE asize
string NAME + ".ktsl2asbin"
set OFFSET 16
math SIZE - OFFSET
log NAME OFFSET SIZE

srst.bms

get NAME basename
get SIZE asize
string NAME + ".kns"
findLoc OFFSET string "KTSS" ""
math SIZE - OFFSET
log NAME OFFSET SIZE

Notes and Comments

None.

Games

List of games using this file format:

  • Hyrule Warriors: Age of Calamity
  • Persona 5 Strikers
  • Dead or Alive 6
  • Samurai Warriors 5

Compatible Programs

See Also