WoW-Tools / CASCExplorer

CASCExplorer
388 stars 125 forks source link

Fix for running under linux #54

Closed koliva8245 closed 5 years ago

koliva8245 commented 5 years ago

string.Format("{0:X2}*.idx", i) is looking for 00*.idx, 01*.idx, …, 0E*.idx, 0F*.idx which is causing it to miss files while running under Linux.

string.Format("{0:x2}*.idx", i) will look for 00*.idx, 01*.idx, …, 0e*.idx, 0f*.idx.

This was only checked against Heroes of the Storm and not any other game.