Question 'bout IO Access on the 3ds SD Card

Discussion in '3DS - Flashcards & Custom Firmwares' started by GovanifY, Aug 23, 2014.

  1. GovanifY
    OP

    GovanifY Member

    Banned
    42
    45
    Mar 9, 2014
    France
    So Hello there,

    I'm trying to do some stuff on the 3ds and I have some questions:

    Did someone know how to read/create files on the 3ds SD card?
    I already saw Fierce Waffle that reversed that: IFile_Open was located at 0x001b82ac and IFile_Read at 0x001b3958.
    But I don't have more infos. So can someone explain me how I can load files and writes to them on the SD?

    Another question. On various 3dbrew pages I saw dest and src pointers. But what does this actually mean? If I create an inbuf and an outbuf how can I have their 2 separated pointers?

    Thanks in advance, GovanifY
     
  2. ernilos

    ernilos GBAtemp Regular

    Member
    152
    140
    Aug 28, 2013
    With ARM9 you need use something like FatFS for filesystem, in ARM11 just use ctrulib's. And use the homebrew thread lol
     
  3. GovanifY
    OP

    GovanifY Member

    Banned
    42
    45
    Mar 9, 2014
    France
    How stupid am I....I just realized that the FS.c on ctrulib was what I wanted...I just didn't realized it was integrated...^^"