don't click here

SMPS2ASM and improved S&K Driver

Discussion in 'Engineering & Reverse Engineering' started by flamewing, Nov 5, 2011.

  1. flamewing

    flamewing

    Emerald Hunter Tech Member
    1,161
    65
    28
    France
    Sonic Classic Heroes; Sonic 2 Special Stage Editor; Sonic 3&K Heroes (on hold)
    Minor new update: I fixed one tiny bug in the driver that caused an extraneous note to play on CNZ songs at around the loop point. I also updated all packages so that they all include the _smps2asm_inc.asm file. The new links:

    Sound driver: grab v2a here.
    SMPS2ASM: grab v0.2 here.
    Song pack: grab v4a here.

    Edit: Oh, and I forgot to mention: the song pack now has all the DAC samples that were also present in previous versions too.
     
  2. Clownacy

    Clownacy

    Tech Member
    1,061
    607
    93
    I noticed a bug in my S1 driver, stemming from an SFX header that uses a negative track pointer. SMPS2ASM didn't give me a warning about that, but does for negative FM voice pointers. I also noticed it doesn't raise an error if UVB-dependent music is assembled for an S1/S2 driver, merely excluding the voice pointer altogether, causing a mess of other problems. I also noticed it generates data for smpsFade with a parameter other than $FF in S1/S2 drivers, when they should be ignored, which winds up breaking the S3+ Drowning theme, and probably others.

    I put together some fixes for these here. This still uses the old coord. flag names (smpsAlterNote, smpsAlterPitch), so it's compatible with current conversions.
     
  3. Rrose80149

    Rrose80149

    Member
    90
    19
    8
    I wish we can get the PC/Prototype tracks for this song pack. I've been loving these tracks when the 1103 prototype was found.
     
  4. Clownacy

    Clownacy

    Tech Member
    1,061
    607
    93
    I have a copy of the S3 prototype music in ASM format here. I think the Game Over theme is broken though (something to do with a coordination flag being different in the prototype).