Difference between revisions of "Debug Recording"

From Armagetron
(command line arguments apply to all platforms / mention start menu links in windows)
m
Line 7: Line 7:
  
 
Use your shell to pass some command line arguments to armagetron:
 
Use your shell to pass some command line arguments to armagetron:
 +
 
To record: <code>armagetronad --record filename</code><br />
 
To record: <code>armagetronad --record filename</code><br />
 
To playback: <code>armagetronad --playback filename [--fast-forward SECONDS]</code>
 
To playback: <code>armagetronad --playback filename [--fast-forward SECONDS]</code>
  
where filename is the name of the file to be recorded to / played back.
+
where <code>filename</code> is the name of the file to be recorded to / played back.
  
 
(On windows, you can issue shell commands by entering them in startmenu->run. Remember to give the full path to armagetronad.exe if you do that.)
 
(On windows, you can issue shell commands by entering them in startmenu->run. Remember to give the full path to armagetronad.exe if you do that.)

Revision as of 11:27, 2 October 2006

What is it?

Armagetron Advanced 0.2.8+ has a feature to record a play session. This session can later be used by developers to find and squash bugs.

Creating a Debug Recording

All Platforms

Use your shell to pass some command line arguments to armagetron:

To record: armagetronad --record filename
To playback: armagetronad --playback filename [--fast-forward SECONDS]

where filename is the name of the file to be recorded to / played back.

(On windows, you can issue shell commands by entering them in startmenu->run. Remember to give the full path to armagetronad.exe if you do that.)

Mac OS X

Use the helper application included with the game to start or playback an Armagetron Advanced recording. The application has a feature to compress a recording using bzip2 after Armagetron Advanced quits, so you can upload to the forums easily. It also will decompress a bzip2 or zip file for playback.

Windows

The beta release installer creates links in the start menu to record/playback to/from a file called recording.aarec that is located in the program directory.