From 4601d6590964c4cb4d48540e4ffc2f5fc097c894 Mon Sep 17 00:00:00 2001 From: Lev Rusanov <30170278+JDM170@users.noreply.github.com> Date: Sun, 20 Apr 2025 21:56:12 +0700 Subject: [PATCH] Update * Deleted configs-related stuff * Moved parsing configs to another repository Signed-off-by: Lev Rusanov <30170278+JDM170@users.noreply.github.com> --- DLC_TABLE.md | 35 --------- README.md | 2 +- configs/ats/agencies.json | 88 ---------------------- configs/ats/dealers.json | 111 --------------------------- configs/ats/dlc.json | 14 ---- configs/ets2/agencies.json | 139 ---------------------------------- configs/ets2/dealers.json | 149 ------------------------------------- configs/ets2/dlc.json | 10 --- configs/version.cfg | 8 -- module_parsing/script.py | 4 +- statics.py | 2 +- 11 files changed, 4 insertions(+), 558 deletions(-) delete mode 100644 DLC_TABLE.md delete mode 100644 configs/ats/agencies.json delete mode 100644 configs/ats/dealers.json delete mode 100644 configs/ats/dlc.json delete mode 100644 configs/ets2/agencies.json delete mode 100644 configs/ets2/dealers.json delete mode 100644 configs/ets2/dlc.json delete mode 100644 configs/version.cfg diff --git a/DLC_TABLE.md b/DLC_TABLE.md deleted file mode 100644 index b44adf6..0000000 --- a/DLC_TABLE.md +++ /dev/null @@ -1,35 +0,0 @@ -# American Truck Simulator DLC table - -| DLC name | Config name | File name (.scs) | -| --- | --- | --- | -| Arizona | arizona | dlc_arizona | -| New Mexico | new_mexico | dlc_nm | -| Oregon | oregon | dlc_or | -| Washington | washington | dlc_wa | -| Utah | utah | dlc_ut | -| Idaho | idaho | dlc_id | -| Colorado | colorado | dlc_co | -| Wyoming | wyoming | dlc_wy | -| Montana | montana | dlc_mt | -| Texas | texas | dlc_tx | -| Oklahoma | oklahoma | dlc_ok | -| Kansas | kansas | dlc_ks | -| Nebraska (not released) | nebraska | ? | -| Arkansas (not released) | arkansas | ? | -| Missouri (not released) | missouri | ? | - -# Euro Truck Simulator 2 DLC table - -| DLC name | Config name | File name (.scs) | -| --- | --- | --- | -| Going East | going_east | dlc_east | -| Scandinavia | scandinavia | dlc_north | -| Vive la France | france | dlc_fr | -| Italia | italy | dlc_it | -| Beyond the Baltic Sea | baltic_sea | dlc_balt | -| Road to the Black Sea | black_sea | dlc_balkan_e | -| Iberia | iberia | dlc_iberia | -| Heart of Russia (not released) | mother_russia | ? | -| West Balkans | west_balkans | dlc_balkan_w | -| Greece (not released) | greece | ? | -| Nordic Horizons (not released) | nordic_horizons | ? | diff --git a/README.md b/README.md index 4631f16..648f3fd 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Features: 1. Decrypt file, if save file crypted -2. Check for DLC to the save file (available DLC listed at [DLC_TABLE.md](https://github.com/JDM170/SaveWizard/blob/configs/DLC_TABLE.md)) +2. Check for DLC to the save file (available DLC listed at [DLC_TABLE.md](https://github.com/JDM170/SaveWizard_configs/blob/main/DLC_TABLE.md)) 3. Edit money, experience and loan limit 4. Edit skills 5. Visit cities, unlock garages, dealers and agencies diff --git a/configs/ats/agencies.json b/configs/ats/agencies.json deleted file mode 100644 index 7e34d4d..0000000 --- a/configs/ats/agencies.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "base" : [ - "bakersfield", - "carson_city", - "fresno", - "las_vegas", - "los_angeles", - "oxnard", - "redding", - "san_diego", - "san_rafael", - "santa_cruz", - "stockton" - ], - "arizona" : [ - "phoenix", - "sierra_vista", - "tucson" - ], - "new_mexico" : [ - "carlsbad_nm", - "farmington", - "roswell", - "santa_fe" - ], - "oregon" : [ - "bend", - "eugene", - "ontario", - "salem" - ], - "washington" : [ - "bellingham", - "olympia", - "seattle", - "wenatchee", - "yakima" - ], - "utah" : [ - "moab", - "price", - "salt_lake", - "st_george" - ], - "idaho" : [ - "boise", - "coeur_dalene", - "idaho_falls", - "twin_falls" - ], - "colorado" : [ - "alamosa", - "denver", - "fort_collins" - ], - "wyoming" : [ - "casper", - "cheyenne", - "rock_springs", - "sheridan" - ], - "montana" : [ - "great_falls", - "havre", - "helena", - "kalispell" - ], - "texas" : [ - "corpus_chris", - "dallas", - "el_paso", - "houston", - "huntsville", - "laredo", - "san_antonio" - ], - "oklahoma" : [ - "ardmore", - "enid" - ], - "kansas" : [ - "hays", - "kansas_ci_ks", - "salina_ks", - "topeka", - "wichita" - ] -} \ No newline at end of file diff --git a/configs/ats/dealers.json b/configs/ats/dealers.json deleted file mode 100644 index eaba051..0000000 --- a/configs/ats/dealers.json +++ /dev/null @@ -1,111 +0,0 @@ -{ - "base" : [ - "bakersfield", - "elko", - "las_vegas", - "los_angeles", - "oxnard", - "redding", - "reno", - "sacramento", - "san_diego", - "san_francisc", - "santa_cruz", - "stockton" - ], - "arizona" : [ - "flagstaff", - "phoenix", - "tucson", - "yuma" - ], - "new_mexico" : [ - "alamogordo", - "albuquerque", - "farmington", - "hobbs" - ], - "oregon" : [ - "eugene", - "medford", - "pendleton", - "portland", - "salem" - ], - "washington" : [ - "bellingham", - "seattle", - "spokane", - "tacoma", - "yakima" - ], - "utah" : [ - "ogden", - "price", - "provo", - "salina", - "salt_lake", - "st_george", - "vernal" - ], - "idaho" : [ - "boise", - "idaho_falls", - "lewiston", - "twin_falls" - ], - "colorado" : [ - "alamosa", - "colorado_spr", - "denver", - "fort_collins", - "grand_juncti", - "montrose", - "pueblo" - ], - "wyoming" : [ - "casper", - "cheyenne", - "gillette", - "rock_springs" - ], - "montana" : [ - "billings", - "great_falls", - "helena", - "kalispell", - "missoula" - ], - "texas" : [ - "abilene", - "amarillo", - "austin", - "corpus_chris", - "dallas", - "el_paso", - "fort_worth", - "houston", - "laredo", - "longview_tx", - "lubbock", - "mcallen", - "odessa", - "san_angelo", - "san_antonio", - "waco" - ], - "oklahoma" : [ - "ardmore", - "enid", - "oklahoma_cit" - ], - "kansas" : [ - "dodge_city", - "emporia", - "garden_city", - "hays", - "kansas_ci_ks", - "salina_ks", - "wichita" - ] -} \ No newline at end of file diff --git a/configs/ats/dlc.json b/configs/ats/dlc.json deleted file mode 100644 index 3b61bc4..0000000 --- a/configs/ats/dlc.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "arizona" : "company.volatile.aport_phx.phoenix", - "new_mexico" : "company.volatile.aport_abq.albuquerque", - "oregon" : "company.volatile.aport_pcc.portland", - "washington" : "company.volatile.port_sea.seattle", - "utah" : "company.volatile.cm_min_qryp.moab", - "idaho" : "company.volatile.du_farm.nampa", - "colorado" : "company.volatile.aport_den.denver", - "wyoming" : "company.volatile.aml_rail_str.cheyenne", - "montana" : "company.volatile.aport_gtf.great_falls", - "texas" : "company.volatile.aport_dfw.fort_worth", - "oklahoma" : "company.volatile.aport_tul.tulsa", - "kansas" : "company.volatile.ai_car_whs.junction_cty" -} \ No newline at end of file diff --git a/configs/ets2/agencies.json b/configs/ets2/agencies.json deleted file mode 100644 index 9ccab88..0000000 --- a/configs/ets2/agencies.json +++ /dev/null @@ -1,139 +0,0 @@ -{ - "base" : [ - "aberdeen", - "berlin", - "bialystok", - "birmingham", - "bremen", - "brno", - "brussel", - "calais", - "debrecen", - "dortmund", - "dover", - "dresden", - "edinburgh", - "frankfurt", - "glasgow", - "graz", - "groningen", - "hamburg", - "hannover", - "innsbruck", - "kassel", - "klagenfurt", - "koln", - "kosice", - "leipzig", - "liege", - "linz", - "liverpool", - "lodz", - "london", - "luxembourg", - "manchester", - "mannheim", - "munchen", - "newcastle", - "nurnberg", - "ostrava", - "pecs", - "plymouth", - "poznan", - "prague", - "sheffield", - "southampton", - "stuttgart", - "swansea", - "szczecin", - "travemunde", - "wien", - "zurich" - ], - "east" : [ - "budapest", - "gdansk", - "krakow", - "szeged", - "warszawa" - ], - "scandinavia" : [ - "aalborg", - "bergen", - "helsingborg", - "kobenhavn", - "malmo", - "odense", - "oslo", - "stavanger", - "stockholm" - ], - "france" : [ - "ajaccio", - "bordeaux", - "clermont", - "geneve", - "larochelle", - "lyon", - "marseille", - "metz", - "paris", - "rennes", - "toulouse" - ], - "italy" : [ - "bologna", - "cagliari", - "catania", - "milano", - "napoli", - "pescara", - "roma", - "taranto", - "venezia" - ], - "baltic_sea" : [ - "daugavpils", - "helsinki", - "kaliningrad", - "kaunas", - "klaipeda", - "kouvola", - "lahti", - "parnu", - "pori", - "pskov", - "riga", - "tallinn", - "turku", - "vilnius" - ], - "black_sea" : [ - "bucuresti", - "cluj_napoca", - "iasi", - "istanbul", - "plovdiv", - "sofia" - ], - "iberia" : [ - "bilbao", - "leon", - "lisboa", - "madrid", - "malaga", - "murcia", - "porto", - "valencia", - "zaragoza" - ], - "west_balkans" : [ - "beograd", - "ljubljana", - "maribor", - "sarajevo", - "skopje", - "tirana", - "zagreb" - ] -} \ No newline at end of file diff --git a/configs/ets2/dealers.json b/configs/ets2/dealers.json deleted file mode 100644 index 099c6b5..0000000 --- a/configs/ets2/dealers.json +++ /dev/null @@ -1,149 +0,0 @@ -{ - "base" : [ - "aberdeen", - "amsterdam", - "berlin", - "bern", - "birmingham", - "bratislava", - "bremen", - "brussel", - "calais", - "cardiff", - "dortmund", - "dresden", - "dusseldorf", - "edinburgh", - "felixstowe", - "frankfurt", - "glasgow", - "graz", - "grimsby", - "hamburg", - "hannover", - "leipzig", - "lille", - "london", - "luxembourg", - "manchester", - "munchen", - "newcastle", - "nurnberg", - "osnabruck", - "plymouth", - "prague", - "rostock", - "rotterdam", - "salzburg", - "strasbourg", - "stuttgart", - "szczecin", - "wien", - "wroclaw", - "zurich" - ], - "east" : [ - "budapest", - "gdansk", - "krakow", - "szeged", - "warszawa" - ], - "scandinavia" : [ - "bergen", - "goteborg", - "kalmar", - "kobenhavn", - "linkoping", - "oslo", - "stockholm" - ], - "france" : [ - "ajaccio", - "bayonne", - "bordeaux", - "bourges", - "brest", - "geneve", - "lemans", - "limoges", - "lyon", - "marseille", - "nantes", - "paris", - "toulouse" - ], - "italy" : [ - "bologna", - "cagliari", - "catania", - "firenze", - "milano", - "napoli", - "palermo", - "roma", - "sassari", - "taranto", - "torino", - "verona" - ], - "baltic_sea" : [ - "helsinki", - "kaliningrad", - "kaunas", - "klaipeda", - "lahti", - "petersburg", - "riga", - "tallinn", - "tartu", - "turku", - "vilnius" - ], - "black_sea" : [ - "brasov", - "bucuresti", - "cluj_napoca", - "constanta", - "edirne", - "galati", - "iasi", - "istanbul", - "pitesti", - "plovdiv", - "sofia", - "veliko_tarnovo" - ], - "iberia" : [ - "albacete", - "almeria", - "badajoz", - "barcelona", - "burgos", - "cordoba", - "gijon", - "leon", - "lisboa", - "madrid", - "malaga", - "porto", - "sevilla", - "valladolid", - "zaragoza" - ], - "west_balkans" : [ - "banja_luka", - "beograd", - "kragujevac", - "ljubljana", - "maribor", - "podgorica", - "pristina", - "rijeka", - "skopje", - "split", - "tirana", - "tuzla", - "zagreb" - ] -} \ No newline at end of file diff --git a/configs/ets2/dlc.json b/configs/ets2/dlc.json deleted file mode 100644 index 7d3d414..0000000 --- a/configs/ets2/dlc.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "east" : "company.volatile.quarry.katowice", - "scandinavia" : "company.volatile.sag_tre.oslo", - "france" : "company.volatile.batisse_base.calvi", - "italy" : "company.volatile.c_navale.ancona", - "baltic_sea" : "company.volatile.aerobalt.helsinki", - "black_sea" : "company.volatile.balkan_loco.craiova", - "iberia" : "company.volatile.tdc_auto.vigo", - "west_balkans" : "company.volatile.adrica.rijeka" -} \ No newline at end of file diff --git a/configs/version.cfg b/configs/version.cfg deleted file mode 100644 index 3507bc8..0000000 --- a/configs/version.cfg +++ /dev/null @@ -1,8 +0,0 @@ -{ - "ats_dlc": "96254fdb25d45d084b85b52a571f15db", - "ats_agencies": "7a1499478092ca45ed226bd8ca7d6867", - "ats_dealers": "78a88c9ce064276063f34eb4bc1cff88", - "ets2_dlc": "38a4fa4c9ec51a4cb4754b4bd315cd24", - "ets2_agencies": "155bfef072aedf17963a426e791d5b92", - "ets2_dealers": "7412c51266e3378828e5bdeca3fe8912" -} \ No newline at end of file diff --git a/module_parsing/script.py b/module_parsing/script.py index 74e370a..28aebd8 100644 --- a/module_parsing/script.py +++ b/module_parsing/script.py @@ -37,7 +37,7 @@ def check_path(path): def check_remote_hashes(): - response_status, response = get_response_result(github_link + "configs/version.cfg") + response_status, response = get_response_result(github_link + "version.cfg") if response_status: remote_cfg = literal_eval(response.text) need_update = [] @@ -57,7 +57,7 @@ def update_configs(): progress_bar = util.show_progress_bar("Download progress", "Downloading configs", len(update_list)) for cfg in update_list: check_path(cfg) - response_status, response = get_response_result(github_link + cfg) + response_status, response = get_response_result(github_link + cfg.replace("configs/", "")) if response_status: remote_cfg = literal_eval(response.text) if dataIO.is_valid_json(cfg) or os.path.exists(cfg): diff --git a/statics.py b/statics.py index 1564c1b..e8f3e42 100644 --- a/statics.py +++ b/statics.py @@ -2,5 +2,5 @@ # -*- coding: utf-8 -*- update_config_name = "update.cfg" -github_link = "https://raw.githubusercontent.com/JDM170/SaveWizard/configs/" +github_link = "https://raw.githubusercontent.com/JDM170/SaveWizard_configs/main/" hash_chunk_size = 4096