STY

From Video Game Music Preservation Foundation Wiki
Jump to: navigation, search
DirectMusic Style
STY.png
Developer: Microsoft
Header: RIFF
Content: Unknown
Instruments: Unknown
Target Output
Output - Digital Audio - No.png Output - MIDI - No.png Output - FM Synthesis - No.png Output - PSG - No.png
Released: 1996-??-??
First Game: ?
Extensions
  • *.sty

The DirectMusic Style is a proprietary file format was created by Microsoft Corporation. These files used by DirectMusic Segment format and can't be played directly.

STY files contain melody pattern information. They can be used to play Segment files or can be loaded with DirectMusic API.

Players

(Category)

Editors

(Category)

Games

(Category)
Released Title
1999-02-03 DirectX Diagnostic Tool (W32)
2000-01-25 Final Fantasy VIII (W32)
2000-09-22 Midtown Madness 2 (W32)
2000-11-09 No One Lives Forever (W32)
2000-11-19 Hitman: Codename 47 (W32)
2001-11-13 Empire Earth (W32)
2001-11-15 Gothic (W32)
2003-08-18 Donuts 4: Revenge of the Space Torus (W32)
2003-08-21 Gothic II: Night of the Raven (W32)
2003-10-28 Gothic II (W32)
2005-06-27 La-Mulana (W32)
2010-??-?? Marine Aquarium 3 (W32)

Technical

All STY files use RIFF tree structure, and the identifier is DMST.

RIFF Tree Structure

File Root
│
└─ RIFF:DMST            - DirectMusic Style header
   ├─ styh              - Style header
   ├─ guid              - GUID
   ├─ LIST:UNFO         - Information container (Unicode)
   │  ├─ INAM           - Name / Title
   │  ├─ IART           - Artist
   │  └─ ...
   ├─ vers              - Version info
   ├─ RIFF:DMBD         - DirectMusic Band subheader
   │  ├─ LIST:UNFO      - Information container (Unicode)
   │  └─ LIST:lbil      - Band instrument list
   │     ├─ LIST:lbin   - Band instrument #1
   │     │  └─ bins     - Band instrument settings
   │     ├─ LIST:lbin   - Band instrument #2
   │     └─ ...
   ├─ LIST:part         - Part #1
   │  ├─ prth           - Part header
   │  ├─ note           - Note info (optional)
   │  └─ crve           - Curve info (optional)
   ├─ LIST:part         - Part #2
   ├─ ...
   ├─ LIST:pttn         - Pattern #1
   │  ├─ ptnh           - Pattern header
   │  ├─ rhtm           - Rhythm info
   │  ├─ LIST:UNFO      - Information container (Unicode)
   │  ├─ LIST:pref      - Instrument preference #1
   │  │  ├─ prfc        - Preference info
   │  │  └─ LIST:UNFO   - Information container (Unicode)
   │  ├─ LIST:pref      - Instrument preference #2
   │  └─ ...
   ├─ LIST:pttn         - Pattern #2
   ├─ ...
   └─ LIST:prrf         - Reference links
      ├─ LIST:DMRF      - DirectMusic Reference subheader #1
      │  ├─ refh        - Reference header
      │  ├─ name        - Reference name
      │  └─ file        - Reference filename
      ├─ LIST:DMRF      - DirectMusic Reference subheader #2
      └─ ...

Links