How to edit DAC. Originally at Sonic Sanctuary, now here.

Discussion in 'Tutorials Archive' started by Irixion, Sep 21, 2008.

Thread Status:
Not open for further replies.
  1. Irixion

    Irixion Well-Known Member Member

    Joined:
    Aug 11, 2007
    Messages:
    670
    Location:
    Ontario, Canada
    Guide Originally Posted At:


    [​IMG]


    I made this guide (Irixion). Give credit when used, blah blah blah, enjoy! ;).


    So, you want to edit the DAC patterns in your songs? Here's what you'll need.


    Hex editor.


    Basic Hex knowledge


    Patience


    A brain


    If you have all of those, let's get started!


    As you may have noticed ESE cannot port songs correctly when it comes to DAC. This becomes a particular problem when porting from S3K or S3D. For the most part that utility is amazing for what it can do--except this very problem. The DAC conversion table helps, however (Especially for S3D) It doesn't help very much.


    So what can we do to fix the DAC problems? We edit them via hex, manually.


    Open your track song in a hex editor. Oh no! What's what!? Well, that's why I made this.


    http://www.randomsonicnet.org/SonicSanctua...0&#entry178


    Now, bytes $06-$07 are the bytes that tell you what the DAC pointer is. Go to that location. This is where it starts! But how do we know where it ends? Well that's quite simple.


    Bytes $0A-$0B tell you what the pointer for FM 1 is. Where FM 1 starts, is where the DAC ends. Now you know where it is. But what do you edit it to? Follow this table:


    Sonic 1 - The samples sonic 1 contains. You will want to change all the samples in the track to the ones here.


    Value----------Sample


    $81------------Kick


    $82------------Snare


    $83------------Hi-Timpani


    $84------------Noise < Do not Use


    $85------------Noise < Do not Use


    $86------------Noise < Do not Use


    $87------------Sega Sound < Do not Use


    $88------------Hi-Timpani


    $89------------Mid-Timpani


    $8A------------Low-Timpani


    $8B------------Low-Timpani


    Sonic 2 Beta (Wai) - In the rare chance you are porting from here, here is the table.


    Value----------Sample


    $81------------Kick


    $82------------Snare


    $83------------Clap


    $84------------Scratch


    $85------------Hi-Timpani


    $86------------Hi-Tom


    $87------------Blank


    $88------------Hi-Timpani


    $89------------Mid-Timpani


    $8A------------Low-Timpani


    $8B------------Low-Timpani


    $8C------------Mid-Tom


    $8D------------Low-Tom


    $8E------------Floor-Tom


    $8F------------Clap


    Sonic 2 Final - The driver is much different from sonic 2 Beta (Wai), so things are a bit different.


    Value----------Sample


    $81------------Kick


    $82------------Snare


    $83------------Clap


    $84------------Scratch


    $85------------Timpani


    $86------------Tom


    $87------------Bongo


    $88------------Hi-Timpani


    $89------------Mid-Timpani


    $8A------------Low-Timpani


    $8B------------Low-Timpani


    $8C------------Mid-Tom


    $8D------------Low-Tom


    $8E------------Floor-Tom


    $8F------------Hi-Bongo


    $90------------Mid-Bongo


    $91------------Low-Bongo


    Sonic 3 and Knuckles/Sonic 3D Blast - Generally the samples between the two games are the same, with a few differences. A lot of samples in these games, which is why ESE fucks up on these more.


    Value----------Sample


    $81------------Snare


    $82------------High-Tom


    $83------------Mid-Tom


    $84------------Low-Tom


    $85------------Floor Tom


    $86------------Kick


    $87------------Muffled Snare


    $88------------Crash Cymbal


    $89------------Ride Cymbal(?)


    $8A------------Low Metal Hit


    $8B------------Metal Hit


    $8C------------High Metal Hit


    $8D------------Higher Metal Hit


    $8F-------------Clap


    $90-------------Electric High-Tom


    $91-------------Electric Mid-Tom


    $92-------------Electric Low-Tom


    $93-------------Electric Floor Tom


    $94-------------Tight Snare


    $95-------------Mid-pitch Snare


    $96-------------Loose Snare


    $97-------------Looser Snare


    $98-------------Hi-Timpani


    $99-------------Low-Timpani


    $9A-------------Mid-Timpani


    $9B-------------Quick Loose Snare


    $9C-------------Click


    $9D-------------Power Kick


    $9E-------------Quick Glass Crash


    $9F-------------Glass Crash with Snare


    $A0-------------Glass Crash


    $A1-------------Glass Crash with Kick


    $A2-------------Quiet Glass Crash


    $A3-------------Odd Snare with Kick


    $A4-------------Kick with extra bass


    $A5-------------"Come on!"


    $A6-------------Dance Snare


    $A7-------------Loose Kick


    $A8-------------Moderately Loose Kick


    $A9 ------------ "Woo!"


    $AA ------------ "Go!"


    $AB ------------ Snare with voice going "Go!"


    $AC ------------ Power Tom


    $AD ------------ Hi-Wood Block


    $AE -------------Low-Wood Block


    $AF -------------Hi-Hit Drum


    $B0 -------------Low-Hit Drum


    $B1 -------------Metal Crash Hit


    $B2 -------------Echoed Clap Hit


    $B3 -------------Lower Echoed Clap Hit


    $B4 -------------Hip-Hop style hit with a kick


    $B5 -------------Hip-Hop style hit with a Power Kick


    $B6 -------------Some Bass with a voice going "Hey!"


    $B7 -------------Dance Style Kick


    $B8 -------------Hip-Hop hit with a kick


    $B9 -------------Hip-Hop hit with a kick


    $BA -------------Reverse Fading Wind Sound


    $BB -------------Scratch


    $BC -------------Loose Snare with noise


    $BD -------------Power Kick


    $BE -------------Crashing noise with voice going "Woo!"


    $BF -------------Quick Hit


    $C0 -------------Kick with a voice going "Hey!"


    $C1 -------------Power Kick with hit


    $C2 -------------Low Power Kick with hit


    $C3 -------------Lower Power Kick with hit


    $C4 -------------Lowest Power Kick with hit


    Note: Some samples may be missing or changed in Sonic 3D, such as most sound effect-based samples. Best bet is to change them all to Kick Or snare.


    Sonic Crackers - Rare instance that you are porting from this game, here you go.


    Value -------------Sample


    $81 -------------Kick


    $82 -------------Snare


    $83 -------------Tom


    $84 ------------ Tom


    $85 -------------Tom


    $86 -------------Voice sample "Let's go!"


    $87 -------------Voice sample "Hey!"


    $88 -------------Beep/screech


    Still don't get it? Well basically to convert from s3k to s1 (as an example) 81 in S3k is snare, 82 is kick, whilst 81 in s1 is kick. So you would change 81 to 82 to keep it as a snare. You do this with all the samples until you're done!


    Make backups, and have fun.


    Credits:


    Me for writing this guide.


    Retro's music guide and its makers for having the DAC info there. (especially Tweaker since he pretty much wrote the entire thing ;) )
     
    Last edited by a moderator: Jun 27, 2009
  2. Sephiroth

    Sephiroth WHY SO CURIOUS?!? Member

    Joined:
    Aug 11, 2007
    Messages:
    507
    Location:
    Qatar, M.E.
    Do you remember what happened last time someone put up a guide that said something similar to this? =P


    Anyway, I had a read through this guide and I have to say it is pretty damn good. I doubt I could write anything better than this, so great job.
     
  3. Irixion

    Irixion Well-Known Member Member

    Joined:
    Aug 11, 2007
    Messages:
    670
    Location:
    Ontario, Canada
    No I don't, from the sound of it I think I should remove that.
     
  4. Qjimbo

    Qjimbo Well-Known Member Member

    Joined:
    Feb 27, 2008
    Messages:
    850
    Location:
    Vancouver, BC
    I think that sort of message is fine, Chimpo's guide over at the SCHG:How-to sections has exactly the same warning, just for Retro instead (why nobody brought that up when there was controversy over this sort of thing before I really don't know). You have a right to control where your work is published =P
     
    Last edited by a moderator: Sep 22, 2008
  5. redhotsonic

    redhotsonic Also known as RHS Member

    Joined:
    Aug 10, 2007
    Messages:
    2,969
    Location:
    England
    My guides are to be posted in my head and no where else!


    Nice guide, but I'm shit with music so I'm screwed either way =P
     
  6. PsychoSk8r

    PsychoSk8r HighKnights Member

    Joined:
    Aug 9, 2007
    Messages:
    271
    Location:
    Birmingham, UK
    Oh lol, last time I done that, there was a shitstorm. =P


    Anyway, as QJim said, you written the guide, you should be allowed to keep it where you like =P
     
    Last edited by a moderator: Sep 23, 2008
  7. Qjimbo

    Qjimbo Well-Known Member Member

    Joined:
    Feb 27, 2008
    Messages:
    850
    Location:
    Vancouver, BC
    You should put that message back on your one Psy, seeing as a main force behind that argument is no longer on the forum =P
     
  8. Tweaker

    Tweaker OI! MIRON! Member

    Joined:
    Aug 10, 2007
    Messages:
    324
    I beg to differ! :3


    The point I made before still stands--if you want something to stay exclusive to a single forum, the best way to do that is to simply post it where you want it and not say a word anywhere else. Putting a gigantic, blatant message saying it's only allowed at x and x forum makes you look like a douche, more or less, especially when the point of a tutorial is to help spread hacking knowledge throughout the community.


    You can argue that it's your work and that you have the right to do whatever with it, which is fair; but in that case, what are you really making the guide for? To help people, or to prove a point?
     
  9. Qjimbo

    Qjimbo Well-Known Member Member

    Joined:
    Feb 27, 2008
    Messages:
    850
    Location:
    Vancouver, BC
  10. Tweaker

    Tweaker OI! MIRON! Member

    Joined:
    Aug 10, 2007
    Messages:
    324
  11. Selbi

    Selbi The Euphonic Mess Member

    Joined:
    Jul 20, 2008
    Messages:
    2,429
    Location:
    Northern Germany
  12. Irixion

    Irixion Well-Known Member Member

    Joined:
    Aug 11, 2007
    Messages:
    670
    Location:
    Ontario, Canada
    If anyone has those guides from SS let me know...
     
    Last edited by a moderator: Jan 24, 2009
Thread Status:
Not open for further replies.