How to change the version string in emunand

Discussion in '3DS - Flashcards & Custom Firmwares' started by runetoonxx2, Mar 20, 2016.

  1. runetoonxx2
    OP

    runetoonxx2 GBATemp's Cancer

    Member
    1,349
    176
    Jan 15, 2014
    United States
    The GBATemp
    Aureinand says ver but I want to change it to rei
     
  2. squee666

    squee666 Advanced Tech Pleb

    Member
    1,591
    896
    Sep 17, 2010
    Belfast
    hexedit code.bin
     
  3. runetoonxx2
    OP

    runetoonxx2 GBATemp's Cancer

    Member
    1,349
    176
    Jan 15, 2014
    United States
    The GBATemp
    1. Where do I find code.bin
     
  4. AnalogMan

    AnalogMan sumoCheatMenu Dev

    Member
    1,465
    863
    Apr 20, 2007
    United States
    ReiNAND had this code to edit the Ver. string. It was in the file thread\thread.c which is not present on AuReiNAND, so I'm not sure where you could add it into the source code and still have it compile.

    Code:
    void patches(void){
        //Change version string
        for(int i = 0; i < 0x600000; i+=4){
            if(strcomp((void*)0x27B00000 - i, (void*)L"Ver.", 4)){
                if(strcomp((void*)0x27B00000 - i + 0x28, (void*)"T_ver_00", 4)) strcopy((void*)0x27B00000 - i, (void*)L"\uE024Rei", 4);
            }
        }
    }
    
     
    DesuIsSparta likes this.