About This File
Description: This is an id tech 3 bsp entity editor. It can render opened bsp files with vertex colors, you can pick entities in the render with a simple click, you can edit the entity string, you can save the bsp file afterwards or choose to save as .ent file instead. The preview is updated when you click the button under the viewport.
Credits: illwieckz for some lines of code, Jon Wright for pyopengltk, Insidious for his simple text editor tutorial
Source: https://github.com/SomaZ/BSP-Entity-Edit
Viewport Controlls:
W - Move camera forward
A - Move camera to the left
S - Move camera backwards
D - Move camera to the right
SPACE - Move camera upwards
C - Move camera downwards
LMC - Select Object under the cursor
RMC Hold and Drag - Rotate view
Mouse Scrolling - Move camera forwards or backwards
H - Hide currently selected entity
Alt-H - Unhide all entities
ESC - Deselect entity
* How to install *
I build an exe for ease of use. It's build via pyinstaller with following command:
pyinstaller --noconfirm --onefile --windowed --name "BSP Entity Edit" --add-data "C:/Users/.../Desktop/BspEntityEdit/pyidtech3lib;pyidtech3lib/" --hidden-import "numpy" --hidden-import "ctypes" --hidden-import "pyopengltk" --add-data "C:/Users/.../Desktop/BspEntityEdit/edit_menu.py;." --add-data "C:/Users/.../Desktop/BspEntityEdit/file_menu.py;." --add-data "C:/Users/.../Desktop/BspEntityEdit/format_menu.py;." --add-data "C:/Users/.../Desktop/BspEntityEdit/help_menu.py;." --add-data "C:/Users/.../Desktop/BspEntityEdit/ogl_fbo.py;." --add-data "C:/Users/.../Desktop/BspEntityEdit/ogl_frame.py;." --add-data "C:/Users/.../Desktop/BspEntityEdit/ogl_objects.py;." "C:/Users/.../Desktop/BspEntityEdit/main.py"
I included the full source code, so you can build it yourself or run it in your python environment of your choice. You need to install following packages to run the code: numpy, ctypes, pyopengltk
Tk must be installed too, but usually it's part of the standard python install
You can run the code afterwards with:
python main.py
Supported games (or at least tested game bsp files):
Star Wars Jedi Outcast
Star Wars Jedi Academy
Star Trek Elite Force
Quake 3
Xonotic
This file is not developed, distributed, or endorsed by Activision Publishing, Inc., Raven Software, Lucasfilm Ltd., Disney, Inc., or any of their affiliated entities. All trademarks, copyrights, and intellectual property rights belong to their respective owners. Star Wars®, Jedi®, and Jedi Knight® are registered trademarks of Lucasfilm Ltd.™ and Disney, Inc.™. This file is intended for educational, non-commercial, or fan-based use under the principles of fair use. No copyright infringement is intended. Any claims of ownership or DMCA takedown requests can be submitted here.
What's New in Version 1.0.2
Released
Update 06/26/2023:
- Fixed a major bug that altered patch meshes in saved bsp files
- Smaller file size thanks to upx-4.0.2 packing
Recommended Comments
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now