LIF-Extractor icon indicating copy to clipboard operation
LIF-Extractor copied to clipboard

fixes memory overflow with ldd4.3

Open SuperUserNameMan opened this issue 10 years ago • 4 comments

ldd4.3 Assets.lif contains a large db.lif file which fails to be extracted because of a memory overflow error with python 2.7. this patch make extraction by blocks of 16MB. if the block size is too large, it is divided by 2 till it fits the file size ... (could be improved though)

SuperUserNameMan avatar May 10 '15 17:05 SuperUserNameMan

The whole of LIF Extractor really could be improved, but I wouldn't mind merging some patches. I've just got a couple of notes above.

JrMasterModelBuilder avatar May 12 '15 16:05 JrMasterModelBuilder

Hi, I'm aware that this patch is more a ugly hack than anything else. Python is not something i'm used to deal with, I just needed the script to work. Feel free to do whatever you want with this PR. And thanks for this script !

SuperUserNameMan avatar May 12 '15 21:05 SuperUserNameMan

If its ugly or not - it works 👍

nachtgold avatar Jan 22 '17 09:01 nachtgold

How about finally patching this python file? Plus a documentation about the format would be pretty cool as I want to write a C# tool that does the same as your the python file (not requiring python, tho).

reditec avatar Oct 30 '17 10:10 reditec