SD card access #191
-
I haven't found a way to access the SD card using ctru-rs, could someone help me? Thanks 🤗 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The SD card is automatically accessible with normal std::fs::read_dir("/3ds"); To access a custom RomFS bundled with the executable, have a look at the I hope this helps 👍 Edit: although slightly more complicated than other examples, this functionality is shown in the |
Beta Was this translation helpful? Give feedback.
The SD card is automatically accessible with normal
std::fs
commands, since the connection is established by default vialibctru
. For example, to access the/3ds
folder you only need to do:To access a custom RomFS bundled with the executable, have a look at the
romfs
example.I hope this helps 👍
Edit: although slightly more complicated than other examples, this functionality is shown in the
file-explorer
example.