Original Sonic 3 PSG?

Discussion in 'Discussion & Q&A' started by FlyTF, Jul 17, 2017.

  1. FlyTF

    FlyTF Newcomer Trialist

    Joined:
    Dec 1, 2015
    Messages:
    6
    SMPSPlay contains the 'S3K.lst' this file contains the PSG instrumets info.
    I'm ported the Volcano Valley Act 2 music uses the SMPSConv.
    Originally music sounds like this.(all psg sounds like piece of shit)
    If i put the 'S3K_PSG.lst' file into my hack the sound's like this. (all psg sounds like piece of shit)
    What with psg wrong, and who have an original S3K PSG?
     
  2. Natsumi

    Natsumi Markey's Member

    Joined:
    Oct 7, 2011
    Messages:
    487
    Location:
    Otter's lap
    You are not supposed to put the actual file in. The thing is, it uses a custom format. You can find the original PSG files in some S3K disassembly, or MDMusicPlayer, and then you need to individually put them into your disassembly of choise, by the means of editing the sound driver itself. There is a table of Volume Envelope/PSG, or something similar pointers, and you need to add entries to the end. Then, you include the files necessary, and lastly you edit the SMPS itself to point to correct ID's. It is easiest done with SMPS2ASM, though it is possible to also hex edit. You need to grab the specific Volume Envelope ID's the song uses, and then replace the ID's with the new, adjusted ID's. There is no real easy way out of doing it though.
     
    Aquatari likes this.