Skip to content

Warzone Model Import Tool - for use with Warzone 2100

License

Notifications You must be signed in to change notification settings

Warzone2100/WMIT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WMIT

Warzone Model Import Tool

Import and export .PIE, and .OBJ files.

Also can import files in .WZM format.

Note: support for .WZM format is deprecated and will be removed in a future release. Please migrate your files into .PIE format.

For use with: Warzone 2100

Latest development builds

Windows Build Status macOS Build Status Ubuntu Build Status

Windows

How to get the latest Windows development builds:

  1. View the latest successful Windows builds.
  2. Select the latest workflow run in the table / list. This should display a list of Artifacts from the run.
  3. Download the wmit_win_x86 or wmit_win_x64 artifact (depending on whether you want the 32-bit or 64-bit build).

Note: A free GitHub account is currently required to download the artifacts.

macOS

How to get the latest macOS development builds:

  1. View the latest successful macOS builds.
  2. Select the latest workflow run in the table / list. This should display a list of Artifacts from the run.
  3. Download the wmit_macOS artifact.

Note: A free GitHub account is currently required to download the artifacts.

Linux (from source)

Clone this Git repo and build, following the instructions under: How to Build

Development builds are a snapshot of the current state of development, from the latest (successfully-built) commit. Help testing these builds is always welcomed, but they should be considered a work-in-progress.

How to build

Getting the Source

Clone the Git repo:

git clone https://github.com/Warzone2100/WMIT.git
cd WMIT
git submodule update --init --recursive

Note: Initializing submodules is required.

Windows

  • Prerequisites

  • Building:

    • Open the appropriate pre-configured command prompt from the "Visual Studio 2017" folder in your Start Menu:
      • For a 32-bit (x86) build: "x86 Native Tools Command Prompt for VS 2017"
      • For a 64-bit (x64) build: "x64 Native Tools Command Prompt for VS 2017"
    • Change directory to the WMIT repo directory:
      • cd C:\src\WMIT (substitute the appropriate path to the repo on your system)
    • Run the configure_win script using Powershell:
      • powershell .\configure_win.ps1
    • If successful, you should now have a wmit.sln Visual Studio project in a new build/<platform> folder inside the repo.
    • Simply open the wmit.sln file in Visual Studio.
    • Or build from the command-line using something like:
      • msbuild build/x86/wmit.vcxproj /p:Configuration=Release (builds wmit.exe)
      • msbuild build/x86/PACKAGE.vcxproj /p:Configuration=Release (builds the installer package)

Linux

  • Prerequisites
  • Examples of installing prerequisites:
    • Ubuntu 18.04:
      • sudo apt-get install git cmake build-essential ninja-build automake qt5-default
    • Fedora 29:
      • sudo dnf install git cmake gcc gcc-c++ ninja-build make qt5-devel mesa-libGLU-devel
  • Building:
    • Change directory to the WMIT repo directory
      • cd WMIT
    • Configure (builds dependencies and generates the Makefile)
      • ./configure_linux.sh
    • Build
      • cmake --build build

macOS

  • Prerequisites
  • Building:
    • Change directory to the WMIT repo directory
      • cd WMIT
    • Configure (builds dependencies and generates an Xcode project)
      • PATH=/Qt/5.9.7/clang_64/bin:$PATH QT5_DIR="/Qt/5.9.7/" ./configure_macOS.sh
        • (Substitute the appropriate PATH to Qt5's bin folder and the main Qt5 install folder.)
    • Build
      • Simply open the build/wmit.xcodeproj, and build the wmit target / scheme.