Anyone could explain me how to edit a decompressed arm9.bin?

Discussion in 'NDS - ROM Hacking and Translations' started by XabiPlayerPRO, Sep 5, 2017.

  1. XabiPlayerPRO
    OP

    XabiPlayerPRO Member

    Newcomer
    42
    19
    Jan 3, 2017
    I know some Nintendo hackers (like Ermii Team's people) did this, and changed some of the game's code, but how do you do it?
    I mean, like decompress the arm9 as some C or C++ files and headers, or just assembly language files.
    I have lots of editors (MKDSCM, EFE, NSMBe, SDSME, VGMTrans, DS Sound Studio...), and also all the devkitPro libraries.
    Any help?
     
  2. rastsan

    rastsan 8 baller, Death Wizard,

    Member
    996
    228
    May 28, 2008
    Canada
    toronto
    I was going to put a sort of bad answer here. since you are familiar with assembly then you must know of dis assemblers. which means you have already looked into nds specific idapro plugins? or what crystaltile2 can do. which helps amazingly with its nef stuff. so the nef file can help you narrow down ranges that are marked for other things. so if you want to replace the sound stuff where that is. or the font routine... but there are guides on how to do that out there finding the font routine in memory and thus in the rom or just finding it period. those guides may not be specific to the nds but still get you where you need to go.

    but the simplest way is with a hex editor.

    really depends on what you are planning on doing.

    arm9 as in arm 9 assembly. there are arm assembly command manuals out there (very dry stuff)... but it depends as if you are doing a sound hack you may need to touch the arm7 - even then that is highly unlikely as it would be easier to edit the sound files themselves. as I cannot imagine changing the entire way the game loads sounds without very good reason.

    they have not made any thing yet that does that dissassmbly to c there is some assembly stuff. close to it but... as it is easier to use idapro with the nds plugin and ct2 with the nef thing and even then there are cheat software or emulators that let you view and trace arm easier than idapro. as you can watch in game while playing live changes. instead of hours or days of going over idapro disassembly stuff.

    fast6191 has guide stickied at the top of the forum. read that.

    If you could be more specific as to what you want to do that might get you more help.