Homebrew Proposed SD directory restructuring for homebrew

TheCruel

Developer
OP
Banned
Joined
Dec 6, 2013
Messages
1,350
Trophies
2
XP
3,131
Country
United States
With that argument, wouldn't it then be logical to use the "Nintendo 3DS" directory that already exists instead of "3ds"?
If that directory wasn't externally managed by non-homebrew, I would agree. I know it's perhaps reasonable to assume it won't be modified, but still not ideal imo.
 
Last edited by TheCruel,
  • Like
Reactions: Drakia

Shadowhand

Slim, Alternative Dev.
Member
Joined
Feb 27, 2016
Messages
522
Trophies
0
Age
31
XP
1,958
Country
United Kingdom
One thing people always say "BUT WE ALREADY HAVE /3DS/!!!!!!!1!" Who said I want to keep /3ds/ where it is? It's a folder that doesn't convey its purpose at a glance, where as /homebrew/ does. Which was my initial idea, but then other devs said "look, this is dumb, what if people share their SD cards with other devices", and that made sense to me, and after a lengthy discussion, it was decided on "/homebrew/3ds/", with the current /3ds/ folder moving inside there, under a different name.
 
  • Like
Reactions: Deleted User

Ryccardo

Penguin accelerator
Member
Joined
Feb 13, 2015
Messages
7,696
Trophies
1
Age
28
Location
Imola
XP
6,921
Country
Italy
So, a save extracted with something like JKSM will just output a bunch of individual files? Also, what's the size limit on a savf? Will it be usable for something like a 2MB cache file?
1- yep
2- what you want! It's essentially a disk image with some format-time parameters (max folder count, max file count, redundancy enabled)
 
Last edited by Ryccardo,

Drakia

Well-Known Member
Member
Joined
Mar 15, 2008
Messages
1,644
Trophies
2
Age
36
XP
2,596
Country
Canada
1- yep
2- what you want! It's essentially a disk image with some format-time parameters (max size, max folder count, max file count, redundancy enabled)
Huh, I didn't realize it gave you just a folder structure layout when you export a save. It's still an extra step to access configs, but less concerning in regards to obfuscating things to end users.
 

TheCruel

Developer
OP
Banned
Joined
Dec 6, 2013
Messages
1,350
Trophies
2
XP
3,131
Country
United States
One thing people always say "BUT WE ALREADY HAVE /3DS/!!!!!!!1!" Who said I want to keep /3ds/ where it is? It's a folder that doesn't convey its purpose at a glance, where as /homebrew/ does. Which was my initial idea, but then other devs said "look, this is dumb, what if people share their SD cards with other devices", and that made sense to me, and after a lengthy discussion, it was decided on "/homebrew/3ds/", with the current /3ds/ folder moving inside there, under a different name.
Sure that would be nice, but then you'll have to go over to wiiu/wii/other communities and get them to adopt that directory too. If not, I see it hurting more than helping. It would convey that the other directories in root somehow aren't homebrew related.
 
  • Like
Reactions: Drakia

Ricken

Searching for the air to breathe~
Member
Joined
Jan 19, 2016
Messages
2,661
Trophies
1
Age
21
Location
Mid-Michigan
XP
2,963
Country
United States
To be honest it really isn't bad to look through after trashing unnecessary files
A6bHxpR.png
 
  • Like
Reactions: oiie

Shadowhand

Slim, Alternative Dev.
Member
Joined
Feb 27, 2016
Messages
522
Trophies
0
Age
31
XP
1,958
Country
United Kingdom
Sure that would be nice, but then you'll have to go over to wiiu/wii/other communities and get them to adopt that directory too. If not, I see it hurting more than helping. It would convey that the other directories in root somehow aren't homebrew related.
Not necessarily, but it does allow them to do the same without cluttering further with their /wii/ or /wiiu/ or /whatever/ in the root.
 

Drakia

Well-Known Member
Member
Joined
Mar 15, 2008
Messages
1,644
Trophies
2
Age
36
XP
2,596
Country
Canada
One thing people always say "BUT WE ALREADY HAVE /3DS/!!!!!!!1!" Who said I want to keep /3ds/ where it is? It's a folder that doesn't convey its purpose at a glance, where as /homebrew/ does. Which was my initial idea, but then other devs said "look, this is dumb, what if people share their SD cards with other devices", and that made sense to me, and after a lengthy discussion, it was decided on "/homebrew/3ds/", with the current /3ds/ folder moving inside there, under a different name.

I dunno, the "/3ds/" folder implies that it's 3ds related. If we switch to /3ds/apps/ for homebrew, it implies that 3ds apps (homebrew) live in that folder. It's less of a change from what we have now (less confusing for users), but still helps towards cleaning up the root of the SD card, without temporarily creating yet another folder on the root to get things under way.
 

Sono

cripple piss
Developer
Joined
Oct 16, 2015
Messages
2,825
Trophies
2
Location
home
XP
9,359
Country
Hungary
If I remember correctly, the CWD is set by NH2.x on launching, so the apps wouldn't need to care about hardcoding their paths. I'm gonna test this out after I post this :P

