[Question] Reverse Enginering?

Discussion in '3DS - Homebrew Development and Emulators' started by adrifcastr, Oct 24, 2016.

  1. adrifcastr
    OP

    adrifcastr GBAtemp Advanced Maniac

    Member
    1,801
    842
    Sep 12, 2016
    Germany
    So it´s pretty easy to derypt, extract and rebuild CIA´s , but is there a way to also extract .3dsx and especially .bin files?
     
  2. Roomsaver

    Roomsaver GBAtemp Advanced Fan

    Member
    951
    243
    Sep 7, 2015
    United States
    garfield kart grand prix
    I don't think so...? Why would you even need to do this? Source is available for all (that I can think of) 3dsx apps.
     
  3. Zidapi

    Zidapi GBAtemp Psycho!

    Member
    3,045
    1,826
    Dec 1, 2002
    Based on "especially .bin files" my guess is OP wants to try to RE NTR-CFW, it's the .bin I can think of that isn't open source.

    @addi33 If this is the case good luck (genuinely), it's already been done, but hasn't been released publicly. Now that cell9 has left the scene there's no reason not to RE and share it. People like @Nanquitas would really appreciate and benefit from its release.
     
    Nanquitas likes this.
  4. Nanquitas

    Nanquitas GBAtemp Addict

    Member
    2,168
    1,856
    Sep 29, 2015
    France
    South of France :)
    Actually it's probably not the file he's trying to extract.

    The ntr's bin are directly available without the need to extract anything.
    But there's a few homebrews released without the sources.

    As for your question OP, I'm sorry but I don't know, not really interested in the game's modding, though it should be possible.
     
  5. adrifcastr
    OP

    adrifcastr GBAtemp Advanced Maniac

    Member
    1,801
    842
    Sep 12, 2016
    Germany
    Actually you are right, I'd like to re-make ntr, so that its public and everyone can work on it, but I have no experience with reverse enginering
     
  6. Nanquitas

    Nanquitas GBAtemp Addict

    Member
    2,168
    1,856
    Sep 29, 2015
    France
    South of France :)
    Then you don't need to extract anything.

    Just take the .bin of the version you want and open it in IDA.
    You select ARM-Little Endian in the architecture and you relocate the segment by 0x00100100.

    That's all to begin with.

    A good thing too is to enter the different structures you can find in the different headers related to NTR, it helps determining the purpose of the function you currently into.
    Also 3DBrew will be really useful especially when you'll attack the "hax" part.

    Anyway, good luck mate. :)
     
  7. adrifcastr
    OP

    adrifcastr GBAtemp Advanced Maniac

    Member
    1,801
    842
    Sep 12, 2016
    Germany
    Okay thank you :) just a quick question because I have really never fone anything like that, just making some homebrew or other stuff so whats IDA?
     
  8. Nanquitas

    Nanquitas GBAtemp Addict

    Member
    2,168
    1,856
    Sep 29, 2015
    France
    South of France :)
    Well it's the most commonly used decompiler and do a great job.
    I'd like to say it's the best but I do not have enough knowledge in this domain to say that.

    Anyway if you want to decompile something you'll surely be able to do so with IDA.
    Though, a knowledge in asm is required.
     
  9. adrifcastr
    OP

    adrifcastr GBAtemp Advanced Maniac

    Member
    1,801
    842
    Sep 12, 2016
    Germany
    can´t find this in the database selection screen