This program previews stroke configuration files from EA Sports Cricket 2004.
A Rust toolchain is required. You can compile and run the stroke preview application with cargo run --release
.
- Open your cricket 2004 .gob file in the Cricket 2004 Config Editor by Prakash
- Export the AI config by clicking Export AI
- Open stroke preview
- Enter the path to your AI cfg file and List.txt file
- Edit strokes in your favourite text editor. On save, stroke preview will refresh automatically.
- When you are happy, import the modified AI cfg file back into Config Editor by clicking Import AI
To save doing step 4 every time, you can create a stroke_preview.toml file in the working directory of the program containing
cfg_file = 'path\to\AI.cfg'
list_file = 'path\to\List.txt'
This repository contains a List.txt file sourced from the planet cricket forum with more stroke descriptions than the one that ships with the Config Editor.
This app is written in Rust using the excellent native-windows-gui library. Stroke config files are parsed using nom.