Coming soon...

Discussion in 'Discussion and Q&A Archive' started by Oerg866, Mar 31, 2009.

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

    Oerg866 Well-Known Member Member

    Joined:
    Aug 29, 2008
    Messages:
    299
    Location:
    Frankfurt, Germany
    Presenting.....


    [​IMG]


    SMPSDAC will enable you to edit the DAC of a SMPS song with ease, without having to fiddle around with a HEX-Editor.


    I'd like everyone to suggest ideas and so on :)


    This version you see in the picture can already load files and stuff. The rest is WIP.


    CONVERSION TABLE FILE FORMAT DEFINITIONS:



    Code:
    Oerg's Conversion table file format specifications VERSION PRE-1.00
    
    
    
    === START OF FILE ===
    
    
    
    First 15 bytes (file identifier)
    
    43 4F 4E 56 45 52 53 49 4F 4E 54 41 42 4C 45
    
    C  O  N  V  E  R  S  I  O  N  T  A  B  L  E 
    
    
    
    1 byte (specifcation version in HEX, example: $01)
    
    
    
    2-byte-pairs of conversion tables of the following format (in HEX):
    
    
    
    XX YY
    
    
    
    Thereby the first XX table entry has to be $81. It has to be
    
    in order for the program to correctly handle the files!
    
    
    
    Keep in mind: XX in the file will be converted to YY!
    
    
    
    CORRECT IS:
    
    XX YY XX YY XX YY
    
    81 C0 82 88 83 89
    
    
    
    See, the XX always is in order.
    
    
    
    AFTER THE TABLE COMES AN END IDENTIFY!
    
    
    
    Which means, after the table is finished, there are the following 3 bytes:
    
    
    
    45 4E 44
    
    E  N  D

    CONVERSION TABLE EXAMPLE:

    Code:
    --------File identifier					   ----Version number
    
    |											|  ----Table start					 ----File end
    
    |											|  |								   |
    
    43 4F 4E 56 45 52 53 49 4F 4E 54 41 42 4C 45 01 81 86 82 84 83 99 84 9E 85 A3 86 89 45 4E 44
    
    C  O  N  V  E  R  S  I  O  N  T  A  B  L  E  .  .  †  ‚  „  ƒ  ™  „  ž  …  
     
    Last edited by a moderator: Mar 31, 2009
  2. Hanoch

    Hanoch Well-Known Member Member

    Joined:
    Aug 3, 2008
    Messages:
    312
    Location:
    Israel
    So basically, this file fixes your DAC channel after porting songs? Cant we just do it manualy or let ESE do the job?
     
    Last edited by a moderator: Mar 31, 2009
  3. Spanner

    Spanner The Tool Member

    Joined:
    Aug 9, 2007
    Messages:
    2,570
    ESE fails though.


    Nice work, though a seperate window for custom conversion tables could be useful. =P
     
  4. Selbi

    Selbi The Euphonic Mess Member

    Joined:
    Jul 20, 2008
    Messages:
    2,429
    Location:
    Northern Germany
    Looks nice. :)


    But 2 questions:


    1: Can guys without any music knowledge use this program (like me)?


    2: What's that for a program? I mean, what did you used to write it? Visual Basic 6.0?
     
  5. Oerg866

    Oerg866 Well-Known Member Member

    Joined:
    Aug 29, 2008
    Messages:
    299
    Location:
    Frankfurt, Germany
    Thanks!


    1: Yes, most probably, as I will try to include a help file with it.


    2: In what aspect does that matter in this case? And with your guess you are entirely right, I used VB6 to create it. Because VB .NET fails even at existing.


    (By your expression in the first sentence of the second question (germenglish) I judge that you have a problem with the design of my program and are complaining about it. May you tell me what your problem exactly is? I'd appreciate it :))

    Not just fix it. You can edit what sample it plays. Something you can do with it is also the ability to use a custom conversion table made entirely for the DAC repository of your own hack. Like, directly convert the DAC to your own hack.

    Clicking conversion table editor opens a separate window (or did I missunderstand something there?)


    And the Load Conversion Table has a table display right on its window.
     
    Last edited by a moderator: Mar 31, 2009
  6. Hanoch

    Hanoch Well-Known Member Member

    Joined:
    Aug 3, 2008
    Messages:
    312
    Location:
    Israel
    What? So if I extract the "WOO!" sample from sonic cd's palmtree panic, I can just replace sample $8C in my hack with it? If so, thats impressive!
     
    Last edited by a moderator: Mar 31, 2009
  7. SonicVaan

    SonicVaan I'm a cyberpunk with a taste for guns Member

    Joined:
    Sep 12, 2008
    Messages:
    456
    Location:
    Germany, Cologne
    Oh my god! I need this. Can't wait.
     
  8. Tweaker

    Tweaker OI! MIRON! Member

    Joined:
    Aug 10, 2007
    Messages:
    324
    I'm kind of confused as to what this program actually does. All DAC samples are stored in the same compression throughout all of the games, so I don't know of any need to actually convert them for anything. Recreate the sample definitions for the new engine, yes, but not convert. Am I missing something here?
     
  9. Oerg866

    Oerg866 Well-Known Member Member

    Joined:
    Aug 29, 2008
    Messages:
    299
    Location:
    Frankfurt, Germany
    Oh yes.


    What it actually does is allows you to edit what DAC samples are played in the SMPS file. Similar like a Tracker it allows you a mass replace. Useful in the process is that you can make a drum on the original file which's value you mass replaced a different one than the one you replaced it with.


    It just lets you get a little more freedom when converting and editing DAC in an SMPS file.


    I hope it's clear now?
     
  10. Tweaker

    Tweaker OI! MIRON! Member

    Joined:
    Aug 10, 2007
    Messages:
    324
    OH, okay! That's actually rather nifty! I usually do mass replaces from scratch when I'm porting music over and such, but it's neat to have a program that'll do it for you without a fuss. Very useful! :)
     
  11. Oerg866

    Oerg866 Well-Known Member Member

    Joined:
    Aug 29, 2008
    Messages:
    299
    Location:
    Frankfurt, Germany
    Thanks!
     
  12. Qjimbo

    Qjimbo Well-Known Member Member

    Joined:
    Feb 27, 2008
    Messages:
    850
    Location:
    Vancouver, BC
    Nice, when it's released it looks like this is one for the utilities archive (once I get around to tidying up that section!)
     
  13. c1owd

    c1owd Previously 'CarrascoZX0' Member

    Joined:
    Dec 13, 2008
    Messages:
    364
    Holy shit! :p


    I need this! DAC editing is a pain in the ass! This would be very helpful! I can't wait for a release!
     
  14. eggboyX0

    eggboyX0 Newcomer Member

    Joined:
    Dec 23, 2008
    Messages:
    21
    Location:
    West Hills, California
    This looks like really useful and can't wait for the release. :p
     
  15. Reverie

    Reverie Good sir, I do read that as "Derp" Member

    Joined:
    Mar 10, 2009
    Messages:
    54
    Location:
    your local coffee shop ^^
    Awesome! Finally I'm excitedly waiting for a release. Editing DAC takes forever with a hex editor.
     
Thread Status:
Not open for further replies.