Reply to thread
GBAtemp.net - The Independent Video Game Community
Search
Search titles only
By:
Search titles only
By:
Reply to thread
GBAtemp.net - The Independent Video Game Community
Home
Log in
Terms & Rules
Donate
Forums
New posts
Search forums
Groups
Public Events
New
New posts
New resources
New blog entries
New profile posts
New blog entry comments
New threadmarks
Latest activity
Cheats
Cheat Codes Add and Request group
The Legend of Zelda: Tears of the Kingdom cheat codes
Pokémon Legends: Arceus cheat codes
Xenoblade Chronicles 3 cheat codes
Fire Emblem Engage cheat codes
Request a cheat...
Tutorials
Nintendo Switch tutorials
Nintendo 3DS tutorials
Nintendo Wii U tutorials
Reviews
Overview
Official reviews
User reviews
Downloads
Latest reviews
Search resources
Blogs
New entries
New comments
Blog list
Search blogs
Chat
Top chatters
Search
Search titles only
By:
Search titles only
By:
Log in
Register
New posts
Search forums
Log in
Register
Home
Forums
PC, Console & Handheld Discussions
Nintendo 3DS
Homebrew Development
Menu
Install the app
Install
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Magicrafter13" data-source="post: 7436061" data-attributes="member: 415235"><p>I don't understand how to use any of the FS and FSUSER functions in libctru. There is no documentation. Although let me specify, there is documentation on things like the syntax, but there is no explanation on what that syntax is. I want to check if a directory exists and if it does delete it.</p><p></p><p>Here's how I'm deleting the directory:</p><p>FSUSER_DeleteDirectoryRecursively(ARCHIVE_SDMC, "sdmc:/3ds/testFolder");</p><p>though, this doesn't work because the second argument is a const char, not a "FS_Path".</p><p>So I look up the documentation on FS_PATH, which tells me nothing.</p><p>I figure: I'll come back to it later, now let's see how to test if a directory exists.</p><p>There doesn't seem to be a function specifically for that but I figure I can make it work. I found FS_PathType which seems to give an int that tells you 0 for invalid 1 for empty etc. But it doesn't say in the documentation how to tell FS_PathType what path you want to specify. So I assume FS_PathType isn't a function but rather some kind of struct, but that only makes me more confused.</p><p></p><p>I need some serious explaining about FS in libctru. Or if someone can send me examples (and I don't mean link me to peoples GitHub repo's or anything like that, I mean actual examples).</p></blockquote><p></p>
[QUOTE="Magicrafter13, post: 7436061, member: 415235"] I don't understand how to use any of the FS and FSUSER functions in libctru. There is no documentation. Although let me specify, there is documentation on things like the syntax, but there is no explanation on what that syntax is. I want to check if a directory exists and if it does delete it. Here's how I'm deleting the directory: FSUSER_DeleteDirectoryRecursively(ARCHIVE_SDMC, "sdmc:/3ds/testFolder"); though, this doesn't work because the second argument is a const char, not a "FS_Path". So I look up the documentation on FS_PATH, which tells me nothing. I figure: I'll come back to it later, now let's see how to test if a directory exists. There doesn't seem to be a function specifically for that but I figure I can make it work. I found FS_PathType which seems to give an int that tells you 0 for invalid 1 for empty etc. But it doesn't say in the documentation how to tell FS_PathType what path you want to specify. So I assume FS_PathType isn't a function but rather some kind of struct, but that only makes me more confused. I need some serious explaining about FS in libctru. Or if someone can send me examples (and I don't mean link me to peoples GitHub repo's or anything like that, I mean actual examples). [/QUOTE]
Insert quotes…
Verification
Post reply
Home
Forums
PC, Console & Handheld Discussions
Nintendo 3DS
Homebrew Development
General chit-chat
Help
Users
Settings
Notifications
Miscellaneous
Inverse message direction
Display editor on top
Enable maximized mode
Display images as links
Hide bot messages
Hide statuses
Hide chatter list
Show messages from ignored users
Temporarily disable chat
Receive mention alerts
Sound notifications
Normal messages
Private messages
Whisper messages
Mention messages
Bot messages
Desktop notifications
Normal messages
Private messages
Whisper messages
Mention messages
Bot messages
Options
Options
View top chatters
K3Nv2
Loading…
BigOnYa
Loading…
Xdqwerty
Loading…
what are you looking at?
rqkaiju2
Loading…
DilllyDabDharma
Loading…
@
SylverReZ
:
@Xdqwerty
, Yea
+1
Yesterday at 10:57 PM
S
@
salazarcosplay
:
@Xdqwerty
how are you
59 minutes ago
@
Xdqwerty
:
@SylverReZ
, looks cool
56 minutes ago
@
Xdqwerty
:
@salazarcosplay
, fine i guess
56 minutes ago
@
K3Nv2
:
https://www.nickalive.net/2024/05/peter-bennett-long-time-art-director-on.html?m=1
sad
47 minutes ago
@
BigOnYa
:
I said to my wifey earlier, "I gotta pull a Nocto card on that one." Without even thinking she has no clue what that means.
32 minutes ago
@
rqkaiju2
:
im chewing on possibly expired gum right now. it tastes normal
26 minutes ago
@
Xdqwerty
:
@rqkaiju2
,
cuz it expired 5 minutes ago
24 minutes ago
@
rqkaiju2
:
@Xdqwerty
wrong it probably expired somewhere in 2023 most likely
+1
23 minutes ago
@
rqkaiju2
:
ok i just checked a pack it expires 28 november 2024 so it isnt expired
+1
22 minutes ago
@
BigOnYa
:
I've heard chewing expired gum, makes you grow a tail, just saying. You may need to buy new pants with a hole in the rear.
21 minutes ago
@
rqkaiju2
:
woah
20 minutes ago
@
SylverReZ
:
https://www.youtube.com/watch?v=4iMm6wIktNk
+3
20 minutes ago
@
rqkaiju2
:
kinda angry rn why am i getting no audio in my headphones when they're plugged in
19 minutes ago
@
BigOnYa
:
I've also heard chewing expired gum causes hearing loss when wearing headphones.
+2
17 minutes ago
@
Xdqwerty
:
@SylverReZ
, why is wish.com still alive?
16 minutes ago
@
SylverReZ
:
@Xdqwerty
, No idea, Wish.com is dead.
15 minutes ago
@
Xdqwerty
:
@SylverReZ
,
its probably still alive due to dumb people buying from there
+1
13 minutes ago
@
K3Nv2
:
https://www.cbsnews.com/news/tesla-cybertruck-rusting-complaints-from-owners/
12 minutes ago
@
Xdqwerty
:
@SylverReZ
,
that site is like if a clickbait youtuber made a online store themselves
+1
11 minutes ago
@
K3Nv2
:
You wouldn't leave this site even if it became a porn site
+1
10 minutes ago
@
SylverReZ
:
https://youtu.be/rtvRsQvkkrY?feature=shared&t=32
10 minutes ago
@
K3Nv2
:
You'd stay on it longer if anything
+2
9 minutes ago
@
BigOnYa
:
@K3Nv2
That's what uremum said, when I told her to go shower first.
+2
7 minutes ago
@
K3Nv2
:
https://a.co/d/3aCbNk8
lol smart keyboard
4 minutes ago
Submit
@
K3Nv2
:
https://a.co/d/3aCbNk8 lol smart keyboard
4 minutes ago
Chat
5