Skip to content

Instantly share code, notes, and snippets.

@hunterbridges
Last active June 21, 2023 18:05
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save hunterbridges/23212ac595cb7dc8cfd24919d971e6d1 to your computer and use it in GitHub Desktop.
Save hunterbridges/23212ac595cb7dc8cfd24919d971e6d1 to your computer and use it in GitHub Desktop.
Readme for @ModeAttract

Attract Mode README

Twitter: @ModeAttract

Author: @HunterBridges


Brief

Attract Mode is a bot which runs this sequence at regular intervals:

  1. Selects a random fighting game from the pool of active games
  2. Generates a random matchup based on the characters in that game
  3. Uses the BizHawk emulator to invoke a CPU vs. CPU match of the given characters in the selected game
  4. Captures the match footage, trims, and transcodes the video using ffmpeg
  5. Uses a version of this Python script to post the resulting video to Twitter

Supported Games

With links to tweets featuring each game

Active (14)

Games which are supported and currently in circulation on the bot.

Inactive (2)

Games which are supported, but are not currently in circulation.

TODO (8)

Games which are not yet supported, but are confirmed to fit the criteria for support.

  • Double Dragon V - The Shadow Falls (Sega Genesis) req. by @Rlan2
  • Virtua Fighter Kids (Sega Saturn) req. by @Rlan2
  • Goiken Muyou: Anarchy in the Nippon (Sega Saturn) req. by @Rlan2
  • Last Bronx (Sega Saturn) req. by @Rlan2
  • Bloody Roar 2 (PlayStation) req. by @Rlan2
  • Darkstalkers 3 (PlayStation) req. by @Rlan2
  • Street Fighter EX+A (PlayStation) req. by @Rlan2
  • Vs. (PlayStation) req. by @Rlan2

Game Requests

If you would like to request a game to be added to the bot, please ensure it passes the qualifications before requesting:

  1. The game must be among the supported systems for BizHawk. This is generally consoles up through N64, and handhelds up through Game Boy Advance. Unfortunately, neither MAME nor more recent consoles are currently supported by the bot. (However, if you have resources for other scriptable TAS emulators which support other systems, I am open to hearing about them!)
  2. The game must be able to somehow invoke a CPU vs. CPU match. The easiest way is if the game simply has a selectable mode where you can do this. However, if it is possible to invoke a CPU vs. CPU match via memory manipulation, as well as select characters/stages, that is also acceptable.
  3. The game must be able to support a 1v1 matchup. The bot's selection system does not currently support multiplayer or tag team matchups (Although this may be added in the future)

If your desired game fits these criteria, please send a DM to the @ModeAttract account containing:

  • Title of desired game
  • System of desired game
  • Detailed instructions on how to invoke the 1v1 CPU vs. CPU mode

There are lots of great fighting games out there, and hopefully one day the bot will be advanced enough to support them all! In the meantime, this is a weekend project, so please be patient as the bot improves :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment