Skip to content

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

License

Notifications You must be signed in to change notification settings

factorio-rivets/rivets-injector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Languages