Page 2 of 2

Re: Failure when dumping BF3/BF4 game files

Posted: Sat Feb 04, 2017 5:20 pm
by daemon1
AceWell wrote:placing an r before the string like Wobble said earlier
should correct it. (:
He said "it does not work".

But he didn't say what happened.

Re: Failure when dumping BF3/BF4 game files

Posted: Sat Feb 04, 2017 6:14 pm
by Portugalotaku
I posted the error in the first post. It's the same error all the time.

Re: Failure when dumping BF3/BF4 game files

Posted: Sat Feb 04, 2017 6:17 pm
by Acewell
here is similar discussion on Stack Overflow
http://stackoverflow.com/questions/2296 ... to-x08-and

3 ways to fix it
Use raw strings or double your backslashes or use forward slashes
r"\b" = raw string
"'\\b'" = double backslash
"/b" = forward slash

Re: Failure when dumping BF3/BF4 game files

Posted: Sat Feb 04, 2017 7:05 pm
by Portugalotaku
Chunks0.toc
F:\bf3\dump\chunks\d9ad7b0ce3b63eb0ff68581d2bc6a3cf.chunk

Traceback (most recent call last):
File "F:\Python_Scripts\dumper.py", line 366, in <module>
main()
File "F:\Python_Scripts\dumper.py", line 363, in main
dump(fname,outputfolder)
File "F:\Python_Scripts\dumper.py", line 194, in dump
casHandlePayload(entry,chunkPathToc+hexlify(entry.elems["id"].content)+".chunk")
File "F:\Python_Scripts\dumper.py", line 353, in casHandlePayload
LZ77.decompressAndWriteUnknownFile(catEntry.filename,catEntry.offset,catEntry.size,outPath)
WindowsError: [Error -529697949] Windows Error 0xE06D7363
>>>

It's not working.

Re: Failure when dumping BF3/BF4 game files

Posted: Sat Feb 04, 2017 7:53 pm
by daemon1
And you're calling it "the same error" ???

Finally, after 3 different people told you, now you're posting the actual error. This means the data is not compressed with LZ4, but different compressor. You need a script for BF3, not BF4. They are different, and since you never posted the script you used, nobody could help you.

Re: Failure when dumping BF3/BF4 game files

Posted: Sat Feb 04, 2017 8:19 pm
by Portugalotaku
The errors seemed identical to me, I saw them so many times they blurred together. I told you I suck at anything coding-related.

I was looking for a BF3 script, and they said this worked on BF3, that's why I used it. I will see if I can find a BF3 script.

Re: Failure when dumping BF3/BF4 game files

Posted: Sat Feb 04, 2017 8:31 pm
by Portugalotaku
Okay it seems to be working now, thanks.
I won't bother you guys with this crap anymore now, peace.