We just reached 30,000 articles on this wiki! 🥳
If you appreciate the work done within the wiki, please consider supporting The Cutting Room Floor on Patreon. Thanks for all your support!

User:LolHacksRule/PopCap Games

From The Cutting Room Floor
Jump to navigation Jump to search

Framework

Every single PopCap game using it has support for the following debugging tools.

Command Line Parameters

You must use "=" for your parameter as space won't count. On MacOS, only non Release builds support them (at least in Prime).

  • -version Display the version details.
  • -play Plays a recorded demo (.DMO) file. Using the FPS display debug key during playback will also display the duration before the demo ends. (Removed in Bejeweled 3 and beyond)
  • -recnum Records sequentially named demos each time you run the game. The filenames of the saved demos are "Popcap1.dmo", "Popcap2.dmo", "Popcap3.dmo", etc., with "Popcap" being replaced with a specified file name with -demofile. (Removed in Bejeweled 3 and beyond)
  • -playnum Starts with the previously recorded demo files sequentially. (Removed in Bejeweled 3 and beyond)
  • -record Records gameplay, this will get saved as a DMO file. (Removed in Bejeweled 3 and beyond)
  • -demofile Specifies the filename for the played or recorded demo and only works when used with the "-play" or "-record" command line parameters (see below). The correct syntax for this parameter is "-demofile=MyDemo.dmo" (minus the quotes), substituting "MyDemo.dmo" with your demo filename of choice (either a previously recorded demo to play, or a filename to save a new demo that you wish to record). (Removed in Bejeweled 3 and beyond)
  • -crash Simulates a game crash.
  • -screensaver Makes the game act like it's a screensaver, any movement or key presses will immediately force close the game.
  • -changedir Changes the directory where game assets will be loaded.
  • -nod3d9: Boots up the game with the Direct3D 8 graphics API (Twist+ not PVZ).
  • -minidump: Writes a minidump, debug only (Twist+ not PVZ).
  • -ultradump: Writes an ultra dump, debug only (Twist+ not PVZ).

Debug Keys

Press CTRL+ALT+D to use them, a sound will play if enabled. On Mac, only a portion work in non-Release builds (at least in Prime)

F1 - Shows game build info (ZR/Twist+, not PVZ)
F2 - Start/Stop Perf Timing (older versions display a message box saying ''Perf Recording ON'' when disabled, no effect on Mac)
Ctrl F3 - Draws a Frame overdraw message box (Twist+, not PVZ or Mac)
Alt R - Reparse mod values (Debug/Beta build only, not RELEASE/Final RELEASE or Peggle or Bejeweled 2 JP or Zuma non JP [not -en or 1_1-1_5] or Insaniquarium JP[only?], not BWA, not BejBlitz or Mac)
F3 - toggle framerate display, use during demo playback will also display the demo duration.
Shift F3 - toggle framerate/mouse coord display (graphic draws were added in Blitz and 3) [in older versions of the framework [Bejeweled 2 JP] this is F4, Zuma's Revenge doesn't have mouse coordinates but includes the actual and virtual FPS]
F8 - Show current Video Stats (mostly used to see if 3d is currently on) [in older versions of the framework [Bejeweled 2 JP] this instead toggles 3D acceleration without info and is F9, not Mac, when no driver is detected in BejTwist, this causes a crash]
Alt F8 - Toggle VSync (Twist+ not PVZ, not Mac)
Shift F8 - Toggle 3d mode (Not Mac)
F10 - Single Step Program (show one frame at a time) (Debug/beta build only or Peggle or Zuma, not BWA, not BejBlitz)
Shift F10 - Stop single steping (Debug/Beta build only or Peggle or Zuma, not BWA, not BejBlitz)
Ctrl F10 - Toggle Slow Motion (Debug/Beta build only or Peggle or Zuma non JP [not -en or 1_1-1_5], not BWA, not BejBlitz)
F11 - Take Screenshot (goes into the _screenshots) directory [in older versions of the framework this does the same as Shift F11 and outputs to the root of the game directory] (Not Mac or Blitz and Bejeweled 3/Prime)
Shift F11 - Dump all program images in memory to the _dump directory (Not Mac or Bejeweled 3/Prime)
F12 - Forces a breakpoint for the debugger. (Not Mac[?])

Subpages

Blank.png
Wrapper SWF
Blank.png
Zuma's Revenge! (Windows Phone)