Skip to content

Ettenmure/dcs-uv-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DCS UV Map Converter Tool

This Blender Add-on converts UV maps generated on ModelViewer 2 to an image format.

Installation

Prerequisites

DCS 2.7, older versions can't generate the UV map.

Download and install Blender from https://www.blender.org/download/

Download the latest release of the Add-on from https://github.com/Ettenmure/dcs-uv-converter/releases

Installing the Add-on in Blender

In Blender, on the top left of the screen go to Edit > Preferences.

Open the Add-ons menu and click "Install", locate the previously downloaded "DCSUVConverter.zip" and click "Install Add-on".

Next, click on the checkbox to the left of the Add-on name to active it. Exit Blender.

Updating from an older version

If you have an older version of the Add-on already installed, you should remove the old one first and then install the new one.

Readme4

Usage

Exporting the UV map in Model Viewer

On the Model Viewer, load the model of your choosing.

On the textures panel, expand the texture that you want to generate a UV map for.

Click "UV to file", save the generated .csv file on your hard drive. This file contains the UV map data and will used in the next step.

Readme0

Converting the UV map to an image in Blender

Open a new Blender file. Don't use an existing one, the conversion process will delete every object on the scene.

On the Properties editor, at the right of the screen, change to the "Scene" tab.

Readme1

Here you should see an entry called "DCS UV Converter", expand it to reveal the "Convert .csv" button.

Click the grey "Convert .csv" button. A new window will open asking you to locate on your hard drive the .csv file that you previously created. Select it and press the blue "Import .csv" button.

Readme2

The conversion process has now begun, this can last from seconds to minutes depending on the complexity of the UV map and your computer hardware. Do not exit Blender while it's running.

Once it finishes you will be notified on the outliner editor, at the top right of the screen, with a new collection appearing called "Conversion finished".

Readme3

The conversion process has now finished, exit Blender.

The generated UV map is an image in .svg format that will be located at the same folder as the .csv. Its name has "_UV" added at the end.

Troubleshooting

The Add-on fails to install

  • Try a manual installation. Extract the .zip file and move the folder named "DCSUVConverter", which contains "__init__.py", to:

    C:\Users\%USERNAME%\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons

    If you have never installed an Add-on before you might not have the "scripts" or "addons" folders and you will have to create them manually.

    Next open Blender, or refresh the menu if it was already open, and on the Add-ons menu search for DCS. Activate the Add-on by clicking on the checkbox to the left of the Add-on name.

The Add-on is installed but there is no "DCS UV Converter" at the scene tab