Author Topic: Edit SGTs?  (Read 3813 times)

G3nius

  • *
  • Posts: 23
  • master of viiigine.com
    • View Profile
    • viiigine - Open Source Final Fantasy VIII engine
Edit SGTs?
« on: 2005-06-30 17:50:35 »
Do you know any editor for *.SGT files?

MOD EDIT: Split from this thread.

RPGillespie

  • *
  • Posts: 427
    • View Profile
    • http://www.geocities.com/rpgillespie6
Edit SGTs?
« Reply #1 on: 2005-07-02 03:10:38 »
go to google and type ".SGT editors", if nothing comes up either try using a hex editor or make your own...

G3nius

  • *
  • Posts: 23
  • master of viiigine.com
    • View Profile
    • viiigine - Open Source Final Fantasy VIII engine
Edit SGTs?
« Reply #2 on: 2005-07-02 06:20:31 »
Main trouble is a fact, that 'sgt' also is short for 'sergeant'. So, Google returns news, military sites, Beatles fanclubs etc.

===added===

I couldn't find any specification for *.SGT. MSDN said, that *.SGT is a MIDI-based segment file. I trust it, info in the middle of SGT-file looks like MIDI information (checked by *.MID-specification). But I don't understand meaning info in the headers of SGT.

So, I founded:
1. Each SGT-file starts from RIFF (in hex, 52 49 46 46)
2. Next 4 bytes points to 00 00 00 00 00 00 00 80 at the end of file
3. Then segment description follows by DMSGsegh
4. Track description follows by DMTKtrkh
5. Info in the middle of SGT-file looks like MIDI-information

Goku7

  • *
  • Posts: 1301
    • View Profile
Edit SGTs?
« Reply #3 on: 2005-07-03 23:53:22 »
Microsoft DirectMusic Producer is used to make SGT files in the first place.  And yes, it's available to the public, despite being a developer tool.

Anyway, go to Microsoft's web site and use its search funtion to find the exact page to download it from.