Hacking How to change the version string in emunand

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,009
Trophies
2
Age
36
XP
4,571
Country
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);
        }
    }
}
 
  • Like
Reactions: DesuIsSparta

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Veho @ Veho: Touché.