I've released another version of BSP Viewer which takes advantage of HLLib's capabilities. The new version not only uses HLLib to load .wad files but can open multiple .gcf files to locate and load content from. This means BSP Viewer can now load textures embedded in .gcf files. The new version can also load and display skyboxes.
To take advantage of these new features be sure to set BSP Viewer up properly. To do this:
- Go to the Options menu and select Setup.
- In the MOD field enter the name of the MOD you want to use BSP Viewer for (valve, cstrike, dod, ns, etc.).
- In the UserPath field select your Steam user path (Steam\SteamApps\email@example.com).
- Add all the packages your MOD uses (half-life.gcf should always be added).
You can download BSP Viewer from the downloads page.
This one is so grate that i will spell out nice in cabs.
but still some more could have ben better implemented sutch as loading a .bsp from a .gcf, reverting to the olde wads if gcf is not avalibe (steam running).
they sky only rendering where ther is sky texture, althow the way it is done now is probably faster then what half-life dose.
ow and there is still a error where alot of entitis ends up at 0.0.0 instead of there real place.
(look at c1a1 for excample)
and i still get a exception unhandeled when shuting down after having shell executed a map,
have you consederet rendering models, using parts of the HLMV code
This is how BSPViewer searches for resources:
For every package you added to you package list (not every package that is open) Do
Try to locate the file at Steam\SteamApps\firstname.lastname@example.org\package\mod.
Try to locate the file at Steam\SteamApps\email@example.com\package\valve.
For every package you added to you package list (that is open) Do
Try to locate the file at root\mod.
Try to locate the file at root\valve.
The above works for official and third party MODs, but does not work for the WON Half-Life installation (may add support for WON latter, I just didn't have WON installed to test it on). If Steam is open the second loop will simply do nothing, if the resources are on your hard drive they should still be found though.
The ability to browse and load bsp files from loaded packages is something I plan to add in the next release.
To render the skybox to the sky faces you have to:
Render all geometry (except sky faces).
Render the sky faces to the stencil buffer.
Render the sky using the stencil buffer as a mask.
It is a bit of a pain in the ass and I wanted to try and separate the sky and bsp so they aren't dependant on each other (makes the code clean and reusable). In most cases you shouldn't notice that the process is different then in Half-Life (in fact I'm surprised you did).
I've been meaning to fix the bug that causes origin entities to appear at 0, 0, 0, I really just need to sit down and try and figure out how Half-Life does it. (I've been putting it off to be honest.)
I wasn't aware of an exception, what exception is thrown?
I may add support for models in a latter version (certainly now that I can load them from the various package formats helps a lot) the main thing that is keeping me from adding them is the fact that it is a fair bit of work and model entities are not standardized across all MODs.
i would actualy prefere if it was only models where the path where specifyed that was drawn, as that would be a detail model and nice to have in there if you where making screen shots using bspviewer, having entitys draw would stil be nice but you shold probably have them as a sepporat option as they are not the same for all mods.
heres the error, if you want more infor you will have to tell me how to get it. (no log)
my problems with the wads is probably that i place them outside steam so that resgen doesn't add them to the res file and don't junck up the game folder.
probably just adding a thered sertch (like it was for 1.22) would fix it in bouth my and won users case.
the sky rendering isn't actualy that big a problem, i mainly notest it bacause that the cky was drawn where i had null and bevel on a outher wall and that the sky is drawn when out side the map. the oly reason i would want it like in hl would be to see what polys where deleted but as long as you keep the sky texture under the special rendere that would stil be easy to do, besides then if sky rendre where off the sky would then have to go back in to the normal rendre pass, so just keap it as is, this way you will also be able to take screen shot from fare away and still have full sky.
ow and maby a setting for the fly speed and what texture i am looking at (again jsut sugestions)
i love this new version it works perfectly for me so far.
this makes me wish hammer used hllib so would not need to extract files.
i hope hl2's hammer supports reading from gcf's
I'll see if I can smooth out the resource locator to be more flexible. I could possibly add a last resort scanning algorithm to find resources.
I'm thinking of adding an additional side panel that will display entities and their properties. I may make it so users can mouse pick models and select them in the entity view. Mouse picking would be required to figure out what texture the user is looking at so I might as well reuse it if I add it. Models will most likely come in a latter version but the above will allow me to flush out the entity code.
That's an odd error because the error message does not contain a stack trace like it should. Almost makes me think it is a .NET problem; ill look into it none the less.
An option to set the camera speed wouldn't be too hard to add. Are you aware that holding your shift key speeds your camera up and holding the ctrl key slows your camera down?
A little unrelated but here is a development picture of the package browser. You can use it to open BSP files and extract other files. You can also hide it.
sound nice looks nice so dose the map :)
didn't know about the the slow down, will see if that's the speed i want :)
when you are already adding the entity to show you could might as weal add the ability to chang there probatys. (yeay finaly a direct bsp editor :P)
- Added a package browser.
- Added an entity browser.
- Added the ability to select a bsp model.
- Added the ability to mouse pick a bsp model.
- Fixed origin entities.
- Added 'special entity' list.
- Added .3DS exportation option.
- Added .MAP exportation option.
- Improved memory usage.
- Improved texture exportation options.
Edit: Beta link removed, 1.4.0 will be uploaded shortly. Thanks to everyone who tested it.
trying it out now
looks very promising
it not giving me the error any more, thow i am on a different system but it the excact same OS
Thats odd, I didn't change the shell execution code...
Anyways, I uploaded a new version today; this one can export .map files (same beta link as above). It does this in a similar way to BSPtwoMAP (I think) in that it creates a thin beveled brush for each face in the BSP. The overall result is quite good though, and it only generates a small number of invalid brushes (which I hope to fix).
the 1.4 version is very good....cool.....
A question: in the future version, is it possible to ad a export command to .3DS?
Sorry for my English, i'm a french man...
Thanks for a really nice tool!
Are we supposed to "see" the spawnpoints now? I used your tool to find the right coordinates for modding de_cpl_mill with 34 spawns, and I really missed a sort of visual oversight of the spawnpoints. Am I doing something wrong?
I have used SpawnPointEditor for this purpose before, but it stop working some time ago (probably some update from VALVe..).
I just mod spawnpoints with ripent, for our 32 player server, so I am not clever at this...
Thanks for your help!
I may add .3ds export support in a latter release as XSI has messed up texture coordinates (would have added .3ds support to start with if I had known that).
I plan to add a bounding boxes for nonsolid entities (so you would see a wireframe box where the entity lies similar to the wireframe outline of solid entities). I will likely also add the ability to save .bsp files, this will, however, take a bit of work as BSPViewer wasn't originally designed with saving in mind.
Thanks for reply....
I wait and see the new release with 3ds export.....
New users can register here.