Skip to content

TauAkiou/amonguscapture-gtk

 
 

Repository files navigation

amonguscapture-gtk

Build

Capture of the local Among Us executable state

The amonguscapture-gtk project brings the amonguscapture utility to other platforms by removing the Windows dependent WinForms framework and replacing it with the open-source GTK framework (https://www.gtk.org/).

AmongusCapture-gtk is currently supported under:

  • Windows
  • Linux

Version v1.0 of the capture is no longer being supported. It will be replaced with the 'v2.0' branch when ready, but will remain archived under the 'au-gtk-final' branch. Please check Issue 15 for information on the v2.0 update.

Prebuilt Releases

  • Alpha releases of v2.0 are currently available from the releases page.

NOTE FOR LINUX USERS:

Some linux distributions will prevent AmongUsCapture from linking with the Among Us game process. This is due to a ptrace scope security feature.

In order for the capture to work, you must use setcap to add ptrace capabilities to the Capture process. Note that doing so will require root!

sudo setcap cap_sys_ptrace=eip <capture executable>

Also note that moving or changing the capture in any way will strip these permissions from the executable and you will have to setcap the capture again.

Distributions known to be affected by this:

  • Ubuntu
  • Arch

Requirements:

Windows:

While you can use amonguscapture-gtk under Windows, we recommend using the official release.

amonguscapture-gtk is a GTK3 app. Remember to choose the gtk3 installer when downloading the runtime.

Linux:

Building

Windows

    - Create a new file: 'version.txt' in the AmongUsCapture/ directory.
    - Loading the 'AmongUsCapture.sln' file and building should be sufficient enough.
  • Command Line
  - Navigate to the directory you cloned the git repository to, or where you extraced the source package to.
  
  - Create a new file 'version.txt' in the AmongUsCapture/ directory.
  - 'dotnet build --configuration Release' for release builds
  - 'dotnet build --configuration Debug' for debug builds

Linux

Instructions:

- git clone https://github.com/TauAkiou/amonguscapture-gtk

- cd amonguscapture-gtk

- dotnet build -c <release/debug>

Your code will be in amonguscapture-gtk/bin/<Release/Debug>/netcoreapp3.1> as "amonguscapture.dll".

If you want a standalone executable:

- cd amonguscapture-gtk

- dotnet publish "AmongUsCapture\AmongUsCapture.csproj" -p:PublishProfile=LinuxProfilex64 -p:AssemblyVersion=0.0.1

About

Capture of the local Among Us executable state

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 96.4%
  • Python 3.3%
  • Shell 0.3%