Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .idea/editor.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cmake_policy(SET CMP0141 NEW)
set(CMAKE_MSVC_DEBUG_INFORMATION_FORMAT "$<IF:$<CONFIG:Debug>,EditAndContinue,ProgramDatabase>" CACHE STRING "MSVC debug information format")
project(
NavKit
VERSION 2.12.3
VERSION 2.13.0
DESCRIPTION "An app to create NAVP and AIRG files for use with Hitman: World of Assassination"
LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 20)
Expand Down
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,17 +85,17 @@ Functions available are loading and saving Navp and Navp.json, loading Airg and
# How NavKit generates Navp and Airg files
NavKit performs the following series of steps to be able to generate Navp files.
1. Connect to the Editor server of the running Hitman game, and issue commands to: rebuild the entity tree, find the scene's ZGeomEntities, PFBox entities, and PFSeedPoint entities and send their data back to NavKit, where they are saved to `output.nav.json` in the specified output folder.
1. Extract all the necessary Aloc or Prim files from the rpkg files to the `aloc` or `prim` folder of the specified output folder using glacier2obj (A rust library included in the installer).
1. Open the blender cli and run the `glacier2obj.py` script to generate an obj by importing all the Aloc or Prim files, copy them the number if times they are used in the scene, and transform each one according to what was sent by the game, and save it to `output.obj` in the specified output folder.
1. Extract all the necessary Aloc or Prim files from the rpkg files to the `aloc` or `prim` folder of the specified output folder using navkit-rpkg-lib (A rust library included in the installer).
1. Open the blender cli and run the `glacier2obj.py` script to generate an obj by importing all the Aloc or Prim files, copy them the number if times they are used in the scene, and transform each one according to what was sent by the game, and save it to `output.obj` and / or `output.blend` in the specified output folder.
1. Load `output.obj` from the specified output folder or another specified Obj file.
1. At this point, the build Navp section of the menu will be available, and you can customize the parameters with "Settings > Recast Settings" on the menu bar, then press "Build > Build Navp" on the menu bar to call Recast to generate the Navmesh. Then you can save the Navmesh as a Navp or Navp.json file by pressing the Save Navp button.
1. At this point, the build Navp section of the menu will be available. You can customize the parameters with "Settings > Recast Settings" on the menu bar, then press "Build > Build Navp" on the menu bar to call Recast to generate the Navmesh. Then you can save the Navmesh as a Navp or Navp.json file by pressing the Save Navp button.
1. At this point, the build Airg section of the menu will be available, and you can customize the parameters, then press build to generate the Airg.
# Disclaimer
*NavKit is still a work in progress, and there may be glitches or issues with Obj, Navp, or Airg generation in the current version. If you encounter any problems while running NavKit please create an issue on this GitHub repo.*
*NavKit is still a work in progress, and there may be glitches or issues with Obj, Blend, Navp, or Airg generation in the current version. If you encounter any problems while running NavKit, please create an issue on this GitHub repo.*
# Future enhancements
* Faster Scene generation
* Linux and macOS support
* More issues on the Issues tab
* More planned features are on the Issues tab
# Building instructions (CLion or Visual Studio)
1. Clone this repository with the '--recurse-submodules' option
1. Open in Visual Studio or CLion
Expand Down Expand Up @@ -127,8 +127,10 @@ Jojje
Kercyx
Kevin Rudd
LaNombre
xiuliu⅃
Luka
Lyssa
Mark2580
NoFate
Notex
Pavle
Expand Down
4 changes: 2 additions & 2 deletions include/NavKit/NavKitConfig.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#define NavKit_VERSION_MAJOR "2"
#define NavKit_VERSION_MINOR "12"
#define NavKit_VERSION_PATCH "3"
#define NavKit_VERSION_MINOR "13"
#define NavKit_VERSION_PATCH "0"
Loading
Loading