{"id":21092348,"url":"https://github.com/passivelemon/hd2pystratmacro","last_synced_at":"2025-05-16T13:32:36.336Z","repository":{"id":225053438,"uuid":"764937861","full_name":"PassiveLemon/hd2pystratmacro","owner":"PassiveLemon","description":"A Python based macro script for HELLDIVERS 2","archived":true,"fork":false,"pushed_at":"2024-12-30T23:08:24.000Z","size":44,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-14T06:30:55.041Z","etag":null,"topics":["helldivers-2","helldivers-2-cheat","macros","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PassiveLemon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-29T01:24:07.000Z","updated_at":"2025-02-23T00:38:27.000Z","dependencies_parsed_at":"2024-12-31T00:19:38.959Z","dependency_job_id":"d229f359-0329-4106-ac99-5b54f33e0fe2","html_url":"https://github.com/PassiveLemon/hd2pystratmacro","commit_stats":null,"previous_names":["passivelemon/hd2pystratmacro"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PassiveLemon%2Fhd2pystratmacro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PassiveLemon%2Fhd2pystratmacro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PassiveLemon%2Fhd2pystratmacro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PassiveLemon%2Fhd2pystratmacro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PassiveLemon","download_url":"https://codeload.github.com/PassiveLemon/hd2pystratmacro/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254538532,"owners_count":22087883,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["helldivers-2","helldivers-2-cheat","macros","python"],"created_at":"2024-11-19T21:53:33.288Z","updated_at":"2025-05-16T13:32:36.324Z","avatar_url":"https://github.com/PassiveLemon.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hd2pystratmacro\nA Python based macro script for HELLDIVERS 2\n\nBind Stratagem macros to keybinds.\n\n\u003e [!CAUTION]\n\u003e I am not responsible for any bans or data loss as a result of using this. This was a project for me to learn Python. If you are worried about getting banned, don't use it and be a legitimate player :)\n\n# Dependencies\n- Linux. \u003cb\u003eThis is not supported on Windows or MacOS\u003c/b\u003e though it may in the future.\n- X11. This is not supported on Wayland.\n- Sudo. This requires access to input devices.\n- Python packages: `evdev pyyaml`\n\n# Usage\n### Nix:\n- You can get the package in my [flake repository](https://github.com/PassiveLemon/lemonake).\n### Source:\n- Clone the repo\n- Run `sudo python3 __main__.py`\n- Edit the generated config file in your `~/.config/hd2pystratmacro/config.yaml`. You can also supply a config file with `-f \u003cpath to config.yaml`. Please read the configuration below, you need to configure the file to enable functionality.\n  - Arguments can be found by tacking `-h` or `--help`\n\nWhen running, hold ctrl and press your keybind to activate the macro.\n\n# Configuration (config.yaml)\n## Structure format:\n```yaml\nmain:\n  (stratagem): \"KEY_*\"\n```\n### Example:\n```yaml\nmain:\n  reload: \"KEY_P\"\n  reinforce: \"KEY_Y\"\n```\n- You can define any Stratagems without duplicates.\n\n## Available Stratagems:\n- `reload`: Hot-reload the configuration file to change keybind without restarting the script\n\n### General\n- `reinforce`: Reinforce\n- `resupply`: Resupply\n- `sos`: SOS Beacon\n- `hellbomb`: Hellbomb\n- `flare`: Orbital Illumination Flare\n- `flag`: Super Earth Flag\n- `seaf`: SEAF Artillery\n\n### Patriotic Administration Center\n- `machine`: Machine Gun\n- `antimaterial`: Anti-Material Rifle\n- `stalwart`: Stalwart\n- `expendable`: Expendable Anti-Tank\n- `recoilless`: Recoilless Rifle\n- `flamethrower`: Flamethrower\n- `autocannon`: Autocannon\n- `railgun`: Railgun\n- `spear`: Spear\n\n### Orbital Cannons\n- `orbital_gatling`: Orbital Gatling Strike\n- `orbital_airburst`: Orbital Airburst Strike\n- `orbital_120mm`: Orbital 120MM HE Barrage\n- `orbital_380mm`: Orbital 380MM HE Barrage\n- `orbital_walking`: Orbital Walking Barrage\n- `orbital_laser`: Orbital Laser\n- `orbital_railcannon`: Orbital Railcannon Strike\n\n### Hangar\n- `eagle_rearm`: Eagle Rearm\n- `eagle_strafing`: Eagle Strafing Run\n- `eagle_airstrike`: Eagle Airstrike\n- `eagle_cluster`: Eagle Cluster Bomb\n- `eagle_napalm`: Eagle Napalm Airstrike\n- `jump_pack`: Jump Pack\n- `eagle_smoke`: Eagle Smoke Strike\n- `eagle_110mm`: Eagle 110MM Rocket Pods\n- `eagle_500kg`: Eagle 500KG Bomb\n\n### Bridge\n- `orbital_precision`: Orbital Precision Strike\n- `orbital_gas`: Orbital Gas Strike\n- `orbital_ems`: Orbital EMS Strike\n- `orbital_smoke`: Orbital Smoke Strike\n- `hmg_placement`: HMG Placement\n- `shield_relay`: Shield Generator Relay\n- `tesla_tower`: Tesla Tower\n\n### Engineering Bay\n- `minefield`: Anti-Personnel Minefield\n- `supply_pack`: Supply Pack\n- `grenade_launcher`: Grenade Launcher\n- `laser_cannon`: Laser Cannon\n- `incendiary_mines`: Incendiary Mines\n- `guard_dog_rover`: Guard Dog Rover\n- `ballistic_shield`: Ballistic Shield Backpack\n- `arc_thrower`: Arc Thrower\n- `shield_generator`: Shield Generator Pack\n\n### Robotics Workshop\n- `machine_sentry`: Machine Gun Sentry\n- `gatling_sentry`: Gatling Sentry\n- `mortar_sentry`: Mortar Sentry\n- `guard_dog`: Guard Dog\n- `autocannon_sentry`: Autocannon Sentry\n- `rocket_sentry`: Rocket Sentry\n- `ems_sentry`: EMS Mortar Sentry\n\nYou can have other sets of keybinds but the script currently only reads from `main`. Definable sets will be implemented in the future.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpassivelemon%2Fhd2pystratmacro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpassivelemon%2Fhd2pystratmacro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpassivelemon%2Fhd2pystratmacro/lists"}