4 Commits

Author SHA1 Message Date
87174db272 Updated build files
* Removed configs-related stuff

Signed-off-by: Lev Rusanov <30170278+JDM170@users.noreply.github.com>
2025-04-20 22:23:10 +07:00
09530561cf Update setup.py
Signed-off-by: Lev Rusanov <30170278+JDM170@users.noreply.github.com>
2025-04-20 22:14:56 +07:00
0e83537530 Update
* Warning messages have been supplemented

Signed-off-by: Lev Rusanov <30170278+JDM170@users.noreply.github.com>
2025-04-20 22:06:06 +07:00
4601d65909 Update
* Deleted configs-related stuff
* Moved parsing configs to another repository

Signed-off-by: Lev Rusanov <30170278+JDM170@users.noreply.github.com>
2025-04-20 21:57:58 +07:00
15 changed files with 13 additions and 568 deletions

View File

@@ -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 | ? |

View File

@@ -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

View File

@@ -4,9 +4,7 @@ app = Analysis(
['init_main_program.py'],
pathex=['.'],
datas=[
('SII_Decrypt.dll', '.'),
('configs/ats', 'configs/ats'),
('configs/ets2', 'configs/ets2')
('SII_Decrypt.dll', '.')
]
)
cfg = Analysis(

View File

@@ -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"
]
}

View File

@@ -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"
]
}

View File

@@ -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"
}

View File

@@ -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"
]
}

View File

@@ -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"
]
}

View File

@@ -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"
}

View File

@@ -1,8 +0,0 @@
{
"ats_dlc": "96254fdb25d45d084b85b52a571f15db",
"ats_agencies": "7a1499478092ca45ed226bd8ca7d6867",
"ats_dealers": "78a88c9ce064276063f34eb4bc1cff88",
"ets2_dlc": "38a4fa4c9ec51a4cb4754b4bd315cd24",
"ets2_agencies": "155bfef072aedf17963a426e791d5b92",
"ets2_dealers": "7412c51266e3378828e5bdeca3fe8912"
}

View File

@@ -109,7 +109,8 @@ class MainWindow(QDialog, Ui_MainWindow):
if dataIO.is_valid_json(cfg_path) is False:
self.owns = False
QMessageBox.warning(self, "Warning", "'dlc.json' from '{}' have errors or not found, "
"functionality has been limited".format(self.selected_game))
"functionality has been limited.\n"
"Updating configs may solve problem.".format(self.selected_game))
else:
self.owns = {}
self.dlc = dataIO.load_json(cfg_path)

View File

@@ -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):

View File

@@ -31,7 +31,8 @@ class SecondWindow(QDialog, Ui_SecondWindow):
self.ui.dealer_add.setEnabled(False)
self.ui.dealer_add_all.setEnabled(False)
QMessageBox.warning(self, "Warning", "'dealers.json' from '{}' have errors or not found.\n"
"Dealers editing has been disabled".format(selected_game))
"Dealers editing has been disabled.\n"
"Updating configs may solve problem.".format(selected_game))
else:
self.dealers = []
self.dealers_file = dataIO.load_json(dealers_path)
@@ -43,7 +44,8 @@ class SecondWindow(QDialog, Ui_SecondWindow):
self.ui.agency_add.setEnabled(False)
self.ui.agency_add_all.setEnabled(False)
QMessageBox.warning(self, "Warning", "'agencies.json' from '{}' have errors or not found.\n"
"Agencies editing has been disabled".format(selected_game))
"Agencies editing has been disabled.\n"
"Updating configs may solve problem.".format(selected_game))
else:
self.agencies = []
self.agencies_file = dataIO.load_json(agencies_path)

View File

@@ -31,9 +31,7 @@ zip_include_packages = [
]
include_files = [
'SII_Decrypt.dll',
('configs/ats', 'configs/ats'),
('configs/ets2', 'configs/ets2')
'SII_Decrypt.dll'
]
options = {
@@ -49,7 +47,7 @@ options = {
setup(
name='SaveWizard',
version='1.4.1',
version='1.5',
description='Tool for edit ATS and ETS2 save files',
executables=executables,
options=options,

View File

@@ -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