write info scienfic article for this, use CATEGORYS intro, features, drawbacks. Write…
- User
write info scienfic article for this, use CATEGORYS intro, features, drawbacks. Write all again: Half-Life Unified SDK Map Decompiler The Half-Life Unified SDK Map Decompiler is a cross-platform map decompiler for Half-Life 1 BSP version 29 (Half-Life Alpha 0.52) and 30 files.
Unlike bspc and tools derived from it this decompiler does not support other Quake engine derivative BSP files.
Whereas bspc was written in C this tool is written in C# to make its source code more accessible and easier to maintain.
User configuration files for this application are stored in AppData/Roaming/Half-Life Unified SDK on Windows, and home/.config on Unix systems.
Only Half-Life Alpha 0.52 and original Half-Life BSP files are supported. Quake 1/2/3 and Source maps, as well as engine offshoots like Svengine and Paranoia 2 are not supported.
Due to a lack of data in the BSP file the original brushes cannot be restored. This data is stored in a lossy format, so a perfect recreation is not possible. Decompiled maps will never be 100% accurate, will be missing some geometry and will have invalid geometry in some cases.
This tool is part of the Half-Life Unified SDK. See the main Unified SDK repository for more information.
Based on Quake 3's bspc tool: https://github.com/id-Software/Quake-III-Arena
Includes code from Sledge by Daniel 'Logic & Trick' Walder: https://github.com/LogicAndTrick/sledge Includes code from Sledge.Formats by Daniel 'Logic & Trick' Walder: https://github.com/LogicAndTrick/sledge-formats
Requirements You will need the .NET 6 or newer Desktop Runtime (the .NET SDK includes the runtime): https://dotnet.microsoft.com/en-us/download
Decompiler strategies 2 decompilers strategies are supported: Tree-based and Face-To-Brush.
Tree-based decompiler This decompiler works by processing the Binary Space Partitioning tree for hull 0 (point hull) for each brush model.
The world itself is model 0 and contains all brushes not tied to a brush entity. Each brush entity adds one brush model to the map.
The process used to generate brushes works by first calculating the bounding box for the model, then adding 8 units extra to it to account for walls on the outermost brush faces in the map.
A brush of that size is then created, and is split in 2 repeatedly by walking the BSP tree.
The resulting set of brushes is an approximate representation of the original map, but is not perfectly accurate.
- Assistant
The Half-Life Unified SDK Map Decompiler is a powerful tool used to decompile Half-Life 1 BSP version 29 and 30 files. It stands out from other similar decompilers as it only supports original Half-Life Alpha 0.52 BSP files and is written in C#, making its source code more accessible and easier to maintain. The application stores user configuration files in AppData/Roaming/Half-Life Unified SDK on Windows and home/.config on Unix systems.
This decompiler comes with two strategies - the tree-based and the face-to-brush decompiler. The tree-based decompiler works by processing the Binary Space Partitioning tree for hull 0 for each brush model in the map. Meanwhile, the face-to-brush decompiler converts each brush face in the map to its own brush. Both decompilers strive to accurately recreate the original map, but some level of inaccuracy is expected due to the lossy format of data in the BSP file.
Despite its advantages, one major drawback of the Half-Life Unified SDK Map Decompiler is that it does not support other Quake engine derivative BSP files. Additionally, the lack of data in the BSP file makes it impossible for the original brushes to be restored. Therefore, decompiled maps may not be 100% accurate and may be missing geometry, have invalid geometry in some cases, and leave some brush entities without any brushes.
- User
write WITH INTRO: ..., FEATURES: ...
- Assistant
The Half-Life Unified SDK Map Decompiler is a powerful cross-platform tool used to decompile Half-Life 1 BSP version 29 and 30 files. It has unique features that distinguish it from other similar decompilers and is designed for streamlining the decompilation process.
One of the standout features of the Half-Life Unified SDK Map Decompiler is its support for tree-based and face-to-brush decompiler strategies. The tree-based decompiler works by processing the Binary Space Partitioning tree, while the face-to-brush decompiler converts each brush face in the map to its own brush. Both strategies strive to accurately recreate the original map, but some level of inaccuracy is expected due to the lossy format of data in the BSP file.
Unlike other decompilers, the Half-Life Unified SDK Map Decompiler only supports Half-Life Alpha 0.52 and original Half-Life BSP files. It is written in C# for improved accessibility and easier maintenance. Additionally, user configuration files for this application are stored in AppData/Roaming/Half-Life Unified SDK on Windows, and home/.config on Unix systems.