Inside3D!
     

String Safety
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Inside3d Forums Forum Index -> Engine Programming
View previous topic :: View next topic  
Author Message
mk



Joined: 04 Jul 2008
Posts: 94

PostPosted: Wed Jul 07, 2010 11:44 pm    Post subject: Reply with quote

Nice ideas mh, and would actually be useful for playing the game from read-only places like network folders or CD/DVD-ROMs.
_________________
Makaqu engine blog / website.

Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn.
Back to top
View user's profile Send private message
Sajt



Joined: 16 Oct 2004
Posts: 1026

PostPosted: Thu Jul 08, 2010 12:08 am    Post subject: Reply with quote

mh wrote:
Sajt wrote:
It keeps changing. It's either AppData, or My Documents, or My Games, or My Documents/My Games, or Local Settings/AppData, ...

I think you are supposed to put "hidden" cache-like stuff (the same sort of thing as GLQuake's ms2 files, for example), in AppData, and put the user-config stuff (screenshots, saves, config) in My Games.

That's why you should use SHGetFolderPath - you don't need to worry about that stuff if you just do it the right way. Wink


I wasn't talking about how to get the paths, I was talking about the stupid amount of paths that games have used, and which paths should be used for which things.

Also, I don't remember SHGetFolderPath having My Games, for example. I guess you can append "My Games", but what if Windows 8 renames it to "My Gamezz" or something?
_________________
F. A. Špork, an enlightened nobleman and a great patron of art, had a stately Baroque spa complex built on the banks of the River Labe.
Back to top
View user's profile Send private message
reckless



Joined: 24 Jan 2008
Posts: 390
Location: inside tha debugger

PostPosted: Thu Jul 08, 2010 6:39 am    Post subject: Reply with quote

aye has changed a fair bit over the last few windowses.

like 7 does it seems to be the final way i think, it even stores msys and cygwin data paths in the windows user folders now.

vista did also but screwed up a fair bit sometimes i havent had any problems with that on 7.

well besides my gfx card crashing Laughing (not related)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Inside3d Forums Forum Index -> Engine Programming All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2004 phpBB Group