Skip to content
BAZKAMAZPublic

About

AzForge is a native C/C++ modding framework and runtime for Azangara

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

AzForge

A native C/C++ modding framework & SDK for Azangara, a 2.5D platformer by AxySoft

Win32 (x86) C++20 Direct3D 8 32 Subsystems

🌐 Website & Installer • Documentation • API Reference


AzForge is a native C/C++ modding framework and runtime for Azangara, providing a versioned C ABI across 32 subsystems to build, package, and run mods without modifying original game files. Loaded transparently via a d3d8.dll proxy — while removing d3d8.dll cleanly restores the stock game.


What it does

Non-destructive Asset Overrides

Replace scripts, levels, rooms, textures, models, and sounds, or serve files directly from memory (Files::Serve). Removing d3d8.dll restores the stock game.

Native Win32 Mods

.amod containers ship replacement files and an optional C/C++ DLL with zero scripting overhead, strict C ABI stability, and automatic teardown on unload.

Rendering, Models & Shaders

2D menu-space drawing, custom textures and sprite fonts, batched .mmd and multi-part .azm models, vs/ps 1.1 vertex/pixel shaders, plus full frame-loop/loading-screen control (Stage) and level editor hooks (LevelEditor).

In-Game Management & Safety

Press F10 (or run mods screen) for the built-in MODS overlay with hot-reload for regular code mods, signature-verified hooks that step aside on unknown builds, AMSI scanning, and crash reports in forge.log.

Gameplay, UI & World Access

Full native access to rooms, player, monsters, room mechanisms, bonuses, inventory, camera, particles, HUD, menus, console, input, audio, configs, and saves.

Architecture & Resource Resolution

flowchart LR
    Game["game.exe"] -->|Loads| Proxy["d3d8.dll Proxy"]
    Proxy -->|Boots| Core["AzForge.dll"]
    Core -->|Loads| Mods[".amod Containers"]

    subgraph VFS ["Resource Resolution Order"]
        direction LR
        R1["Runtime Serve"] --> R2["Active Mods"] --> R3["Disk Files"] --> R4["data.pak"]
    end

    Core -.-> VFS
Loading

Getting started

  • Playing with mods: get the installer from the AzForge website, or copy d3d8.dll and AzForge.dll next to game.exe and drop .amod archives into mods/.
  • Making a mod: follow the Quick start guide, or create a ready-to-debug project with the Visual Studio (plugins/vs2026/) or VS Code (plugins/vscode/) extension — both build, pack, install, and launch game.exe under the debugger on F5.

Documentation

Full guides and a searchable API reference (English and Russian) live on the documentation site:

  • Overview — architecture, resource resolution order, and mod composition
  • Quick start — building, packing, and running your first mod
  • Mod package & manifest — .amod layout, mod.json fields, amodpack CLI, and load order
  • API model — C ABI contract, versioning, error codes, tokens, and lifetimes
  • API reference — all subsystems, functions, structs, callbacks, and constants

Building from source

Important

All native targets must be built for Win32 (x86) using C++20 and the static runtime (/MT / /MTd). game.exe is 32-bit, and static linking ensures players don't need Visual C++ Redistributable.

Open AzForge.slnx in Visual Studio or run MSBuild from a Developer Command Prompt:

msbuild AzForge.slnx /p:Configuration=Release /p:Platform=x86

Building produces d3d8.dll, AzForge.dll, AmodPack.exe, AzmPack.exe, and SampleMod.amod.

Building IDE Extensions (Visual Studio & VS Code)

IDE extensions are built separately from the main solution:

  • Visual Studio 2022–2026 (VSIX): plugins/vs2026/Extension/
  • VS Code Extension: plugins/vscode/
Repository layout
Path What it is
D3d8Proxy/ d3d8.dll proxy that boots AzForge and hooks Direct3DCreate8
src/ Core loader (AzForge.dll), hooks, mod host, and subsystem implementations
AmodPack/ AmodPack.exe CLI for packing, validating, and installing .amod containers
AzmPack/ AzmPack.exe CLI converting OBJ + MTL (+ JSON sidecar) into .azm models
sdk/ Public C/C++ headers (include/), subsystems.txt, SampleMod/, and samples/car/
plugins/ Shared mod template (README), AzForge.Mod.props, Visual Studio VSIX (vs2026/), and VS Code extension
AzForge-site/ Project landing page and bilingual (EN / RU) documentation site
installer/ Custom standalone WPF installer (AzForgeSetup.csproj, build.ps1)
AFModConstructor/ Visual Qt 6 event-sheet mod constructor
tools/ Standalone helpers (room_grid.py for inspecting .room grids)

About

AzForge is a native C/C++ modding framework and runtime for Azangara

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages