view utils/dat_extract/usage.cpp @ 14:3a7f83ccbc28

* Modified map layers so the player character should be able to walk diagonally now as well * However he does not! looks like a pather issue
author mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
date Sun, 06 Jul 2008 22:03:52 +0000
parents 4a0efb7baf70
children 90005975cdbb
line wrap: on
line source

#include <iostream>
int print_usage(const char* prg_name, int exit_code) {
	std::cout << "USAGE: " << prg_name;
	std::cout << " [-s DAT_source] [-f 1|2] -t target_file" << std::endl;
	std::cout << "" << std::endl;
	std::cout << "This is a very limited DAT extraction utility that can read" << std::endl;
	std::cout << "Fo1 and Fo2 DAT files and extract a single file." << std::endl;
	std::cout << "" << std::endl;
	std::cout << "The DAT source _has to be_ in the same directory, furthermore" << std::endl;
	std::cout << "the program needs the 'content' directory (otherwise the engine" << std::endl;
	std::cout << "will not start)." << std::endl;
	std::cout << "" << std::endl;
	std::cout << "The default DAT file is critter.dat, the default format is" << std::endl;
	std::cout << "FO1; you have to specify '-f 2' if you work on Fo2 DAT files!" << std::endl;
	std::cout << "" << std::endl;
	std::cout << "The target_file has to be the full path inside the DAT file" << std::endl;
	std::cout << "(using / as directory separator); the output file will have" << std::endl;
	std::cout << "the same filename (in the current directory)." << std::endl;
	exit(exit_code);
}