Extracting .cxi files from a .cia file (using ctrtool)?

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by Rainr, Jan 3, 2017.

  1. Rainr
    OP

    Rainr Newbie

    Newcomer
    7
    0
    Jan 1, 2017
    Netherlands Antilles
    Hi guys! :)

    I can't find how to extract a cxi file from a cia file using ctrtool in the citra github. If it's not too much trouble, could someone explain how to do it?

    I am able to extract the content.0000.000000 file, but can't seem to figure out how to convert it to a .cxi file.

    Thanks so much! :)
     
  2. Rainr
    OP

    Rainr Newbie

    Newcomer
    7
    0
    Jan 1, 2017
    Netherlands Antilles
    Bump!
     
  3. evandixon

    evandixon PMD Researcher

    Member
    1,686
    808
    May 29, 2009
    United States
    The content.0000.000000 file should be a CXI file.

    How my .Net 3DS Toolkit does it, for reference:
    https://github.com/evandixon/DotNet3dsToolkit/blob/master/DotNet3dsToolkit/Converter.vb#L196
     
  4. Rainr
    OP

    Rainr Newbie

    Newcomer
    7
    0
    Jan 1, 2017
    Netherlands Antilles
    I may not be understanding you correctly, but isn't it a .000000 file? How do I convert it to have the .cxi file extension?
    Thanks for responding!

    @UniqueGeek
     
  5. evandixon

    evandixon PMD Researcher

    Member
    1,686
    808
    May 29, 2009
    United States
    File extensions are mostly arbitrary. Simply rename it to .cxi, and it'll work.
     
  6. Rainr
    OP

    Rainr Newbie

    Newcomer
    7
    0
    Jan 1, 2017
    Netherlands Antilles
    It dosen't seem to work for me.. I'm trying to use the prepatched .cia for Pokemon Meme Sapphire found here (http://pastebin(dot)com/0VB0v7Hc). Is the problem that it's a patch on top of Alpha Sapphire and not a standalone .cia? If so, how do I go about patching AS on the PC?

    Thanks so much.
     
  7. evandixon

    evandixon PMD Researcher

    Member
    1,686
    808
    May 29, 2009
    United States
    A pre-patched CIA file shouldn't require messing with the CXI partition.
     
  8. Rainr
    OP

    Rainr Newbie

    Newcomer
    7
    0
    Jan 1, 2017
    Netherlands Antilles
    I'm trying to run it in Citra. Citra dosen't allow me to run .cia files, and I'm unable to convert it to a .cci file in makerom for some reason.

    Thanks!

    Edit: When they say, prepatched, does that mean that it is standalone? Do I still have to patch Alpha Sapphire?
     
    Last edited by Rainr, Jan 4, 2017