mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-25 13:35:12 +00:00
increment asset file version
This commit is contained in:
parent
f02c1cab49
commit
a558942beb
1 changed files with 3 additions and 1 deletions
|
@ -20,6 +20,8 @@ def read_local_asset_list(f):
|
|||
|
||||
|
||||
def asset_needs_update(asset, version):
|
||||
if version <= 6 and asset in ["actors/exclamation_box/vanish_cap_box_sides.rgba16.png", "actors/exclamation_box/wing_cap_box_sides.rgba16.png"]:
|
||||
return True
|
||||
if version <= 5 and asset == "textures/spooky/bbh_textures.00800.rgba16.png":
|
||||
return True
|
||||
if version <= 4 and asset in ["textures/mountain/ttm_textures.01800.rgba16.png", "textures/mountain/ttm_textures.05800.rgba16.png"]:
|
||||
|
@ -60,7 +62,7 @@ def clean_assets(local_asset_file):
|
|||
def main():
|
||||
# In case we ever need to change formats of generated files, we keep a
|
||||
# revision ID in the local asset file.
|
||||
new_version = 6
|
||||
new_version = 7
|
||||
|
||||
try:
|
||||
local_asset_file = open(".assets-local.txt")
|
||||
|
|
Loading…
Reference in a new issue