Really simple questions about directory paths...
by Orion the Hunter · in Torque Game Builder · 08/04/2013 (3:00 pm) · 2 replies
So, I've been working on my save code, but I've run into a speed bump with the GuiDirectoryFileListCtrl. I'm trying to make it so that I can have it display files in the path: Users/(Me)/Library/Application Support/Iceflames/(My game)/game/data/saves.
Normally, I'd just use: ~/game/data/saves but it keeps thinking I mean (My game's location)/game/game/data/saves. The only folders in the path just stated that exists is my game's and the folder "game." The other game folder doesn't exist at all. Usually, the Users/(Me)/Library/Application Support/Iceflames/(My game)/ bit should be designated by "~/" but I think in one of my core game scripts it tells it to designate "~/" as "(My game's location)/game/". Is there a way to [u]temporarily[/i] (so as not to disturb any of the other scripts) re-designate "~/" as the game's library location or, even better, maybe designate ";/" as the Library/Application Support/et cetera" location? Thanks!
*Looks back at post*
Hmm... those weren't simple questions after all!
Normally, I'd just use: ~/game/data/saves but it keeps thinking I mean (My game's location)/game/game/data/saves. The only folders in the path just stated that exists is my game's and the folder "game." The other game folder doesn't exist at all. Usually, the Users/(Me)/Library/Application Support/Iceflames/(My game)/ bit should be designated by "~/" but I think in one of my core game scripts it tells it to designate "~/" as "(My game's location)/game/". Is there a way to [u]temporarily[/i] (so as not to disturb any of the other scripts) re-designate "~/" as the game's library location or, even better, maybe designate ";/" as the Library/Application Support/et cetera" location? Thanks!
*Looks back at post*
Hmm... those weren't simple questions after all!
#2
08/05/2013 (10:27 am)
Strange, it doesn't recognize this as a function when I can see it has been logged as one in one of the *.cc source files (forget which). I still think that my alternate symbol/home representation method would be a score...
Torque Owner Richard Ranft
Roostertail Games
You get the idea.