All pastes #219172 Raw Edit

Unnamed

public text v1 · immutable
#219172 ·published 2006-10-24 15:17 UTC
rendered paste body
code :
//////////////////////////////////////////////////////////////////////////////////////

  // Load application-specific configuration file.
  if (!csInitializer::SetupConfigManager(r,
      "/this/galaxy.cfg", GetApplicationName()))
    return ReportError("AppTest::OnInitialize():Failed to initialize configuration manager!");
///////////////////////////////////////////////////////////////////////////////////////////////


galaxy.cfg in application directory 

;;; Virtual File System mount table
;;;
;;; $/ -- path delimiter (i.e. "/" on Unix; "\" on Windows)
;;; $@ -- installation directory of Crystal Space
;;; $* -- application resource directory; same as csGetResourceDir()
;;; $^ -- directory in which application resides; same as csGetAppDir()
;;; The expansions of $@, $*, and $^ always have a trailing path delimiter.

VFS.Mount.lib/galaxy      = $^$/data/galaxy.zip


and the galaxy.zip isin a sub-dir "data" of the compile dir.

I get alist of dir from VFS and galaxy is not listed(lots of other stuff i dont need is though. what am i doing wrong.