OpenArena Message Boards

OpenArena Contributions => Maps => Topic started by: Speaker on January 31, 2009, 09:14:42 AM



Title: Enhanced BSPC version
Post by: Speaker on January 31, 2009, 09:14:42 AM
Hi,

I have made a modified (enhanced) version of the BSPC utility. I created it for my personal use, but I thought it might be useful for other mappers, too. This is part of the README of the new version:

-----------------------------------------------------------
This is an enhanced verson of the BSPC utility for Quake III Arena. It is
based on version 2.1h of the source code.

New features:

1. When MBSPC is used for converting BSP files to MAP files (switch
'-bsp2map'), the correct texture name is written for every brush side.

2. A new switch '-texinfo' has been added. If you specify this switch,
MBSPC writes a simple text file (extension '.txi') containing the list
of textures and models (i.e. all shaders) used in the BSP file specified.
For example:

mbspc -texinfo ztn3dm1.bsp

will produce a sorted list of texture names called 'ztn3dm1.txi' (see the
example file included).
-----------------------------------------------------------

Texture alignment information (scale, shift, rotation) is not written to the MAP file created. It would be a fairly complex job to recreate this info from the BSP, and I did not need this functionality.

The archive containing a Win32 EXE and the source code can be downloaded from here:

http://menczel.extra.hu/mbspc.zip

Enjoy!


Title: Re: Enhanced BSPC version
Post by: bill----- on February 04, 2009, 09:01:02 PM

Any advice/instructions on how to compile?

I haven't been able to turn up any bspc source code besides the q3 source
(maybe I should try harder), and am curious about the history of the 2.1h
code, where it once lived and if/where it's still available.