StackRunner is a simple "player" application that is an alternative to the Revolution Player that will "play" your MetaCard or Revolution stacks, but is much simpler and doesn't present any user-interface elements so it runs "cleaner".

StackRunner is completely free and can be distributed with your stacks, whether they be personal, commercial, or otherwise.

NOTE: StackRunner is only to be used with Revolution Studio or Enterprise in order to simplify deployment of stacks. If you are using Revolution Media or Dreamcard, you need to use the Revolution Player (in fact, StackRunner cannot open stacks created in Revolution Media at all).

FILE FORMAT NOTE: Revolution 2.7.x and later has a different file format than Revolution 2.6.x (and earlier). StackRunner 1.6 was built for use with Revolution Studio or Enterprise 2.7.x or later, and StackRunner 1.3 was built for use with Revolution Studio or Enterprise 2.6.x or earlier. Although you can use StackRunner 1.6 to open stacks built in older versions of Revolution, any changes to those stacks may cause them to be saved in the new file format. It is therefore recommended that you choose the version of StackRunner that best suits the engine version that your stacks were developed in. For this reason, both versions are available for download below.


You can download StackRunner 1.7 (for Revolution 2.7.x or later) here:

StackRunner 1.7 (Mac OS 9) TBD
Coming soon
StackRunner 1.7 (Mac OS X - Universal Binary) Uploaded: 6/2/2007 Download StackRunner 1.7 - OS X UB (2.6 MB)
StackRunner 1.7 (Mac OS X - PowerPC Only) Uploaded: 6/2/2007 Download StackRunner 1.7 - OS X PPC (1.7 MB)
StackRunner 1.7 (Mac OS X - Intel x86 Only) Uploaded: 6/2/2007 Download StackRunner 1.7 - OS X x86 (1.2 MB)
StackRunner 1.7 (Windows) Uploaded: 6/2/2007 Download StackRunner 1.7 - Windows (1.5 MB)
StackRunner 1.7 (Linux) TBD
Coming soon


You can download StackRunner 1.3 (for Revolution 2.6.x or earlier) here:

StackRunner 1.3 (Mac OS 9) Uploaded: 1/1/2006 Download StackRunner 1.3 - OS 9 (1.0 MB)
StackRunner 1.3 (Mac OS X) Uploaded: 1/1/2006 Download StackRunner 1.3 - OS X (1.3 MB)
StackRunner 1.3 (Windows) Uploaded: 1/1/2006 Download StackRunner 1.3 - Windows (1.5 MB)
StackRunner 1.3 (Linux) Uploaded: 1/1/2006 Download StackRunner 1.3 - Linux (1.1 MB)

Installing StackRunner

After clicking on one of the links above and decompressing the file that you have downloaded, you will see the following, based on the platform you downloaded:

StackRunner (Mac OS 9 - all versions) An application called "StackRunner"
StackRunner (Mac OS X - all versions) An application called "StackRunner.app"
(the .app may not be visible)
StackRunner (Windows - all versions) A folder called "StackRunner17Win Folder" (or equivalent) with the application "StackRunner.exe", and a few DLL files and a folder called "Externals"
StackRunner (Linux - Version 1.3) An application called "StackRunner"

StackRunner is dependent on certain files for it to operate properly. With all versions except the Windows version, the extra files are either built into the executable, or are bundled invisibly with them so that you only have one icon to manipulate.

The Windows version, however, MUST be kept with the DLLs and Externals folder that it came with, and will not work properly (or at all) if the executable is taken out of the folder. If you want to make just the icon for the StackRunner application available, please create a shortcut to the executable and place it wherever you want it.

How to Use StackRunner (SR) To Open Your Stacks

StackRunner supports both MetaCard and Revolution stacks. There are two different ways to have SR open your stack:

  1. You can double-click on SR, and it will try to open your stack automatically (see below), or will present a file picker dialog to select your stack;

  2. You can drag and drop a stack onto StackRunner, and it will open it.
Note: As of the current version of SR, you may be able to double-click on a stack file to launch SR on the Mac, but if you have DreamCard or Revolution already on the Mac, you will likely get unpredictable results. Since file associations need to be set in the Registry on Windows, double-clicking a stack file in Windows will not launch SR. The same goes for Linux, where there isn't even a Registry.

How to Customize StackRunner

Renaming StackRunner

