Can we decide on a unified directory structure?

Development

NeoTechni

6 years ago

Homebrew on consoles usually results in a complete mess of the root directory which really bugs my OCD. Can we decide now to define a pattern, ie:


Root\Games\Developer Name\Program Name

Root\SaveData\Developer Name\Program Name

dreamer3

NEW 6 years ago

I'm not sure "developer name" is required at all.  Right now the standard is [game name] and then most data for the folder is kept in that directory or sub-directories. 

Doesn't seem so bad for a card that is dedicated to the device.  What is the advantage of having save data somewhere else entirely?

jicehel

NEW 6 years ago

yes Games\Program name and SaveData\Program Name is enough for the path. No need to reach 256 char in the paths  ;) 

SiegfriedCroes

NEW 6 years ago

I'm fine with the way it is now but thinking about it some more it would be nice to have save data separately so when updating a game you never have to worry about accidentally deleting your save files. That could be the case for a game with a lot of external files that changed with the new update so and you decide to just remove the old folder and replace it with the updated one.

Sorunome

NEW 6 years ago

as long as you don't delete the game folder but just merge with the new one there is no reason for you to lose save data

jicehel

NEW 6 years ago

for program with version, you can always manage save data version by a file with the version of the program who made the last save. When you use a newer version, you open the saved data, test the version and manage the update it (when possible) with a version compatible with the new data (if you changed a dongeon data, you place the characters in a new safe zone, or at the start of the level, ... for example. If you reorganised the data, you open with the old structure data and save with the new organisation, ...)   (Sorry for my poor english level...)

Aurélien Rodot

NEW 6 years ago

Hi! we've been talking about a Seal Of Quality for a while, so here is the first draft, including file structure :)

jicehel

NEW 6 years ago

Good job  ;)  Very complete, i have written some commantary on the Seal Of Quality (little things and maybe some explain required on some points for beginner like me)

NeoTechni

NEW 6 years ago

So mine has arrived, and everything is a mess in the root ;_;

trelemar

6 years ago

Huh, I actually like how things are set up. I just got mine on Friday and it's clean to me.

trelemar

NEW 6 years ago

NeoTechni NeoTechni

Huh, I actually like how things are set up. I just got mine on Friday and it's clean to me.

Godzil

NEW 6 years ago

Overtime, folder support would probably a good idea, at least to be able to sort thing and make the loader to load less data at the same time. Not sure how the loader would cope with 50 to 100 entries in the root folder. 

Aurélien: have you tried to push the loader to the limits?

Sorunome

6 years ago

I have tested the loader with 60 entries and there was no performance drop whatsoever

EDIT: things are cached, during normal usage it never scans the root dir, to increase performance and make favouriting games (menu button while in detailed view) possible

Sorunome

NEW 6 years ago

Godzil Godzil

I have tested the loader with 60 entries and there was no performance drop whatsoever

EDIT: things are cached, during normal usage it never scans the root dir, to increase performance and make favouriting games (menu button while in detailed view) possible

Godzil

6 years ago

It does not have infinite memory so I suspecte there is a limit...

Godzil

NEW 6 years ago

Sorunome Sorunome

It does not have infinite memory so I suspecte there is a limit...

Sorunome

6 years ago

limits are fat32 file system limits, so iirc something like 60k games

Sorunome

NEW 6 years ago

Godzil Godzil

limits are fat32 file system limits, so iirc something like 60k games

jicehel

NEW 6 years ago

Should be enough to have fun  :)   I profite of that to thanks all programs creator. You're great all  :)