Opening and converting .se files ripped from a NDS rom

Discussion in 'NDS - ROM Hacking and Translations' started by CaptainDirt1999, May 27, 2017.

  1. CaptainDirt1999
    OP

    CaptainDirt1999 Newbie

    Newcomer
    3
    0
    May 27, 2017
    United States
    Hi guys, I'm not super familiar with this website, so if I posted in the wrong place, please let me know. I was wanting the sound the RED made from 9 Hours 9 Persons 9 Doors as a ringtone, and I managed to rip all the sounds from the rom using Tinke 0.8.1 x86, and ended up with an assortment of audio files, mainly consisting of .se files. I also tried using VGSC as to convert them, but it would only cover .sad files. I also have some .bgm files that I have no use for, but VGSC won't do anything with them either. I have a real feeling that what I'm wanting is a .se file, but I have no way of listening to them to find out what I want, and no way of converting them into anything useful. Any ideas? If they're any help, you can find all of the said audio files here (Yes, the folder was originally called "sound".):
    -snip-
    Thanks!
     
    Last edited by CaptainDirt1999, May 28, 2017 - Reason: Please don't link to copyrighted material -rp
  2. FAST6191

    FAST6191 Techromancer

    pip Reporter
    23,366
    9,169
    Nov 21, 2005
    Without looking I am not sure if that is the PSE audio format or the sad/sir0 one.
    http://gbatemp.net/threads/the-various-audio-formats-of-the-ds.305167/
    Either way tools to directly convert are a bit thin on the ground, though the pokemon people may have made some headway with PSE since I last looked.

    If you only want to rip them though you have other options. If the game has a sound test mode then use that, otherwise you get to have some fun fiddling with things.
    If you have a point in the game with no sound effects (or background music if you want the sound effects) then great.
    If not then even if you don't know how the audio works you can still try replacing files -- overwrite the contents of level_1_theme with final_secret_boss theme and level 1 should be playing the theme you want. Savestates, modded saves, cheats and more can be used to get to points in the game where this is easier. It might get a bit more complex and you might have to overwrite multiple files if the audio is not wave type audio and instead is sequenced, nothing major though.

    You could possibly also dip a toe into ROM hacking proper and figure out some things about the format. You need not know everything but if there is a nice volume command or value somewhere you can figure out then that could be very helpful for this (set volumes to 0 and I am sure you can find a use for that). Going a bit further then rather than replacing files you might also be able to figure out the call to play a given track -- super_secret_400_hours_gameplay_boss track is probably just track some_number as far as the game is concerned, such a thing may also dodge problems with different instrument sets or something being used if it is sequenced audio rather than wave type. Not so many examples of audio ripping this way but sprite ripping via emulator does this all the time (why play for dozens of hours when you can cheat or edit a save to give you the end game weapons/character classes/face the final boss in seconds?).

    Bonus 2 with emulators is they can usually disable sound channels. Many games will dedicate channels to certain things, that way if the sounds you want are limited to certain channels you disable the others that might be playing ones you don't and there you go. If they are jumping around randomly and you can't keep up (happens enough that I mention it here) you can try doing multiple recordings and overlaying/mixing/dubbing things back in audacity or whatever.

    You can also do a lot of this with real hardware, a male-male audio cable and a flash cart if the emulators, or the computers you have available, are not up to the task. It is not impossible to disable channels in hardware but it is more annoying than the simple checkbox in an emulator.
     
  3. CaptainDirt1999
    OP

    CaptainDirt1999 Newbie

    Newcomer
    3
    0
    May 27, 2017
    United States
    Thanks for the reply! I didn't manage to understand most of that, but I did try replacing the file, and I got a new rom that locked up as soon as it was supposed to play the sound effect. I probably did something wrong. I've never done that before. I'm used to having to do some crazy things to my roms sometimes, but nothing like that. I also tried playing with it in Audacity, and I made a lot of progress with some trial and error setting it at a 16000-20000 Hz. sample rate, big-endianness, and VOX ADPCM, messed with the pitch, tempo, and speed, but still never managed it. Any more specific examples of things I can try? I'm afraid that without general knowledge of these kinds of things, I'm not sure what to actually do with it. (I'm working with se_gen_red_ok.se. You can find it in the folder at the link in my previous post if you need it.)
     
  4. CaptainDirt1999
    OP

    CaptainDirt1999 Newbie

    Newcomer
    3
    0
    May 27, 2017
    United States
    I tried to import other files into Audacity, and I got it perfect on the first try with a longer clip of a door opening. It doesn't seem to like importing shorter sounds. I have no idea why or what to do about that.