Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Failure when dumping BF3/BF4 game files

Post questions about game models here, or help out others!
daemon1
MEGAVETERAN
MEGAVETERAN
Posts: 2647
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 65 times
Been thanked: 2870 times

Re: Failure when dumping BF3/BF4 game files

Post 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.
Portugalotaku
mega-veteran
mega-veteran
Posts: 164
Joined: Fri Oct 02, 2015 3:35 pm
Has thanked: 9 times
Been thanked: 4 times

Re: Failure when dumping BF3/BF4 game files

Post by Portugalotaku »

I posted the error in the first post. It's the same error all the time.
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Re: Failure when dumping BF3/BF4 game files

Post 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
Portugalotaku
mega-veteran
mega-veteran
Posts: 164
Joined: Fri Oct 02, 2015 3:35 pm
Has thanked: 9 times
Been thanked: 4 times

Re: Failure when dumping BF3/BF4 game files

Post 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.
daemon1
MEGAVETERAN
MEGAVETERAN
Posts: 2647
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 65 times
Been thanked: 2870 times

Re: Failure when dumping BF3/BF4 game files

Post 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.
Portugalotaku
mega-veteran
mega-veteran
Posts: 164
Joined: Fri Oct 02, 2015 3:35 pm
Has thanked: 9 times
Been thanked: 4 times

Re: Failure when dumping BF3/BF4 game files

Post 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.
Portugalotaku
mega-veteran
mega-veteran
Posts: 164
Joined: Fri Oct 02, 2015 3:35 pm
Has thanked: 9 times
Been thanked: 4 times

Re: Failure when dumping BF3/BF4 game files

Post by Portugalotaku »

Okay it seems to be working now, thanks.
I won't bother you guys with this crap anymore now, peace.
Post Reply