Rebel 9 FAQ

- 5. Rebel Database -


1. General

2. Problems in Running Rebel

3. Using Rebel

4. Rebel Opening Books

5. Rebel Database

Mail Me

5. Rebel Database

5.1. Rebel Database Format

The Rebel database format is published by Schröder BV to help programmers writting tools for handling Rebel database.

5.2. Rebel Databases copied from a CD

With Rebel 9 you will get a lot of databases on the product CD, not copied to the Rebel directory during installation. If you want to change such databases, you have to copy them (.DAT, .IX1 and .IX2 file) from the Rebel CD to your harddisk. By default Rebel 9 looks for databases in the directory REBEL9\GAMES, so it is a good idea to copy the databases into this directory.

Before you can uses the databases, delete the readonly flag for the copied files.

In DOS mode you can delete the readonly flag for a Rebel database (with the name database in this example) by typing in:

attrib -r database.*

Under Windows 3/95/NT you can delete the readonly flag by starting the File Manager (or Explorer under Win95 and NT 4) and selecting all three files of the Rebel database (i.e. database.dat, database.ix1 and database.ix2 in the above example). The open the menue 'File' and choose the option 'Properties' in the appearing bix deactivate the readonly flag.

Rebel 9 Bonus CD
You can reinstall the bonus CD using the option install "databases" and "opening books" and the install program will take care of removing the CD "read only" flag from all the files.

5.3. Importing ChessBase Files into a Rebel Database

There exists at least two ways of importing ChessBase files into a Rebel database:

Export to PGN in ChessBase
You can create in ChessBase a new database in PGN format and copy your ChessBase (.CBF) database to this PGN database. Rebel can directly import this PGN file into a Rebel database (option "PGN into database" in menue PGN).
This will also work with the new ChessBase 6 version (.CBH files).

Using Rebel's TB.EXE utility
After installing Rebel 9.0, you will find the utility program TB.EXE in the directory REBEL9\TOBASE. With this utility you can directly import a ChessBase .CBF file into a Rebel database: copy your .CBF and .CBI files into the directory REBEL9\TOBASE, change to this directory and call TB.EXE with two parameters: the ChessBase file name (without extention .CBF) and the Rebel database name (without the extention .DAT).
TB.EXE can't convert the new ChessBase 6 .CBH format.

5.4. Joining Rebel Databases

Rebel databases can be joined (append a Rebel database to another one) with the freeware utility program import.exe.

5.5. Rebuilding the Rebel Database Index Files

In case the Rebel database index files (.IX1, .IX2) get corrupted or even lost, you can rebuild the files with the freeware utility rdbindex (ca 21 kB). rdbindex.exe is a DOS program. Call it with option -h to get usage information.

5.6. Marco Aspes' Rebel Database Utilities

Marco Aspes ( wrote a set of Rebel database access utilities ( ca. 66 kb):

    This utility lets you order a Rebel database by any key you want. You can also define secondary keys to use when the primary key is not useful. At the end of the processing, you have a new *.IX1 file ordered according your wishes. The *.IX2 file is not modified.
    This utility lets you extract games from a Rebel database creating a new Rebel database. You can extract the games that match all the patterns you have defined or the games that match at least one of them. You can also extract the games that don't match the patterns.
    This utility lets you convert EPD positions into a new Rebel database.
    This utility lets you list a Rebel database using the *.IX1 index file. In this way you have the same order that you find in the menue DAT "Load" option in Rebel.
    This utility lets you view the contents of a Rebel database without using any index file.

5.7. How to Search for Black Wins in a Database

Enter the desired player's name in the "blackname=" field and enter score="+".

5.8. Analyzing a Database

The "Analyse database" function is for position databases only (i.e. each game in the database is a position only). If you want to analyse complete games, use the "Analyse Game(s)" function in the database menu "Utilities"

5.9. Fred van Engen's PGN Export Utility

Fred van Engen wrote a DOS based Rebel to PGN database converter. With this utility you can convert the Rebel database files into PGN files.

Rebel 9 FAQ Index
1. General 2. Problems in Running Rebel 3. Using Rebel
4. Rebel Opening Books 5. Rebel Database  

Last updated: Wednesday, 10. June 1998

The Rebel Home Page has been visited times.
Since November 23, 1995