How does minecraft see the textures of a zip file without the .z0 file? - zip

Today while i was going around some minecraft texture in a site i found one with some interesting models, i tried to unzip it, but it turns out that the file .z0 is missing, so the extractor failed to unzip it.
I tried different way to do that but all requires a .z0 file.
I decided to see if it works in minecraft, and it actually works, so i can see all the models and all the various texture, so how can minecraft view them but i can't unzip them?
I'll leave a link to the pack so you can try yourself
packrp.tecnocraft.net
I tried using the unzip command from Linux Mint and it gave me this error and only a little part of the files unzipped:
Archive: hugetest.zip
warning [hugetest.zip]: zipfile claims to be last disk of a multi-part archive;
attempting to process anyway, assuming all parts have been concatenated
together in order. Expect "errors" and warnings...true multi-part support
doesn't exist yet (coming soon).
warning [hugetest.zip]: 4 extra bytes at beginning or within zipfile
(attempting to process anyway)
error: expected central file header signature not found (file #3462).
(please check that you have transferred or created the zipfile in the
appropriate BINARY mode and that you have compiled UnZip properly)
assets/minecraft/models/new_hat/144.json: mismatching "local" filename (ASSETS/MINECRAFT/MODELS/NEW_HAT/033.JSON),
continuing with "central" filename version
replace assets/minecraft/models/new_hat/144.json? [y]es, [n]o, [A]ll, [N]one, [r]ename: yA
inflating: assets/minecraft/models/new_hat/144.json bad CRC f99b73bf (should be 6a0c0507)
assets/minecraft/textures/new_ospedale/vaccino.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/NEW_ITEM/36.PNG),
continuing with "central" filename version
replace assets/minecraft/textures/new_ospedale/vaccino.png? [y]es, [n]o, [A]ll, [N]one, [r]ename: A
inflating: assets/minecraft/textures/new_ospedale/vaccino.png bad CRC 12ad31cf (should be 813a4777)
assets/minecraft/textures/new_hat/25.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/NEW_HAT/25.PNG),
continuing with "central" filename version
inflating: assets/minecraft/textures/new_hat/25.png bad CRC 60bde013 (should be f32a96ab)
assets/minecraft/textures/tecnotexture/armadio2_texture2.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/TECNOTEXTURE/ARMADIO7_TEXTURE7.PNG),
continuing with "central" filename version
inflating: assets/minecraft/textures/tecnotexture/armadio2_texture2.png bad CRC 8424e295 (should be 17b3942d)
assets/minecraft/models/item/p30.json: mismatching "local" filename (ASSETS/MINECRAFT/MODELS/ITEM/P63.JSON),
continuing with "central" filename version
inflating: assets/minecraft/models/item/p30.json bad CRC 49e41537 (should be da73638f)
assets/minecraft/models/item/flamer.json: mismatching "local" filename (ASSETS/MINECRAFT/MODELS/ITEM/FLAMER.JSON),
continuing with "central" filename version
inflating: assets/minecraft/models/item/flamer.json bad CRC 23eff64a (should be b07880f2)
assets/minecraft/models/new_hat/95.json: mismatching "local" filename (ASSETS/MINECRAFT/MODELS/NEW_HAT/17.JSON),
continuing with "central" filename version
inflating: assets/minecraft/models/new_hat/95.json bad CRC f5a33d32 (should be 66344b8a)
assets/minecraft/models/new_item/480.json: mismatching "local" filename (ASSETS/MINECRAFT/MODELS/NEW_ITEM/046.JSON),
continuing with "central" filename version
inflating: assets/minecraft/models/new_item/480.json bad CRC 27e81e8b (should be b47f6833)
assets/minecraft/models/item/cars/wheel4r.json: mismatching "local" filename (ASSETS/MINECRAFT/MODELS/ITEM/CARS/WHEEL0R.JSON),
continuing with "central" filename version
inflating: assets/minecraft/models/item/cars/wheel4r.json bad CRC 3db8a850 (should be ae2fdee8)
assets/minecraft/textures/cars/boat_white.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/CARS/BOAT_WHITE.PNG),
continuing with "central" filename version
assets/minecraft/textures/cars/boat_white.png: ucsize 176 <> csize 177 for STORED entry
continuing with "compressed" size value
extracting: assets/minecraft/textures/cars/boat_white.png bad CRC 0946b8fe (should be 2c36f3b9)
assets/minecraft/textures/new_ospedale/siringa.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/NEW_OSPEDALE/SIRINGA.PNG),
continuing with "central" filename version
inflating: assets/minecraft/textures/new_ospedale/siringa.png bad CRC 440db05e (should be d79ac6e6)
assets/minecraft/textures/font/minecraft_emoji/mc_music_disc_mall.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/FONT/MINECRAFT_EMOJI/MC_MUSIC_DISC_MALL.PNG),
continuing with "central" filename version
assets/minecraft/textures/font/minecraft_emoji/mc_music_disc_mall.png: ucsize 185 <> csize 186 for STORED entry
continuing with "compressed" size value
extracting: assets/minecraft/textures/font/minecraft_emoji/mc_music_disc_mall.png bad CRC 2885b0d1 (should be f698b516)
assets/minecraft/models/new_item/448.json: mismatching "local" filename (ASSETS/MINECRAFT/MODELS/NEW_ITEM/448.JSON),
continuing with "central" filename version
inflating: assets/minecraft/models/new_item/448.json bad CRC 5acb52d4 (should be c95c246c)
assets/minecraft/models/new_furniture/26.json: mismatching "local" filename (ASSETS/MINECRAFT/MODELS/NEW_FURNITURE/15.JSON),
continuing with "central" filename version
inflating: assets/minecraft/models/new_furniture/26.json bad CRC 6060f967 (should be f3f78fdf)
assets/minecraft/textures/new_food/patatine_al_ketchup.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/NEW_FOOD/PATATINE_AL_KETCHUP.PNG),
continuing with "central" filename version
inflating: assets/minecraft/textures/new_food/patatine_al_ketchup.png bad CRC 2545d0c5 (should be b6d2a67d)
assets/minecraft/textures/font/minecraft_emoji/mc_leather.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/FONT/MINECRAFT_EMOJI/MC_LEATHER.PNG),
continuing with "central" filename version
inflating: assets/minecraft/textures/font/minecraft_emoji/mc_leather.png bad CRC 2bcc2d5e (should be b85b5be6)
assets/minecraft/textures/new_soldi/10e.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/NEW_SOLDI/87E.PNG),
continuing with "central" filename version
inflating: assets/minecraft/textures/new_soldi/10e.png bad CRC 4992ba19 (should be da05cca1)
assets/minecraft/textures/new_item/necklaceGoldAmethyst.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/NEW_ITEM/NECKLACEgOLDaMETHYST.PNG),
continuing with "central" filename version
inflating: assets/minecraft/textures/new_item/necklaceGoldAmethyst.png bad CRC 88cd8e2c (should be 1b5af894)
assets/minecraft/models/new_item/446.json: mismatching "local" filename (ASSETS/MINECRAFT/MODELS/NEW_ITEM/779.JSON),
continuing with "central" filename version
inflating: assets/minecraft/models/new_item/446.json bad CRC 1674139e (should be 85e36526)
assets/minecraft/textures/tecnotexture/tieslightblue.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/TECNOTEXTURE/TIESLIGHTBLUE.PNG),
continuing with "central" filename version
assets/minecraft/textures/tecnotexture/tieslightblue.png: ucsize 2309 <> csize 2314 for STORED entry
continuing with "compressed" size value
extracting: assets/minecraft/textures/tecnotexture/tieslightblue.png bad CRC 1d82f8eb (should be 2421f7c0)
assets/minecraft/textures/tecnotexture/cappello_invernale.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/TECNOTEXTURE/CAPPELLO_INVERNALE.PNG),
continuing with "central" filename version
inflating: assets/minecraft/textures/tecnotexture/cappello_invernale.png bad CRC 8b844c09 (should be 18133ab1)
assets/minecraft/textures/new_food/eggfour.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/NEW_FOOD/EGGFOUR.PNG),
continuing with "central" filename version
inflating: assets/minecraft/textures/new_food/eggfour.png bad CRC 163c15d5 (should be 85ab636d)
assets/minecraft/models/new_icon/51.json: mismatching "local" filename (ASSETS/MINECRAFT/MODELS/NEW_ICON/17.JSON),
continuing with "central" filename version
inflating: assets/minecraft/models/new_icon/51.json bad CRC 439faf19 (should be d008d9a1)
assets/minecraft/textures/tecnotexture/portafoglio_rosa.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/TECNOTEXTURE/PORTAFOGLIO_ROSA.PNG),
continuing with "central" filename version
inflating: assets/minecraft/textures/tecnotexture/portafoglio_rosa.png bad CRC 4794845d (should be d403f2e5)
assets/minecraft/textures/new_item/corda_chitarra.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/NEW_ITEM/CORDA_CHITARRA.PNG),
continuing with "central" filename version
assets/minecraft/textures/new_item/corda_chitarra.png: ucsize 157 <> csize 156 for STORED entry
continuing with "compressed" size value
extracting: assets/minecraft/textures/new_item/corda_chitarra.png bad CRC 393cfa7f (should be 0acf6121)
assets/minecraft/textures/new_hat/21.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/NEW_HAT/10.PNG),
continuing with "central" filename version
inflating: assets/minecraft/textures/new_hat/21.png bad CRC 52f8b184 (should be c16fc73c)
assets/minecraft/models/item/lamborghini.json: mismatching "local" filename (ASSETS/MINECRAFT/MODELS/ITEM/LAMBORGHINI.JSON),
continuing with "central" filename version
inflating: assets/minecraft/models/item/lamborghini.json bad CRC 5dec5926 (should be ce7b2f9e)
assets/minecraft/models/new_icon/37.json: mismatching "local" filename (ASSETS/MINECRAFT/MODELS/NEW_ICON/92.JSON),
continuing with "central" filename version
assets/minecraft/models/new_icon/37.json: ucsize 71 <> csize 64 for STORED entry
continuing with "compressed" size value
extracting: assets/minecraft/models/new_icon/37.json bad CRC db1405e0 (should be 333130e4)
assets/minecraft/models/new_item/370.json: mismatching "local" filename (ASSETS/MINECRAFT/MODELS/NEW_ITEM/825.JSON),
continuing with "central" filename version
inflating: assets/minecraft/models/new_item/370.json bad CRC a2dcffb2 (should be 314b890a)
assets/minecraft/models/new_eatable/147.json: mismatching "local" filename (ASSETS/MINECRAFT/MODELS/NEW_EATABLE/581.JSON),
continuing with "central" filename version
inflating: assets/minecraft/models/new_eatable/147.json bad CRC fa516bd1 (should be 69c61d69)
assets/minecraft/models/new_hat/187.json: mismatching "local" filename (ASSETS/MINECRAFT/MODELS/NEW_HAT/521.JSON),
continuing with "central" filename version
inflating: assets/minecraft/models/new_hat/187.json bad CRC 4fc7a7f1 (should be dc50d149)
assets/minecraft/models/new_item/462.json: mismatching "local" filename (ASSETS/MINECRAFT/MODELS/NEW_ITEM/462.JSON),
continuing with "central" filename version
inflating: assets/minecraft/models/new_item/462.json bad CRC a41c780d (should be 378b0eb5)
assets/minecraft/models/new_hat/4.json: mismatching "local" filename (ASSETS/MINECRAFT/MODELS/NEW_HAT/7.JSON),
continuing with "central" filename version
inflating: assets/minecraft/models/new_hat/4.json bad CRC e724279a (should be 74b35122)
assets/minecraft/textures/tecnotexture/portafoglio_bianco.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/TECNOTEXTURE/PORTAFOGLIO_BIANCO.PNG),
continuing with "central" filename version
inflating: assets/minecraft/textures/tecnotexture/portafoglio_bianco.png bad CRC 387a25d0 (should be abed5368)
assets/minecraft/textures/tecnotexture/carretto/whitelog.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/TECNOTEXTURE/CARRETTO/WHITELOG.PNG),
continuing with "central" filename version
inflating: assets/minecraft/textures/tecnotexture/carretto/whitelog.png bad CRC 4d351fcf (should be dea26977)
assets/minecraft/textures/tecnotexture/collana4.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/TECNOTEXTURE/COLLANA9.PNG),
continuing with "central" filename version
inflating: assets/minecraft/textures/tecnotexture/collana4.png bad CRC bcde5c65 (should be 2f492add)
assets/minecraft/textures/tecnotexture/orologiodonna1.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/TECNOTEXTURE/OROLOGIODONNA0.PNG),
continuing with "central" filename version
assets/minecraft/textures/tecnotexture/orologiodonna1.png: ucsize 1360 <> csize 1359 for STORED entry
continuing with "compressed" size value
extracting: assets/minecraft/textures/tecnotexture/orologiodonna1.png bad CRC 3bd5360b (should be e446f028)
assets/minecraft/models/new_item/300.json: mismatching "local" filename (ASSETS/MINECRAFT/MODELS/NEW_ITEM/299.JSON),
continuing with "central" filename version
inflating: assets/minecraft/models/new_item/300.json bad CRC f241f4e5 (should be 61d6825d)
assets/minecraft/textures/new_item/jasper.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/NEW_ITEM/JASPER.PNG),
continuing with "central" filename version
inflating: assets/minecraft/textures/new_item/jasper.png bad CRC dc32cb8b (should be 4fa5bd33)
assets/minecraft/models/new_item/70.json: mismatching "local" filename (ASSETS/MINECRAFT/MODELS/NEW_ITEM/25.JSON),
continuing with "central" filename version
inflating: assets/minecraft/models/new_item/70.json bad CRC 25ad4045 (should be b63a36fd)
assets/minecraft/textures/new_food/eggtwo.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/NEW_FOOD/EGGTWO.PNG),
continuing with "central" filename version
inflating: assets/minecraft/textures/new_food/eggtwo.png bad CRC 2a06ee79 (should be b99198c1)
assets/minecraft/models/new_item/356.json: mismatching "local" filename (ASSETS/MINECRAFT/MODELS/NEW_ITEM/689.JSON),
continuing with "central" filename version
inflating: assets/minecraft/models/new_item/356.json bad CRC d34875e0 (should be 40df0358)
assets/minecraft/textures/new_drink/9.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/NEW_DRINK/0.PNG),
continuing with "central" filename version
inflating: assets/minecraft/textures/new_drink/9.png bad CRC e445af1f (should be 77d2d9a7)
assets/minecraft/textures/tecnotexture/armadio4.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/TECNOTEXTURE/ARMADIO8.PNG),
continuing with "central" filename version
inflating: assets/minecraft/textures/tecnotexture/armadio4.png bad CRC db584332 (should be 48cf358a)
assets/minecraft/textures/new_drink/succo_di_mango.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/NEW_DRINK/SUCCO_DI_MANGO.PNG),
continuing with "central" filename version
inflating: assets/minecraft/textures/new_drink/succo_di_mango.png bad CRC f9f23e21 (should be 6a654899)
assets/minecraft/textures/font/emoji/person.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/FONT/EMOJI/PERSON.PNG),
continuing with "central" filename version
inflating: assets/minecraft/textures/font/emoji/person.png bad CRC f9ddf105 (should be 6a4a87bd)
assets/minecraft/models/item/cars/gokart_bianco.json: mismatching "local" filename (ASSETS/MINECRAFT/MODELS/ITEM/CARS/GOKART_BIANCO.JSON),
continuing with "central" filename version
inflating: assets/minecraft/models/item/cars/gokart_bianco.json bad CRC 661d48b0 (should be f58a3e08)
assets/minecraft/textures/font/minecraft_emoji/mc_slime_ball.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/FONT/MINECRAFT_EMOJI/MC_SLIME_BALL.PNG),
continuing with "central" filename version
inflating: assets/minecraft/textures/font/minecraft_emoji/mc_slime_ball.png bad CRC 8520d3ec (should be 16b7a554)
assets/minecraft/models/new_item/447.json: mismatching "local" filename (ASSETS/MINECRAFT/MODELS/NEW_ITEM/336.JSON),
continuing with "central" filename version
inflating: assets/minecraft/models/new_item/447.json bad CRC 3f2a5d65 (should be acbd2bdd)
assets/minecraft/sounds/custom/drawbridge-rattling.ogg: mismatching "local" filename (ASSETS/MINECRAFT/SOUNDS/CUSTOM/DRAWBRIDGE-RATTLING.OGG),
continuing with "central" filename version
inflating: assets/minecraft/sounds/custom/drawbridge-rattling.ogg bad CRC 461d105e (should be d58a66e6)
assets/minecraft/textures/new_soldi/10c.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/NEW_SOLDI/32C.PNG),
continuing with "central" filename version
inflating: assets/minecraft/textures/new_soldi/10c.png bad CRC 53c79571 (should be c050e3c9)
assets/minecraft/textures/font/minecraft_emoji/mc_cod.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/FONT/MINECRAFT_EMOJI/MC_COD.PNG),
continuing with "central" filename version
inflating: assets/minecraft/textures/font/minecraft_emoji/mc_cod.png bad CRC cfd67522 (should be 5c41039a)
assets/minecraft/models/new_hat/203.json: mismatching "local" filename (ASSETS/MINECRAFT/MODELS/NEW_HAT/425.JSON),
continuing with "central" filename version
inflating: assets/minecraft/models/new_hat/203.json bad CRC 8e7be3b2 (should be 1dec950a)
assets/minecraft/models/new_eatable/95.json: mismatching "local" filename (ASSETS/MINECRAFT/MODELS/NEW_EATABLE/40.JSON),
continuing with "central" filename version
inflating: assets/minecraft/models/new_eatable/95.json bad CRC 555d9145 (should be c6cae7fd)
assets/minecraft/models/new_item/211.json: mismatching "local" filename (ASSETS/MINECRAFT/MODELS/NEW_ITEM/766.JSON),
continuing with "central" filename version
inflating: assets/minecraft/models/new_item/211.json bad CRC a4188eaa (should be 378ff812)
assets/minecraft/textures/new_icon/32.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/NEW_ICON/32.PNG),
continuing with "central" filename version
inflating: assets/minecraft/textures/new_icon/32.png bad CRC 5f5690ea (should be ccc1e652)
assets/minecraft/models/new_hat/41.json: mismatching "local" filename (ASSETS/MINECRAFT/MODELS/NEW_HAT/85.JSON),
continuing with "central" filename version
inflating: assets/minecraft/models/new_hat/41.json bad CRC bbca2db3 (should be 285d5b0b)
assets/minecraft/textures/font/emoji/pan.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/FONT/EMOJI/PAN.PNG),
continuing with "central" filename version
inflating: assets/minecraft/textures/font/emoji/pan.png bad CRC e657d78c (should be 75c0a134)
assets/minecraft/textures/font/emoji/potato.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/FONT/EMOJI/POTATO.PNG),
continuing with "central" filename version
inflating: assets/minecraft/textures/font/emoji/potato.png bad CRC e3c13505 (should be 705643bd)
assets/minecraft/textures/new_item/86.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/NEW_ITEM/31.PNG),
continuing with "central" filename version
inflating: assets/minecraft/textures/new_item/86.png bad CRC 6cb59780 (should be ff22e138)
assets/minecraft/textures/font/minecraft_emoji/mc_potion_overlay.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/FONT/MINECRAFT_EMOJI/MC_POTION_OVERLAY.PNG),
continuing with "central" filename version
inflating: assets/minecraft/textures/font/minecraft_emoji/mc_potion_overlay.png bad CRC 4694dc91 (should be d503aa29)
assets/minecraft/textures/font/minecraft_emoji/mc_spawn_egg_overlay.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/FONT/MINECRAFT_EMOJI/MC_SPAWN_EGG_OVERLAY.PNG),
continuing with "central" filename version
assets/minecraft/textures/font/minecraft_emoji/mc_spawn_egg_overlay.png: ucsize 410 <> csize 405 for STORED entry
continuing with "compressed" size value
extracting: assets/minecraft/textures/font/minecraft_emoji/mc_spawn_egg_overlay.png bad CRC 52d8e419 (should be ae777636)
assets/minecraft/textures/new_item/68.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/NEW_ITEM/24.PNG),
continuing with "central" filename version
inflating: assets/minecraft/textures/new_item/68.png bad CRC 2fd959b0 (should be bc4e2f08)
assets/minecraft/textures/items/diamond_axe.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/ITEMS/DIAMOND_AXE.PNG),
continuing with "central" filename version
inflating: assets/minecraft/textures/items/diamond_axe.png bad CRC 373d6ba1 (should be a4aa1d19)
assets/minecraft/models/new_item/121.json: mismatching "local" filename (ASSETS/MINECRAFT/MODELS/NEW_ITEM/121.JSON),
continuing with "central" filename version
inflating: assets/minecraft/models/new_item/121.json bad CRC 14494fc0 (should be 87de3978)
assets/minecraft/textures/new_shield/6/base.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/NEW_SHIELD/0/BASE.PNG),
continuing with "central" filename version
inflating: assets/minecraft/textures/new_shield/6/base.png bad CRC 52fbf483 (should be c16c823b)
assets/minecraft/models/new_item/83.json: mismatching "local" filename (ASSETS/MINECRAFT/MODELS/NEW_ITEM/50.JSON),
continuing with "central" filename version
inflating: assets/minecraft/models/new_item/83.json bad CRC 9d45abc0 (should be 0ed2dd78)
assets/minecraft/textures/tecnotexture/specchio.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/TECNOTEXTURE/SPECCHIO.PNG),
continuing with "central" filename version
inflating: assets/minecraft/textures/tecnotexture/specchio.png bad CRC c161ce94 (should be 52f6b82c)
assets/minecraft/models/new_furniture/40.json: mismatching "local" filename (ASSETS/MINECRAFT/MODELS/NEW_FURNITURE/39.JSON),
continuing with "central" filename version
inflating: assets/minecraft/models/new_furniture/40.json bad CRC a4bf9817 (should be 3728eeaf)
assets/minecraft/models/new_item/340.json: mismatching "local" filename (ASSETS/MINECRAFT/MODELS/NEW_ITEM/451.JSON),
continuing with "central" filename version
inflating: assets/minecraft/models/new_item/340.json bad CRC 86d400b9 (should be 15437601)
assets/minecraft/textures/tecnotexture/carretto/zuccherofilatomacchina.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/TECNOTEXTURE/CARRETTO/ZUCCHEROFILATOMACCHINA.PNG),
continuing with "central" filename version
inflating: assets/minecraft/textures/tecnotexture/carretto/zuccherofilatomacchina.png bad CRC 588829cd (should be cb1f5f75)
assets/minecraft/models/new_eatable/10.json: mismatching "local" filename (ASSETS/MINECRAFT/MODELS/NEW_EATABLE/43.JSON),
continuing with "central" filename version
inflating: assets/minecraft/models/new_eatable/10.json bad CRC 7fc5978c (should be ec52e134)
assets/minecraft/textures/font/minecraft_emoji/mc_gold_ingot.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/FONT/MINECRAFT_EMOJI/MC_GOLD_INGOT.PNG),
continuing with "central" filename version
inflating: assets/minecraft/textures/font/minecraft_emoji/mc_gold_ingot.png bad CRC f8b3843d (should be 6b24f285)
assets/minecraft/models/item/preslimo.json: mismatching "local" filename (ASSETS/MINECRAFT/MODELS/ITEM/PRESLIMO.JSON),
continuing with "central" filename version
inflating: assets/minecraft/models/item/preslimo.json bad CRC 91ef8202 (should be 0278f4ba)
assets/minecraft/models/new_hat/90.json: mismatching "local" filename (ASSETS/MINECRAFT/MODELS/NEW_HAT/12.JSON),
continuing with "central" filename version
inflating: assets/minecraft/models/new_hat/90.json bad CRC fe40a146 (should be 6dd7d7fe)
assets/minecraft/textures/tecnotexture/yellow.png: mismatching "local" filename (ASSETS/MINECRAFT/TEXTURES/TECNOTEXTURE/YELLOW.PNG),
continuing with "central" filename version
assets/minecraft/textures/tecnotexture/yellow.png: ucsize 1054 <> csize 1049 for STORED entry
continuing with "compressed" size value
extracting: assets/minecraft/textures/tecnotexture/yellow.png bad CRC b63853fe (should be c283c5f1)
error: invalid zip file with overlapped components (possible zip bomb)
and with the -FF option to try to fix it it also gave me an error
giopera06#Pc-Desktop:~/.minecraft/resourcepacks$ zip -FF PackTecnoSium.zip --out PackTecnoSium-2.zip -fz
Fix archive (-FF) - salvage what can
Found end record (EOCDR) - says expect 65536 splits
Scanning for entries...
Could not find:
PackTecnoSium.z01
Hit c (change path to where this split file is)
s (skip this split)
q (abort archive - quit)
e (end this archive - no more splits)
z (look for .zip split - the last split)
or ENTER (try reading this split again): s
zip warning: skipping disk 0 ...
So, how can i get the model out if minecraft can get them out too?

