Crystal Space
Welcome,
Guest
. Please
login
or
register
.
May 25, 2013, 04:00:42 pm
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
9224
Posts in
2230
Topics by
5389
Members
Latest Member:
Sandradhernandez
Crystal Space
Crystal Space Development
Support
Quick Question..
« previous
next »
Pages:
[
1
]
2
Author
Topic: Quick Question.. (Read 5685 times)
namiz
Newbie
Posts: 26
Quick Question..
«
on:
April 18, 2006, 12:39:48 am »
Im new, and i was wondering what/where can I find the command-line? Im trying to do a walktest articles in one of the documents but i dont know how to do this. I was also wondering if it just wasn't put in the lates binary release:
CrystalSpace099
Thanks,
Nate
Logged
allpowerful32
Jr. Member
Posts: 62
Re: Quick Question..
«
Reply #1 on:
April 18, 2006, 03:18:54 am »
If you have windows, go start->run, and type in C:\(crystalspace instal dir)\walktest.exe (name of level)
for example: C:\Libs\CS\walktest.exe terrainf
Logged
jorrit
Administrator
Hero Member
Posts: 1703
Re: Quick Question..
«
Reply #2 on:
April 18, 2006, 07:38:31 am »
Quote from: namiz on April 18, 2006, 12:39:48 am
Im new, and i was wondering what/where can I find the command-line? Im trying to do a walktest articles in one of the documents but i dont know how to do this. I was also wondering if it just wasn't put in the lates binary release:
CrystalSpace099
Thanks,
Nate
The commandline is part of your system. You can do as allpowerful suggested but easier is to just fire up cmd.exe (through run program) and then go to the right directory using 'cd' from where you can start walktest and others.
Greetings,
Logged
namiz
Newbie
Posts: 26
Re: Quick Question..
«
Reply #3 on:
April 18, 2006, 01:57:29 pm »
OK... thanks.
Edit: Is walktest included in the binary package? All i could find is the walktest demo.. I tried opening it on the command propmt and i got the following error message:
crystalspace.maploader.parse.map: Could not open map file 'world' on VFS
What did I do wrong?
Thanks,
Nate
«
Last Edit: April 18, 2006, 02:27:01 pm by namiz
»
Logged
allpowerful32
Jr. Member
Posts: 62
Re: Quick Question..
«
Reply #4 on:
April 18, 2006, 11:08:58 pm »
i find my way easier when testing a map. Since the name and parameters of the executable are persistant (they stay there), one only has to go start->run and hit enter after typing it in the first time. For other purposes, the cmd.exe way works better; i would agree.
Logged
namiz
Newbie
Posts: 26
Re: Quick Question..
«
Reply #5 on:
April 18, 2006, 11:17:13 pm »
Huh?
Logged
allpowerful32
Jr. Member
Posts: 62
Re: Quick Question..
«
Reply #6 on:
April 18, 2006, 11:21:04 pm »
that means "I like my way better".
Logged
namiz
Newbie
Posts: 26
Re: Quick Question..
«
Reply #7 on:
April 18, 2006, 11:24:09 pm »
So how would I do that? Your way...
Edit: How do i fix this error?
crystalspace.maploader.parse.map: Could not open map file 'world' on VFS
FIXED: I found out if I give the full path, it works
«
Last Edit: April 20, 2006, 02:57:44 am by namiz
»
Logged
allpowerful32
Jr. Member
Posts: 62
Re: Quick Question..
«
Reply #8 on:
April 21, 2006, 03:43:37 am »
read this thread, and make sure all the stuff is set correctly (as described there):
http://community.crystalspace3d.org/forum/index.php/topic,999.0/topicseen.html
Logged
namiz
Newbie
Posts: 26
Re: Quick Question..
«
Reply #9 on:
April 21, 2006, 03:02:26 pm »
Hmm somthings not right... the directory to my map is c:\Program Files\CrystaSpace099\data\level
And in my vfs mount i put in:
VFS.Mount.lev/level = $@data$/level$/
Everything appears to be right but its not working.
CrystalSpace is compatible with XML right?
«
Last Edit: April 21, 2006, 03:04:26 pm by namiz
»
Logged
allpowerful32
Jr. Member
Posts: 62
Re: Quick Question..
«
Reply #10 on:
April 21, 2006, 05:36:49 pm »
what exactly are you doing to launch the program?
Logged
namiz
Newbie
Posts: 26
Re: Quick Question..
«
Reply #11 on:
April 21, 2006, 08:19:35 pm »
i go into the command prompt type in
cd c:\Program Files\CrystalSpace099\
walktest.exe data\level\
Then i get the following error message:
crystalspace.maploader.parse.map: Could not open map file 'world' on VFS
Logged
jorrit
Administrator
Hero Member
Posts: 1703
Re: Quick Question..
«
Reply #12 on:
April 21, 2006, 08:50:03 pm »
Are you doing this from the msys command prompt? Perhaps you should try that if you are not doing that.
Greetings,
Logged
namiz
Newbie
Posts: 26
Re: Quick Question..
«
Reply #13 on:
April 22, 2006, 08:45:20 pm »
This is the error message i recieve.. Stupid windows..
Is there an error in my XML page?
Code:
<world>
<plugins>
<plugin name="thing">crystalspace.mesh.loader.thing</plugin>
</plugins>
<textures>
<texture name="amethyst">
<file>amethyst.jpg</file>
</texture>
</textures>
<materials>
<material name="defaultWall">
<texture>amethyst</texture>
</material>
</materials>
<settings>
<clearzbuf>yes</clearzbuf>
<clearscreen>yes</clearscreen>
</settings>
<start name="Camera">
<sector>Scene</sector>
<position x="5" y="5" z="-5"/>
</start>
<sector name="Scene">
<light name="Lamp">
<center x="0" y="15" z="0"/>
<color red="1" green="1" blue="1"/>
<radius>30</radius>
</light>
<meshobj name="Room">
<plugin>thing</plugin>
<params>
<v x="10" y="0" z="10"/>
<v x="10" y="0" z="-10"/>
<v x="-10" y="0" z="-10"/>
<v x="-10" y="0" z="10"/>
<v x="10" y="20" z="10"/>
<v x="10" y="20" z="-10"/>
<v x="-10" y="20" z="-10"/>
<v x="-10" y="20" z="10"/>
<p>
<v>1</v>
<v>2</v>
<v>3</v>
<v>0</v>
<material>defaultWall</material>
<texmap>
<uv idx="0" u="1" v="0"/>
<uv idx="1" u="1" v="1"/>
<uv idx="2" u="0" v="1"/>
</texmap>
</p>
<p>
<v>7</v>
<v>3</v>
<v>2</v>
<v>6</v>
<material>defaultWall</material>
<texmap>
<uv idx="0" u="1" v="0"/>
<uv idx="1" u="1" v="1"/>
<uv idx="2" u="0" v="1"/>
</texmap>
</p>
<p>
<v>5</v>
<v>1</v>
<v>0</v>
<v>4</v>
<material>defaultWall</material>
<texmap>
<uv idx="0" u="1" v="0"/>
<uv idx="1" u="1" v="1"/>
<uv idx="2" u="0" v="1"/>
</texmap>
</p>
<p>
<v>5</v>
<v>6</v>
<v>2</v>
<v>1</v>
<material>defaultWall</material>
<texmap>
<uv idx="0" u="1" v="0"/>
<uv idx="1" u="1" v="1"/>
<uv idx="2" u="0" v="1"/>
</texmap>
</p>
<p>
<v>7</v>
<v>4</v>
<v>0</v>
<v>3</v>
<material>defaultWall</material>
<texmap>
<uv idx="0" u="1" v="0"/>
<uv idx="1" u="1" v="1"/>
<uv idx="2" u="0" v="1"/>
</texmap>
</p>
<p>
<v>4</v>
<v>7</v>
<v>6</v>
<v>5</v>
<material>defaultWall</material>
<texmap>
<uv idx="0" u="1" v="0"/>
<uv idx="1" u="1" v="1"/>
<uv idx="2" u="0" v="1"/>
</texmap>
</p>
</params>
</meshobj>
</sector>
</world>
«
Last Edit: April 22, 2006, 08:52:59 pm by namiz
»
Logged
jorrit
Administrator
Hero Member
Posts: 1703
Re: Quick Question..
«
Reply #14 on:
April 22, 2006, 09:06:01 pm »
You have to use quotes around spaces like this:
cs "/c/program files CrystalSpace099/"
Greetings,
Logged
Pages:
[
1
]
2
« 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...