Talk:Saving and Compiling: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 71: Line 71:
== Map it's always black inside the room ==
== Map it's always black inside the room ==


I don't know if this happens when i was compiling or something because the only things i can see are messages like VPhysics Penetration Error everywere, server stuck on object 0/test
EDIT: I started again and i can't find the leak i started moving or deleting all the entities of the level, creating again the brushes using the magnify tool and looking with the camera... and nothing... but when i compile i get the same error saying ****leaked****


When i put ''noclip'' on the console i go out and i can see things like one of the images from [[Creating a Room]] and when i put mat_fullbright 1 it stills dark....
Help please i will send you the .vmf file if you want.


Here is the tex from the compiling
** Executing...
** Command: "c:\archivos de programa\steam\steamapps\killer_man1996\sourcesdk\bin\ep1\bin\vbsp.exe"
** Parameters: -game "c:\archivos de programa\steam\steamapps\killer_man1996\half-life 2\hl2" "C:\Documents and Settings\Administrador\Escritorio\lolmap"
Valve Software - vbsp.exe (Dec 11 2006)
1 threads
materialPath: c:\archivos de programa\steam\steamapps\killer_man1996\half-life 2\hl2\materials
Loading C:\Documents and Settings\Administrador\Escritorio\lolmap.vmf
fixing up env_cubemap materials on brush sides...
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0)
**** leaked ****
Processing areas...done (0)
Building Faces...done (0)
FixTjuncs...
PruneNodes...
WriteBSP...
done (0)
Creating default cubemaps for env_cubemap using skybox materials:
skybox/sky_day01_01*.vmt
Run buildcubemaps in the engine to get the correct cube maps.
No such variable "$hdrbasetexture" for material "skybox/sky_day01_01rt"
Can't load skybox file skybox/sky_day01_01 to build the default cubemap!
Finding displacement neighbors...
Finding lightmap sample positions...
Displacement Alpha : 0...1...2...3...4...5...6...7...8...9...10
Building Physics collision data...
done (0) (2543 bytes)
Error! prop_static using model "models/props_vehicles/apc001.mdl", which must be used on a dynamic entity (i.e. prop_physics). Deleted.
Error loading studio model "models/props_vehicles/apc001.mdl"!
Placing detail props : 0...1...2...3...4...5...6...7...8...9...10
Compacting texture/material tables...
Reduced 15 texinfos to 15
Reduced 2 texdatas to 2 (41 bytes to 41)
Writing C:\Documents and Settings\Administrador\Escritorio\lolmap.bsp
1 second elapsed
** Executing...
** Command: "c:\archivos de programa\steam\steamapps\killer_man1996\sourcesdk\bin\ep1\bin\vvis.exe"
** Parameters: -game "c:\archivos de programa\steam\steamapps\killer_man1996\half-life 2\hl2" "C:\Documents and Settings\Administrador\Escritorio\lolmap"
Valve Software - vvis.exe (Nov  8 2007)
1 threads
reading c:\documents and settings\administrador\escritorio\lolmap.bsp
reading c:\documents and settings\administrador\escritorio\lolmap.prt
LoadPortals: couldn't read c:\documents and settings\administrador\escritorio\lolmap.prt
** Executing...
** Command: "c:\archivos de programa\steam\steamapps\killer_man1996\sourcesdk\bin\ep1\bin\vrad.exe"
** Parameters:  -game "c:\archivos de programa\steam\steamapps\killer_man1996\half-life 2\hl2" "C:\Documents and Settings\Administrador\Escritorio\lolmap"
Valve Software - vrad.exe SSE (Nov  8 2007)
----- Radiosity Simulator ----
1 threads
[Reading texlights from 'lights.rad']
[45 texlights parsed from 'lights.rad']
Loading c:\documents and settings\administrador\escritorio\lolmap.bsp
No vis information, direct lighting only.
86 faces
38229 square feet [5505024.00 square inches]
0 displacements
0 square feet [0.00 square inches]
1 direct lights
BuildFacelights:    0...1...2...3...4...5...6...7...8...9...10 (0)
Build Patch/Sample Hash Table(s).....Done<0.0067 sec>
FinalLightFace:      0...1...2...3...4...5...6...7...8...9...10 (0)
FinalLightFace Done
0 of 0 (0% of) surface lights went in leaf ambient cubes.
ComputePerLeafAmbientLighting: 0...1...2...3...4...5...6...7...8...9...10
Ready to Finish
Object names      Objects/Maxobjs  Memory / Maxmem  Fullness
------------      ---------------  ---------------  --------
models                  1/1024          48/49152    ( 0.1%)
brushes                  7/8192          84/98304    ( 0.1%)
brushsides              42/65536        336/524288  ( 0.1%)
planes                  40/65536        800/1310720  ( 0.1%)
vertexes              101/65536        1212/786432  ( 0.2%)
nodes                  67/65536        2144/2097152  ( 0.1%)
texinfos                15/12288        1080/884736  ( 0.1%)
texdata                  2/2048          64/65536    ( 0.1%)
dispinfos                0/0              0/0        ( 0.0%)
disp_verts              0/0              0/0        ( 0.0%)
disp_tris                0/0              0/0        ( 0.0%)
disp_lmsamples          0/0              0/0        ( 0.0%)
faces                  86/65536        4816/3670016  ( 0.1%)
hdr faces                0/65536          0/3670016  ( 0.0%)
origfaces              30/65536        1680/3670016  ( 0.0%)
leaves                  69/65536        2208/2097152  ( 0.1%)
leaffaces              86/65536        172/131072  ( 0.1%)
leafbrushes            20/65536          40/131072  ( 0.0%)
areas                    1/256            8/2048    ( 0.4%)
surfedges              488/512000      1952/2048000  ( 0.1%)
edges                  245/256000        980/1024000  ( 0.1%)
LDR worldlights          1/8192          88/720896  ( 0.0%)
HDR worldlights          0/8192            0/720896  ( 0.0%)
waterstrips            10/32768        100/327680  ( 0.0%)
waterverts              0/65536          0/786432  ( 0.0%)
waterindices          120/65536        240/131072  ( 0.2%)
cubemapsamples          0/1024            0/16384    ( 0.0%)
overlays                0/512            0/180224  ( 0.0%)
LDR lightdata        [variable]      99740/0        ( 0.0%)
HDR lightdata        [variable]          0/0        ( 0.0%)
visdata              [variable]          0/16777216 ( 0.0%)
entdata              [variable]        8204/393216  ( 2.1%)
LDR leaf ambient        69/65536        1656/1572864  ( 0.1%)
HDR leaf ambient        0/65536          0/1572864  ( 0.0%)
occluders                0/0              0/0        ( 0.0%)
occluder polygons        0/0              0/0        ( 0.0%)
occluder vert ind        0/0              0/0        ( 0.0%)
detail props          [variable]          1/12      ( 8.3%)
static props          [variable]          1/12      ( 8.3%)
pakfile              [variable]      10006/0        ( 0.0%)
Level flags = 0
Win32 Specific Data:
physics              [variable]        2543/4194304  ( 0.1%)
==== Total Win32 BSP file data space used: 140203 bytes ====
Total triangle count: 196
Writing c:\documents and settings\administrador\escritorio\lolmap.bsp
0 seconds elapsed
** Executing...
** Command: Copy File
** Parameters: "C:\Documents and Settings\Administrador\Escritorio\lolmap.bsp" "c:\archivos de programa\steam\steamapps\killer_man1996\half-life 2\hl2\maps\lolmap.bsp"
** Executing...
** Command: "c:\archivos de programa\steam\steamapps\killer_man1996\half-life 2\hl2.exe"
** Parameters: -game "c:\archivos de programa\steam\steamapps\killer_man1996\half-life 2\hl2" -toconsole -dev -console +sv_lan 1 +map "lolmap"




