Skip to content

InfinityTools/InfinityAutoPackager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 

Repository files navigation

Infinity Auto Packager

Discussion

https://www.gibberlings3.net/forums/topic/31131-infinity-auto-packager-automatically-generate-mod-packages-when-you-publish-a-release

What does this tool do?

A tool that automatically generates Infinity Engine mod packages when you publish a release.

What are Infinity Engine mod packages?

They are standardized, universal and cross-platform Infinity Engine Mod Packages

  • .zip package
    Standardized, universal and cross-platform Infinity Engine Mod Package with .zip file extension. It has WeiDU executable for Windows and macOS (for Linux is impossible) and .command file for macOS.
  • .iemod package
    The IEMOD format (https://github.com/ALIENQuake/ProjectInfinity/wiki/Specification-of-the-IEMOD-file-format) is intended to be a platform-independent distribution format for modifications for games using the Infinity Engine. The .iemod packages are used mainly by mod managers. Among other things, they offer a "double-click at file>extract>install" feature.

General info

  • can be combined with the ModRelease tool
  • the package name is taken from mod metadata ini file
  • the package version is taken directly from the tp2 file
  • packages always have the latest WeiDU version, at the time when they were created
  • the tool is a serverless microservice - it will work as long GitHub Actions exist in any form

Example:

https://github.com/ALIENQuake/InfinityAutoPackager-Example

How to do the one-time installation inside your mod repository

  • By committing to the repository
  1. Check repository 'Actions' permissions: go to Settings > Actions and check rights:
    image
  2. Download the Infinity Auto Packager repository, extract the InfinityAutoPackager-master.zip file
  3. Copy '.github' folder into your top-level folder of the mod repository
  4. Commit and push changes to the remote repository
  • By using the GitHub webpage directly
Spoiler 1. Open the main page of your mod, locate the "Create new file" button 2. paste this into the filename `.github/workflows/InfinityAutoPackager.yaml`, do not miss the dot `.` at the beginning 3. Open Infinity Auto Packager file, copy all content and paste it into the editor, then click "Commit new file" in order to save changes

How to use it

  1. Publish release

After a few moments, the .iemod and .zip packages will be automatically created and added to the published release. How long it takes depends on how big the mod is.