Related

Using pseudo to retain xattrs when extracting tar

I'm trying the following:
use pseudo to pack an archive (bz2) which has files with security xattr set.
use pseudo again to unpack the archive and keep the security xattr of the files.
Unfortunately, the extraction fails with the following message coming from pseudo:
$ pseudo tar -cjpf myarchive.tar.bz2 --xattrs --xattrs-include='*' myFile
# checked the contents in the meantime and looked good
$ pseudo tar -C unpack-folder/ -xpjf myarchive.tar.bz2 --xattrs --xattrs-include='*'
Warning: PSEUDO_PREFIX unset, defaulting to /home/user/tmp/.
got *at() syscall for unknown directory, fd 4
unknown base path for fd 4, path myFile
couldn't allocate absolute path for 'myFile'.
tar: myFile: Cannot open: Bad address
tar: Exiting with failure status due to previous errors
pseudo: 1.9.0
tar: 1.34
Do you have any idea what could be the problem or have another idea on how to be able to preserve the xattr of the files when extracting the contents of the archive?

AWS reading utf-8 file pycaption.detect_format returns None

Python version: 3.5-slim-buster
Module: pycaption
When reading caption .srt that is us-ascii encoded from s3 bucket:
obj.get()['Body'].read()
print(pycaption.detect_format(body.decode()))
I get a desired response
<class 'pycaption.srt.SRTReader'>
But when reading utf-8 encoded s3 .srt file
pycaption can't detect format response:
None
I have tried:
obj.get()['Body'].read().decode('utf-8')
print(pycaption.detect_format(body))
But with no luck
In the end the issue was in DOS newlines CR/LF that I converted to DOS newlines CR/LF.

