MrClock's Documentations
  • 🏠Welcome
  • 📄Documents
    • Arma 3 models
      • Proxy coordinates
      • Vertex normals
      • Sections
    • Arma 3 animations
      • Armature reconstruction
      • Frame properties
      • Import into Blender
      • BMTR to plain RTM
  • 📦Blender add-ons
    • Arma 3 Object Builder
  • 🐍Python tools
    • Color converter
  • 🔧Visual Basic .NET tools
    • Color converter
      • Color library TXT
    • Color library and converter
      • Color library XML
    • Class list extractor
    • Editor preview processor
    • Texture converter
  • 🛠️Visual Basic .NET Framework tools
    • Color library and converter
      • COLORLIB file
    • Class list extractor
    • Editor preview processor
    • Generic name ID generator
    • Texture converter
Powered by GitBook
On this page
  • Features
  • Environment
  • Requirements
  1. Visual Basic .NET tools

Editor preview processor

Last updated 1 year ago

This tool is no longer maintained.

This page is about the Visual Basic .Net version of the tool. If you want to read about the Visual Basic .Net Framework based iteration, head over to the page.

Features

  • Automate resizing the editor preview images exported from game

To help mission makers, every asset available in the Asset browser of the 3DEN editor can have a preview image set. The preview images can be exported from game with the BIS_fnc_exportEditorPreviews built-in function. The function saves screenshots of the assets according to the arguments it was called with. These screenshots are in same resolution as the game is running, and they need to be resized and saved to JPG format to be usable as preview images. This task is not complex, but it becomes rather tedious when a mod has hundreds of assets. The goal of this tool is to automate and speed up this process.

More info can be found on the .

The program iterates through the PNG files in the specified input directory, resizes them, and saves them as JPG in the output directory with the same file name.

The resizing is done by programatically opening the images one by one in Photoshop, and resizing them.

After all the images are processed, if the options are checked, Photoshop is closed, and all the source images are deleted from the input folder.

Environment

  • Logic: Visual Basic .Net 5.0

  • GUI: Windows Forms

Requirements

The tool was only tested with Photoshop CS6, it may not work correctly, or crash with other versions.

  • .NET 5.0

  • Photoshop

🔧
Editor preview processor (VB.Net Framework)
Bohemia Interactive community wiki