/rivets-injector

A small windows application that injects the rivets.dll. Intended to be small, simple, and stable. Should be updated very infrequently.

Primary LanguageRustOtherNOASSERTION

Rivets 🔩 - the Factorio mod loader

Discord

Rivets injector 🔩

A small windows application that injects the rivets.dll. Intended to be small, simple, and stable. Should be updated very infrequently.

Preforms the following operations:

  • Searches the working directory for factorio.exe. Alternatively this could be manually provided via --executable-path
  • Parses config-path.cfg and config.ini to find the factorio mods folder location. Alternatively this could be manually provided via --mod-directory
  • Searches the mods folder for the highest possible version of rivets_X.X.X.zip.
  • Unzips rivets/rivets.dll from the zip archive.
  • Starts the factorio.exe process.
  • Uses the dll-syringe crate to inject rivets.dll into factorio.
  • Builds an OS pipe to copy factorio's stdout onto rivets' stdout.

image