You are here

Data folder question.

11 posts / 0 new
Last post
LOGAN-Portable
LOGAN-Portable's picture
Offline
Last seen: 11 years 5 months ago
Developer
Joined: 2007-09-11 12:24
Data folder question.

I have an app that copies the settings folder called DreamChess to \Data\Settings\
Today I was thinking, could I just copy that folder into \Data instead of Data\Settings?

So instead
Data\Settings\DreamChess\
I would use
Data\DreamChess\

What do you guys think? Could devs make their own decision about that or would there be technical issues concerning these things?

Also, if an app has only one config file in \App could I put it in the root of \Data\ or would \Data\Settings\ be preferable.

But the main concern is if it would interfere with the PortableApps backup tool?

Or would it be okay as long there's nothing in the \Data\ root?

BuddhaChu
BuddhaChu's picture
Offline
Last seen: 1 week 6 days ago
Joined: 2006-11-18 10:26
You need to save setting in

You need to save setting in the \Data\settings folder, not just \Data.

Cancer Survivors -- Remember the fight, celebrate the victory!
Help control the rugrat population -- have yourself spayed or neutered!

LOGAN-Portable
LOGAN-Portable's picture
Offline
Last seen: 11 years 5 months ago
Developer
Joined: 2007-09-11 12:24
Any resoning for that? Also

Any resoning for that? Also Some apps store a folder in document and settings\apname. I just move the folder into Data\Setting Why would it not be appropriate to put the folder in the root of Data but a subfolder of Data\Settings? Isn't that just putting the stuff one level deeper?

I'm sure there would be a technical reason for it Smile

And maybe indeed a congig.ini should be put into \Data\Settings maybe.

BuddhaChu
BuddhaChu's picture
Offline
Last seen: 1 week 6 days ago
Joined: 2006-11-18 10:26
Because John said so, that's

"Because John said so, that's why." Wink

If you look at all the official apps, they store settings in the \Data\settings folder.

Cancer Survivors -- Remember the fight, celebrate the victory!
Help control the rugrat population -- have yourself spayed or neutered!

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 6 months ago
Developer
Joined: 2006-12-06 18:07
Reasoning - so the backup

Reasoning - so the backup utility works right.

The developer formerly known as ZGitRDun8705

OliverK
OliverK's picture
Offline
Last seen: 3 years 2 weeks ago
Developer
Joined: 2007-03-27 15:21
So, only files in the

So, only files in the /Data/settings folder gets backed up?
Hm...

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 6 months ago
Developer
Joined: 2006-12-06 18:07
It backs up other stuff too,

It backs up other stuff too, but I thought I read that it doesn't work right unless the data is in /Data/settings.

The developer formerly known as ZGitRDun8705

OliverK
OliverK's picture
Offline
Last seen: 3 years 2 weeks ago
Developer
Joined: 2007-03-27 15:21
Just asking.

Just asking.

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

Simeon
Simeon's picture
Offline
Last seen: 9 years 8 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
no

According to the source code all the Data folders get backed up.

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

LOGAN-Portable
LOGAN-Portable's picture
Offline
Last seen: 11 years 5 months ago
Developer
Joined: 2007-09-11 12:24
If it's cosmetic, like it

If it's cosmetic, like it looks nice then its not all that important.

I was under the impression the contents of the Data folder got backed up not only the contents of the Data\Settings\ folder. I still have no answer about putting a folder into Data root with another name, like the name used by the app itself for the folder in Application Data. Maybe I should prepare an USB with only the app and the menu to test it...

But maybe its more important when there are more than one thing stored in the Data folder that should be 'managed' separate.

Shawn Faucher
Shawn Faucher's picture
Offline
Last seen: 14 years 10 months ago
Developer
Joined: 2007-10-23 22:14
Convention

It's called a convention. This way developers know to expect settings that effect how a PAF app runs or looks to reside in this subfolder. Other data used by the application may then reside directly in Data or in other unconventional subfolders without some confusion as to whether they are settings files. You yourself seem to be a proponent of doing away with text files that describe the utility of a folder within the PAF structure, so I'm a little surprised that you are also arguing to do away with a folder that appears to me to have obvious utility and instead lump everything together in Data...

formerly rayven01

Log in or register to post comments