Recover crack unzip Zip 2.0 (Legacy) file with lost password on Linux

I have an old zip file with a lost password.
zipinfo -z tells me its version Zip 2.0 which uses PKWARE encryption. Good news as that's apparently weak.
Bad news is nothing I've searched & founds tells me if its possible to crack without using brute force.
PKCrack looked like an option but it requires an unencrypted version of one of the files which I don't have.
I tried fcrackzip with a dictionary but it seems I don't remember anything about the password.
Does anyone know a good method to recover or unzip the files or the password or crack the zip without using brute force?
I believe it was encrypted on Windows - probably XP. I'm now using Ubuntu 18.04 LTS.
Here's the zipinfo -v output:
offset of local header from start of archive: 10089220 (000000000099F304h) bytes
file system or operating system of origin: NTFS
version of encoding software: 2.0
minimum file system compatibility required: MS-DOS, OS/2 or NT FAT
minimum software version required to extract: 2.0
compression method: deflated
compression sub-type (deflation): normal
file security status: encrypted
extended local header: no
file last modified on (DOS date/time): 2004 Feb 19 14:13:00
32-bit CRC value (hex): 498a9daf
compressed size: 39271 bytes
uncompressed size: 39855 bytes
length of filename: 16 characters
length of extra field: 0 bytes
length of file comment: 0 characters
disk number on which file begins: disk 1
apparent file type: binary
non-MSDOS external file attributes: 000000 hex
MS-DOS file attributes (20 hex): arc
Thank you for any help - these files are important to me
Try fcrackzip using the RockYou.txt password list.
fcrackzip -v -u -D -p PATH/rockyou.txt NAME_OF_ZIP.zip
-v: for verbose mode.
-u: for weed out wrong passwords.
-D: for using a dictionary.
-p: for using a string as a password.
https://github.com/brannondorsey/naive-hashcat/releases/download/data/rockyou.txt

