Process Text Files in Decompiler (#122)

* begin support for v2

* export game text

* generate text files

* working text load

* fix windows

* add test and clean up game tests a bit

* load the right file

* add separate program to launch the data compiler

* add offline test script
This commit is contained in:
water111
2020-11-19 21:22:16 -05:00
committed by GitHub
parent ae053870c3
commit 953c1512db
48 changed files with 1794 additions and 200 deletions
+4 -1
View File
@@ -45,7 +45,9 @@ struct ObjectFileData {
class ObjectFileDB {
public:
ObjectFileDB(const std::vector<std::string>& _dgos, const std::string& obj_file_name_map_file);
ObjectFileDB(const std::vector<std::string>& _dgos,
const std::string& obj_file_name_map_file,
const std::vector<std::string>& object_files);
std::string generate_dgo_listing();
std::string generate_obj_listing();
void process_link_data();
@@ -57,6 +59,7 @@ class ObjectFileDB {
void write_disassembly(const std::string& output_dir, bool disassemble_objects_without_functions);
void analyze_functions();
void process_tpages();
std::string process_game_text();
ObjectFileData& lookup_record(const ObjectFileRecord& rec);
DecompilerTypeSystem dts;