ladislav-zezula / StormLib

Official GitHub repository of the StormLib library created by Ladislav Zezula (author)
http://www.zezula.net/mpq.html
MIT License
560 stars 213 forks source link

Not Enough space on the disk bug #153

Closed juvian closed 5 years ago

juvian commented 5 years ago

Steps to produce the error: download https://drive.google.com/file/d/1RUn1Gun56rTF5kQ6zy468ZWCivcBryiR/view 1) Open with mpq editor 2) Use name scanner 3) Extract files 4) Open blank map (https://ufile.io/5vpd5) 5) add all files back 6) image

ladislav-zezula commented 5 years ago

I managed to extract 2424 files from that map (after deleting all files with names like File0000####.dat). If you want to add all those files to a MPQ, you have to do it on MPQ with hash table size big enough. The "emptymap.w3x" you provided has hash table size only 2048.

asssnatcher commented 1 year ago

If you want to add all those files to a MPQ, you have to do it on MPQ with hash table size big enough. The "emptymap.w3x" you provided has hash table size only 2048.

And how do I extend the table? If I open the MPQ in original editor (wc3 worldedit) it works correct. Maybe MPQ Archiver have a bug?

upd: I found answer here. The editor must include the option. https://www.sc2mapster.com/forums/resources/third-party-tools/176851-ladiks-mpq-editor?comment=5

ladislav-zezula commented 1 year ago

Either create a new MPQ or use the "Operations / Change max file count" in MPQ Editor. This won't work in a protected map, thought.