yaze 0.2.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
z3ed.cc File Reference
#include "cli/z3ed.h"
#include <cstring>
#include <iostream>
#include <memory>
#include <string>
#include <unordered_map>
#include <vector>
#include "cli/tui.h"
#include "util/flag.h"
#include "util/macro.h"

Go to the source code of this file.

Functions

 DEFINE_FLAG (std::string, rom_file, "", "The ROM file to load.")
 
 DEFINE_FLAG (std::string, bps_file, "", "The BPS file to apply.")
 
 DEFINE_FLAG (std::string, src_file, "", "The source file.")
 
 DEFINE_FLAG (std::string, modified_file, "", "The modified file.")
 
 DEFINE_FLAG (std::string, bin_file, "", "The binary file to export to.")
 
 DEFINE_FLAG (std::string, address, "", "The address to convert.")
 
 DEFINE_FLAG (std::string, length, "", "The length of the data to read.")
 
 DEFINE_FLAG (std::string, file_size, "", "The size of the file to expand to.")
 
 DEFINE_FLAG (std::string, dest_rom, "", "The destination ROM file.")
 
int main (int argc, char *argv[])
 

Function Documentation

◆ DEFINE_FLAG() [1/9]

DEFINE_FLAG ( std::string ,
rom_file ,
"" ,
"The ROM file to load."  )

◆ DEFINE_FLAG() [2/9]

DEFINE_FLAG ( std::string ,
bps_file ,
"" ,
"The BPS file to apply."  )

◆ DEFINE_FLAG() [3/9]

DEFINE_FLAG ( std::string ,
src_file ,
"" ,
"The source file."  )

◆ DEFINE_FLAG() [4/9]

DEFINE_FLAG ( std::string ,
modified_file ,
"" ,
"The modified file."  )

◆ DEFINE_FLAG() [5/9]

DEFINE_FLAG ( std::string ,
bin_file ,
"" ,
"The binary file to export to."  )

◆ DEFINE_FLAG() [6/9]

DEFINE_FLAG ( std::string ,
address ,
"" ,
"The address to convert."  )

◆ DEFINE_FLAG() [7/9]

DEFINE_FLAG ( std::string ,
length ,
"" ,
"The length of the data to read."  )

◆ DEFINE_FLAG() [8/9]

DEFINE_FLAG ( std::string ,
file_size ,
"" ,
"The size of the file to expand to."  )

◆ DEFINE_FLAG() [9/9]

DEFINE_FLAG ( std::string ,
dest_rom ,
"" ,
"The destination ROM file."  )

◆ main()

int main ( int argc,
char * argv[] )

Definition at line 27 of file z3ed.cc.

References yaze::util::global_flag_registry(), yaze::util::FlagParser::Parse(), RETURN_IF_EXCEPTION, and yaze::cli::ShowMain().

Here is the call graph for this function: