NULL

Question Edit precompiled payload

Discussion in 'Switch - Backup Loaders & Modchips' started by masagrator, Jun 13, 2019.

  1. masagrator
    OP

    masagrator File digger

    Member
    6
    Oct 14, 2018
    Poland
    Is there a way to edit precompiled payload? For example I want to edit sx os loader to load boot.dat but with different name (bood.dat for example).
    I couldn't find anything about deassembling/decompressing/anything else how to edit it.

    Edit: oh, ok. Nvm. It uses Unicode strings.
     
    Last edited by masagrator, Jun 13, 2019
  2. crissal

    crissal GBAtemp Regular

    Member
    3
    Dec 3, 2017
    Italy
    Unless you know how to modify the binary itself (so just a bunch of 0s and 1s) or either you disassembly the binary and work with assembly instructions (load, move, add and so on), no, there isn't a way.
    If the problem is extended to other payloads (hekate, atmosphere, rcm lockpick etc) then you can just edit the source, build and make your own payload
     
  3. masagrator
    OP

    masagrator File digger

    Member
    6
    Oct 14, 2018
    Poland
    First issue is that payloads are using lz77. And ofc not whole file is using compression. So i can't just edit string.
    I was thinking maybe there is already somewhere decompressor for payloads.
     
    Last edited by masagrator, Jun 13, 2019
  4. Mazamin

    Mazamin GBAtemp Advanced Maniac

    Member
    8
    Sep 4, 2014
    Italy
    Even if you would be able to edit it, integrity checks will fail and payload won't boot (if we're talking about sx os payload)
     
  5. masagrator
    OP

    masagrator File digger

    Member
    6
    Oct 14, 2018
    Poland
    I'm talking about SX OS Loader in bin format, which loads SX OS boot.dat
    I don't want to edit boot.dat. I want to edit payload.bin.
    Or it's the same issue for both?
     
    Last edited by masagrator, Jun 13, 2019
  6. Mazamin

    Mazamin GBAtemp Advanced Maniac

    Member
    8
    Sep 4, 2014
    Italy
    Well, I guess it would be the same
     
Loading...