Thread: new tool
View Single Post
  #11  
Old 05-05-2021, 14:08
kj911 kj911 is offline
Registered User
 
Join Date: Apr 2010
Location: world
Posts: 231
Thanks: 158
Thanked 88 Times in 62 Posts
kj911 is on a distinguished road
Quote:
Originally Posted by 78372 View Post
No temps, no chunks, no external executables nor dlls.

BPK has two cls, I just added both of them to a single dll and compiled.

I don't think this needs another new thread so posting here.

Enjoy!
Very thanks!! Its DLL file working via FreeArc and running from XP!! (De)compression its works, via tested one BIK file. OK.

Code:
C:\>Arc.exe a -mbpk tmp.arc rockstar_logos.bik
FreeArc 0.67 (March 15 2014) updating archive: tmp.arc
Compressed 1 file, 35,665,884 => 26,079,703 bytes. Ratio 73.12%
Compression time: cpu 13.45 sec/real 15.52 sec = 87%. Speed 2.30 mB/s
All OK
Any test in coming soon.

Mini update: Found the bug! The DLL not compressing via splitted BIK/BK2 videos!!

Found few sample: http://samples.mplayerhq.hu/game-formats/bink2/

Code:
C:\>Arc.exe a -mbpk BIK3.arc Open_Logos_partial.bik
FreeArc 0.67 (March 15 2014) creating archive: BIK3.arc
Compressing 1 file, 10,240,000 bytes. Processed   0%
ERROR: general (de)compression error in bpk

C:\>Arc.exe a -mbpk 0.arc sc13_01_partial.bk2
FreeArc 0.67 (March 15 2014) creating archive: 0.arc
Compressing 1 file, 10,240,000 bytes. Processed   0%
ERROR: general (de)compression error in bpk
Multiple files compression, via folders, its works. ;-)

Update2: Compressing BIK files sourced from SC2 Hungarian versions.

BPK Only:
Code:
C:\>Arc.exe a -mbpk videos.arc offline videos
FreeArc 0.67 (March 15 2014) creating archive: videos.arc
Compressed 24 files, 454,103,532 => 353,408,418 bytes. Ratio 77.83%
Compression time: cpu 184.66 sec/real 202.88 sec = 91%. Speed 2.24 mB/s
All OK
BPK+LZMA:
Code:
C:\>Arc.exe a -mbpk+lzma:a1:mfbt4:d256m:fb273:mc1000:lc8 videos2.arc offline videos
FreeArc 0.67 (March 15 2014) creating archive: videos2.arc
Compressed 24 files, 454,103,532 => 324,503,253 bytes. Ratio 71.46%
Compression time: cpu 598.48 sec/real 643.92 sec = 93%. Speed 0.71 mB/s
All OK
Without SREP-ed version smaller than ~150kBytes. Gain its very minimal.

BPK+LOLZ version worse results: 340 590 349 byte (Ratio: 75.00%)

UPDATE3: SREP-ed version, not decoompresseable in properly, use any variant and methods. (CLS-*.dll/*.exe files, arc.ini, any..) CRC-error in 2% percentage. Try it use REP or REP+LZMA methods from compressing.

Last edited by kj911; 07-05-2021 at 13:49. Reason: Any new infos added
Reply With Quote