FlexPkg
A tool to automatically fetch Unity games from Steam, decompile it using Cpp2IL and Il2CppInterop, then upload it to NuGet, and watch for updates.
Install / Use
/learn @Reimnop/FlexPkgREADME
FlexPkg
FlexPkg is a tool designed to automatically manage updates for Unity IL2CPP applications on Steam, generate BepInEx IL2CPP interop assemblies for modding, and package them into NuGet packages. It handles the entire process from detecting updates to pushing the generated assemblies to NuGet.
Features
- Watch for Updates: Watches Steam for updates to applications.
- Download and Build: Automatically downloads apps and generates BepInEx IL2CPP interop assemblies.
- NuGet Packaging: Packages generated assemblies into a NuGet package and pushes them to a configured NuGet repository.
- Discord Interface: Interact with FlexPkg via a Discord bot.
- Database: Stores update information in a choice of databases (SQLite, MySQL, PostgreSQL).
- Dockerized: Available as a Docker container.
- Configurable: Configure via a JSON file and CLI arguments.
Getting Started
Prerequisites
- Docker (if using the Docker container)
- Steam account with access to the desired application
- NuGet API key or your own NuGet repository
- Discord server and bot token
- A database (SQLite, MySQL, PostgreSQL)
Installation
-
Create the Configuration File: Create a directory where you would like to store persistent data for your container, then create a
config.jsonfile in the directory according to the JSON schema. -
Start the Docker Container: Run the Docker container using the reimnop/flexpkg image. Mount a volume to
/app/userdatato store your persistent data directory. Run the following command:docker run -d -v /path/to/your/host/userdata:/app/userdata reimnop/flexpkgReplace
/path/to/your/host/userdatawith the path where you would like to store the persistent data on your host machine.
Configuration
Configuration schema and examples can be found in the config.schema.json and config.example.json files, respectively.
Usage
Once configured, FlexPkg will:
- Monitor Steam for updates to the specified Unity IL2CPP application.
- Notify via Discord when an application update is detected.
- Use
/addmanifestto begin downloading and processing the new update. - Generate BepInEx IL2CPP interop assemblies.
- Package the generated assemblies into a NuGet package.
- Push the package to the configured NuGet repository.
- Notify via Discord using the configured webhook settings.
License
FlexPkg is licensed under the GNU General Public License (GPL) v3.0. See the LICENSE file for details.
Contributing
Contributions are welcome! Please feel free to submit issues, fork the repository, and send pull requests.
Similar Projects
Contact
For any inquiries or issues, please reach out via GitHub Issues or the contact information provided in the package configuration.
Related Skills
node-connect
341.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.5kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
341.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.5kCommit, push, and open a PR
