Crystal Space
Welcome,
Guest
. Please
login
or
register
.
June 19, 2013, 05:56:45 am
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
9261
Posts in
2262
Topics by
5443
Members
Latest Member:
Michealclark
Crystal Space
Crystal Space Development
Support
VFS.Mount question...
« previous
next »
Pages:
[
1
]
Author
Topic: VFS.Mount question... (Read 1796 times)
willjm
Newbie
Posts: 39
VFS.Mount question...
«
on:
October 16, 2005, 07:05:12 am »
Hello,
I am trying to run the walktest application with a new map called room02. I have ran into the problem of "crystalspace.maploader.parse.map: Could not open map file 'world' on VFS!". I have the following in a file named room02.cfg
-----------------------------------------------------------------------------------------------------------------------------
; Set the default texture in the event that one can not be found
Map2CS.TextureSettings.DefaultTexture = liquids/bubbles
; Add your texture packs here
Map2CS.TextureSettings.pk1 = G:\Program Files\Quake III Arena\baseq3\pak0.pk3
Map2CS.TextureSettings.pk2 = G:\Program Files\Quake III Arena\missionpack\mapmedia-TA.pk3
; Scale the map from Quake scaling (1 unit equals 1 inch)
; to Crystal Space scaling (1 unit equals 1 meter)
Map2CS.General.Scaling = 0.025
; Enable BSP-tree generation in all sectors
Map2CS.General.UseBSP = 1
; Remove hidden surfaces
Map2CS.General.RemoveHidden = 1
; Set the lighting level for the map
Map2CS.General.LightScale=30
; Application ID string
System.ApplicationID = Map2CS
; Some basic mount points
VFS.Mount.~ = $(HOME)$/
VFS.Mount.lev/room02 = $@..$/maps$/room02$/data$/room02.zip
-----------------------------------------------------------------------------------------------------------------------------
If I add the last line "VFS.Mount.lev/room02 = $@..$/maps$/room02$/data$/room02.zip" to my vfs.config file, walktest finds the map in the mount point and runs just fine. I would like to keep that local to the config file for room02. Is this possible?
Thanks!
willjm
Logged
sunshine
Administrator
Sr. Member
Posts: 292
Re: VFS.Mount question...
«
Reply #1 on:
October 16, 2005, 09:19:05 am »
walktest doesn't know anything about your local configuration file. An alternative is to use walktest's built-in ability to mount .zip files automatically. I believe that you should be able to just mention the name of the .zip files on the walktest command-line.
Logged
wjm
Guest
Re: VFS.Mount question...
«
Reply #2 on:
October 16, 2005, 03:07:29 pm »
Ok,
I realize my mistake now and I thank you for pointing that out.
Yes you are correct to say you can run it from the walktest command-line.
G:\Crystal\CS>walktest ..\maps\room02\data\room02.zip -relight
This successfully loads the map; however my curiosity lies with the config files. It seems that if I add "VFS.Mount.lev/room02 = $@..$/maps$/room02$/data$/room02.zip" to the walktest.cfg file it still yields the same error. Should this be happening? It was my understanding that the local cfg file overrides the vfs.cfg. Is this a mistake in my understanding?
Thanks,
- willjm
Logged
sunshine
Administrator
Sr. Member
Posts: 292
Re: VFS.Mount question...
«
Reply #3 on:
October 16, 2005, 09:40:41 pm »
If you have your own project or your own modules, you can have a local file named vfs.cfg which overrides (is merged into) the distributed vfs.cfg. VFS only looks for, and in, files named vfs.cfg.
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Crystal Space Development
-----------------------------
=> General Crystal Space Discussion
=> Support
-----------------------------
Crystal Space Project Development
-----------------------------
=> Feature Requests
=> Plugins
=> Bug Reports
-----------------------------
Crystal Space Development
-----------------------------
=> Game Content Creation
-----------------------------
Miscellaneous
-----------------------------
=> Article/Tutorial Requests
=> Article/Tutorial Discussion
-----------------------------
Crystal Space Project Development
-----------------------------
=> Development Discussion
-----------------------------
Crystal Space Projects
-----------------------------
=> Project Discussion
=> WIP Projects
=> Finished Projects
-----------------------------
Associate Projects
-----------------------------
=> CEL Discussion
=> Crystal Core Discussion
=> CrystalBlend Discussion
-----------------------------
Crystal Space Project Development
-----------------------------
=> Google Summer of Code
-----------------------------
Associate Projects
-----------------------------
=> Apricot (Open Game)
=> Ares Project
Loading...