How did people fin Custom RPL Exports ?

Discussion in 'Wii U - Hacking & Backup Loaders' started by NexoCube, Jan 30, 2016.

  1. NexoCube
    OP

    NexoCube stop using piracy :(

    Member
    1,184
    587
    Nov 3, 2015
    France
    Stack Pointer
    For me, in find the function in the wiiubrew wiki. But sometimes when people are hosting their homebrews on github or something, they use things like for the system update deleter, i have seen, Acquire the nn_nim and use the function CleanupUpdatePackage :

    Code:
    #include "loader.h"
    
    void _start()
    {
        unsigned int nn_nim_handle;
        OSDynLoad_Acquire("nn_nim.rpl", &nn_nim_handle);
        void(*CleanupUpdatePackage)();
        OSDynLoad_FindExport(nn_nim_handle, 0, "CleanupUpdatePackage", &CleanupUpdatePackage);
        CleanupUpdatePackage();
    }
    But on Wii U Brew there is nothing about it... How did people do to find these functions ?

    Same for dmae.rpl where did they find the functions ?
     
  2. Voxel

    Voxel Clumsy Coder

    Member
    GBAtemp Patron
    Voxel is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,150
    5,780
    Jun 27, 2015
    United Kingdom
    England, UK
    Maybe it's some sort of software reverse-engineering, I'm not too sure. @Marionumber1 might know something about it.
     
    NexoCube and josamilu like this.
  3. Voxel

    Voxel Clumsy Coder

    Member
    GBAtemp Patron
    Voxel is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,150
    5,780
    Jun 27, 2015
    United Kingdom
    England, UK
    Ah, I think I know now! Since the RPLs are modified ELF files (some parts of the elf are zlib compressed and there are no headers), we can probably decompress the zlib-compressed parts and disassemble it all, which should show us the functions in the RPL file!

    This is just a rough idea; if any devs want to tweak/correct this theory then please feel free, because I'm interested in all of this too.
     
    NexoCube likes this.
  4. NexoCube
    OP

    NexoCube stop using piracy :(

    Member
    1,184
    587
    Nov 3, 2015
    France
    Stack Pointer
    Just compiled OSDriver Kernel and it launched, but prints out a Race Attack Failed then launched the Settings app.
     
  5. Voxel

    Voxel Clumsy Coder

    Member
    GBAtemp Patron
    Voxel is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,150
    5,780
    Jun 27, 2015
    United Kingdom
    England, UK
    You're on 5.5?
     
  6. hashcheck1

    hashcheck1 GBAtemp Fan

    Member
    423
    124
    Aug 5, 2013
    Also some have legit sdk
     
  7. Voxel

    Voxel Clumsy Coder

    Member
    GBAtemp Patron
    Voxel is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,150
    5,780
    Jun 27, 2015
    United Kingdom
    England, UK
    Yea, I have cafe sdk 2.12.13, and that's where people are probably getting all the RPLs from.
     
  8. NexoCube
    OP

    NexoCube stop using piracy :(

    Member
    1,184
    587
    Nov 3, 2015
    France
    Stack Pointer
    5.5.1E Updated, for GH:Live Rivals Mode xD

    — Posts automatically merged - Please don't double post! —

    Where can i havethe cafe sdk ?
     
  9. Voxel

    Voxel Clumsy Coder

    Member
    GBAtemp Patron
    Voxel is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,150
    5,780
    Jun 27, 2015
    United Kingdom
    England, UK
    You can't ask for it here.
     
  10. NexoCube
    OP

    NexoCube stop using piracy :(

    Member
    1,184
    587
    Nov 3, 2015
    France
    Stack Pointer
    Oh. Private Message ?

    — Posts automatically merged - Please don't double post! —

    Forgot. Just found it. Sorry for disturbing.
     
    Voxel likes this.