LoL-Linux-Tools icon indicating copy to clipboard operation
LoL-Linux-Tools copied to clipboard

Error while extracting DATA/

Open quvide opened this issue 12 years ago • 1 comments

http://valssi.fixme.fi/~viderizer/scr/2014-04-13_18-04-29.png

quvide avatar Apr 13 '14 15:04 quvide

Although this tool has been discontinued, here's a "fix" (as in, a dirty workaround): open lol_linux.py with a text editor, and at line 214 (if i recall right), change

raf_archives[i.version].data_file.extract_file(f.offset, f.size, os.path.join(base_path, i.path))

to

try: raf_archives[i.version].data_file.extract_file(f.offset, f.size, os.path.join(base_path, i.path)) except: pass

Pay attenction to use the correct indentation (4 spaces), or it won't work. That should make the tool work again. Again, it isn't a proper fix, but still...

Soulsuke avatar May 28 '14 11:05 Soulsuke