Bejeweled 2 (Windows, Mac OS X)
This game has uncompiled source code.
This game has a prerelease article
There's a mention for a "cheat string" and "cheat" parameter relating to the source code. Same for "debug messages".
After the original Bejeweled became a worldwide seller, then comes the well-anticipated sequel of that game: Bejeweled 2! A relatively large expansion the game was given at the time, from new modes, new special gems, to the breath-taking graphics and music, which were generally favored by the audience as a whole!
- 1 Sub-Pages
- 2 Unused Music Sequences
- 3 Unused Graphics
- 4 Cancelled "Planet Pack"
- 5 Leftover development content
- 6 Debugging Font
- 7 PAK Support
- 8 Development text
- 9 Command-line Parameters
- 10 Debug Commands
- 11 Developer notes
- 12 Regional Differences
- 13 Revisional Differences
Unused Music Sequences
Offset 127, with tempo 128. Interestingly, this is the third track that plays when you place the CD into a CD player, but doesn't appear anywhere in-game. In the source tracker, this sequence in the source tracker is called "Get Ready!" as this might imply that this is played when you start a game in the main menu.
Offset 128, with tempo 125. A leftover duplicated fragment from the track that plays when you completed Puzzle Mode. Additionally, this sequence in the source tracker is called "Complete!" as it might imply that this might play after you complete a level. Likely was not going to be used as the music would have to stop to play this, then fade back in the main level loop tracks of Classic or Action.
Offset 144, 145, 184, each with tempo 125. These sequences are attached to each other at the end of the music tracker file. The first two sequences here are possibly scrapped for being too similar/early version of the track Schein. Additionally, offset 184 is a fragment of Final Destination on offset 168 heard at the end of Puzzle mode as well. This file is called "Mists of the Past/Totenschein" in the OpenMPT source tracker. Skaven has said that he did want to use Mists of the Past, but didn't get to, so he didn't want to delist it so it appears at the end of the IT file.
Offset 115, 116, each with tempo 128. Unlisted sequences that do not appear on the music tracker file's surface. It seems to be an early draft of the song "Schein".
Offset 141,142,143, each with tempo 136. Unlisted.
Offset 146, each with tempo 136. Unlisted.
A very high detailed and shiny loader bar. The current one is more energetic.
An unused score widget. Interesting enough, one of the prerelease images of the game has a section in the middle which also has this shine, texturing, and palette.
Bejeweled 1 Leftovers
The unused loading bar from Bejeweled 1 is still present in Bejeweled 2, left unused.
The menu score font from Bejeweled Deluxe.
The slider knob from Bejeweled Deluxe.
Cancelled "Planet Pack"
According to this download source, with an included digital signature MD5 hash by PopCap themselves for authentication, Bejeweled 2 might have had a planned expansion pack that was scrapped for unknown reasons nearly a year after the game's release.
Running the installer would place new files under the C:\Program Files (x86)\PopCap Games\Bejeweled 2 Deluxe\images\backdrops folder, which includes a variety of 12 new backdrops under the codename planetpack. Besides these images, no such attachment or modification of files is done by the installation.
Version 1.0 was coded to have backdrops.lst updated with detection of new images being uploaded onto the backdrops folder, after executing the game. Version 1.1 lacks such a feature, however.
Without official sources, it is inconclusive calling it as an incomplete puzzle pack as nowhere does the installation process mentions an update to Puzzle Mode- Perhaps a major backdrop update only.
It is also worth mentioning most or all backdrops were later reused in Bejeweled Twist.
Leftover development content
A portion of source header files and a precompiled header file are present in the data directory in the Mac OS X version (one of the files has no data, unfortunately). How exactly the developers did the same mistake in Zuma Deluxe is an unsolved mystery.
|Download Bejeweled 2 (Mac OS X) Source files
File: Bejeweled2MacOSX_SourceFiles.zip (36,295 KB) (info)
Under the Japanese localization, an unused folder named _dump can be found within the data folder, with contents of what consists to be game development leftovers. As these images are not under the usual images folder where all the graphics of the game are usually stored, they are independent and cannot be manipulated to appear in-game through the modification of the configuration files. A .html file is present within the folder that displays the five development images as thumbnails, while also showing size, transparency and resolution information.
What version of the framework?
Screenshot of FontTester.exe from the PopCap Framework that uses img0001.png for the base letters and numbers. Such a program is nowhere to be found within the game's files.
The main textured font base used for the game's "LEVEL X", "WORLD COMPLETE", etc. lines.
The full text that is linked towards the image of img0001.png. This text by itself is either scrapped out from the final game or used for demonstration purposes.
A 64x64 black square that is duplicated twice but with sequential file names; there is a possibility that it might have served as the base background for img0001's text generator program.
Figure out if there is anything that actually uses this font and if there is, figure out if it's actually "debug" related.
In "resources.xml" file contains an entry for a debug font, which is as the path implies, Continuum Medium.
<Font id="DEBUG" path="ContinuumMedium18outline.txt" sm_path="ContinuumMedium12outline.txt" />
The game's executable has full support for loading from a main.pak. Unfortunately, PopCap never released a version of the game using one and the game does not read the music directory in a PAK.
There's most likely more.
The game executable mentions a CVS directory in the root of the game installation that doesn't exist, suggesting the game was built off CVS version control.
- -version Shows the product name, version, build number and build date with a popup instead of starting the game.
- -play Plays a demo file then closes the game.
- -record: Records a demo and saves it after shutdown of the game.
- -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.
- -playnum Starts Bejeweled 2 with the previously recorded demo files sequentially.
- -crash: Crashes the game immediately with an Access Violation error.
- -screensaver: Makes the game act like it's a screensaver, any movement or key presses will immediately force close the game. Likely a remnant of Insaniquarium's screensaver command line.
- -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).
- -changedir Changes the directory of where the game assets will be located.
There may be more.
Pressing CTRL + ALT + D will play a sound to indicate that debug key input is enabled, allowing unique keys and key combinations to be typed for debugging displays or mechanisms, another use will disable it.
- F2 - Start/Stop perf timing.
- F3 - Toggle FPS display.
- Shift + F3 - Toggle FPS/mouse coordinate display.
- F8 - Show current Video Stats (mostly used to see if 3D acceleration is currently on).
- Shift + F8 - Toggle 3D acceleration.
- F11 - Take screenshot (goes into the ProgramData/OEM/Bejeweled2/_screenshots) directory.
- Shift + F11 - Dump all program images in memory to the ProgramData/OEM/Bejeweled2/_dump directory.
<!-- Percent chance (0.0 - 1.0) that a bomb will fall --> <!-- Percent chance (0.0 - 1.0) that a power gem will fall --> <!-- Percent chance (0.0 - 1.0) that a rock will fall --> <!-- Initial countdown value of a time bomb --> <!-- Mininum number of gems needed in a match to create a power gem --> <!-- Mininum number of gems needed in a match to create a wildcard destroyer --> <!-- Number of points for each explosion in a chain reaction --> <!-- Additional number of points for each extra explosion in a chain reaction --> <!-- Number of points for each normal gem in a hyper gem electrocution --> <!-- Number of points for each power gem in a hyper gem electrocution --> <!-- Number of points for each power gem in a set --> <!-- The following difficulty levels are represented by a BASE and a MULT. BASE is the value for level 1. MULT specified how much that value increases per level. Also, note that that most of these values such as NormBonus take effect before the point multiplier is taken into account, which means that the point multiplier can change without affecting the difficulty --> <!-- How many points it takes to get to the next level in normal mode --> <!-- Controls for points multiplier in normal mode --> <!-- How many points it takes to get to the next level in timed mode --> <!-- Point multiplier for timed mode --> <!-- How fast does bonus bar start going down in timed mode --> <!-- How fast the bonus bar accelerates downward in timed mode --> <!-- How fast acceleration increases in timed mode --> <!-- How many seconds to advance velocity by per level --> <!-- How much grace time you are given per move in timed mode --> <!-- Multiplied by move points for additional grace time --> <!-- Max grace time --> <!-- Point multiplier for endless mode --> <!-- How many points it takes to get to the next level in endless mode -->
Config.xml mentions a bunch of them.
The Japanese version of the game features two of these rather different sounding voice sound effects. They sound comparatively "clearer" and "panned" to the ones featured in English releases. Unknowningly, the No_More_Moves.ogg sound was used on the Xbox 360 Bejeweled 2 version.
In the Japanese version, levelup1.ogg can also be found under the sounds folder as an unused voice sound effect, not present in the English versions.
1.0 and 1.1
- 1.0 would have the older PopCap logo at the bottom right corner of the loading screen, with 1.1 having the newer PopCap logo with the absence of GAMES on the right.
- 1.0 occasionally asks the player whether to check for system updates at the loading screen, but nowhere does 1.1 does this same action as well.
|Version 1.0||Version 1.1|
- In 1.0, the "Automatic Update" button is located between the "Custom Cursors" and "Random Backdrops" buttons in the options menu, which would lead the game into checking the PopCap servers if ticked. The "Update Check" button is used for its said purpose. However, in 1.1 these two buttons are missing, with the "Automatic Update" button hidden in the top left corner, requiring you to drag the option window in order to view it. The button is non-interactable.
|Version 1.0||Version 1.1|
However, changing the string <Boolean id="DontUpdate">true</Boolean> under partner.xml to <Boolean id="DontUpdate">false</Boolean> in 1.1 will revert the update button settings to 1.0.
- Although not existing in 1.1, under the Galaxy One folder of 1.0 there is a text document called sol.txt, which might be an uncompiled .sol file. 4,7 and 3,7 here refers to the X and Y axis of the gems to be swapped:
Solution: C:\GameSrc\cpp\WinBej2\puzzles\Galaxy One\tutorial8.sol Start State: 2 :0 :1 [3C] 4,7 to 3,7 - 0 :2 [3C] 4,7 to 3,7 - 1
Bejeweled 2 had two different icons for v1.0 and v1.1. The release of the game had the original blue gem design from Bejeweled Deluxe (the original game), and in v1.1, it was later changed to the blue gem's in-game appearance.
The Bejeweled series
|Windows||Bejeweled • Bejeweled 2 • Bejeweled Twist • Bejeweled Blitz • Bejeweled 3 • Bejeweled Live|
|Mac OS Classic||Bejeweled|
|Mac OS X||Bejeweled • Bejeweled 2 • Bejeweled 3|
|iOS||Bejeweled Blitz • Bejeweled Classic|
|Adobe Flash||Bejeweled 2 • Bejeweled 3|
|PopCap Loader||Bejeweled 2|
|Windows Phone||Bejeweled Live|