Tetris Zone: Difference between revisions

From TetrisWiki
Jump to navigation Jump to search
*>Wire
No edit summary
controls info
 
(14 intermediate revisions by 9 users not shown)
Line 2: Line 2:
|developer = [[Blue Planet Software]]
|developer = [[Blue Planet Software]]
|publisher = [[Blue Planet Software]]
|publisher = [[Blue Planet Software]]
|released = Thu Feb 22, 2007
|released = {{release|WW|February 22, 2007}}
|platform = Windows 2000/XP/Vista<br>Mac OSX 10.3 or higher
|platform = Windows, Mac OS X
|preview = 3
|preview = 3
|playfield = 10w x 20h visible
|playfield = 10 &times; 20
|hold = Yes, with IHS
|hold = Yes, with IHS
|hard = Yes
|hard = Yes
|SRS = [[SRS]]
|system = [[SRS]]
|boxart = Tetris Zone icon.png
|caption = ''Tetris Zone'' icon
|ingame-scrn = Tetris_Zone_ingame.jpg
|title-scrn = Tetris_Zone_title.jpg
}}
}}
'''''Tetris Zone''''' is an official Tetris game for the Macintosh platform and was released as an Universal Binary (for Intel- and PPC-Macs). A Windows version is also available.
'''''Tetris Zone''''' was an official Tetris game for Mac OS X and was released as an Universal Binary (for Intel- and PPC-Macs). A Windows version is also available. In 2014, the official website was merged with [[Tetris (tetris.com)]].


