PDA

View Full Version : pZLib bug detector


Razor12911
07-01-2017, 15:49
I figured that people never understood half of the stuff I wrote here (http://fileforums.com/showpost.php?p=455033&postcount=77) so I made a program that will do all of the stuff on that post.

Instructions:

1) Copy and paste game files where pzlib usual fails with CRC errors to "part 1\pack"
2) Run pack.bat and follow CMD Window instructions
3) Run "part 2\BugDetector"
4) Your buggy input will be the file you copied
5) Set command line used when there was CRC error
6) Set the chunk size you used in bytes
7) Click on detect and order pizza or something because this is going to take a while...
8) Upload the bug file produced by the program

Mini
07-01-2017, 17:01
Rise of the Tomb Raider - bigfile.update1.000.000.tiger
http://www38.zippyshare.com/v/RmDwsCyM/file.html
http://www73.zippyshare.com/v/nEWTiJnx/file.html [2]

FitGirl
07-01-2017, 17:23
Nice, thanks for working on this!

Razor12911
07-01-2017, 18:47
Thanks Mini, however, I think there was something wrong with your command line.

-m2 -t8 -b16777180k

16777180k is actually 17179832320 bytes which is 16GB buffer, buffer in pzlib is multiplied by 2 which means you were trying to allocate 32GB memory while your system has 16GB ram.

@Everyone
I uploaded a fix, I noticed something wrong in Mini's update that will tell you if your command line is incorrect and other slight changes.

Mini
07-01-2017, 19:29
Razor12911, first link with params -m1 -t8

I will test other games

Simorq
08-01-2017, 02:48
Call of Duty - Modern Warfare 2 IWD File
https://www.solidfiles.com/v/xqdDddYZ5ARqy

Razor12911
09-01-2017, 15:05
Something seems to be wrong with the detector, will have to make another fix.

dixen
11-01-2017, 12:10
Need For Speed The Run - File Level_0100_SanFrancisco.sb
http://www14.zippyshare.com/v/Bha9DsMY/file.html

Razor12911
25-02-2017, 15:07
Bug detector fixed, try re running program so it captures bugs.

Hopefully it works this time.

Mini
26-02-2017, 08:02
http://www101.zippyshare.com/v/melR5sxu/file.html
mafia 3 .sds