You are viewing a potentially older version of this package. View all versions.
CertiFried-EMUBuilder_Patched-1.1.1 icon

EMUBuilder Patched

Community-patched EMUBuilder with extended machine type support for Blueprints copy/paste. Supports WaterWheel, Planters, Chests, MemoryTree, and more.

Date uploaded 6 months ago
Version 1.1.1
Download link CertiFried-EMUBuilder_Patched-1.1.1.zip
Downloads 29
Dependency string CertiFried-EMUBuilder_Patched-1.1.1

This mod requires the following mods to function

Equinox-EquinoxsModUtils-6.1.3 icon
Equinox-EquinoxsModUtils

A collection of tools for modders

Preferred version: 6.1.3
Equinox-EquinoxsDebuggingTools-2.0.0 icon
Equinox-EquinoxsDebuggingTools

A library that solves logging issues and provides debugging tools

Preferred version: 2.0.0

README

EMUBuilder (Community Patched)

A community-maintained patch of EMUBuilder with extended machine type support for the Blueprints mod's copy/paste functionality.

Credits & Attribution

Original Author: Equinox

This mod was originally created by Equinox as part of the CubeSuite collection of Techtonica mods. This is a community patch that extends the original functionality.

All credit for the original mod concept, design, and implementation goes to Equinox.

What This Patch Adds

This patched version extends EMUBuilder to support additional machine types in the SupportedMachineTypes array and BuildMachine switch statement, enabling the Blueprints mod to copy/paste:

  • Water Wheels (MachineTypeEnum 23)
  • Chests (MachineTypeEnum 3) - for WormholeChests compatibility
  • Planters (MachineTypeEnum 10) - for MorePlanters MKII/III compatibility
  • Power Generators (MachineTypeEnum 11)
  • Accumulators (MachineTypeEnum 24)
  • High Voltage Cables (MachineTypeEnum 25)
  • Voltage Steppers (MachineTypeEnum 26)
  • Memory Trees (MachineTypeEnum 30) - for AtlantumReactor compatibility

Requirements

  • BepInEx 5.4.23.4+
  • EquinoxsModUtils 6.1.3+
  • EquinoxsDebuggingTools 2.0.0+

Changelog

v1.1.0 (Community Patch)

  • Extended SupportedMachineTypes array to include 8 additional machine types
  • Patched MachineBuilder.BuildMachine switch statement to handle new machine types via DoSimpleBuild
  • Enables Blueprints copy/paste for Water Wheels, modded Planters, WormholeChests, AtlantumReactors, and power infrastructure
  • Updated dependencies for EMU 6.1.3 compatibility

v1.0.0 (Original by Equinox)

  • Initial release by Equinox

License

GPL-3.0 (GNU General Public License v3.0) - See original repository for full license.

CHANGELOG

Changelog

All notable changes to EMUBuilder (Community Patched) will be documented in this file.

[1.1.1] - 2025-01-03

Changed

  • Updated README with proper attribution and links to original author Equinox

[1.1.0] - 2025-01-02

Added

  • Extended machine type support for Blueprints copy/paste:
    • MachineTypeEnum.Chest (3) - Enables WormholeChests blueprint support
    • MachineTypeEnum.Planter (10) - Enables MorePlanters MKII/III blueprint support
    • MachineTypeEnum.PowerGenerator (11) - Power generator blueprint support
    • MachineTypeEnum.WaterWheel (23) - Water wheel blueprint support
    • MachineTypeEnum.Accumulator (24) - Accumulator blueprint support
    • MachineTypeEnum.HighVoltageCable (25) - HV cable blueprint support
    • MachineTypeEnum.VoltageStepper (26) - Voltage stepper blueprint support
    • MachineTypeEnum.MemoryTree (30) - Enables AtlantumReactor blueprint support

Changed

  • Patched MachineBuilder.SupportedMachineTypes array:

    • Original array had 15 machine types
    • Patched array now has 23 machine types
    • Added via IL patching of static constructor
  • Patched MachineBuilder.BuildMachine() switch statement:

    • Added cases for all 8 new machine types
    • All new machine types use DoSimpleBuild() method for construction
    • Enables Blueprints mod to properly reconstruct these machines from saved blueprints

Technical Details

  • Patching performed via dnlib IL manipulation
  • Static field SupportedMachineTypes patched in .cctor (static constructor)
  • Switch statement patched by injecting additional case labels pointing to DoSimpleBuild call
  • Original EMUBuilder.dll backed up before patching
  • Patch tool location: C:\Users\crawf\TechtonicaMods\Patcher\EMUBuilderPatcher\

Compatibility

  • Requires EquinoxsModUtils 6.1.3+
  • Requires EquinoxsDebuggingTools 2.0.0+
  • Compatible with Blueprints mod for extended copy/paste functionality

[1.0.0] - Original Release by Equinox

  • Initial release of EMUBuilder
  • Base machine type support for Blueprints mod