Modular .NET 6 IL2CPP mod framework for Data Center — Harmony patching, UI overlays, save engine, scripting, and multi-mod architecture.
- Repository: github.com/mleem97/gregCore
- Discord / Support: discord.gg/greg
- Website: gregframework.eu
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.
| 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 |
- 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)
- Download
gregCore-vX.Y.Z-melonloader-windows.zip(or-linux.zip) - Extract into your game's root folder
- Your
Mods/folder will containgregCore.dll
- Download
gregCore-vX.Y.Z-bepinex-windows.zip(or-linux.zip) - Extract into your game's root folder
BepInEx/plugins/gregCore/gregCore.dllis placed automatically
- MelonLoader (v0.7.2+) or BepInEx (v6+)
- 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
- .NET 6 SDK
- Game reference assemblies in
lib/references/MelonLoader/
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 copyMelonLoader/Il2CppAssemblies/andMelonLoader/net6/).
Build:
git clone https://github.com/mleem97/gregCore.git
cd gregCore
dotnet build -c ReleaseRelease output:
bin/Release/net6.0/gregCore.dll
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
See docs/FrameworkAPI.md for the auto-generated hook reference.
| Role | Contributor |
|---|---|
| Codebase | mleem97 (TeamGreg Modding) |
See CONTRIBUTING.md for guidelines.
This project is licensed under the Apache License 2.0. See LICENSE.
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.