Skip to content

Commit

Permalink
Fix pack_player looking in wrong folder for btp anims
Browse files Browse the repository at this point in the history
  • Loading branch information
LagoLunatic committed Feb 6, 2020
1 parent b9929a5 commit a9b2ef1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pack_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def convert_all_player_models(orig_link_folder, custom_player_folder, repack_han
link_arc.get_file_entry(anim_basename + ".btk").data = data

for anim_basename in all_btp_anim_basenames:
anim_path = os.path.join(custom_player_folder, "#Texture palette animations", anim_basename + ".btp")
anim_path = os.path.join(custom_player_folder, "#Texture swap animations", anim_basename + ".btp")
if os.path.isfile(anim_path):
with open(anim_path, "rb") as f:
data = BytesIO(f.read())
Expand Down

0 comments on commit a9b2ef1

Please sign in to comment.