Skip to content

Commit

Permalink
rename ZTUAC
Browse files Browse the repository at this point in the history
  • Loading branch information
HENDRIX-ZT2 committed Dec 8, 2024
1 parent 9ed54da commit c02af5c
Show file tree
Hide file tree
Showing 99 changed files with 361 additions and 361 deletions.
4 changes: 2 additions & 2 deletions __version__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# this file is auto-generated by the pre-commit hook increment_version.py
VERSION = "2024.12.05"
COMMIT_HASH = "bf983f170"
COMMIT_TIME = "Thu Dec 5 13:27:11 2024 +0100"
COMMIT_HASH = "9ed54da95"
COMMIT_TIME = "Thu Dec 5 15:18:44 2024 +0100"
2 changes: 1 addition & 1 deletion constants/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
root_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
strs = ("mimes_name", "mimes_mime_hash", "mimes_mime_version", "mimes_triplet_count", "mimes_triplets", "files_pool_type", "files_set_pool_type")
ignores = ("triplet_count", )
game_lut = {'DLA': 'Disneyland Adventures', 'JWE': 'Jurassic World Evolution', 'JWE2': 'Jurassic World Evolution 2', 'PC': 'Planet Coaster', 'PZ': 'Planet Zoo', 'ZTUAC': 'Zoo Tycoon Ultimate Animal Collection'
game_lut = {'DLA': 'Disneyland Adventures', 'JWE': 'Jurassic World Evolution', 'JWE2': 'Jurassic World Evolution 2', 'PC': 'Planet Coaster', 'PZ': 'Planet Zoo', 'ZTUAC': 'Zoo Tycoon'
}


Expand Down
8 changes: 4 additions & 4 deletions generated/formats/accountcustomisation/versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def set_ztuac(context):
context.version = 17


games = Enum('Games', [('DISNEYLAND_ADVENTURES', 'Disneyland Adventures'), ('JURASSIC_WORLD_EVOLUTION', 'Jurassic World Evolution'), ('JURASSIC_WORLD_EVOLUTION_2', 'Jurassic World Evolution 2'), ('JURASSIC_WORLD_EVOLUTION_2_DEV', 'Jurassic World Evolution 2 Dev'), ('PLANET_COASTER', 'Planet Coaster'), ('PLANET_COASTER_2', 'Planet Coaster 2'), ('PLANET_ZOO', 'Planet Zoo'), ('PLANET_ZOO_PRE_1_6', 'Planet Zoo pre-1.6'), ('WARHAMMER_AGE_OF_SIGMAR_REALMS_OF_RUIN', 'Warhammer Age of Sigmar - Realms of Ruin'), ('ZOO_TYCOON_ULTIMATE_ANIMAL_COLLECTION', 'Zoo Tycoon Ultimate Animal Collection'), ('UNKNOWN', 'Unknown Game')])
games = Enum('Games', [('DISNEYLAND_ADVENTURES', 'Disneyland Adventures'), ('JURASSIC_WORLD_EVOLUTION', 'Jurassic World Evolution'), ('JURASSIC_WORLD_EVOLUTION_2', 'Jurassic World Evolution 2'), ('JURASSIC_WORLD_EVOLUTION_2_DEV', 'Jurassic World Evolution 2 Dev'), ('PLANET_COASTER', 'Planet Coaster'), ('PLANET_COASTER_2', 'Planet Coaster 2'), ('PLANET_ZOO', 'Planet Zoo'), ('PLANET_ZOO_PRE_1_6', 'Planet Zoo pre-1.6'), ('WARHAMMER_AGE_OF_SIGMAR_REALMS_OF_RUIN', 'Warhammer Age of Sigmar - Realms of Ruin'), ('ZOO_TYCOON', 'Zoo Tycoon'), ('UNKNOWN', 'Unknown Game')])


def get_game(context):
Expand All @@ -130,7 +130,7 @@ def get_game(context):
if is_war(context):
versions.extend([games.WARHAMMER_AGE_OF_SIGMAR_REALMS_OF_RUIN])
if is_ztuac(context):
versions.extend([games.ZOO_TYCOON_ULTIMATE_ANIMAL_COLLECTION])
versions.extend([games.ZOO_TYCOON])
if not versions:
versions.extend([games.UNKNOWN])
return versions
Expand Down Expand Up @@ -160,7 +160,7 @@ def set_game(context, game):
return set_pz16(context)
if game in {games.WARHAMMER_AGE_OF_SIGMAR_REALMS_OF_RUIN}:
return set_war(context)
if game in {games.ZOO_TYCOON_ULTIMATE_ANIMAL_COLLECTION}:
if game in {games.ZOO_TYCOON}:
return set_ztuac(context)


Expand All @@ -185,6 +185,6 @@ def __init__(self, *args, version=(), user_version=(), version_flag=(), **kwargs
pz = AccountcustomisationVersion(id='PZ', version=(19,), user_version=(VersionInfo.from_value(8340), VersionInfo.from_value(8724), VersionInfo.from_value(8212),), primary_games=[], all_games=[games.PLANET_ZOO_PRE_1_6])
pz16 = AccountcustomisationVersion(id='PZ16', version=(20,), user_version=(VersionInfo.from_value(8340), VersionInfo.from_value(8724), VersionInfo.from_value(8212),), primary_games=[], all_games=[games.PLANET_ZOO])
war = AccountcustomisationVersion(id='WAR', version=(20,), user_version=(VersionInfo.from_value(24724), VersionInfo.from_value(25108), VersionInfo.from_value(24596),), primary_games=[], all_games=[games.WARHAMMER_AGE_OF_SIGMAR_REALMS_OF_RUIN])
ztuac = AccountcustomisationVersion(id='ZTUAC', version=(17,), primary_games=[], all_games=[games.ZOO_TYCOON_ULTIMATE_ANIMAL_COLLECTION])
ztuac = AccountcustomisationVersion(id='ZTUAC', version=(17,), primary_games=[], all_games=[games.ZOO_TYCOON])

available_versions = [dla, jwe, jwe2, jwe2dev, pc, pc2, pz, pz16, war, ztuac]
8 changes: 4 additions & 4 deletions generated/formats/accountlevelsdata/versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def set_ztuac(context):
context.version = 17


games = Enum('Games', [('DISNEYLAND_ADVENTURES', 'Disneyland Adventures'), ('JURASSIC_WORLD_EVOLUTION', 'Jurassic World Evolution'), ('JURASSIC_WORLD_EVOLUTION_2', 'Jurassic World Evolution 2'), ('JURASSIC_WORLD_EVOLUTION_2_DEV', 'Jurassic World Evolution 2 Dev'), ('PLANET_COASTER', 'Planet Coaster'), ('PLANET_COASTER_2', 'Planet Coaster 2'), ('PLANET_ZOO', 'Planet Zoo'), ('PLANET_ZOO_PRE_1_6', 'Planet Zoo pre-1.6'), ('WARHAMMER_AGE_OF_SIGMAR_REALMS_OF_RUIN', 'Warhammer Age of Sigmar - Realms of Ruin'), ('ZOO_TYCOON_ULTIMATE_ANIMAL_COLLECTION', 'Zoo Tycoon Ultimate Animal Collection'), ('UNKNOWN', 'Unknown Game')])
games = Enum('Games', [('DISNEYLAND_ADVENTURES', 'Disneyland Adventures'), ('JURASSIC_WORLD_EVOLUTION', 'Jurassic World Evolution'), ('JURASSIC_WORLD_EVOLUTION_2', 'Jurassic World Evolution 2'), ('JURASSIC_WORLD_EVOLUTION_2_DEV', 'Jurassic World Evolution 2 Dev'), ('PLANET_COASTER', 'Planet Coaster'), ('PLANET_COASTER_2', 'Planet Coaster 2'), ('PLANET_ZOO', 'Planet Zoo'), ('PLANET_ZOO_PRE_1_6', 'Planet Zoo pre-1.6'), ('WARHAMMER_AGE_OF_SIGMAR_REALMS_OF_RUIN', 'Warhammer Age of Sigmar - Realms of Ruin'), ('ZOO_TYCOON', 'Zoo Tycoon'), ('UNKNOWN', 'Unknown Game')])


def get_game(context):
Expand All @@ -130,7 +130,7 @@ def get_game(context):
if is_war(context):
versions.extend([games.WARHAMMER_AGE_OF_SIGMAR_REALMS_OF_RUIN])
if is_ztuac(context):
versions.extend([games.ZOO_TYCOON_ULTIMATE_ANIMAL_COLLECTION])
versions.extend([games.ZOO_TYCOON])
if not versions:
versions.extend([games.UNKNOWN])
return versions
Expand Down Expand Up @@ -160,7 +160,7 @@ def set_game(context, game):
return set_pz16(context)
if game in {games.WARHAMMER_AGE_OF_SIGMAR_REALMS_OF_RUIN}:
return set_war(context)
if game in {games.ZOO_TYCOON_ULTIMATE_ANIMAL_COLLECTION}:
if game in {games.ZOO_TYCOON}:
return set_ztuac(context)


Expand All @@ -185,6 +185,6 @@ def __init__(self, *args, version=(), user_version=(), version_flag=(), **kwargs
pz = AccountlevelsdataVersion(id='PZ', version=(19,), user_version=(VersionInfo.from_value(8340), VersionInfo.from_value(8724), VersionInfo.from_value(8212),), primary_games=[], all_games=[games.PLANET_ZOO_PRE_1_6])
pz16 = AccountlevelsdataVersion(id='PZ16', version=(20,), user_version=(VersionInfo.from_value(8340), VersionInfo.from_value(8724), VersionInfo.from_value(8212),), primary_games=[], all_games=[games.PLANET_ZOO])
war = AccountlevelsdataVersion(id='WAR', version=(20,), user_version=(VersionInfo.from_value(24724), VersionInfo.from_value(25108), VersionInfo.from_value(24596),), primary_games=[], all_games=[games.WARHAMMER_AGE_OF_SIGMAR_REALMS_OF_RUIN])
ztuac = AccountlevelsdataVersion(id='ZTUAC', version=(17,), primary_games=[], all_games=[games.ZOO_TYCOON_ULTIMATE_ANIMAL_COLLECTION])
ztuac = AccountlevelsdataVersion(id='ZTUAC', version=(17,), primary_games=[], all_games=[games.ZOO_TYCOON])

available_versions = [dla, jwe, jwe2, jwe2dev, pc, pc2, pz, pz16, war, ztuac]
8 changes: 4 additions & 4 deletions generated/formats/achievements/versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def set_ztuac(context):
context.version = 17


games = Enum('Games', [('DISNEYLAND_ADVENTURES', 'Disneyland Adventures'), ('JURASSIC_WORLD_EVOLUTION', 'Jurassic World Evolution'), ('JURASSIC_WORLD_EVOLUTION_2', 'Jurassic World Evolution 2'), ('JURASSIC_WORLD_EVOLUTION_2_DEV', 'Jurassic World Evolution 2 Dev'), ('PLANET_COASTER', 'Planet Coaster'), ('PLANET_COASTER_2', 'Planet Coaster 2'), ('PLANET_ZOO', 'Planet Zoo'), ('PLANET_ZOO_PRE_1_6', 'Planet Zoo pre-1.6'), ('WARHAMMER_AGE_OF_SIGMAR_REALMS_OF_RUIN', 'Warhammer Age of Sigmar - Realms of Ruin'), ('ZOO_TYCOON_ULTIMATE_ANIMAL_COLLECTION', 'Zoo Tycoon Ultimate Animal Collection'), ('UNKNOWN', 'Unknown Game')])
games = Enum('Games', [('DISNEYLAND_ADVENTURES', 'Disneyland Adventures'), ('JURASSIC_WORLD_EVOLUTION', 'Jurassic World Evolution'), ('JURASSIC_WORLD_EVOLUTION_2', 'Jurassic World Evolution 2'), ('JURASSIC_WORLD_EVOLUTION_2_DEV', 'Jurassic World Evolution 2 Dev'), ('PLANET_COASTER', 'Planet Coaster'), ('PLANET_COASTER_2', 'Planet Coaster 2'), ('PLANET_ZOO', 'Planet Zoo'), ('PLANET_ZOO_PRE_1_6', 'Planet Zoo pre-1.6'), ('WARHAMMER_AGE_OF_SIGMAR_REALMS_OF_RUIN', 'Warhammer Age of Sigmar - Realms of Ruin'), ('ZOO_TYCOON', 'Zoo Tycoon'), ('UNKNOWN', 'Unknown Game')])


def get_game(context):
Expand All @@ -130,7 +130,7 @@ def get_game(context):
if is_war(context):
versions.extend([games.WARHAMMER_AGE_OF_SIGMAR_REALMS_OF_RUIN])
if is_ztuac(context):
versions.extend([games.ZOO_TYCOON_ULTIMATE_ANIMAL_COLLECTION])
versions.extend([games.ZOO_TYCOON])
if not versions:
versions.extend([games.UNKNOWN])
return versions
Expand Down Expand Up @@ -160,7 +160,7 @@ def set_game(context, game):
return set_pz16(context)
if game in {games.WARHAMMER_AGE_OF_SIGMAR_REALMS_OF_RUIN}:
return set_war(context)
if game in {games.ZOO_TYCOON_ULTIMATE_ANIMAL_COLLECTION}:
if game in {games.ZOO_TYCOON}:
return set_ztuac(context)


Expand All @@ -185,6 +185,6 @@ def __init__(self, *args, version=(), user_version=(), version_flag=(), **kwargs
pz = AchievementsVersion(id='PZ', version=(19,), user_version=(VersionInfo.from_value(8340), VersionInfo.from_value(8724), VersionInfo.from_value(8212),), primary_games=[], all_games=[games.PLANET_ZOO_PRE_1_6])
pz16 = AchievementsVersion(id='PZ16', version=(20,), user_version=(VersionInfo.from_value(8340), VersionInfo.from_value(8724), VersionInfo.from_value(8212),), primary_games=[], all_games=[games.PLANET_ZOO])
war = AchievementsVersion(id='WAR', version=(20,), user_version=(VersionInfo.from_value(24724), VersionInfo.from_value(25108), VersionInfo.from_value(24596),), primary_games=[], all_games=[games.WARHAMMER_AGE_OF_SIGMAR_REALMS_OF_RUIN])
ztuac = AchievementsVersion(id='ZTUAC', version=(17,), primary_games=[], all_games=[games.ZOO_TYCOON_ULTIMATE_ANIMAL_COLLECTION])
ztuac = AchievementsVersion(id='ZTUAC', version=(17,), primary_games=[], all_games=[games.ZOO_TYCOON])

available_versions = [dla, jwe, jwe2, jwe2dev, pc, pc2, pz, pz16, war, ztuac]
8 changes: 4 additions & 4 deletions generated/formats/animalresearch/versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def set_ztuac(context):
context.version = 17


games = Enum('Games', [('DISNEYLAND_ADVENTURES', 'Disneyland Adventures'), ('JURASSIC_WORLD_EVOLUTION', 'Jurassic World Evolution'), ('JURASSIC_WORLD_EVOLUTION_2', 'Jurassic World Evolution 2'), ('JURASSIC_WORLD_EVOLUTION_2_DEV', 'Jurassic World Evolution 2 Dev'), ('PLANET_COASTER', 'Planet Coaster'), ('PLANET_COASTER_2', 'Planet Coaster 2'), ('PLANET_ZOO', 'Planet Zoo'), ('PLANET_ZOO_PRE_1_6', 'Planet Zoo pre-1.6'), ('WARHAMMER_AGE_OF_SIGMAR_REALMS_OF_RUIN', 'Warhammer Age of Sigmar - Realms of Ruin'), ('ZOO_TYCOON_ULTIMATE_ANIMAL_COLLECTION', 'Zoo Tycoon Ultimate Animal Collection'), ('UNKNOWN', 'Unknown Game')])
games = Enum('Games', [('DISNEYLAND_ADVENTURES', 'Disneyland Adventures'), ('JURASSIC_WORLD_EVOLUTION', 'Jurassic World Evolution'), ('JURASSIC_WORLD_EVOLUTION_2', 'Jurassic World Evolution 2'), ('JURASSIC_WORLD_EVOLUTION_2_DEV', 'Jurassic World Evolution 2 Dev'), ('PLANET_COASTER', 'Planet Coaster'), ('PLANET_COASTER_2', 'Planet Coaster 2'), ('PLANET_ZOO', 'Planet Zoo'), ('PLANET_ZOO_PRE_1_6', 'Planet Zoo pre-1.6'), ('WARHAMMER_AGE_OF_SIGMAR_REALMS_OF_RUIN', 'Warhammer Age of Sigmar - Realms of Ruin'), ('ZOO_TYCOON', 'Zoo Tycoon'), ('UNKNOWN', 'Unknown Game')])


def get_game(context):
Expand All @@ -130,7 +130,7 @@ def get_game(context):
if is_war(context):
versions.extend([games.WARHAMMER_AGE_OF_SIGMAR_REALMS_OF_RUIN])
if is_ztuac(context):
versions.extend([games.ZOO_TYCOON_ULTIMATE_ANIMAL_COLLECTION])
versions.extend([games.ZOO_TYCOON])
if not versions:
versions.extend([games.UNKNOWN])
return versions
Expand Down Expand Up @@ -160,7 +160,7 @@ def set_game(context, game):
return set_pz16(context)
if game in {games.WARHAMMER_AGE_OF_SIGMAR_REALMS_OF_RUIN}:
return set_war(context)
if game in {games.ZOO_TYCOON_ULTIMATE_ANIMAL_COLLECTION}:
if game in {games.ZOO_TYCOON}:
return set_ztuac(context)


Expand All @@ -185,6 +185,6 @@ def __init__(self, *args, version=(), user_version=(), version_flag=(), **kwargs
pz = AnimalresearchVersion(id='PZ', version=(19,), user_version=(VersionInfo.from_value(8340), VersionInfo.from_value(8724), VersionInfo.from_value(8212),), primary_games=[], all_games=[games.PLANET_ZOO_PRE_1_6])
pz16 = AnimalresearchVersion(id='PZ16', version=(20,), user_version=(VersionInfo.from_value(8340), VersionInfo.from_value(8724), VersionInfo.from_value(8212),), primary_games=[], all_games=[games.PLANET_ZOO])
war = AnimalresearchVersion(id='WAR', version=(20,), user_version=(VersionInfo.from_value(24724), VersionInfo.from_value(25108), VersionInfo.from_value(24596),), primary_games=[], all_games=[games.WARHAMMER_AGE_OF_SIGMAR_REALMS_OF_RUIN])
ztuac = AnimalresearchVersion(id='ZTUAC', version=(17,), primary_games=[], all_games=[games.ZOO_TYCOON_ULTIMATE_ANIMAL_COLLECTION])
ztuac = AnimalresearchVersion(id='ZTUAC', version=(17,), primary_games=[], all_games=[games.ZOO_TYCOON])

available_versions = [dla, jwe, jwe2, jwe2dev, pc, pc2, pz, pz16, war, ztuac]
8 changes: 4 additions & 4 deletions generated/formats/assetpacklist/versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def set_ztuac(context):
context.version = 17


games = Enum('Games', [('DISNEYLAND_ADVENTURES', 'Disneyland Adventures'), ('JURASSIC_WORLD_EVOLUTION', 'Jurassic World Evolution'), ('JURASSIC_WORLD_EVOLUTION_2', 'Jurassic World Evolution 2'), ('JURASSIC_WORLD_EVOLUTION_2_DEV', 'Jurassic World Evolution 2 Dev'), ('PLANET_COASTER', 'Planet Coaster'), ('PLANET_COASTER_2', 'Planet Coaster 2'), ('PLANET_ZOO', 'Planet Zoo'), ('PLANET_ZOO_PRE_1_6', 'Planet Zoo pre-1.6'), ('WARHAMMER_AGE_OF_SIGMAR_REALMS_OF_RUIN', 'Warhammer Age of Sigmar - Realms of Ruin'), ('ZOO_TYCOON_ULTIMATE_ANIMAL_COLLECTION', 'Zoo Tycoon Ultimate Animal Collection'), ('UNKNOWN', 'Unknown Game')])
games = Enum('Games', [('DISNEYLAND_ADVENTURES', 'Disneyland Adventures'), ('JURASSIC_WORLD_EVOLUTION', 'Jurassic World Evolution'), ('JURASSIC_WORLD_EVOLUTION_2', 'Jurassic World Evolution 2'), ('JURASSIC_WORLD_EVOLUTION_2_DEV', 'Jurassic World Evolution 2 Dev'), ('PLANET_COASTER', 'Planet Coaster'), ('PLANET_COASTER_2', 'Planet Coaster 2'), ('PLANET_ZOO', 'Planet Zoo'), ('PLANET_ZOO_PRE_1_6', 'Planet Zoo pre-1.6'), ('WARHAMMER_AGE_OF_SIGMAR_REALMS_OF_RUIN', 'Warhammer Age of Sigmar - Realms of Ruin'), ('ZOO_TYCOON', 'Zoo Tycoon'), ('UNKNOWN', 'Unknown Game')])


def get_game(context):
Expand All @@ -130,7 +130,7 @@ def get_game(context):
if is_war(context):
versions.extend([games.WARHAMMER_AGE_OF_SIGMAR_REALMS_OF_RUIN])
if is_ztuac(context):
versions.extend([games.ZOO_TYCOON_ULTIMATE_ANIMAL_COLLECTION])
versions.extend([games.ZOO_TYCOON])
if not versions:
versions.extend([games.UNKNOWN])
return versions
Expand Down Expand Up @@ -160,7 +160,7 @@ def set_game(context, game):
return set_pz16(context)
if game in {games.WARHAMMER_AGE_OF_SIGMAR_REALMS_OF_RUIN}:
return set_war(context)
if game in {games.ZOO_TYCOON_ULTIMATE_ANIMAL_COLLECTION}:
if game in {games.ZOO_TYCOON}:
return set_ztuac(context)


Expand All @@ -185,6 +185,6 @@ def __init__(self, *args, version=(), user_version=(), version_flag=(), **kwargs
pz = AssetpacklistVersion(id='PZ', version=(19,), user_version=(VersionInfo.from_value(8340), VersionInfo.from_value(8724), VersionInfo.from_value(8212),), primary_games=[], all_games=[games.PLANET_ZOO_PRE_1_6])
pz16 = AssetpacklistVersion(id='PZ16', version=(20,), user_version=(VersionInfo.from_value(8340), VersionInfo.from_value(8724), VersionInfo.from_value(8212),), primary_games=[], all_games=[games.PLANET_ZOO])
war = AssetpacklistVersion(id='WAR', version=(20,), user_version=(VersionInfo.from_value(24724), VersionInfo.from_value(25108), VersionInfo.from_value(24596),), primary_games=[], all_games=[games.WARHAMMER_AGE_OF_SIGMAR_REALMS_OF_RUIN])
ztuac = AssetpacklistVersion(id='ZTUAC', version=(17,), primary_games=[], all_games=[games.ZOO_TYCOON_ULTIMATE_ANIMAL_COLLECTION])
ztuac = AssetpacklistVersion(id='ZTUAC', version=(17,), primary_games=[], all_games=[games.ZOO_TYCOON])

available_versions = [dla, jwe, jwe2, jwe2dev, pc, pc2, pz, pz16, war, ztuac]
8 changes: 4 additions & 4 deletions generated/formats/assetpackobjectlists/versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def set_ztuac(context):
context.version = 17


games = Enum('Games', [('DISNEYLAND_ADVENTURES', 'Disneyland Adventures'), ('JURASSIC_WORLD_EVOLUTION', 'Jurassic World Evolution'), ('JURASSIC_WORLD_EVOLUTION_2', 'Jurassic World Evolution 2'), ('JURASSIC_WORLD_EVOLUTION_2_DEV', 'Jurassic World Evolution 2 Dev'), ('PLANET_COASTER', 'Planet Coaster'), ('PLANET_COASTER_2', 'Planet Coaster 2'), ('PLANET_ZOO', 'Planet Zoo'), ('PLANET_ZOO_PRE_1_6', 'Planet Zoo pre-1.6'), ('WARHAMMER_AGE_OF_SIGMAR_REALMS_OF_RUIN', 'Warhammer Age of Sigmar - Realms of Ruin'), ('ZOO_TYCOON_ULTIMATE_ANIMAL_COLLECTION', 'Zoo Tycoon Ultimate Animal Collection'), ('UNKNOWN', 'Unknown Game')])
games = Enum('Games', [('DISNEYLAND_ADVENTURES', 'Disneyland Adventures'), ('JURASSIC_WORLD_EVOLUTION', 'Jurassic World Evolution'), ('JURASSIC_WORLD_EVOLUTION_2', 'Jurassic World Evolution 2'), ('JURASSIC_WORLD_EVOLUTION_2_DEV', 'Jurassic World Evolution 2 Dev'), ('PLANET_COASTER', 'Planet Coaster'), ('PLANET_COASTER_2', 'Planet Coaster 2'), ('PLANET_ZOO', 'Planet Zoo'), ('PLANET_ZOO_PRE_1_6', 'Planet Zoo pre-1.6'), ('WARHAMMER_AGE_OF_SIGMAR_REALMS_OF_RUIN', 'Warhammer Age of Sigmar - Realms of Ruin'), ('ZOO_TYCOON', 'Zoo Tycoon'), ('UNKNOWN', 'Unknown Game')])


def get_game(context):
Expand All @@ -130,7 +130,7 @@ def get_game(context):
if is_war(context):
versions.extend([games.WARHAMMER_AGE_OF_SIGMAR_REALMS_OF_RUIN])
if is_ztuac(context):
versions.extend([games.ZOO_TYCOON_ULTIMATE_ANIMAL_COLLECTION])
versions.extend([games.ZOO_TYCOON])
if not versions:
versions.extend([games.UNKNOWN])
return versions
Expand Down Expand Up @@ -160,7 +160,7 @@ def set_game(context, game):
return set_pz16(context)
if game in {games.WARHAMMER_AGE_OF_SIGMAR_REALMS_OF_RUIN}:
return set_war(context)
if game in {games.ZOO_TYCOON_ULTIMATE_ANIMAL_COLLECTION}:
if game in {games.ZOO_TYCOON}:
return set_ztuac(context)


Expand All @@ -185,6 +185,6 @@ def __init__(self, *args, version=(), user_version=(), version_flag=(), **kwargs
pz = AssetpackobjectlistsVersion(id='PZ', version=(19,), user_version=(VersionInfo.from_value(8340), VersionInfo.from_value(8724), VersionInfo.from_value(8212),), primary_games=[], all_games=[games.PLANET_ZOO_PRE_1_6])
pz16 = AssetpackobjectlistsVersion(id='PZ16', version=(20,), user_version=(VersionInfo.from_value(8340), VersionInfo.from_value(8724), VersionInfo.from_value(8212),), primary_games=[], all_games=[games.PLANET_ZOO])
war = AssetpackobjectlistsVersion(id='WAR', version=(20,), user_version=(VersionInfo.from_value(24724), VersionInfo.from_value(25108), VersionInfo.from_value(24596),), primary_games=[], all_games=[games.WARHAMMER_AGE_OF_SIGMAR_REALMS_OF_RUIN])
ztuac = AssetpackobjectlistsVersion(id='ZTUAC', version=(17,), primary_games=[], all_games=[games.ZOO_TYCOON_ULTIMATE_ANIMAL_COLLECTION])
ztuac = AssetpackobjectlistsVersion(id='ZTUAC', version=(17,), primary_games=[], all_games=[games.ZOO_TYCOON])

available_versions = [dla, jwe, jwe2, jwe2dev, pc, pc2, pz, pz16, war, ztuac]
Loading

0 comments on commit c02af5c

Please sign in to comment.