From 202db4c30743270a8f91a42a8d62d04864886336 Mon Sep 17 00:00:00 2001 From: tmpz23 <28760271+tmpz23@users.noreply.github.com> Date: Tue, 16 Nov 2021 13:19:13 +0100 Subject: [PATCH] Update pzztool.py --- pzztool.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pzztool.py b/pzztool.py index 499f3c3..f85ce1f 100644 --- a/pzztool.py +++ b/pzztool.py @@ -144,6 +144,9 @@ def pzz_compress(b): def pzz_unpack(pzz_path, dest_folder): # Script BMS pour les pzz de ps2 (GioGio's adventure) -> https://zenhax.com/viewtopic.php?f=9&t=8724&p=39437#p39437 + if pzz_path.suffix != ".pzz": + print("WARNING - Unpack : Invalid file format '" + pzz_path.suffix + + "'; it should be .pzz file format") if dest_folder != Path('.'): unpacked_pzz_path = dest_folder