A set of tools for extracting data from the (now dated) bumps CD-ROM. To use these tools, you need to start with a copy of the CD-ROM.
- Install unshield. On MacOS,
brew install unshieldshould work. - Extract the data files from the installer CD.
$ cd $CD_PATH
$ mkdir -p data
$ unshield x -d data INSTALL/data1.cab
$ ls data
Data_Files Help_Files Program_Executable_Files Text_FilesThe Data_Files directory contains a number of .dat files, which are encrypted
using a simple algorithm, described in src/decode.rs.
Use the decode tool.
$ cd $THIS_REPO_PATH
$ cargo run -q -- decode --file $CD_PATH/data/Data_Files/Data/Colleges.dat
!
! NAME FILE
!
[1st Trinity]
29 1 158
1st Trinity Black Prince blackp
1st Trinity 1trin
1st Trinity 2 1trin2
1st Trinity 3 1trin3
...Use the query tool.
$ cd $THIS_REPO_PATH
$ cargo run -q -- query --competition men-mays --crew kings --year 1998 --data-dir $CD_PATH/data/Data_Files
year: 1998
crew name: King's 3
crew alias: kings3
results: [78, 79, 80, 81, 81]