[solved] Extracting music from .CIA files

Discussion in '3DS - Homebrew Development and Emulators' started by EpicLPer, Jan 13, 2016.

  1. EpicLPer
    OP

    EpicLPer Nice unless you give me a reason to hate you ;)

    Member
    918
    595
    Mar 13, 2015
    Austria
    Austria
    SOLVED!

    Use Braindump to dump a CXI file (AVAILABLE HERE) and then use "PackHack" (not sure if I'm allowed to link this here, I used Version 4.5) and the "Hacking Tool.exe" to unpack the CXI file.

    Thanks a ton to everyone in here!


    Old question:
    Hello there,

    So after about 1-2 hours of googling, trying various things, tools, programs, "hacks" and so on I came to the conclusion that, as someone who has never done 3DS extracting before, it's simply too complicated to understand what is needed to extract a simple music track from a .CIA file...

    First of all I found a tool called "ctrtool" which, as many suggested on the stuff I found, can extract partitions (if that's correct) from a CIA file. Well, that's where I was basically stuck then, I got the RomFS file out of the CIA (at least) and then tried to extract it, however when I try this it simply says that "Error, program id mismatch. Wrong key?" and I honestly have no idea what this means.

    Then again I'm far "too noobish" to understand how CIAs are built up or how 3DS ROMs work in general, they seem to differ a hell lot from the good old .NDS ones.


    Anyways, can someone explain on what I have to do to get music (or even other files) out of a .CIA file? And, most importantly, how to check if it's encrypted or not? Many say they aren't, however a few say they are which confuses me now... I was able to install the CIA on my N3DS EmuNAND perfectly fine so I guess it's not encrypted?

    Thanks already for your time!
     
    Last edited by EpicLPer, Jan 14, 2016 - Reason: Solved!
  2. EpicLPer
    OP

    EpicLPer Nice unless you give me a reason to hate you ;)

    Member
    918
    595
    Mar 13, 2015
    Austria
    Austria
    PS.: Before someone asks no this is not "for piracy". I played a game, enjoyed the music and now want to enjoy it outside of the game too. The only ones I found are "shitty" recorded ones which have the text and figure sounds in them still which is annoying.
     
  3. Lucar

    Lucar Professional Ferret

    Member
    498
    1,013
    Sep 12, 2015
    Canada
    New Donk City
    Try this: http://www91.zippyshare.com/v/ygsHTZ5d/file.html
     
    EpicLPer likes this.
  4. ketal

    ketal aiueo

    Member
    744
    569
    Aug 20, 2015
    Italy
    Dump your Cia with the old braindump to get the romfs. Extract it, locate music files and convert them
     
    EpicLPer likes this.
  5. EpicLPer
    OP

    EpicLPer Nice unless you give me a reason to hate you ;)

    Member
    918
    595
    Mar 13, 2015
    Austria
    Austria
    I'm currently trying this out. It's extracting, I'll report back when it's done and if it worked ;)
    Thanks already!
     
  6. Asia81

    Asia81 In my Ecchi World <3

    Member
    4,881
    2,348
    Nov 15, 2014
    France
    Albi
  7. Lucar

    Lucar Professional Ferret

    Member
    498
    1,013
    Sep 12, 2015
    Canada
    New Donk City
    What do you mean?
     
  8. Asia81

    Asia81 In my Ecchi World <3

    Member
    4,881
    2,348
    Nov 15, 2014
    France
    Albi
    Why send him an old pack? 3.5 vs 4.3
     
  9. 101239

    101239 GBATemp Irregular

    Banned
    312
    158
    Oct 25, 2015
    United States
    Maybe Somewhere near you? ( ͡° ͜ʖ ͡°)
    youtube to mp3 is your friend.
     
  10. Asia81

    Asia81 In my Ecchi World <3

    Member
    4,881
    2,348
    Nov 15, 2014
    France
    Albi
    Lol...
    Extract musics from your game take what... 10mns and you have the best quality...
     
  11. 101239

    101239 GBATemp Irregular

    Banned
    312
    158
    Oct 25, 2015
    United States
    Maybe Somewhere near you? ( ͡° ͜ʖ ͡°)
    Thats just what i use.
     
  12. EpicLPer
    OP

    EpicLPer Nice unless you give me a reason to hate you ;)

    Member
    918
    595
    Mar 13, 2015
    Austria
    Austria
    Ew no... Those are mostly shitty audio-jack rips which I fully hate, plus YouTube converts the audio heavily down...

    — Posts automatically merged - Please don't double post! —

    Only if you happen to find decrypted CIAs. I'm using braindump now trying to get a decrypted RomFS.
    I did try the CIA I had already with which I originally installed the game BUT it didn't work, the extractor told me it'd not be a valid RomFS binary...
     
  13. tony_2018

    tony_2018 GBAtemp Psycho!

    Member
    3,106
    1,050
    Jan 3, 2014
    United States
    Yeah youtube does downgrade the quality, no matter how hard I search for a high quality rip of something, after downloading it just sounds like crap. Maybe my eq on my pc is just tht good...
     
  14. EpicLPer
    OP

    EpicLPer Nice unless you give me a reason to hate you ;)

    Member
    918
    595
    Mar 13, 2015
    Austria
    Austria
    Okay, thanks a lot guys!
    I used braindump to get the CXI, then used the PackHack all-in-one thing to actually unpack the CXI file.

    Thanks a ton!