Skip to content

mleem97/gregCore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

537 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gregCore

Modular .NET 6 IL2CPP mod framework for Data Center — Harmony patching, UI overlays, save engine, scripting, and multi-mod architecture.

Discord gregFramework License Version GameVersion Unity

Links

Overview

gregCore is a modular .NET 6 framework for Data Center that provides Harmony-based runtime patching, UI overlay management, save engine with versioning, multi-mod architecture with dependency resolution, scripting bridges (Lua, JS, Python), and more.

Compatibility

Loader Platform Status
MelonLoader 0.7+ Windows x64 Supported
MelonLoader 0.7+ Linux x64 Supported
BepInEx 6+ Windows x64 Supported
BepInEx 6+ Linux x64 Supported

Features

  • Harmony-based runtime patching system (Prefix / Postfix)
  • UI overlay and widget management (UI Toolkit / UGUI)
  • Save engine with versioning and migration (LiteDB)
  • Multi-mod architecture with dependency resolution
  • Wall rack and grid placement systems
  • Custom shop and employee management APIs
  • Logging and diagnostic infrastructure
  • Lua, JS and Python scripting bridges
  • FishNet multiplayer sync layer (optional)

Installation

MelonLoader

  1. Download gregCore-vX.Y.Z-melonloader-windows.zip (or -linux.zip)
  2. Extract into your game's root folder
  3. Your Mods/ folder will contain gregCore.dll

BepInEx

  1. Download gregCore-vX.Y.Z-bepinex-windows.zip (or -linux.zip)
  2. Extract into your game's root folder
  3. BepInEx/plugins/gregCore/gregCore.dll is placed automatically

Dependencies

Runtime

  • MelonLoader (v0.7.2+) or BepInEx (v6+)

NuGet packages (bundled in release)

  • Jint 4.8.0, LiteDB 5.0.21, Mono.Cecil 0.11.6, MoonSharp 2.0.0, Newtonsoft.Json 13.0.3, pythonnet 3.0.5

Build only

  • .NET 6 SDK
  • Game reference assemblies in lib/references/MelonLoader/

Build from Source

Requirements:

  • .NET 6 SDK
  • local Data Center / MelonLoader installation

Note: This framework was built on Linux using Proton-GE 10-34. Populate lib/references/MelonLoader/ from your local game install (run the game once with MelonLoader, then copy MelonLoader/Il2CppAssemblies/ and MelonLoader/net6/).

Build:

git clone https://github.com/mleem97/gregCore.git
cd gregCore
dotnet build -c Release

Release output:

bin/Release/net6.0/gregCore.dll

Repository Layout

gregCore.Framework/
├── src/                    # Framework + mod source code
│   ├── Core/               # GregCoreMod.cs — entry point
│   ├── Infrastructure/     # Config, logging, persistence
│   ├── GameLayer/          # Harmony patches for game classes
│   ├── UI/                 # UI Toolkit overlay
│   ├── API/                # Public API surface
│   └── ...                 # 27 modules total
├── framework/              # greg_hooks.json — canonical hook registry
├── game_hooks.json         # Patchable methods from IL2CPP dump
├── lib/                    # Reference assemblies (game stubs, MelonLoader)
├── docs/                   # Auto-generated API docs
├── scripts/                # Build and code-generation helpers
├── tests/                  # Unit tests
├── sdk/                    # SDK packs
├── examples/               # Example mods (C#, Go, JS, Lua, Python, Rust)
├── .github/workflows/      # CI pipeline
├── VERSION                 # Single source of truth for version
├── gregCore.csproj         # Project file
├── LICENSE                 # Apache 2.0
└── README.md

API Documentation

See docs/FrameworkAPI.md for the auto-generated hook reference.

Credits

Role Contributor
Codebase mleem97 (TeamGreg Modding)

Contributing

See CONTRIBUTING.md for guidelines.

License

This project is licensed under the Apache License 2.0. See LICENSE.

🚀 Join the gregFramework Team!

Building the ultimate modding framework for Data Center is a massive undertaking. gregFramework is currently maintained by a passionate core team of three, and we are looking for fellow creators to help us scale this mission!

Your place in the team: We won't throw you into the deep end. Depending on your individual strengths and skills, we will match you with the right areas of the project so you can contribute exactly where you have the most fun.

🌍 Language Requirement: A solid grasp of written English is required (without relying on machine translation). Being comfortable speaking English in voice chats is a huge plus, but we completely respect those who prefer to stick to text!

We are looking for motivated volunteers to join our crew across several roles:

  • 💻 Code Wizards (C#, Rust, Lua, TS, GO) — Build and expand the core framework and mod packages
  • 🎨 Asset Creators (3D Models, hardware assets) — Bring the framework to life visually
  • 📚 Technical Writers — Craft wiki entries, maintain documentation, and write user guides
  • 🎮 Alpha Testers — Hunt down bugs, stress-test the framework, and provide critical feedback
  • ⚙️ System Guardians — Maintain our Linux servers, Docker containers, and infrastructure
  • 🤝 Community Managers — Foster our Discord community, gather feedback, and keep the energy high

Interested in joining the project? Everyone is absolutely welcome! Send us an email at apply@gregframework.eu, shoot a quick DM, or drop a message on Discord.


gregFramework — powered by the community.

About

Modular .NET 6 IL2CPP mod framework for Data Center — Harmony patching, UI overlays, save engine, scripting, and multi-mod architecture.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Contributors