Delete configsave.bin

Discussion in '3DS - Flashcards & Custom Firmwares' started by DestinySky, Apr 9, 2017.

  1. DestinySky
    OP

    DestinySky Member

    Newcomer
    44
    2
    Apr 15, 2015
    Malaysia
    How do we delete configsave.bin?
    Decrypt9 can dump and inject it, but how do we delete it?
    I can't find this file in GodMode9 too.
     
  2. Ryccardo

    Ryccardo WiiUaboo

    Member
    2,901
    1,355
    Feb 13, 2015
    Italy
    Imola
  3. DestinySky
    OP

    DestinySky Member

    Newcomer
    44
    2
    Apr 15, 2015
    Malaysia
    Thank you!
    I then look up here too:
    https://www.3dbrew.org/wiki/Config_Savegame

    But I can't figure out how do the block ID correspondent to the hex offset.

    For example, the username block ID is 0x000A0000, but when I open the actual file, it starts at offset 0x00018086:
    [​IMG]

    My main goal is to fix the issue where the screen flickers once we format some 3ds that got downgraded with CTRTransfer method.
    Restoring the previously backed up configsave.bin or use the dev config tool to adjust the screen will fix the screen, but I reckon if we could fix it permanently, it will be great.
     
    Last edited by DestinySky, Apr 9, 2017
  4. Ryccardo

    Ryccardo WiiUaboo

    Member
    2,901
    1,355
    Feb 13, 2015
    Italy
    Imola
    It's a "block ID", not an offset :)


    First you use the big table to find the block ID of the setting you want to find, then note down the size (in this case, 1C)

    Go to address 0x04 and read 4 bytes. If they match the block ID, great!
    If not, skip C bytes ahead from 0x04, see if it matches, ... keep going C bytes forward until you find it (and beware of the byteswaps)

    If the size was between 1 and 4, the data is inside this index immediately after the block ID; else, if the size was more (like in this case of the username), the 4 bytes after the block ID tell you where in the file the setting is (it's not clear from the page if it's an absolute or relative address)

    I think the guy who did most of the research on the Config save is sometimes in #cakey if you'd need to ask him!
     
    Last edited by Ryccardo, Apr 9, 2017
  5. DestinySky
    OP

    DestinySky Member

    Newcomer
    44
    2
    Apr 15, 2015
    Malaysia
    So you mean every configsave.bin have their offset at different place?
    I just wanna know where are these setting located:
    1) Upper/Lower screen flicker byte
    2) The low u16 indicates whether the system setup is required, such as when the system is booted for the first time or after doing a System Format: 0 = setup required, non-zero = no setup required

    Any tool that can simplify the searching of the correct offset?
    Err...
    Can you like spoon-feed me please...
     
  6. Ryccardo

    Ryccardo WiiUaboo

    Member
    2,901
    1,355
    Feb 13, 2015
    Italy
    Imola
    I don't know... maybe Decrypt9 has some code to fix it during a ctrtransfer, maybe not, but don't bet on it...
    I think I heard a searcher exists but I've never seen it

    What was my last message? :P

    If you want me to search those options, I would need your file, because there's no guarantee they're in the same place between dumps from different consoles!
     
  7. DestinySky
    OP

    DestinySky Member

    Newcomer
    44
    2
    Apr 15, 2015
    Malaysia
    I see.
    Do you know if the Config dev app in 3DSX format exist?