How does AR Wrapper work?

posted Sep 5, 2012, 5:28 AM by Darryl Giors
There are two key techniques which come together to make AR Wrapper what it is:

  1. Script programming.  AR Wrapper is written 100% in AutoIT code which is at it's heart a script program.  This program essentially can monitor another program (in this case the Atari Emulator) and send it commands, such as how to set itself up, how to switch disks, etc.
  2. Pixel sampling.  Pixel sampling is crucial to the function of AR Wrapper.  Unfortunately there is no direct way for the atari emulator to feed back information to AR Wrapper.  Pixel sampling is the solution.  By sampling various pixels on the screen, AR Wrapper can be made "aware" of what the emulated game is doing.  This technique is used extensively for all disk swapping routines, autowarp sequences, etc. 

Thus the absolute need to keep the full emulator window on-screen!

Comments