How to have games communicate with each other using multi game system where you can control everything and situation.

This page is under the BSD-3-CLAUSE and everything on this page that the BSD-3-CLAUSE does not cover is under this license: This work is licensed under Attribution 4.0 International.

Link to main page, repository and game wrapper.

We would be using a universal game state system and here is how it works.

Warning: You will have to add hooks to your or open source games or emulators(or add the hooks in settings for specific games in the emulator). I would use Lutris as the game wrapper but its under GPLv3.0 and if you cannot use Lutris because of that you will have to create your own game wrapper or find any wrappers under a weak copyleft or permissive license if they exist. With the scripts in Lutris they are post-exit scripts.

  1. Game Or Emulator Detects Trigger Event
  2. Hook Writes Binary State File
  3. Game Process Exits
  4. Game Wrapper Detects Exit And Checks For Transition
  5. Next Game Loads At Specific State
  6. Cycle Repeats