RBFConv is an unofficial third party command line tool used to convert RBF files to text and back to allow editing of important game data or "attributes". It was created by Corsix and first released on February 27th, 2009. As of July 7th, 2009 it remains the only RBF editing tool available. RBFConv and associated libraries are open source and available on Google Code (see Recommended Links). The source code is available for use under the liberal MIT license.
RBFConv usage:
rbfconv -i infile [-L | -o outfile] [-q | -v] [-p ”.” | -p ” ”] [-u ucsfile] [-U threshold] [-s] [-R | -c]
Example:
X:\tools\rbfconv -i X:\dow2attrib\attributes.rbf -o X:\dow2attrib\MYattributes.txt -v -p ” ” -u X:\dow2\DOW2.ucs -U 100 -s -R
The input file. Either a .rbf or a .txt. The output should be the opposite file type. If ”-” is used instead then it uses stdin as input text file or input list file (see below).
The ouput file. Either a .rbf or a .txt. The output should be the opposite file type. If not given then it uses the input name with .txt swapped for .rbf (and vice versa).
Infile is a file containing a list of input files (one per line).
Quiet output to console. Opposite of verbose mode.
Verbose output to console. Opposite of quiet mode.
Path separator to use (defaults to vertical bar “|”). An empty space can be used to create cleaner looking files.
UCS file to use to comment number values. Utilizes -U (see below) to lookup integer values and add a string comment. Only used when reading RBF files.
Integers above which to interpret as UCS references (defaults to 100). Only used when reading RBF files.
Disable sorting of values (use order from RBF file). Only used when reading RBF files.
Disable caching of data (faster, but makes larger file). Only used when writing RBF files.
Write in Relic style (takes longer, also forces -c). Only used when writing RBF files.
fast_move.txt (1.3.2)
-- Made by Corsix Crude RBF Convertor
{
| move_type_bag: {
| | chance_to_leapfrog_to_cover: 0f;
| | chance_to_leapfrog_to_open_ground: 0f;
| | chance_to_soft_select_cover: 0f;
| | leapfrog_cover_search_radius: 5f;
| | max_elements_leapfrogging_simultaneously: 4;
| | no_leapfrog_within_radius_of_target: 8f;
| | pace_to_leapfrog: "veryfast";
| | percent_to_pull_toward_cover_on_soft_selection: 0.7f;
| | secs_between_leapfrogs_max: 2.5f;
| | secs_between_leapfrogs_min: 1.5f;
| | secs_to_delay_leapfrog_start_max: 2f;
| | secs_to_delay_leapfrog_start_min: 1f;
| | secs_to_hold_at_move_start_max: 0.75f;
| | secs_to_hold_at_move_start_min: 0.125f;
| | secs_to_hold_on_cover_spot_max: 4f;
| | secs_to_hold_on_cover_spot_min: 2f;
| | secs_to_leapfrog_after_attack: 3f;
| | speed_cap_to_catchup: 7f;
| | use_leapfrog_move_only_while_attacked: false;
| | time_to_blend_from_virtual_to_real_leader: 1f;
| | safety_multiplier_for_pathfinding_weights: 0f;
| | speed_multiplier_for_pathfinding_weights: 1f;
| | actions_performed_on_move: {
| | };
| | actions_performed_on_set: {
| | };
| };
};