Skip to content

AdrienTD/c47edit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

c47edit

A scene editor for Hitman: Codename 47.

Work in progress!

Licensed under the GPL 3.

Download compiled release

Screenshot

Usage

See the Start Guide on the wiki for how to set up the editor and the basics.

Compiling

The program requires Visual Studio 2017 (with latest update) or a more recent version (as it's using some C++17 features) to be compiled and will only work on Windows.

  • First you need to have vcpkg installed.
  • Ensure you have Visual Studio integration enabled with: vcpkg integrate install
  • Then install the necessary packages with: vcpkg install miniz nlohmann-json stb libsquish glew assimp fmt
  • Now you can open the project file in Visual Studio and compile the program.

Libraries used

  • Dear ImGui (MIT license) for the GUI
  • Miniz (MIT license) for ZIP archive (de)compression
  • JSON for Modern C++ (MIT license) for JSON parsing
  • stb (public domain) for image reading/writing
  • libsquish (MIT license) for DXT/S3TC texture compression
  • glew (BSD3 license) for access to OpenGL APIs
  • assimp (BSD3 license) for 3D model import from and export to various file formats
  • ImGuizmo (MIT license) for the Transform Gizmo
  • {fmt} (MIT license) for modern string formatting