BTW i speak spanish so. If i wrote something bad tell me... i'm learning English for this things
BTW i speak spanish so. If i wrote something bad tell me... i'm learning English for this things

Revision as of 19:00, 11 January 2010

Game isn't automatically being launched

"Under Additional game parameters:, type: -dev -console +sv_lan 1
. . . The Compile Process Window will show the progress of the compile. When the compilation is done, the game you are mapping for will automatically launch, and load your map in the engine."
But its not automatically launching. Banaticus -- BAH 22:37, 26 Mar 2007 (PDT)

Is the Don't run the game after compiling checkbox ticked? If so, untick it. --Daedalus 05:00, 27 Mar 2007 (PDT)

Launcher Error...

I've recently been learning how to use Hammer, and when I was ready to compile my first test map, the Compile Process Window popped up for about 3 seconds and then an error popped up which said:


Failed to load the launcher DLL:

The specified module could not be found.


Any assistance on this problem will be appreciated.

Regards.

--ArtemisUK 08:27, 17 Dec 2007 (PST)

I too have this same problem, any advice? N00bits
Check this thread at the SteamPowered forums. What is basically says is for you to not launch your game automatically after compiling the map. Then (manually) open the game and load your map via the "Create Server" option on the game menu. This might be a kind of work-around, I don't know if this problem has any better solutions as of yet. --Etset 02:16, 9 Feb 2008 (PST)
I... uh, am really clueless or something, but I'm making an HL2:Ep2 map, there's no create server option there. --N00bits 08:10, 11 Feb 2008 (PST)

