Skip to content

Development Setup

Michael Schnabel edited this page Feb 2, 2021 · 3 revisions
  1. Clone the repository.

  2. Download and install the latest blender version from here.

  3. Start blender and go to Edit>Preferences>Add-ons. Enable any Add-on here and disable it again. (This creates the required folders in %AppData%)

  4. Download the python code coverage module from here. \n Extract it and copy the coverage folder into 'your blender installation path'/Blender Foundation/Blender/'blender version'/scripts/modules.

  5. Open the command prompt and navigate to %AppData%/Roaming/Blender Foundation/Blender/'blender version' Type mkdir scripts\addons and press enter. Type cd scripts\addons and press enter. Type mklink /D io_mesh_w3d 'path to plugin repository'/io_mesh_w3d and press enter. Then type mklink /D tests 'path to plugin repository'/tests and press enter.

  6. Open the folder of the cloned repository and create a copy of the runTests.bat. Edit the file so that it points to the location of the blender.exe. Run the tests by executing the batch file.

  7. Start blender, navigate to Edit>Preferences>Add-ons and enable the w3d plugin (Import/Export Westwood w3d format (.w3d/.w3x).

Done! :)

Clone this wiki locally