Giter Site home page Giter Site logo

reimnop / flexpkg Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 103 KB

A tool to automatically fetch Unity games from Steam, decompile it using Cpp2IL and Il2CppInterop, then upload it to NuGet, and watch for updates.

License: GNU General Public License v3.0

C# 98.78% Dockerfile 1.22%

flexpkg's Introduction

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

  1. Create the Configuration File: Create a directory where you would like to store persistent data for your container, then create a config.json file in the directory according to the JSON schema.

  2. Start the Docker Container: Run the Docker container using the reimnop/flexpkg image. Mount a volume to /app/userdata to store your persistent data directory. Run the following command:

    docker run -d -v /path/to/your/host/userdata:/app/userdata reimnop/flexpkg

    Replace /path/to/your/host/userdata with 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:

  1. Monitor Steam for updates to the specified Unity IL2CPP application.
  2. Notify via Discord when an application update is detected.
  3. Use /addmanifest to begin downloading and processing the new update.
  4. Generate BepInEx IL2CPP interop assemblies.
  5. Package the generated assemblies into a NuGet package.
  6. Push the package to the configured NuGet repository.
  7. 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.

flexpkg's People

Contributors

enchart avatar reimnop avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.