[http://zone.tetris.com/ Official Site]
== Gameplay ==
[[Category:Games List]]
''Tetris Zone'' features the standard [[Tetris Guideline|Guideline]] ruleset for gameplay, with several minor differences compared to other modern Tetris games:
 
*[[Rotate#Initial Rotation System (IRS)|IRS]] and [[Hold piece#Initial Hold|IHS]] are available.
*[[ARE]] is present in all modes except Sprint.
* [[T-Spin]] Triples are classified as normal Triple line clears instead.
 
== Modes ==
=== Marathon ===
Standard variable-goal [[Marathon]] mode. Clear 15 levels to complete the stage.
 
=== Challenge ===
A longer and more complex variant of [[Ultra]] mode. The player is given 10 minutes to score as many points as possible; however, the mode also uses the variable-goal level system. Each level must be completed within 2 minutes; when the timer runs out per level, the goal counter resets. The game ends after playing 10 minutes or reaching Level 31.
 
=== Sprint ===
Standard [[40 lines]] time attack mode.
 
=== Master ===
Fixed-goal Marathon mode with [[20G]] gravity throughout; the player must clear 200 lines to complete the stage. ARE, lock delay, and [[Line clear|line clear]] delay decreases per level.
 
== "bpr" File Hacking ==
In PC version, inside the "rsrc/GFX" and "rsrc/TPF" directory, you'll see many "bpr" files.
These files are encrypted in very simple format.
The following simple C source code encrypts/decrypts these files.
 
/* A simple C source code that encrypts and decrypts bpr file */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
   
/* Globals */
unsigned char *fileBuf; // File buffer
unsigned long fileSize; // File size
   
/* Prototypes */
int main(int argc, char *argv[]);
int loadFile(char *filename);
   
/* Main function */
int main(int argc, char *argv[]) {
    int i;
    FILE *fp;
   
    // Show usage
    if(argc < 3) {
        printf("Usage: %s [In] [Out]\n", argv[0]);
        return 1;
    }
   
    // Load a file
    if(!loadFile(argv[1])) {
        printf("Couldn't load from %s\n", argv[1]);
        return 2;
    }
   
    // Encrypt/Decrypt
    for(i = 0; i < fileSize; i++) {
        fileBuf[i] = 0xFF - fileBuf[i];
    }
   
    // Write
    fp = fopen(argv[2], "wb");
    if(!fp) {
        printf("Couldn't write to %s\n", argv[2]);
        return 3;
    }
    fwrite(fileBuf, fileSize, 1, fp);
    fclose(fp);
   
    // Done
    printf("Done\n");
   
    return 0;
}
   
/* Load a file */
int loadFile(char *filename) {
    FILE *fp;
   
    // Open
    fp = fopen(filename, "rb");
    if(!fp) return 0; // Fail
   
    // Get size
    fseek(fp, 0, SEEK_END);
    fileSize = ftell(fp);
    fseek(fp, 0, SEEK_SET);
   
    // Allocate
    fileBuf = (unsigned char *)malloc(fileSize);
   
    // Read
    fread(fileBuf, fileSize, 1, fp);
   
    // Close
    fclose(fp);
   
    // Done
    return 1;
}
 
GFX subdirectory contains all graphics, and they are stored in BMP format.
 
TPF subdirectory contains "TPF" files for all four modes. This game uses TPF file to define some game mechanisms. TPF resembles to "TWS" ([[Tetris Worlds]] Script) file, but it comes in almost already-compiled format so only runtime-scripts are in raw text.
 
== Controls ==
''Tetris Zone'' features full keyboard input rebinding. Mouse unsupported.
 
== External links ==
* [http://zone.tetris.com/ Official Site]
 
{{Blue Planet Software games}}
 
[[Category:Official Tetris games]]
[[Category:Windows games]]
[[Category:macOS games]]

Latest revision as of 17:31, 27 August 2023

Tetris Zone
Tetris Zone icon
Developer(s)Blue Planet Software
Publisher(s)Blue Planet Software
Platform(s)Windows, Mac OS X
Release
  • WW: February 22, 2007
Gameplay info
Next pieces3
Playfield size10 × 20
Hold pieceYes, with IHS
Hard dropYes
Rotation systemSRS

Tetris Zone was an official Tetris game for Mac OS X and was released as an Universal Binary (for Intel- and PPC-Macs). A Windows version is also available. In 2014, the official website was merged with Tetris (tetris.com).

Gameplay

Tetris Zone features the standard Guideline ruleset for gameplay, with several minor differences compared to other modern Tetris games:

  • IRS and IHS are available.
  • ARE is present in all modes except Sprint.
  • T-Spin Triples are classified as normal Triple line clears instead.

Modes

Marathon

Standard variable-goal Marathon mode. Clear 15 levels to complete the stage.

Challenge

A longer and more complex variant of Ultra mode. The player is given 10 minutes to score as many points as possible; however, the mode also uses the variable-goal level system. Each level must be completed within 2 minutes; when the timer runs out per level, the goal counter resets. The game ends after playing 10 minutes or reaching Level 31.

Sprint

Standard 40 lines time attack mode.

Master

Fixed-goal Marathon mode with 20G gravity throughout; the player must clear 200 lines to complete the stage. ARE, lock delay, and line clear delay decreases per level.

"bpr" File Hacking

In PC version, inside the "rsrc/GFX" and "rsrc/TPF" directory, you'll see many "bpr" files. These files are encrypted in very simple format. The following simple C source code encrypts/decrypts these files.

/* A simple C source code that encrypts and decrypts bpr file */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
    
/* Globals */
unsigned char *fileBuf; // File buffer
unsigned long fileSize; // File size
    
/* Prototypes */
int main(int argc, char *argv[]);
int loadFile(char *filename);
    
/* Main function */
int main(int argc, char *argv[]) {
    int i;
    FILE *fp;
    
    // Show usage
    if(argc < 3) {
        printf("Usage: %s [In] [Out]\n", argv[0]);
        return 1;
    }
    
    // Load a file
    if(!loadFile(argv[1])) {
        printf("Couldn't load from %s\n", argv[1]);
        return 2;
    }
    
    // Encrypt/Decrypt
    for(i = 0; i < fileSize; i++) {
        fileBuf[i] = 0xFF - fileBuf[i];
    }
    
    // Write
    fp = fopen(argv[2], "wb");
    if(!fp) {
        printf("Couldn't write to %s\n", argv[2]);
        return 3;
    }
    fwrite(fileBuf, fileSize, 1, fp);
    fclose(fp);
    
    // Done
    printf("Done\n");
    
    return 0;
}
    
/* Load a file */
int loadFile(char *filename) {
    FILE *fp;
    
    // Open
    fp = fopen(filename, "rb");
    if(!fp) return 0; // Fail
    
    // Get size
    fseek(fp, 0, SEEK_END);
    fileSize = ftell(fp);
    fseek(fp, 0, SEEK_SET);
    
    // Allocate
    fileBuf = (unsigned char *)malloc(fileSize);
    
    // Read
    fread(fileBuf, fileSize, 1, fp);
    
    // Close
    fclose(fp);
    
    // Done
    return 1;
}

GFX subdirectory contains all graphics, and they are stored in BMP format.

TPF subdirectory contains "TPF" files for all four modes. This game uses TPF file to define some game mechanisms. TPF resembles to "TWS" (Tetris Worlds Script) file, but it comes in almost already-compiled format so only runtime-scripts are in raw text.

Controls

Tetris Zone features full keyboard input rebinding. Mouse unsupported.

External links