SR is very customizable to suit your deployment. You can even rename the StackRunner executable to some other name and it will look like your own creation. To do this, you will need to do the following (I'll use the example of changing the name of SR to "FlashCards"):

  • For MacOS 9: Change the name of "StackRunner" to "FlashCards"

  • For MacOS X: Change the name of "StackRunner.app" to "FlashCards.app" (note that that ".app" may not be showing depending on your settings). Doing this will only change the name of the program in the Finder; as soon as the user executes the program, the process name (i.e. the name that appears in the Application menu, in process-watching apps like Activity Monitor, or during program switching with command-tab) will still say "StackRunner". This is because it gets this information from file(s) that are inside the application bundle.

    If you want to change the process name, refer to this tip and look in the section entitled "Carbon Application (Mach-O)".

  • For Windows: Change the name of "StackRunner.exe" to "FlashCards.exe".

  • For Linux: Change the name of "StackRunner" to "FlashCards".

Opening Stacks With StackRunner

SR will open your stack when SR is double-clicked in one of three ways:

  1. You can name your stack file main.rev and put it in the same directory as SR. If SR finds a file by that name when it launches, it will automatically open it.

  2. If you don't want to put your stack in the same directory as SR, or you don't want to rename it, you can create a configuration file called config.srn and put it in the same directory as SR. It must contains one or more of the following property assignment lines (can be in any order):
    open=pathToStack where pathToStack is a full or relative path to the stack to open, or a URL to where the stack is located. If using a URL, it must be a full URL, starting with 'http://' (ex. http://www.sonsothunder.com/mystack.rev).

    dialogText=textToDisplay where textToDisplay is the prompt in the answer file dialog.

    quitAction=action where action determines what to do when the the last stack closes. It can be set to quit, which will cause StackRunner to quit when the last stack closes, or to ask which will leave StackRunner open and bring up the "Please select a stack:" dialog.

    Note: If a stack is automatically opened (either through having a main.rev stack or by having a valid stack in the open property), StackRunner will by default automatically quit when the last stack is closed if no quitAction has been defined. If no stack is automatically opened, StackRunner will by default bring up the "Please select a stack:" dialog (with your custom dialogText if applicable).
    Example:

    open=/users/kenray/desktop/test.rev
    dialogText=Please locate 'test.rev':
    quitAction=quit

    If a stack cannot be found at the path you've provided in the open property, an answer file dialog will come up with the prompt specified in the dialogText property.

  3. You can do nothing, and SR will present an answer file dialog that says "Please select a stack to open:"

Using Databases With StackRunner

In order to use databases with StackRunner, you will need to copy the database drivers into the folder called "Database Drivers" that exists in the "Externals" folder. For Windows and Linux, this folder is in the same folder as the StackRunner application; for Macintosh this folder is inside the application bundle (right-click on the SR app and choose "Show Contents",in Contents/MacOS/Externals). If the folder "Database Drivers" does not exist, you will need to create it inside the Externals folder.

If you have any suggestions for upgrades to StackRunner, please send them to: stackrunner @ sonsothunder.com
Release Date Built w/Rev Changes and Additions
1.7 6/2/2007 2.8.1 Updated to use Rev 2.8.1 engine, including externals for revBrowser and revFont.
1.6 2/28/2007 2.8.0 Updated to use Rev 2.8.0 engine
1.5 8/27/2006 2.7.2 Updated to use new Rev engine; couldn't use 2.7.3 because of AppleEvent bug that scrambles incoming AppleEvents so they can't be trapped. Also provided new Universal Binary, PowerPC and Intel x86 builds.
1.4 3/8/2006 2.7.0 Created new version of SR due to file format change and release of Revolution 2.7.
1.3 1/16/2006 2.6.1 Added ability to open stacks from the web by providing a url in the open property of the 'config.srn' file.
1.2 1/1/2006 2.6.1 Fixed bug where dragging-and-dropping a file onto SR, or double-clicking on a file that was associated with SR would not respect the 'config.srn' file.
1.1 12/24/2005 2.6.1 Fixed bug where the configuration settings for dialogText were not being respected if you launched with no 'main.rev' but had an alternate dialogText.
Simplified method of detecting when StackRunner was the last open stack after another stack had closed to be able to implement the quitAction.
Added Linux version of StackRunner.
Added custom properties to make StackRunner RIP compliant.
1.0.3 10/22/2005 2.6.1 Fixed bug where the 'closeStack' message wasn't being sent to the last stack that closed.
1.0.2 9/8/2005 2.6.1 Added quitAction property to config file and added default behavior when the last stack is closed.
1.0.1 9/6/2005 2.6.1 Fixed bug where config file wouldn't open a defined stack properly.
1.0 9/6/2005 2.6.1 Initial Release

Portions ©2000-2007 Runtime Revolution Limited, All Rights Reserved Worldwide.