Skip to content

zturtleman/bsp-sekai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BSP sekai

BSP sekai (BSP world) is a level converter for Quake 3's BSP format and games based on it. It is based on the BSP loaders in the Spearmint engine.

This is alpha software, there are many issues of things not properly change or removed when converting to other BSP formats. The only supported conversion is NSCO maps (Q3 with modified surface/content bits) to Enemy Territory BSP format.

Usage

bspsekai <conversion> <input-BSP> <format> <output-BSP>
BSP sekai - v0.2
Convert a BSP for use on a different engine
BSP conversion can lose data, keep the original BSP!

<conversion> specifies how surface and content flags are remapped.
Conversion list:
  none      - No conversion.
  nsco2et   - Convert Navy SEALS: Covert Operation surface/content flags to ET values.
  et2nsco   - Convert ET surface/content flags to Navy SEALS: Covert Operation values.

The format of <input-BSP> is automatically determined from the file.
Input BSP formats: (not all are fully supported)
  Quake 3 (including pre-releases formats), RTCW, ET, EF, EF2, FAKK, Alice, Dark Salvation, MOHAA, SoF2, JK2, JA, Iron-Grid: Warlord

<format> is used to determine output BSP format.
BSP format list:
  quake3    - Quake 3.
  rtcw      - Return to Castle Wolfenstein.
  et        - Wolfenstein: Enemy Territory.
  darks     - Dark Salvation.

BSP Formats

Quake 3 BSP format is also used by Elite Force, Tremulous, Smokin' Guns, World of Padman, Turtle Arena, and other games. Soldier of Fortune 2 BSP format is also used by Jedi Knight 2: Jedi Outcast and Jedi Knight: Jedi Academy.

Write formats

Currently, only Q3 BSP format and games that changed the version number are supported.

Game BSP ident & version
Quake III Arena IBSP 46
Return to Castle Wolfenstein IBSP 47
Wolfenstein: Enemy Territory IBSP 47
Dark Salvation IBSP 666

Read formats

Game BSP ident & version notes
Q3 IHV test IBSP 43
Q3Test 1.03/1.05 IBSP 44 does Q3Test 1.04 exist?
Q3Test 1.06/1.07/1.08 IBSP 45
Quake III Arena IBSP 46 also used by Q3Test 1.09+
Return to Castle Wolfenstein IBSP 47 different version than Q3
Wolfenstein: Enemy Territory IBSP 47 adds foliage surface type
QuakeLive IBSP 47 advertisements lump is ignored
Iron-Grid: Warlord IBSP 48 adds unknown an variable (flags?) to brushside
Dark Salvation IBSP 666 different version than Q3
Soldier of Fortune 2 RBSP 1 minor differences from Q3, light styles are not implemented
Heavy Metal: F.A.K.K.2 FAKK 12 major differences from Q3, not fully supported
American McGee's Alice FAKK 42 different version than FAKK, not fully supported
Medal of Honor Allied Assult 2015 19 major differences from FAKK, not fully supported
Elite Force 2 EF2! 20 major differences from FAKK, not fully supported

License

BSP sekai is licensed under a modified version of the GNU GPLv3 (or at your option, any later version). The license is also used by Spearmint, Return to Castle Wolfenstein, Wolfenstein: Enemy Territory, and Doom 3.

Compiling

BSP sekai uses CMake for generating the build system.

For example on GNU/Linux with git and cmake installed:

git clone https://github.com/zturtleman/bsp-sekai.git
cd bsp-sekai
mkdir build
cd build
cmake -G "Unix Makefiles" ..
make

Cross-compile for Windows on GNU/Linux with git, cmake, and mingw-w64 installed:

git clone https://github.com/zturtleman/bsp-sekai.git
cd bsp-sekai
mkdir build-mingw
cd build-mingw
cmake -DCMAKE_TOOLCHAIN_FILE=../toolchain-cross-mingw32-linux.cmake -G "Unix Makefiles" ..
make

About

BSP WORLD : a id Tech 3 BSP converter

Resources

License

Stars

Watchers

Forks

Packages

No packages published