Use Saved Games folder on Windows

grant

Member
CX Code Contributor
3rd Party Module Dev
3rd Party Tool Dev
Joined
Nov 19, 2019
Messages
80
On Windows there is a folder inside the user's home directory called "Saved Games". It was added in Windows Vista and it can be moved by the user. It'd be nice if we could make the "cerberus://internal/" path point there. Something like "Saved Games/publisher-name/game-name/"

Currently if I set #GLFW_APP_LABEL="game name" and #GLFW_APP_PUBLISHER="my name" the internal directory will point to a folder in app data which is really nice, but I think the Saved Games folder would be nicer.

 
Last edited:

MikeHart

Administrator
CX Code Contributor
3rd Party Module Dev
3rd Party Target Dev
3rd Party Tool Dev
Joined
Jun 19, 2017
Messages
3,497
Nope, Breaks currently applications. And not everything made with CX is a game There should be a different method.
 

grant

Member
CX Code Contributor
3rd Party Module Dev
3rd Party Tool Dev
Joined
Nov 19, 2019
Messages
80
Like a config setting.
 

MikeHart

Administrator
CX Code Contributor
3rd Party Module Dev
3rd Party Target Dev
3rd Party Tool Dev
Joined
Jun 19, 2017
Messages
3,497
BTW, you already posted a solution there, why don't you create a module so you can determiniert the path and use that? Unless more user need this, I think there is no need for adding more complexities for a windows only feature.
 

grant

Member
CX Code Contributor
3rd Party Module Dev
3rd Party Tool Dev
Joined
Nov 19, 2019
Messages
80
Here it is. ✌️

 
Top Bottom