You are viewing a potentially older version of this package. View all versions.
D1GQ-MageFlagImporter-1.2.0 icon

MageFlagImporter

With this mod you are able to import images as flags!

By D1GQ
Date uploaded 12 months ago
Version 1.2.0
Download link D1GQ-MageFlagImporter-1.2.0.zip
Downloads 155
Dependency string D1GQ-MageFlagImporter-1.2.0

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100
D1GQ-MageConfigurationAPI-1.2.0 icon
D1GQ-MageConfigurationAPI

An API that implements a settings menu to change BepInEx Configs.

Preferred version: 1.2.0

README

Mage Flag Importer Mod

This BepInEx mod enhances the creative experience in Mage Arena by allowing players to import custom images and convert them into pixel art flags. The mod provides an intuitive file browser interface and handles all the image processing automatically.

Features

  • Image Import: Import any BMP, JPG, JPEG, or PNG image file through a native file browser
  • Automatic Conversion: Automatically converts images to pixel art using the game's color palette

Installation

  1. Prerequisites:

    • Ensure you have BepInEx installed for Mage Arena
  2. Installation:

    MageArena/
    └── BepInEx/
        └── plugins/
            ├── MageFlagImporter.dll
    
  3. Usage:

    • In-lobby, After the game starts press "Edit Team Flag" then "Load from image file"
    • Select your image file and watch it convert to a pixel art flag
    • The flag will automatically sync with other players
  4. Sharing:

    If you would like to share your creations you can upload or download the config file.

    MageArena/
    └── BepInEx/
        └── config/
            ├── com.d1gq.mage.flag.importer.cfg
    

Technical Details

  • Image Processing:

    • Uses optimized color matching algorithms
    • Processes images in batches to maintain game performance
    • Handles texture scaling and palette conversion automatically
  • Network Compatibility:

    • Fully synchronized using FishNet networking
    • Works in both hosted and client modes

Changelog

v1.2.0

  • Added 10 different presets to change from, allowing to save multiple flags!

v1.1.0

  • Main thread is no longer being used for File Explorer, which caused the game to temporarily freeze.
  • Optimize image loading logic, Image loads 10x faster now!

v1.0.0

  • Initial release with basic image import functionality.
  • Progressive rendering system.
  • Network synchronization.