-- [ Picked text/plain from multipart/alternative ] Wow, how did I miss that. Thanks Yahn.
Regards, Paul On 2/22/07, Yahn Bernier <[EMAIL PROTECTED]> wrote: > > Try: IFileSystem::RelativePathToFullPath > > You might need to have an actual filename under the subfolder, but > that's the function I think you want. > > Yahn > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Paul Peloski > Sent: Wednesday, February 21, 2007 8:26 PM > To: hlcoders@list.valvesoftware.com > Subject: [hlcoders] Resolve relative paths to full path? > > -- > [ Picked text/plain from multipart/alternative ] Hi guys, > > Is there an easy way to resolve the relative path: > > /resource/ to C:\Program Files\Steam\SteamApps\SourceMods\mod\resource\ > > I looked through the SDK for a while but I couldn't find and easy > solution. > I stumbled on something that does part of what I want, > > CFSSteamSetupInfo info; > FileSystem_SetupSteamEnvironment( info ); > > Which will return the actual mod folder, but still I have to concatenate > and massage the paths myself. Is there an easier way? > > Regards, > > Paul > -- > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > -- _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders