Qhimm.com Forums

Miscellaneous Forums => Scripting and Reverse Engineering => Topic started by: G3nius on 2005-06-30 17:50:35

Title: Edit SGTs?
Post by: G3nius on 2005-06-30 17:50:35
Do you know any editor for *.SGT files?

MOD EDIT: Split from this thread (http://forums.qhimm.com/viewtopic.php?t=3861).
Title: Edit SGTs?
Post by: RPGillespie 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...
Title: Edit SGTs?
Post by: G3nius 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
Title: Edit SGTs?
Post by: Goku7 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.