L-space Posted December 28, 2016 Posted December 28, 2016 Hi guys, my son has been working for a week in LDD on his MOC and suddenly the file won't open "parsing error". I have tried this: But it doesn't do the job for us. Can somebody please lend a hand, thanks. file; http://www.brickshelf.com/gallery/L-space/ldd/60130gevangeniseiland.lxf Quote
roland Posted December 28, 2016 Posted December 28, 2016 This file is (very) corrupt, probably truncated. It tried some Linux console stuff but it breaks down after only a 5k (also corrupt) png. FYI, i tried: jar -xvf 60130gevangeniseiland.lxf jar ignores the zip end of file stuff, I also tried dd if=60130gevangeniseiland.lxf | gunzip -f > out.txt This will result in a single output file in which you could than try to copy the main (most important) xml file out of. Sorry but I think it's not savable. Quote
L-space Posted December 28, 2016 Author Posted December 28, 2016 Thanks for the try, We'll give it a go tomorrow. Quote
roland Posted December 28, 2016 Posted December 28, 2016 (edited) I was bored so I tried something else Using a hex editor I removed the part of the zip file containing the png, then did the linux dd command again (it turns out that always only extract the first file) This gave a truncated xml file which I fixed (butchered :) ) using a decent editor. Then rezipped it nito a lxf again which LDD successfully opens, although it dropped 178 bricks. Could not attach the file so I've placed it on my site (let me know when I can delete it again) http://www.melkert.net/test/60130 Gevangeniseiland (fixed).lxf Edited December 28, 2016 by roland wrong link Quote
L-space Posted December 29, 2016 Author Posted December 29, 2016 Thank you very very much. You saved his vacation. The file worked before breakfest but failed the second time. Luckily I had him save it to my computer too and that still works. He's breaking it up in several creations now to keep it managable. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.