If that item is not on the game menu, try running the game with the developer console (i.e. add -console to the game Launch Options on Steam or to the desktop shortcut (if that is what you're using to launch the game manually); enabling the developer console is quickly explained here; more on command line options here). When the game loads up, type this on the console: "map your_map_name" (without quotation marks). That should load your map, if it's in the correct folder. --Etset 08:34, 11 Feb 2008 (PST)


Compile Problem

I am getting another problem with the compile process. I have saved the map in the mapsrc folder. In the editor itself all is well. But when I tell it to compile, it cant find any of the files. Materials, not found, Ligths, not found, MAP, not found.

During the compile process, windows alway comes in and says that vbsp.exe has stopped working. It also says that WINDOWS reported the error and that the error is "Unable to find file.". I am unsure of windows meddling is related or not, new to hammer. All i know is that without the vbsp.exe working, no map for me. I dont know the problem or how to diagnose and fix it.

Help is obviously greatly appreciated.


Found the source of my problem

It is important to note that I am unsure about a lot of the technical part of Hammer and you should keep that in mind while reading this.

If you run into a similar problem here is how I fixed mine. Go under "Tools" and select "Options". Under the first tab called "Game Configurations" you can choose which configuration you would like for your map, that is: Half-Life, CS etc. What you choose here will determine what materials and models you will be able to use in the editor. Choose the desirable configuration (Note: Here was my first error, I had the wrong Configuration).

When you are done choosing the desired configuration you should take a look at the "Game Data files". Make sure that you have the right .fgd file selected, for instance if you want to do a single player Half-Life 2 map like me, choose halflife2.fgd. Make sure it is in accordance with whatever Configuration you have selected.(Note: This was my second error seeing as how it tried to load files from another configuration "halflifemp.fgd".)


When you are done choosing the Configuration and Game Data files for your map you can see three directory inputs at the bottom labled "Game Executable Directory", "Game Directory" and "Hammer VMF Directory". Make sure that these direcotry inputs are correct and points to the right files.(Note: Here was my third error and this is why I could not load any of the models during the compile process that I had put on the map.)

can't find the file

hey guys. I made a portal map called army_dudes_portal_map. when I try to run it, two things pop up: vbsp.exe has stopped responding; and

'the command failed. windows repoted the error: "The system cannot find the file specified" do you want to continue?' Yes No if I press yes, it goes to the portal menu. No, it stops. what do I do?

The first error causes the second. Post your compile log on PasteBin and we can have a look. --TomEdwards 04:45, 12 Jan 2009 (PST)

Compiling error

im trying to compile my first "test map" but as soon as it starts and error comes up saying, "failed with error 21: A different version of this FS is already in use" i dont know what that means. could someone please tell me what it means and give me some ideas on how to fix this? Much apreciated --Sourcemann

Does "as soon as it starts" mean as soon as the compile starts, or as soon as the game starts? --TomEdwards 17:00, 7 August 2009 (UTC)
the compile --Sourcemann
Well that certainly is odd. When did you last go online with Steam / refresh SDK content? --TomEdwards 18:11, 7 August 2009 (UTC)
yesterday, and the full error message says "MountAppFilesystem() failed: SteamMountAppFilesystem(215,38,0x82efd54) failed with error 21: A different version of this FS is already in use." --Sourcemann
That isn't the compile failing, it's the game failing to launch after the compile has finished. You'll just have to start it through Steam. --TomEdwards 21:11, 7 August 2009 (UTC)
ok! thanks! but now i cant get to my maps the only thing that shows up is "quit, options and a video stress test"
Hah, yes. You can either open the console and type map <your map>, or use a different game. The SDK Bases aren't designed to be run directly. --TomEdwards 09:30, 8 August 2009 (UTC)

Map it's always black inside the room

EDIT: I started again and i can't find the leak i started moving or deleting all the entities of the level, creating again the brushes using the magnify tool and looking with the camera... and nothing... but when i compile i get the same error saying ****leaked****

Help please i will send you the .vmf file if you want.


BTW i speak spanish so. If i wrote something bad tell me... i'm learning English for this things