Spli tarz file not extracting on Linux

I have transferred large tarz ~17Gb using gnu split in windows with 2048mb parts,
After uploading to Linux (Redhat 5 32bit) and combining the files using cat (cat xaa xab xac ... >> final.tarz), there is an error during checking tar xvfz final.tarz.
gzip: stdin: invalid compressed data--format violated
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
The file size are ditto and also the md5 checksum. So no clue what went wrong.
Can I resume tar from another part or skip the bad part, or may be check if the files are correctly transferred and re-transfer bad files only.

Linux: Unzip an archive containing files with the same name

I was sent a zip file containing 40 files with the same name.
I wanted to extract each of these files to a seperate folder OR extract each file with a different name (file1, file2, etc).
Is there a way to do this automatically with standard linux tools? A check of man unzip revealed nothing that could help me. zipsplit also does not seem to allow an arbitrary splitting of zip files (I was trying to split the zip into 40 archives, each containing one file).
At the moment I am (r)enaming my files individually. This is not so much of a problem with a 40 file archive, but is obviously unscalable.
Anyone have a nice, simple way of doing this? More curious than anything else.
Thanks.
Assuming that no such tool currently exists, then it should be quite easy to write one in python. Python has a zipfile module that should be sufficient.
Something like this (maybe, untested):
#!/usr/bin/env python
import os
import sys
import zipfile
count = 0
z = zipfile.ZipFile(sys.argv[1],"r")
for info in z.infolist():
directory = str(count)
os.makedirs(directory)
z.extract(info,directory)
count += 1
z.close()
I know this is a couple years old, but the answers above did not solve my particular problem here so I thought I should go ahead and post a solution that worked for me.
Without scripting, you can just use command line input to interact with the unzip tools text interface. That is, when you type this at the command line:
unzip file.zip
and it contains files of the same name, it will prompt you with:
replace sameName.txt? [y]es, [n]o, [A]ll, [N]one, [r]ename:
If you wanted to do this by hand, you would type "r", and then at the next prompt:
new name:
you would just type the new file name.
To automate this, simply create a text file with the responses to these prompts and use it as the input to unzip, as follows.
r
sameName_1.txt
r
sameName_2.txt
...
That is generated pretty easily using your favorite scripting language. Save it as unzip_input.txt and then use it as input to unzip like this:
unzip < unzip_input.txt
For me, this was less of a headache than trying to get the Perl or Python extraction modules working the way I needed. Hope this helps someone...
here is a linux script version
in this case the 834733991_T_ONTIME.csv is the name of the file that is the same inside every zip file, and the .csv after "$count" simply has to be swapped with the file type you want
#!/bin/bash
count=0
for a in *.zip
do
unzip -q "$a"
mv 834733991_T_ONTIME.csv "$count".csv
count=$(($count+1))
done`
This thread is old but there is still room for improvement. Personally I prefer the following one-liner in bash
unzipd ()
{
unzip -d "${1%.*}" "$1"
}
Nice, clean, and simple way to remove the extension and use the
Using unzip -B file.zip did the trick for me. It creates a backup file suffixed with ~<number> in case the file already exists.
For example:
$ rm *.xml
$ unzip -B bogus.zip
Archive: bogus.zip
inflating: foo.xml
inflating: foo.xml
inflating: foo.xml
inflating: foo.xml
inflating: foo.xml
$ ls -l
-rw-rw-r-- 1 user user 1161 Dec 20 20:03 bogus.zip
-rw-rw-r-- 1 user user 1501 Dec 16 14:34 foo.xml
-rw-rw-r-- 1 user user 1520 Dec 16 14:45 foo.xml~
-rw-rw-r-- 1 user user 1501 Dec 16 14:47 foo.xml~1
-rw-rw-r-- 1 user user 1520 Dec 16 14:53 foo.xml~2
-rw-rw-r-- 1 user user 1520 Dec 16 14:54 foo.xml~3
Note: the -B option does not show up in unzip --help, but is mentioned in the man pages: https://manpages.org/unzip#options

Resources