diff --git a/pythonlib/games/ToolsTOR.py b/pythonlib/games/ToolsTOR.py index f741890..203f65b 100644 --- a/pythonlib/games/ToolsTOR.py +++ b/pythonlib/games/ToolsTOR.py @@ -315,6 +315,7 @@ class ToolsTOR(ToolsTales): return pointers_offset, texts_offset + #Convert a bytes object to text using TAGS and TBL in the json file def bytes_to_text(self, src: FileIO, offset: int = -1) -> str: finalText = "" @@ -389,7 +390,8 @@ class ToolsTOR(ToolsTales): return finalText - def get_node_bytes(self, entry_node): + + def get_node_bytes(self, entry_node) -> bytes: #Grab the fields from the Entry in the XML status = entry_node.find("Status").text @@ -492,6 +494,7 @@ class ToolsTOR(ToolsTales): return file_data + # Extract the file DAT.BIN to the different directorties def extract_main_archive(self) -> None: dat_bin_path = self.paths["extracted_files"] / "DAT"