From 798791b5267af5f102f894f0cdfe23bcf3efd3b0 Mon Sep 17 00:00:00 2001 From: raphael60650 Date: Sun, 21 Nov 2021 21:54:53 +0100 Subject: [PATCH] renamed fs.json to file_structure.json and convert_file.json to file_process.json to make them clearer --- convert_file.json => file_process.json | 0 fs.json => file_structure.json | 0 setup.py | 4 ++-- source/Game.py | 8 ++++---- 4 files changed, 6 insertions(+), 6 deletions(-) rename convert_file.json => file_process.json (100%) rename fs.json => file_structure.json (100%) diff --git a/convert_file.json b/file_process.json similarity index 100% rename from convert_file.json rename to file_process.json diff --git a/fs.json b/file_structure.json similarity index 100% rename from fs.json rename to file_structure.json diff --git a/setup.py b/setup.py index c279133..35da311 100644 --- a/setup.py +++ b/setup.py @@ -8,9 +8,9 @@ include_files = [ "./README.md", "./version", "./ct_config.json", - "./convert_file.json", + "./file_process.json", "./translation.json", - "./fs.json", + "./file_structure.json", "./tools", "./source", diff --git a/source/Game.py b/source/Game.py index 26d2fbd..69f8fc0 100644 --- a/source/Game.py +++ b/source/Game.py @@ -155,7 +155,7 @@ class Game: count all the step patching subfile will take (for the progress bar) :return: number of step estimated """ - with open("./fs.json") as f: + with open("./file_structure.json") as f: fs = json.load(f) # This part is used to estimate the max_step @@ -185,9 +185,9 @@ class Game: def install_patch_subfile(self) -> None: """ - patch subfile as indicated in the fs.json file (for file structure) + patch subfile as indicated in the file_structure.json file (for file structure) """ - with open("./fs.json") as f: + with open("./file_structure.json") as f: fs = json.load(f) extracted_file = [] @@ -425,7 +425,7 @@ class Game: """ try: if not (os.path.exists("./file/Track-WU8/")): os.makedirs("./file/Track-WU8/") - with open("./convert_file.json") as f: + with open("./file_process.json") as f: fc = json.load(f) max_step = len(fc["img"]) + len(self.ctconfig.all_tracks) + 3 + len("EGFIS")