No :( `getcwd` returns "/" :( I thought the current working directory is set to /3ds/appname :cry:
 

Shadowhand

Slim, Alternative Dev.
Member
Joined
Feb 27, 2016
Messages
522
Trophies
0
Age
31
XP
1,958
Country
United Kingdom
Directories I propose (and has been given a greenlight by other developers):
SD:/homebrew/3ds/: The main folder that'll replace SD root, basically it'll have /luma/ folder, /SaltFW/, JKSV, a9lh stuff and what not.

Rename /3ds/: Rename this folder to /homebrew/3ds/hbchannel or */3dsx/ or something.

I already moved MY homebrew to /homebrew/3ds/*, and asked several developers to change their paths to it, including Cell9 (which refused...) and JK_ (which was very kind), and forked several apps myself to fix them for this path.

Look at all these files/folders that could be moved to /homebrew/3ds/
eJJpb


And look how nice my /homebrew/3ds/ folder looks:
jIdKV
 

Drakia

Well-Known Member
Member
Joined
Mar 15, 2008
Messages
1,644
Trophies
2
Age
36
XP
2,596
Country
Canada
DI already moved MY homebrew to /homebrew/3ds/*, and asked several developers to change their paths to it, including Cell9 (which refused...) and JK_ (which was very kind), and forked several apps myself to fix them for this path.
So, one developer refused, and one did it then reverted his change after the outcry about it being a bad location...
 
  • Like
Reactions: oiie
D

Deleted User

Guest
I dunno, the "/3ds/" folder implies that it's 3ds related. If we switch to /3ds/apps/ for homebrew, it implies that 3ds apps (homebrew) live in that folder. It's less of a change from what we have now (less confusing for users), but still helps towards cleaning up the root of the SD card, without temporarily creating yet another folder on the root to get things under way.
I also agree that the "/homebrew/" part is an unnecessary step; "/3ds/" should suffice to convey that stuff inside is related to the 3DS, and it's very likely a "/homebrew/" directory would end up containing only the "3ds" folder.

EDIT: The proposal in the OP sounds fine, although "appdata" could probably be truncated to just "data".
 
Last edited by ,

Shadowhand

Slim, Alternative Dev.
Member
Joined
Feb 27, 2016
Messages
522
Trophies
0
Age
31
XP
1,958
Country
United Kingdom
So, one developer refused, and one did it then reverted his change after the outcry about it being a bad location...
JK_ was very sad to do so, and he did not revert because the path is bad. He did so because people dislike the change.

@Shadowhand well, honestly, if you're going that route just keep sdmc:/Homebrew/{Application Name}
That was my initial idea, but a lengthy discussions with other big-name devs made it apparent they wouldn't support it.

--------------------- MERGED ---------------------------

I also agree that the "/homebrew/" part is an unnecessary step; "/3ds/" should suffice to convey that stuff inside is related to the 3DS, and it's very likely a "/homebrew/" directory would end up containing only the "3ds" folder.
Not necessarily. It can also contain /nds/, or /wii/ or /wiiu/. It's extensible without cluttering the SD root.
 

Drakia

Well-Known Member
Member
Joined
Mar 15, 2008
Messages
1,644
Trophies
2
Age
36
XP
2,596
Country
Canada
JK_ was very sad to do so, and he did not revert because the path is bad. He did so because people dislike the change.
I wasn't implying JK_ thought it was a bad location, but that users were unhappy because it was a bad location. That should be considered when trying to come up with a solution that end users will accept.
 
  • Like
Reactions: klear and oiie

TurtleP

Well-Known Member
Member
Joined
Oct 7, 2015
Messages
140
Trophies
0
Age
28
Website
TurtleP.github.io
XP
308
Country
United States
@Shadowhand I dunno. It just seems very repetitive to have /3DS/ inside of /Homebrew/ and then the application's name. You could also argue /3DS/ is repetitive for the /Nintendo 3DS/ folder existing, but. . it's a lengthy debate.
 
  • Like
Reactions: oiie
A

a9lh-1user

Guest
BTW i think it will be a good way for NEW CFW users! (easyer and more "stable" against doing BAD things!)
But most of the "old" CFW users have to change (if we will FORCED to use the new way) almost everything!
This will lead to new threads every day "How could i" - "What happened" - "Please Help"...... and so on.

Many users of CFW are trying all the good new CFW that are realeased and dont know what they are doing!
IMHO it is a good way for new CFW users .... but it will lead to many "problems" with the curent CFW users.

There is a golden rule named: "Dont change a running system!" and i think what the dev'S of HB and CFW did until today is AMAZING!
And it is working so far (for me with 6 different CFW and 18 folders and 19 files in the root of my SD)!

DoWW86K.png
 
D

Deleted User

Guest
Not necessarily. It can also contain /nds/, or /wii/ or /wiiu/. It's extensible without cluttering the SD root.
What makes "/homebrew/" any better than the SD root for these directories? Also, considering both the Wii and Wii U scene currently put their system directories in the root, you'll have a difficult time getting everybody to change over.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: Lol