PDA

View Full Version : Oodle precompressor (Side project)


Razor12911
07-12-2018, 16:10
Hello, I decided to give oo2core_6_win64.dll another shot to see what was really causing the crashing issues I was facing and somehow it the coding software itself so I decided to rewrite the code.... again... but now using Lazarus instead of Delphi because of it causing too many problems, I spent an entire day writing this because it was the only time I had, been very busy lately and I think I got it working.

I have tested on the samples I got from WWE2K19, it handles it just fine, not sure about the entire game but that's for you to find out.

If you look at the attachment, there is a separate jc4 executable. Well that's just a recompile of the main executable just with a few changes to it supports the remaining stream that game has since two compression methods were used on it but to make it work, you would have to combine the main precompressor with the jc4 to fully precompress the game.... I think... not sure since I really had very little time to work on this plus only had 2 samples from the game.
Combining the methods means -moo2rec+oo2recj

Support for now is simply limited to kraken compressed games, just take the dll from game and place it near exe, use the scanner included as a guide, it will show you exactly what method was used in that particular game.

DLLs supported:
oo2core_4_win64.dll
oo2core_5_win64.dll
oo2core_6_win64.dll
oo2core_7_win64.dll

Some results:

Just Cause 4 (game0.arc)
lzma:ultra:d176m:
15,8 MB (16 584 704 bytes) >> 13,6 MB (14 346 879 bytes)
oo2rec+lzma:ultra:d176m:
15,8 MB (16 584 704 bytes) >> 20,2 MB (21 202 181 bytes) >> 13,3 MB (13 965 518 bytes)
oo2rec+oo2recj+lzma:ultra:d176m:
15,8 MB (16 584 704 bytes) >> 25,5 MB (26 774 015 bytes) >> 12,3 MB (12 968 978 bytes)

Just Cause 4 (dlc.arc)
lzma:ultra:d176m:
22,8 MB (23 957 504 bytes) >> 20,2 MB (21 189 235 bytes)
oo2rec+lzma:ultra:d176m:
22,8 MB (23 957 504 bytes) >> 35,5 MB (37 286 828 bytes) >> 18,7 MB (19 661 381 bytes)
oo2rec+oo2recj+lzma:ultra:d176m:
22,8 MB (23 957 504 bytes) >> 45,2 MB (47 453 198 bytes) >> 17,1 MB (17 986 419 bytes)

These results are already making me wonder if I made mistakes somewhere and left several streams behind.... XDD

See you guys in a while, enjoy and I hope it works lol :)

KaktoR
07-12-2018, 16:16
I would say, better than nothing :)

Thanks for this. Will test soon.

See ya

Simorq
07-12-2018, 20:31
Thanks Razor12911

game0.arc 846 MB

oo2recj+oo2rec:
Compressed 1 file, 887,402,496 => 1,032,904,579 bytes. Ratio 116.40%
Compression time: cpu 1.69 sec/real 296.11 sec = 1%. Speed 3.00 mB/s
All OK

Tested 1 file, 1,032,904,579 => 887,402,496 bytes. Ratio 116.40%
Testing time: cpu 1.27 sec/real 5.13 sec = 25%. Speed 172.84 mB/s
All OK

------------------------------------------------
oo2rec:
Compressed 1 file, 887,402,496 => 1,029,825,704 bytes. Ratio 116.05%
Compression time: cpu 0.91 sec/real 16.80 sec = 5%. Speed 52.81 mB/s
All OK

Tested 1 file, 1,029,825,704 => 887,402,496 bytes. Ratio 116.05%
Testing time: cpu 1.02 sec/real 4.77 sec = 21%. Speed 185.88 mB/s
All OK

archives_win64\main\hires\game4.arc 791 MB
oo2rec+oo2recj:
ERROR: general (de)compression error in oo2recj

oo2rec:
Compressed 7 files, 835,010,548 => 835,010,824 bytes. Ratio 100.00%
Compression time: cpu 0.97 sec/real 8.87 sec = 11%. Speed 94.14 mB/s
All OK

And also does not work with the file set
http://uupload.ir/files/ks4s_0.png
http://uupload.ir/files/w2bw_00.png

masen485
07-12-2018, 21:06
Thanks Razor12911

I tried the file and folder and extension that address

Just Cause 4\archives_win64\main/game0.arc

oo2core_7_win64.dll Rename oo2core_4_win64.d

game0.arc/oo2rec:
-----------------------------------------------------------------------------------
FreeArc 0.67 (March 15 2014) creating archive: data.arc
Compressed 1 file, 890,961,920 => 2,566,282,309 bytes. Ratio 288.04%
Compression time: cpu 0.75 sec/real 51.28 sec = 1%. Speed 17.37 mB/s
All OK

game0.arc/oo2recj:
-----------------------------------------------------------------------------------
FreeArc 0.67 (March 15 2014) creating archive: data.arc
Compressed 1 file, 890,961,920 => 890,962,140 bytes. Ratio 100.00%
Compression time: cpu 0.77 sec/real 6.07 sec = 13%. Speed 146.81 mB/s
All OK

ShivShubh
07-12-2018, 21:49
Thanks Razor12911

I tried the file and folder and extension that address

Just Cause 4\archives_win64\main/game0.arc

oo2core_7_win64.dll Rename oo2core_4_win64.d

game0.arc/oo2rec:
-----------------------------------------------------------------------------------
FreeArc 0.67 (March 15 2014) creating archive: data.arc
Compressed 1 file, 890,961,920 => 2,566,282,309 bytes. Ratio 288.04%
Compression time: cpu 0.75 sec/real 51.28 sec = 1%. Speed 17.37 mB/s
All OK

game0.arc/oo2recj:
-----------------------------------------------------------------------------------
FreeArc 0.67 (March 15 2014) creating archive: data.arc
Compressed 1 file, 890,961,920 => 890,962,140 bytes. Ratio 100.00%
Compression time: cpu 0.77 sec/real 6.07 sec = 13%. Speed 146.81 mB/s
All OK

Seems wrong to me, you aren't supposed to use oo2recj individually/separately on a file. You have to use oo2recj in combination with oo2rec. For example = arc a -moo2rec+oo2recj game0.test game0.arc

Razor12911
08-12-2018, 09:37
Update available

Changes

- Fixed crashing issues
- Improved scanner
- Added mermaid precompressor, tested on AC Origins, try it out on Odyssey (if it uses oodle in the first place) and report back

Info

oo2reck = kraken precompressor
oo2recm = mermaid precompressor
oo2recs = selkie precompressor
// reason for them being separated is, there is no stats handler being added in the source yet meaning if I combined all, precompression speed will be reduced drastically so they are left individually at the moment
// if you're wondering what happened to jc4, just use selkie instead, its the same thing. so you should have oo2reck+oo2recs for that game

Future changes

- Detect proper uncompressed sizes resulting in all streams being detected because currently, a few streams get left behind
- Combine all codecs

masen485
08-12-2018, 10:05
Just Cause 4 some .it doesn't work with ARC files
is there any solution ?

FreeArc 0.67 (March 15 2014) creating archive: data.arc
Compressed 1 file, 890,974,208 => 890,974,648 bytes. Ratio 100.00%
Compression time: cpu 0.89 sec/real 16.25 sec = 5%. Speed 54.82 mB/s
All OK

Razor12911
08-12-2018, 10:15
Just Cause 4 some .it doesn't work with ARC files
is there any solution ?

FreeArc 0.67 (March 15 2014) creating archive: data.arc
Compressed 1 file, 890,974,208 => 890,974,648 bytes. Ratio 100.00%
Compression time: cpu 0.89 sec/real 16.25 sec = 5%. Speed 54.82 mB/s
All OK

what does the scanner report on that file?

Simorq
08-12-2018, 10:18
http://uupload.ir/files/ks4s_0.png
HD Textures JC4 4.08 GB >> 6.75 GB

Creating archive: data.arc using oo2recm:
Compressed 9 files, 4,388,958,444 => 7,249,249,802 bytes. Ratio 165.17%
Compression time: cpu 5.08 sec/real 202.55 sec = 3%. Speed 21.67 mB/s
All OK

Extracting archive: Data.arc
Extracted 9 files, 7,249,249,802 => 4,388,958,444 bytes. Ratio 165.17%
Extraction time: cpu 5.27 sec/real 172.72 sec = 3%. Speed 25.41 mB/s
All OK

masen485
08-12-2018, 10:18
Universal Oodle stream scanner

Created by Razor12911

[0] = Unknown/Invalid
[1] = Kraken/Hydra
[2] = Mermaid/Selkie/Hydra
[3] = Leviathan/Hydra

0001[0]| Pos: 00152FAD, Size: 72
0002[0]| Pos: 032C3880, Size: 245
0003[0]| Pos: 03701B74, Size: 2770
0004[0]| Pos: 038C8B5C, Size: 619
0005[0]| Pos: 043CA9F1, Size: 124
0006[0]| Pos: 046AC88B, Size: 3337
0007[0]| Pos: 06B91B94, Size: 3309
0008[0]| Pos: 07A9EC0F, Size: 997
0009[0]| Pos: 08014A4B, Size: 1845
0010[0]| Pos: 0885C8CE, Size: 4019
0011[0]| Pos: 096BBDD4, Size: 2393
0012[0]| Pos: 0C109512, Size: 1038
0013[0]| Pos: 0D585CA3, Size: 2258
0014[0]| Pos: 0EC8F2DB, Size: 1938
0015[0]| Pos: 0FFB679F, Size: 967
0016[0]| Pos: 107CA519, Size: 2362
0017[0]| Pos: 111B2EC9, Size: 709
0018[0]| Pos: 117B5F73, Size: 1423
0019[0]| Pos: 12C24BB4, Size: 2389
0020[0]| Pos: 149D742B, Size: 306
0021[0]| Pos: 14AEBC77, Size: 2512
0022[0]| Pos: 152FE676, Size: 1551
0023[0]| Pos: 160E4C0C, Size: 3829
0024[0]| Pos: 1629FCA3, Size: 1395
0025[0]| Pos: 166F24E7, Size: 840
0026[0]| Pos: 183960EC, Size: 70
0027[0]| Pos: 18B88BCA, Size: 3719
0028[0]| Pos: 198B1CFC, Size: 2212
0029[0]| Pos: 199B27A1, Size: 1864
0030[0]| Pos: 1A1EBCE1, Size: 3107
0031[0]| Pos: 1A3450BE, Size: 2669
0032[0]| Pos: 1C477707, Size: 1787
0033[0]| Pos: 1C729F37, Size: 453
0034[0]| Pos: 1DD43169, Size: 1777
0035[0]| Pos: 1E007F0E, Size: 124
0036[0]| Pos: 1E7B17C6, Size: 1189
0037[0]| Pos: 1EADBDAA, Size: 2176
0038[0]| Pos: 1F4DFBEA, Size: 3518
0039[0]| Pos: 1FB63B0A, Size: 3883
0040[0]| Pos: 1FB97B22, Size: 918
0041[0]| Pos: 1FD6DE7F, Size: 147
0042[0]| Pos: 2008869C, Size: 1099
0043[0]| Pos: 207CAEBD, Size: 613
0044[0]| Pos: 208603A4, Size: 745
0045[0]| Pos: 21954CE5, Size: 730
0046[0]| Pos: 21C40094, Size: 2759
0047[0]| Pos: 231C037C, Size: 1274
0048[0]| Pos: 23CC222A, Size: 273
0049[0]| Pos: 25C3DA65, Size: 1583
0050[0]| Pos: 26720D71, Size: 3208
0051[0]| Pos: 2796EF93, Size: 2358
0052[0]| Pos: 28C09C22, Size: 3577
0053[0]| Pos: 2901B338, Size: 2377
0054[0]| Pos: 2937140C, Size: 554
0055[0]| Pos: 29D6D202, Size: 3658
0056[0]| Pos: 2ACEEB8D, Size: 2176
0057[0]| Pos: 2B0035E5, Size: 473
0058[0]| Pos: 2B9FC064, Size: 2274
0059[0]| Pos: 2C3C3A96, Size: 760
0060[0]| Pos: 2C4DC365, Size: 837
0061[0]| Pos: 2C652A4C, Size: 1418
0062[0]| Pos: 2CA91096, Size: 1234
0063[0]| Pos: 2E36FCA2, Size: 1134
0064[0]| Pos: 2EC756A5, Size: 3169
0065[0]| Pos: 2FC01316, Size: 2357
0066[0]| Pos: 305D0FBA, Size: 1812
0067[0]| Pos: 322B7348, Size: 2980
0068[0]| Pos: 325FDFB2, Size: 3798
0069[0]| Pos: 32869832, Size: 2721
0070[0]| Pos: 3309B82C, Size: 2073
0071[0]| Pos: 3325B12C, Size: 73

Done!!!

Razor12911
08-12-2018, 10:21
Universal Oodle stream scanner

Created by Razor12911

[0] = Unknown/Invalid
[1] = Kraken/Hydra
[2] = Mermaid/Selkie/Hydra
[3] = Leviathan/Hydra

0001[0]| Pos: 00152FAD, Size: 72
0002[0]| Pos: 032C3880, Size: 245
0003[0]| Pos: 03701B74, Size: 2770
0004[0]| Pos: 038C8B5C, Size: 619
0005[0]| Pos: 043CA9F1, Size: 124
0006[0]| Pos: 046AC88B, Size: 3337
0007[0]| Pos: 06B91B94, Size: 3309
0008[0]| Pos: 07A9EC0F, Size: 997
0009[0]| Pos: 08014A4B, Size: 1845
0010[0]| Pos: 0885C8CE, Size: 4019
0011[0]| Pos: 096BBDD4, Size: 2393
0012[0]| Pos: 0C109512, Size: 1038
0013[0]| Pos: 0D585CA3, Size: 2258
0014[0]| Pos: 0EC8F2DB, Size: 1938
0015[0]| Pos: 0FFB679F, Size: 967
0016[0]| Pos: 107CA519, Size: 2362
0017[0]| Pos: 111B2EC9, Size: 709
0018[0]| Pos: 117B5F73, Size: 1423
0019[0]| Pos: 12C24BB4, Size: 2389
0020[0]| Pos: 149D742B, Size: 306
0021[0]| Pos: 14AEBC77, Size: 2512
0022[0]| Pos: 152FE676, Size: 1551
0023[0]| Pos: 160E4C0C, Size: 3829
0024[0]| Pos: 1629FCA3, Size: 1395
0025[0]| Pos: 166F24E7, Size: 840
0026[0]| Pos: 183960EC, Size: 70
0027[0]| Pos: 18B88BCA, Size: 3719
0028[0]| Pos: 198B1CFC, Size: 2212
0029[0]| Pos: 199B27A1, Size: 1864
0030[0]| Pos: 1A1EBCE1, Size: 3107
0031[0]| Pos: 1A3450BE, Size: 2669
0032[0]| Pos: 1C477707, Size: 1787
0033[0]| Pos: 1C729F37, Size: 453
0034[0]| Pos: 1DD43169, Size: 1777
0035[0]| Pos: 1E007F0E, Size: 124
0036[0]| Pos: 1E7B17C6, Size: 1189
0037[0]| Pos: 1EADBDAA, Size: 2176
0038[0]| Pos: 1F4DFBEA, Size: 3518
0039[0]| Pos: 1FB63B0A, Size: 3883
0040[0]| Pos: 1FB97B22, Size: 918
0041[0]| Pos: 1FD6DE7F, Size: 147
0042[0]| Pos: 2008869C, Size: 1099
0043[0]| Pos: 207CAEBD, Size: 613
0044[0]| Pos: 208603A4, Size: 745
0045[0]| Pos: 21954CE5, Size: 730
0046[0]| Pos: 21C40094, Size: 2759
0047[0]| Pos: 231C037C, Size: 1274
0048[0]| Pos: 23CC222A, Size: 273
0049[0]| Pos: 25C3DA65, Size: 1583
0050[0]| Pos: 26720D71, Size: 3208
0051[0]| Pos: 2796EF93, Size: 2358
0052[0]| Pos: 28C09C22, Size: 3577
0053[0]| Pos: 2901B338, Size: 2377
0054[0]| Pos: 2937140C, Size: 554
0055[0]| Pos: 29D6D202, Size: 3658
0056[0]| Pos: 2ACEEB8D, Size: 2176
0057[0]| Pos: 2B0035E5, Size: 473
0058[0]| Pos: 2B9FC064, Size: 2274
0059[0]| Pos: 2C3C3A96, Size: 760
0060[0]| Pos: 2C4DC365, Size: 837
0061[0]| Pos: 2C652A4C, Size: 1418
0062[0]| Pos: 2CA91096, Size: 1234
0063[0]| Pos: 2E36FCA2, Size: 1134
0064[0]| Pos: 2EC756A5, Size: 3169
0065[0]| Pos: 2FC01316, Size: 2357
0066[0]| Pos: 305D0FBA, Size: 1812
0067[0]| Pos: 322B7348, Size: 2980
0068[0]| Pos: 325FDFB2, Size: 3798
0069[0]| Pos: 32869832, Size: 2721
0070[0]| Pos: 3309B82C, Size: 2073
0071[0]| Pos: 3325B12C, Size: 73

Done!!!

Probably no streams are on that file or the scanner doesn't know how to find them.

HD Textures JC4 4.08 GB >> 6.75 GB

Creating archive: data.arc using oo2recm:
Compressed 9 files, 4,388,958,444 => 7,249,249,802 bytes. Ratio 165.17%
Compression time: cpu 5.08 sec/real 202.55 sec = 3%. Speed 21.67 mB/s
All OK

Extracting archive: Data.arc
Extracted 9 files, 7,249,249,802 => 4,388,958,444 bytes. Ratio 165.17%
Extraction time: cpu 5.27 sec/real 172.72 sec = 3%. Speed 25.41 mB/s
All OK

hmm, so mermaid exists too, mind officially blown.
I guess blend all 3 codecs then for that game. I give up really.
The samples I received only had two codecs used on them.

masen485
08-12-2018, 10:29
C:\Users\RAMAZAN\Desktop\Yeni klasör (2)>arc.exe a -ep1 -r -ed -s; -w.\temp -moo2recm data.arc "pack\*"
FreeArc 0.67 (March 15 2014) creating archive: data.arc
Compressed 1 file, 890,974,208 => 890,974,428 bytes. Ratio 100.00%
Compression time: cpu 0.72 sec/real 14.98 sec = 5%. Speed 59.46 mB/s
All OK

masen485
08-12-2018, 10:37
https://i.hizliresim.com/0R70QW.jpg (https://hizliresim.com/0R70QW)

Just Cause 4\archives_win64\main_patch/game4.arc

C:\Users\RAMAZAN\Desktop\Yeni klasör (2)>arc.exe a -ep1 -r -ed -s; -w.\temp -moo2recm data.arc "pack\*"
FreeArc 0.67 (March 15 2014) creating archive: data.arc
Compressed 1 file, 890,974,208 => 890,974,428 bytes. Ratio 100.00%
Compression time: cpu 0.86 sec/real 18.27 sec = 5%. Speed 48.76 mB/s
All OK

L0v3craft
08-12-2018, 10:52
Sometimes i get errors like this:

https://i.postimg.cc/MKbp6Brg/Immagine.png

Where is the problem ? Translating "Impossible access to the file. The file is used from another process."

ShivShubh
08-12-2018, 11:10
Just Cause 4 some .it doesn't work with ARC files
is there any solution ?

FreeArc 0.67 (March 15 2014) creating archive: data.arc
Compressed 1 file, 890,974,208 => 890,974,648 bytes. Ratio 100.00%
Compression time: cpu 0.89 sec/real 16.25 sec = 5%. Speed 54.82 mB/s
All OK

For Just Cause 4, to remove confusion/crashes make sure you only have oo2core_7_win64.dll (remove other/older oo2core dlls) present alongside oo2reck,oo2recm,oo2recs. Now keep in mind that Just Cause 4 mostly uses Kraken so most precompression will come from oo2reck then whatever's left behind will be catched up by Selkie (oo2recs). Mermaid is a stronger oodle codec in terms of compression and there are rarely (perhaps none) any streams of it in the game except for hi-res textures (hires folder) where stronger compression is required.

So my suggestion is use: oo2reck+oo2recs on game files and use oo2recm on hires folder.

Result: oo2reck+oo2recs+srep+lolz = 17.2 GB without hi-res textures, credits (first bink video stream inside game37.arc), useless videos (2.66 GB, embedded inside game files). Best thing ? installation goes really fast, finishes in 30-35 mins on 4 cores+hdd if I remember correctly.

Now, inside "main" folder = game37,38,39,40,41.arc files only contains bink video files so precompression is useless on them. Also inside "main_patch" folder = game6,7,8,9,10.arc only contains bink video files so precompression is useless on them as well. So you may wanna separate them in a different folder.

C:\Users\RAMAZAN\Desktop\Yeni klasör (2)>arc.exe a -ep1 -r -ed -s; -w.\temp -moo2recm data.arc "pack\*"
FreeArc 0.67 (March 15 2014) creating archive: data.arc
Compressed 1 file, 890,974,208 => 890,974,428 bytes. Ratio 100.00%
Compression time: cpu 0.72 sec/real 14.98 sec = 5%. Speed 59.46 mB/s
All OK

Read above reply, don't use oo2recm on game files except for hires folder.

https://i.hizliresim.com/0R70QW.jpg (https://hizliresim.com/0R70QW)

Just Cause 4\archives_win64\main_patch/game4.arc

C:\Users\RAMAZAN\Desktop\Yeni klasör (2)>arc.exe a -ep1 -r -ed -s; -w.\temp -moo2recm data.arc "pack\*"
FreeArc 0.67 (March 15 2014) creating archive: data.arc
Compressed 1 file, 890,974,208 => 890,974,428 bytes. Ratio 100.00%
Compression time: cpu 0.86 sec/real 18.27 sec = 5%. Speed 48.76 mB/s
All OK

Again why do you keep using oo2recm ?

oo2core_7_win64.dll Rename oo2core_4_win64.dll

Why rename :confused: Just Cause 4 only has oo2core_7_win64.dll which is whats required by razor's tool. I would recommend not to put any other dlls for this game.

Sometimes i get errors like this:

Where is the problem ? Translating "Impossible access to the file. The file is used from another process."

Make sure only oo2core_7_win64.dll (remove other oo2core dlls) is present in your compression folder when compressing Just Cause 4.

L0v3craft
08-12-2018, 11:32
http://uupload.ir/files/ks4s_0.png
HD Textures JC4 4.08 GB >> 6.75 GB

Creating archive: data.arc using oo2recm:
Compressed 9 files, 4,388,958,444 => 7,249,249,802 bytes. Ratio 165.17%
Compression time: cpu 5.08 sec/real 202.55 sec = 3%. Speed 21.67 mB/s
All OK

Extracting archive: Data.arc
Extracted 9 files, 7,249,249,802 => 4,388,958,444 bytes. Ratio 165.17%
Extraction time: cpu 5.27 sec/real 172.72 sec = 3%. Speed 25.41 mB/s
All OK

I'm using the exact same tools downloaded from Razor main post and here "oo2recm" can't precompress those files, it doesn't find any streams. So the final size is the same of initial size. So how is possible that you precompressed them to "7,249,249,802 bytes" ?

Simorq
08-12-2018, 15:08
gameresources.texdb 7.49 GB > oo2core_5_win64 > 32.1 GB:eek:

Creating archive: DataTest.arc using oo2reck+oo2recs:
Compressed 1 Files, 8,055,022,894 => 34,557,525,188 bytes. Ratio 429.02%
Compression time: cpu 69.16 sec/real 4434.67 sec = 2%. Speed 1.82 mB/s
All OK

Testing archive: DataTest.arc
Tested 1 Files, 34,557,525,188 => 8,055,022,894 bytes. Ratio 429.02%
Testing time: cpu 41.08 sec/real 1496.40 sec = 3%. Speed 5.38 mB/s
All OK
http://uupload.ir/files/keh9_0.png

Razor12911
08-12-2018, 15:28
Simorq
What OS are you using and PC specs?

Simorq
08-12-2018, 15:33
Simorq
What OS are you using and PC specs?

6 Cores 3.2GHz (RZ 1600) + 16GB Ram + HDD
Win 10

Razor12911
08-12-2018, 15:36
How about you L0v3craft?
OS and specs?

L0v3craft
08-12-2018, 15:40
How about you L0v3craft?
OS and specs?

Windows Server 2016, intel i7-8700, 64GB ram, 2 SSD 500GB NVME

Simorq
08-12-2018, 15:41
CharTextures_XPACK_.tfc 1.68 GB >oo2core4 > 3.01 GB


Creating archive: Data.arc using oo2reck
Compressed 1 file, 1,811,671,405 => 3,275,784,960 bytes. Ratio 180.82%
Compression time: cpu 1.77 sec/real 88.45 sec = 2%. Speed 20.48 mB/s
All OK

Testing archive: Data.arc
Testing time: cpu 3.42 sec/real 55.96 sec = 6%. Speed 32.37 mB/s
All OK
======================================

Creating archive: Data.arc using oo2recm
Compressed 1 file, 1,811,671,405 => 1,811,704,170 bytes. Ratio 100.00%
Compression time: cpu 1.73 sec/real 37.30 sec = 5%. Speed 48.57 mB/s
All OK

======================================

Creating archive: Data.arc using oo2recs
Compressed 1 file, 1,811,671,405 => 1,811,671,841 bytes. Ratio 100.00%
Compression time: cpu 1.70 sec/real 36.26 sec = 5%. Speed 49.96 mB/s
All OK

======================================

Creating archive: Data.arc using oo2reck+oo2recs
Memory for compression 0b, decompression 0b, cache 0b
Compressed 1 file, 1,811,671,405 => 3,275,785,748 bytes. Ratio 180.82%
Compression time: cpu 2.70 sec/real 145.77 sec = 2%. Speed 12.43 mB/s
All OK

Testing archive: Data.arc
Testing time: cpu 4.84 sec/real 58.16 sec = 8%. Speed 31.15 mB/s
All OK

Razor12911
08-12-2018, 15:42
CharTextures_XPACK_.tfc 1.68 GB >oo2core4 > 3.01 GB


Creating archive: Data.arc using oo2reck
Compressed 1 file, 1,811,671,405 => 3,275,784,960 bytes. Ratio 180.82%
Compression time: cpu 1.77 sec/real 88.45 sec = 2%. Speed 20.48 mB/s
All OK

Testing archive: Data.arc
Testing time: cpu 3.42 sec/real 55.96 sec = 6%. Speed 32.37 mB/s
All OK
======================================

Creating archive: Data.arc using oo2recm
Compressed 1 file, 1,811,671,405 => 1,811,704,170 bytes. Ratio 100.00%
Compression time: cpu 1.73 sec/real 37.30 sec = 5%. Speed 48.57 mB/s
All OK

======================================

Creating archive: Data.arc using oo2recs
Compressed 1 file, 1,811,671,405 => 1,811,671,841 bytes. Ratio 100.00%
Compression time: cpu 1.70 sec/real 36.26 sec = 5%. Speed 49.96 mB/s
All OK

======================================

Creating archive: Data.arc using oo2reck+oo2recs
Memory for compression 0b, decompression 0b, cache 0b
Compressed 1 file, 1,811,671,405 => 3,275,785,748 bytes. Ratio 180.82%
Compression time: cpu 2.70 sec/real 145.77 sec = 2%. Speed 12.43 mB/s
All OK

Testing archive: Data.arc
Testing time: cpu 4.84 sec/real 58.16 sec = 8%. Speed 31.15 mB/s
All OK


Most games use kraken so there is no need to pair it up with Selkie/Mermaid, in any case the scanner should help you pick

Windows Server 2016, intel i7-8700, 64GB ram, 2 SSD 500GB NVME

Can you try that input on Windows 10 please, there is something I need to confirm

L0v3craft
08-12-2018, 15:52
Can you try that input on Windows 10 please, there is something I need to confirm

Ok i can't understand how f*** is possible but...

On my computer where i have Windows Server 2016:

using oo2reck+oo2recs on the file game0.arc from Just Cause 4:

846MB -> 910MB

using the same tools but on my old pc with windows 10, intel core 2 duo quad, 8GB ram, HDD:

846MB -> 2.33GB

:confused:

Simorq
08-12-2018, 15:53
Patch_01.arch06 406 MB > oo2core_5 > 1.11 GB

Creating archive: Data.arc using oo2reck
Compressed 1 file, 426,161,268 => 1,199,330,430 bytes. Ratio 281.43%
Compression time: cpu 0.63 sec/real 126.85 sec = 0%. Speed 3.36 mB/s
All OK

Testing archive: Data.arc
Testing time: cpu 0.56 sec/real 67.65 sec = 1%. Speed 6.30 mB/s
All OK

Razor12911
08-12-2018, 15:57
Ok i can't understand how f*** is possible but...

On my computer where i have Windows Server 2016:

using oo2reck+oo2recs on the file game0.arc from Just Cause 4:

846MB -> 910MB

using the same tools but on my old pc with windows 10, intel core 2 duo quad, 8GB ram, HDD:

846MB -> 2.33GB

:confused:
It indeed is confusing but it seems to only work properly on Windows 10 :(

L0v3craft
08-12-2018, 16:02
It indeed is confusing but it seems to only work properly on Windows 10 :(

I tested also "oo2recm" now on this old pc and works perfectly, so you are correct, doesn't work at all on windows server 2016.

KaktoR
08-12-2018, 16:32
Only one oodle library near compressor at the same time, right?

Could someone send me o5 + o6 libraries please? Thanks!

KaktoR
08-12-2018, 16:51
AC Odyssey
DataPC.forge

Use Mermaid!

FreeArc 0.67 (March 15 2014) creating archive: data.arc
Compressed 1 file, 237,207,552 => 524,324,487 bytes. Ratio 221.04%
Compression time: cpu 0.36 sec/real 113.94 sec = 0%. Speed 2.08 mB/s
All OK

---

FreeArc 0.67 (March 15 2014) extracting archive: data.arc
Extracted 1 file, 524,324,487 => 237,207,552 bytes. Ratio 221.04%
Extraction time: cpu 0.23 sec/real 59.42 sec = 0%. Speed 3.99 mB/s
All OK

ShivShubh
08-12-2018, 23:02
Only one oodle library near compressor at the same time, right?

Could someone send me o5 + o6 libraries please? Thanks!

Yes its better to only have the required oo2core dll near the compressor or else you may face crashes or incomplete precompression. I have attached a zip file containing oo2core4-7.

Toximan69
09-12-2018, 00:31
I don't no, but I'll tried to pack game0.arc 846 MB, like L0v3craft

using oo2reck+oo2recs on the file game0.arc from Just Cause 4:
========================================
FreeArc 0.67 (March 15 2014) creating archive: data.arc
Compressed 1 file, 887,443,456 => 955,165,272 bytes. Ratio 107.63%
Compression time: cpu 1.00 sec/real 41.61 sec = 2%. Speed 21.33 mB/s
All OK

It turns out only 846=>910 MB
My PC:
Core i7-4720HQ 2.6 GHz, 16 GB RAM, Windows 10. P.S. On Windows 7 same 846=>910 MB

I don't understand how L0v3craft did 2.33GB

felice2011
09-12-2018, 01:00
Good job Zee, you should enter some options for the choice of CPU threads for different hardware systems.

L0v3craft
09-12-2018, 03:21
I don't no, but I'll tried to pack game0.arc 846 MB, like L0v3craft

using oo2reck+oo2recs on the file game0.arc from Just Cause 4:
========================================
FreeArc 0.67 (March 15 2014) creating archive: data.arc
Compressed 1 file, 887,443,456 => 955,165,272 bytes. Ratio 107.63%
Compression time: cpu 1.00 sec/real 41.61 sec = 2%. Speed 21.33 mB/s
All OK

It turns out only 846=>910 MB
My PC:
Core i7-4720HQ 2.6 GHz, 16 GB RAM, Windows 10. P.S. On Windows 7 same 846=>910 MB

I don't understand how L0v3craft did 2.33GB

Same thing here on windows server 2016. If i run the tools on my old pc with windows 10 looks like the tools from razor are able to detect many more streams in the files, that is strange. Ok maybe it is not a problem of O.S. version but it is dependant from another thing, i don't know.

doofoo24
09-12-2018, 05:34
testing on AC Odyssey forge files 43.3gb inflate to 78730mb > srep+lolz 20gb
seems to me others that used afr get better result.
i need test with afr to be sure...
cpu usage like zig zag it took around 43min on I7 8700K at 4.7gb...

Razor12911
09-12-2018, 05:47
Update available

Changes

- Fixed compatibility issues... hopefully, give big thanks to ShivShubh and FitGirl for helping and community for tests

doofoo24
09-12-2018, 05:49
also work on monster world hunter inflate from 19.9gb to 34.4gb but i got blue sreen in the middle of lolz :eek:
my ssd nvme evo die after 378tbw :mad:

FitGirl
09-12-2018, 05:59
my ssd nvme evo die after 378tbw :mad:
That's why you should never make your repacks on SSDs.

PsYcHo_RaGE
09-12-2018, 06:03
That's why you should never make your repacks on SSDs.

what do you recommend then, i know ssd's are bit fast when we use em to compress files but same "Dead"!

FitGirl
09-12-2018, 06:05
Always use HDDs for that, they have no write limits. In example, 378 TB of writes I exceed in a couple of weeks. Imagine I'd done it on SSD. SSDs are for OS or for rare read files. Never use them for frequent writes.

PsYcHo_RaGE
09-12-2018, 06:10
Always use HDDs for that, they have no write limits. In example, 378 TB of writes I exceen in a couple of weeks. Imagine I'd done it on SSD. SSDs are for OS or for rare read files. Never use them for frequent writes.

so basically, SSD's don't support frequent writing of the data.....
now my question is what should be the recommended speed of an HDD....i mean they differ in range of speeds and quality....that matters a bit

KaktoR
09-12-2018, 06:12
7200 rpm obviously

PsYcHo_RaGE
09-12-2018, 06:15
7200 rpm obviously

hmmm, well yeah.....what about the cpu's? i have seen and tested on many of em but still some suggestions?

KaktoR
09-12-2018, 06:17
The more threads the better.

L0v3craft
09-12-2018, 06:33
Update available

Changes

- Fixed compatibility issues... hopefully, give big thanks to ShivShubh and FitGirl for helping and community for tests

I can confirm now everything works on windows server 2016 too :D

Thank you Razor ! ;)

danswano
09-12-2018, 11:10
Thanks Razor for the amazing effort and the tools you provide us for free.

I have a question
Is there a general list of games that uses oodle compression?

ZAZA4EVER
09-12-2018, 11:30
Thanks razor for your work .. you are always the best
But tool don't work on Windows server 2012 on jc4 not get ratio such as other test members
Windows Server 2012 R2
Cpu intel xeon E3-1230 V3 3.3Ghz 4Core
Ram 32Gb

FitGirl
09-12-2018, 19:51
Thanks razor for your work .. you are always the best
But tool don't work on Windows server 2012 on jc4 not get ratio such as other test members
Windows Server 2012 R2
Cpu intel xeon E3-1230 V3 3.3Ghz 4Core
Ram 32Gb

What files do you have in the folder with .exes?

Razor12911
09-12-2018, 20:17
Thanks Razor for the amazing effort and the tools you provide us for free.

I have a question
Is there a general list of games that uses oodle compression?

pretty much all games that have oo2core_#_win64.dll located in their binaries, with the exception of the ones that have encryption or have special cases where certain options of oodle have been used, e.g. The Crew 2

ZAZA4EVER
09-12-2018, 20:29
What files do you have in the folder with .exes?

Show this

FitGirl
09-12-2018, 20:58
Show this
Of course it won't work, you're using old Oodle DLL, while for JC4 you need 2.7 libary, with 7 in filename.

masen485
09-12-2018, 21:08
You need 2.7 Libary for JC4, 7 in filename.
how do I know how to find it

Razor12911
09-12-2018, 21:44
You need 2.7 Libary for JC4, 7 in filename.
how do I know how to find it

23562

Update available

Changes

- Fixed compatibility issues thanks to FitGirl and ZAZA4EVER

ZAZA4EVER
09-12-2018, 22:59
Of course it won't work, you're using old Oodle DLL, while for JC4 you need 2.7 libary, with 7 in filename.

I used it really but i make try to rename dll 7 to dll 4 don't work also ... Now razor fixed it ... Thanks Fitgirl for your replay and interest and thanks razor

KaktoR
10-12-2018, 00:48
Comparison OodleRec / XTool / AFR on AC:Odyssey

Maybe someone might find this usefull :D

OodleRec (:oo2recm)
Compressed 1 file, 237,207,552 => 524,324,487 bytes. Ratio 221.04%
Compression time: cpu 0.42 sec/real 109.59 sec = 0%. Speed 2.16 mB/s
All OK

Extracted 1 file, 524,324,487 => 237,207,552 bytes. Ratio 221.04%
Extraction time: cpu 0.11 sec/real 55.58 sec = 0%. Speed 4.27 mB/s
All OK

XTool (:oodle)
Compressed 1 file, 237,207,552 => 549,764,841 bytes. Ratio 231.77%
Compression time: cpu 0.44 sec/real 77.49 sec = 1%. Speed 3.06 mB/s
All OK

Extracted 1 file, 549,764,841 => 237,207,552 bytes. Ratio 231.77%
Extraction time: cpu 0.02 sec/real 72.84 sec = 0%. Speed 3.26 mB/s
All OK

AFR (:a2)
Compressed 1 file, 237,207,552 => 549,824,267 bytes. Ratio 231.79%
Compression time: cpu 0.25 sec/real 18.38 sec = 1%. Speed 12.91 mB/s
All OK

Extracted 1 file, 549,824,267 => 237,207,552 bytes. Ratio 231.79%
Extraction time: cpu 0.75 sec/real 75.10 sec = 1%. Speed 3.16 mB/s
All OK

Razor12911
10-12-2018, 00:58
Comparison OodleRec / XTool / AFR on AC:Odyssey

Maybe someone might find this usefull :D

OodleRec (:oo2recm)
Compressed 1 file, 237,207,552 => 524,324,487 bytes. Ratio 221.04%
Compression time: cpu 0.42 sec/real 109.59 sec = 0%. Speed 2.16 mB/s
All OK

Extracted 1 file, 524,324,487 => 237,207,552 bytes. Ratio 221.04%
Extraction time: cpu 0.11 sec/real 55.58 sec = 0%. Speed 4.27 mB/s
All OK

XTool (:oodle)
Compressed 1 file, 237,207,552 => 549,764,841 bytes. Ratio 231.77%
Compression time: cpu 0.44 sec/real 77.49 sec = 1%. Speed 3.06 mB/s
All OK

Extracted 1 file, 549,764,841 => 237,207,552 bytes. Ratio 231.77%
Extraction time: cpu 0.02 sec/real 72.84 sec = 0%. Speed 3.26 mB/s
All OK

AFR (:a2)
Compressed 1 file, 237,207,552 => 549,824,267 bytes. Ratio 231.79%
Compression time: cpu 0.25 sec/real 18.38 sec = 1%. Speed 12.91 mB/s
All OK

Extracted 1 file, 549,824,267 => 237,207,552 bytes. Ratio 231.79%
Extraction time: cpu 0.75 sec/real 75.10 sec = 1%. Speed 3.16 mB/s
All OK

my disastrous tools :D

KaktoR
10-12-2018, 01:36
my disastrous tools :D

Your tools are very good, except for the big input bug with xtool :rolleyes::D

KaktoR
13-12-2018, 02:34
Comparison OodleRec / ZTool on Middle-Earth: SoWDE

OodleRec (:oo2reck)
FreeArc 0.67 (March 15 2014) creating archive: data.arc
Compressed 1 file, 226,510,453 => 363,019,148 bytes. Ratio 160.27%
Compression time: cpu 0.39 sec/real 59.14 sec = 1%. Speed 3.83 mB/s
All OK

FreeArc 0.67 (March 15 2014) extracting archive: data.arc
Extracted 1 file, 363,019,148 => 226,510,453 bytes. Ratio 160.27%
Extraction time: cpu 0.16 sec/real 28.99 sec = 1%. Speed 7.81 mB/s
All OK

ZTool (:t100p)
FreeArc 0.67 (March 15 2014) creating archive: data.arc
Compressed 1 file, 226,510,453 => 347,237,273 bytes. Ratio 153.30%
Compression time: cpu 0.28 sec/real 48.97 sec = 1%. Speed 4.63 mB/s
All OK

FreeArc 0.67 (March 15 2014) extracting archive: data.arc
Extracted 1 file, 347,237,273 => 226,510,453 bytes. Ratio 153.30%
Extraction time: cpu 0.27 sec/real 37.43 sec = 1%. Speed 6.05 mB/s
All OK

yasitha
31-12-2018, 04:55
Anyone know how long it will take to available Oodle Hydra and Leviathan? Separately like Kraken, mermaid?

ShivShubh
01-01-2019, 01:13
Anyone know how long it will take to available Oodle Hydra and Leviathan? Separately like Kraken, mermaid?

Hydra and Leviathan ? Maybe when there are games using that codec

yasitha
01-01-2019, 02:21
Hydra and Leviathan ? Maybe when there are games using that codec

Oodle checker detect [2]
That Means (Mermaid/Selkie/Hydra)
so we need to use all of them right?
and
[1] Mean Kraken/Hydra

correct me if I'm wrong.
Thanks :)

ShivShubh
03-01-2019, 05:49
Oodle checker detect [2]
That Means (Mermaid/Selkie/Hydra)
so we need to use all of them right?
and
[1] Mean Kraken/Hydra

correct me if I'm wrong.
Thanks :)

[2] means the codec could be either Mermaid or Selkie or Hydra, not necessarly all of them. And right now, only Mermaid and Selkie have been found in games so you don't need Hydra at the moment although it would be cool if Razor adds the functionality for all codecs but then again for that you need testing, and for that you need a game that uses the specific codec.

yasitha
03-01-2019, 06:00
[2] means the codec could be either Mermaid or Selkie or Hydra, not necessarly all of them. And right now, only Mermaid and Selkie have been found in games so you don't need Hydra at the moment although it would be cool if Razor adds the functionality for all codecs but then again for that you need testing, and for that you need a game that uses the specific codec.

Oo i see...
Thanks for the explanation bro,
I really appreciated :)

darkwolves
05-01-2019, 07:30
is this thing faster than poodle?

yasitha
05-01-2019, 07:35
is this thing faster than poodle?

I never use poodle but, i have use oodle on AC Origins
With oodle 8 x DVD5 17 hours compression
Without Oodle 9 x DVD5 5 hours compression

With oodle decompressing take longer and CPU Hits 100% i think oodle is very slow...

Oodle took 6 hours to finish precompressing,
As far as i remember..

Specs
I 7 7800K
DDR4 8GB x 4 =32GB RAM
2TB HDD

Simorq
05-01-2019, 13:50
I never use poodle but, i have use oodle on AC Origins
With oodle 8 x DVD5 17 hours compression
Without Oodle 9 x DVD5 5 hours compression

With oodle decompressing take longer and CPU Hits 100% i think oodle is very slow...

Oodle took 6 hours to finish precompressing,
As far as i remember..

Specs
I 7 7800K
DDR4 8GB x 4 =32GB RAM
2TB HDD

Time decompressing?
1 lang?

darkwolves
05-01-2019, 14:57
i've been tinkering with this on wwe 2k19 apon scanning it comes up as 1 kraken/hydra i have used
all the commands i started with one at a time and combined them first two at a time then all 3
there was no effect on precompressing

yasitha
06-01-2019, 00:20
Time decompressing?
1 lang?

I used mermaid only,
With oodle 2h 42m for Decompressing.
Language English Only.

without oodle 55m for decompressing.

With oodle i think 1.51.0 Gold Edition can go up to 7DVD
with strong LOLZ setting and it will take 24hs or more for sure.

To me that's not worth it,
so that's why i go with none oodle, with 9 DVDs,
that's good enough for me :)

yasitha
06-01-2019, 00:34
i've been tinkering with this on wwe 2k19 apon scanning it comes up as 1 kraken/hydra i have used
all the commands i started with one at a time and combined them first two at a time then all 3
there was no effect on precompressing

If scan show you [1] Kraken/Hydra
then don't use others (Mermaid or selkie)
on that file.cause it useless, they do nothing but slow the processing..

I don't have that game,
so i can't tell you exactly
what inside that game...

But you can find out, EASY...
go to the installed folder then go to first folder check with oodle scaner,
random file names.. Like 3 of them if they all show you [1] then come back go to next folder do the same for all different folder if any folder has [2]
then it has mermaid, selkie too.

AC Origins has Mermaid and Selkie too.

Just Cause 4 has all 3 of them
2 of them on game files.
Other one in HD Textures files.

You don't have to do testing to find out what inside,
Just scan the files with oodle scanner.

if you want to do testing with oodle,
use files like under 200mb
It will save your time...

before you do that,
Make sure, you copy paste the oodle dll file to your compressor.
Paste the dll file near to oodle exe.

Example
*oo2core_4_win64.dll*

otherwise it will do nothing.
Make sure you copy the right dll file
and delete all others dll like
oo2core_7_win64.dll /oo2core_6_win64.dll

Simorq
06-01-2019, 02:00
I used mermaid only,
With oodle 2h 42m for Decompressing.
Language English Only.

without oodle 55m for decompressing.

With oodle i think 1.51.0 Gold Edition can go up to 7DVD
with strong LOLZ setting and it will take 24hs or more for sure.

To me that's not worth it,
so that's why i go with none oodle, with 9 DVDs,
that's good enough for me :)

Oo2recm+srep:m3f:l512+lolz:d128m:mtt0:mtb64m:mt8:m c4+diskspan:1430mb:1476mb
68.7 GB > 138 GB > 67 GB > 29.8gb or mc128 28.9 GB = 7xDVD5

yasitha
06-01-2019, 02:01
Oo2recm+srep:m3f:l512+lolz:d128m:mtt0:mtb64m:mt8:m c4+diskspan:1430mb:1476mb
68.7 GB > 138 GB > 67 GB > 29.8gb = 7xDVD5

How long for compression?

Simorq
06-01-2019, 02:03
How long for compression?

13h
mc128 18h

use lolz 2.1.a.7

yasitha
06-01-2019, 02:07
13h
mc128 18h

Good!

I didn't use lolz cause i don't understand it, i mean the setting.. and it very slow... Taking too time. I hve tested some files and there's no big difference so. I use lzma.

LOLZ is good better then lzma?

Simorq
06-01-2019, 02:24
Good!

I didn't use lolz cause i don't understand it, i mean the setting.. and it very slow... Taking too time. I hve tested some files and there's no big difference so. I use lzma.

LOLZ is good better then lzma?

LOLZ is so much better.
You can use mc2 and it's very fast and it's still better than LZMA.

yasitha
06-01-2019, 03:28
LOLZ is so much better.
You can use mc2 and it's very fast and it's still better than LZMA.

Thanks then i have to Lear LOLZ Options...

I saw new version on lolz its stable or beta?

darkwolves
06-01-2019, 07:07
[QUOTE=yasitha;478451]If scan show you [1] Kraken/Hydra
then don't use others (Mermaid or selkie)
on that file.cause it useless, they do nothing but slow the processing..

i have all the dll files and have used all the commands combined and by themselves there was no effect at all i was testing it on 1gb chunks
that detected streams nothing no effect

darkwolves
06-01-2019, 07:32
okay i can confirm its working fine on injustice 2

yasitha
06-01-2019, 09:26
[QUOTE=yasitha;478451]If scan show you [1] Kraken/Hydra
then don't use others (Mermaid or selkie)
on that file.cause it useless, they do nothing but slow the processing..

i have all the dll files and have used all the commands combined and by themselves there was no effect at all i was testing it on 1gb chunks
that detected streams nothing no effect

Use the dll file from the game don't use the other dlls
cause they are not same,
You can Chek it with MD5 or kb.. You will see..

darkwolves
06-01-2019, 12:06
[QUOTE=darkwolves;478470]

Use the dll file from the game don't use the other dlls
cause they are not same,
You can Chek it with MD5 or kb.. You will see..

it is the one from the game

yasitha
08-01-2019, 16:02
Decompressing very slow on all oodle why?
Is this usual or bug, cause xtool zlib is very good it won't eat all cpu GHz and give us better speed, but oodle eat all cpu up to 100% but won't install fast...

Is it bug or usual... It takes almost 2.30h for installing on 4 core cpu...

darkwolves
09-01-2019, 17:36
succesful repack of wwe 2k19
posted the results in the game compression thread

yasitha
09-01-2019, 20:56
succesful repack of wwe 2k19
posted the results in the game compression thread

Good :)

ShivShubh
10-01-2019, 08:16
Decompressing very slow on all oodle why?
Is this usual or bug, cause xtool zlib is very good it won't eat all cpu GHz and give us better speed, but oodle eat all cpu up to 100% but won't install fast...

Is it bug or usual... It takes almost 2.30h for installing on 4 core cpu...

These questions are self-explanatory. Each compression codec is different on its own. ZLib is an old and simple codec which works rather fast on current generation machines. Oodle has different levels and codecs and the ones used on games are somewhat heavier than ZLib so it takes more hardware power to do recompression. Although new games built using Oodle should be faster than ZLib now (in terms of compression bcz decompression was always way faster anyway) because of Oodle 2.7, why ? A very good example is Just Cause 4, you will notice its significantly faster due to the usage of Oodle 2.7 so whichever game uses oo2core_7_win64.dll will probably show faster precompression with Razor's oodle tool.

yasitha
10-01-2019, 19:29
These questions are self-explanatory. Each compression codec is different on its own. ZLib is an old and simple codec which works rather fast on current generation machines. Oodle has different levels and codecs and the ones used on games are somewhat heavier than ZLib so it takes more hardware power to do recompression. Although new games built using Oodle should be faster than ZLib now (in terms of compression bcz decompression was always way faster anyway) because of Oodle 2.7, why ? A very good example is Just Cause 4, you will notice its significantly faster due to the usage of Oodle 2.7 so whichever game uses oo2core_7_win64.dll will probably show faster precompression with Razor's oodle tool.

That is very helpful..

Why did you keep that to your self.. Haha joking :D

Yes i noticed Jc4 fast..

Thanks for sharing this info.. :)

darkwolves
11-01-2019, 17:25
Decompressing very slow on all oodle why?
Is this usual or bug, cause xtool zlib is very good it won't eat all cpu GHz and give us better speed, but oodle eat all cpu up to 100% but won't install fast...

Is it bug or usual... It takes almost 2.30h for installing on 4 core cpu...

oodle and cpk especially are slower than zlib especially if compressed with lzma over lolz
lolz may take longer to compress but it unpacks much faster than lzma

yasitha
11-01-2019, 20:17
oodle and cpk especially are slower than zlib especially if compressed with lzma over lolz
lolz may take longer to compress but it unpacks much faster than lzma

Yes i have notice that too..
Now im using LOLZ....
latest version is test beta right?
when stable version come out?

I'm currently using 2.0a7 version..

FitGirl
12-01-2019, 07:49
because of Oodle 2.7, why ? A very good example is Just Cause 4, you will notice its significantly faster due to the usage of Oodle 2.7 so whichever game uses oo2core_7_win64.dll will probably show faster precompression with Razor's oodle tool.
No. Recompression speed depends on levels and compressors used by game devs. Starting with Oodle 2.6 Kraken compression with level 9 and above is about 20 times slower than Kraken@9 in Oodle 2.4-2.5. That's why games like WWE 2K19 and FIFA 19 are so slow on recompression. JC4 uses lower levels of Kraken/Mermaid, that's why it's relatively fast. But if gamedevs will continue to compess games with Kraken@9 with Oodle 2.6+, they all will install very slow, when repacked with recompression.

yasitha
12-01-2019, 08:19
No. Recompression speed depends on levels and compressors used by game devs. Starting with Oodle 2.6 Kraken compression with level 9 and above is about 20 times slower than Kraken@9 in Oodle 2.4-2.5. That's why games like WWE 2K19 and FIFA 19 are so slow on recompression. JC4 uses lower levels of Kraken/Mermaid, that's why it's relatively fast. But if gamedevs will continue to compess games with Kraken@9 with Oodle 2.6+, they all will install very slow, when repacked with recompression.

That's BAD News, hope they don't :(

Shateiel
12-01-2019, 09:07
That's BAD News, hope they don't :(

Indeed, we can play laggy games but not suffer longer installations ;)

yasitha
12-01-2019, 09:27
Indeed, we can play laggy games but not suffer longer installations ;)

Yes bro that's true...

Shateiel
12-01-2019, 09:52
Yes bro that's true...

Did you just assume my gender? :eek:

yasitha
12-01-2019, 19:18
Did you just assume my gender? :eek:

:p ;) :D

doofoo24
24-01-2019, 18:59
tested oodle on AC Origin detected less than afr:a2, after srep+lolz the same setting used on both...
the one with afr 200mb less than oodle...

darkwolves
18-05-2019, 21:07
tested on mortal kombat 11 no effect

Razor12911
19-05-2019, 15:19
tested on mortal kombat 11 no effect

lzna was used on this game, if I remember correctly, I remember making an update for xtool for this game in particular, maybe try xtool

darkwolves
19-05-2019, 18:25
@Razor12911
it also had no effect as well when i turn the game on it shows the kraken oodle thing i have used everything with oodle thusfar nothing has had an effect on it

darkwolves
19-05-2019, 18:47
i will keep trying till i find something out srep and lolz can drop the game size by like 5 to 6 gigs depending on settings alone just gotta find out exactly how to precompress

shiyamrrc
22-06-2019, 23:35
I tried to compress rage 2 with oodle using oo2reck+oo2recs. But it won't give compression ratio as Repacking groups.

When i scan game files. It shows 1 and 2 mostly.
But how can i find the 2 is mermid or selki....?

Should i need to use the dll which is inside game folder or provided with oodle tool...?

Plz explain. Thank you.

KaktoR
23-06-2019, 02:11
Yes, you have to use the dll which is inside the game folder. Copy this dll to where your oo2reck+oo2recs files are.

And make sure only 1 dll is present in this folder.

shiyamrrc
23-06-2019, 03:34
Yes, you have to use the dll which is inside the game folder. Copy this dll to where your oo2reck+oo2recs files are.

And make sure only 1 dll is present in this folder.

What is the best arc settings for srep and lolz for rage 2.

Thanks for the reply.

PsYcHo_RaGE
24-06-2019, 05:22
What is the best arc settings for srep and lolz for rage 2.

Thanks for the reply.

their is nothing like best settings, it all depends upon the how the data was created and with what? obviously!

but surely you can tinker with the settings.

shazzla
24-06-2019, 06:31
Generally

Srep l512 ,lolz d512m

Maybe 1024m is overkill. :D

nik1967
02-07-2019, 11:47
shiyamrrc,
-m=oo2reck+oo2recm+oo2recs+xtool:c32mb,t8:zlib+srep :mem512m:l2k:m5f:a16+lolz:d256:mc1023:dtb1:tt4:mtt 1:mt6:mtb256
Used here:
https://avg.club/topic-rage_2_bethesda_softworks_rus_eng_multi12_repack_o t_rg_catalyst-t=111002.html
P.S. However, these options are suitable if the system has 16 gigabytes of RAM and a 30 gigabyte swap file :)

prince55
28-07-2019, 07:33
i tested it on Wolfenstein Youngblood but no expand at all
oo2reck+oo2recs
oo2core_6_win64.dll
or
oo2core_7_win64.dll

no expand

any help appreciated

FitGirl
31-07-2019, 04:29
i tested it on Wolfenstein Youngblood but no expand at all
oo2reck+oo2recs
oo2core_6_win64.dll
or
oo2core_7_win64.dll

no expand

any help appreciated
WY uses Oodle's Leviathan compression, which is not supported by these tools.

Also it's not worth it to recompress those files. It will take 4-5 hours on 4-threads CPU and you will save only 3.5 GB.

Kraken and Leviathan got a serious performance hit while switching from 2.5 to 2.6/2.7.

Example chunk compression time for leviathan level 5:
2.5.2 - 11 sec
2.6.0/2.6.2/2.6.3 - 3 min 20 sec

So it became 18 times slower, with a final size of data a little bit smaller. In some cases it's close to lolz.

Razor12911
31-07-2019, 07:09
WY uses Oodle's Leviathan compression, which is not supported by these tools.

Also it's not worth it to recompress those files. It will take 4-5 hours on 4-threads CPU and you will save only 3.5 GB.

Kraken and Leviathan got a serious performance hit while switching from 2.5 to 2.6/2.7.

Example chunk compression time for leviathan level 5:
2.5.2 - 11 sec
2.6.0/2.6.2/2.6.3 - 3 min 20 sec

So it became 18 times slower, with a final size of data a little bit smaller. In some cases it's close to lolz.

then add more threads :)
also good to know there is something that uses leviathan, should be easy to add

FitGirl
31-07-2019, 12:20
then add more threads :)
also good to know there is something that uses leviathan, should be easy to add
Well, saving of 3.5 GB and installation of 4 hours on 4-threads PC is not something I can tolerate, and I'm very patient in terms of installation :)

As for leviathan here, devs did an update, so the unpacked size is nowhere in the chunks and leviathan doesn't return error code on a wrong size, so you can guess what can happen :)

If you still want the sample, ping me you-know-where :)

prince55
31-07-2019, 14:52
WY uses Oodle's Leviathan compression, which is not supported by these tools.

Also it's not worth it to recompress those files. It will take 4-5 hours on 4-threads CPU and you will save only 3.5 GB.

Kraken and Leviathan got a serious performance hit while switching from 2.5 to 2.6/2.7.

Example chunk compression time for leviathan level 5:
2.5.2 - 11 sec
2.6.0/2.6.2/2.6.3 - 3 min 20 sec

So it became 18 times slower, with a final size of data a little bit smaller. In some cases it's close to lolz.

First thanks for caring to reply
second 4 to 5 hours waow , i will never try that:eek:
you saved me here :)

dixen
10-09-2019, 13:31
Don't Work on The Walking Dead Definitive Edition

WDC_pc_WalkingDead305_txmesh.ttarch2

FreeArc 0.67 (March 15 2014) creating archive: data.arc
Compressed 1 file, 2,921,263,480 => 2,921,265,604 bytes. Ratio 100.00%
Compression time: cpu 3.66 sec/real 70.21 sec = 5%. Speed 41.61 mB/s
All OK

FitGirl
10-09-2019, 14:07
Don't Work on The Walking Dead Definitive Edition

WDC_pc_WalkingDead305_txmesh.ttarch2

FreeArc 0.67 (March 15 2014) creating archive: data.arc
Compressed 1 file, 2,921,263,480 => 2,921,265,604 bytes. Ratio 100.00%
Compression time: cpu 3.66 sec/real 70.21 sec = 5%. Speed 41.61 mB/s
All OK
As always, most of game files are encrypted.

dixen
10-09-2019, 21:26
As always, most of game files are encrypted.

Yes, but the decrypted file also don't decompress. It is possible the keys do not fit

FitGirl
11-09-2019, 00:30
Of course they don't fit. New game = new key.

prince55
21-10-2019, 19:33
WWE 2k20 uses oodle but the scanner doesn't find any oodle streams ?

any one tested it ?

ZAZA4EVER
22-10-2019, 02:46
I tested it with multi oodle versions ... I think game has encrypted files ... Need password

darkwolves
24-10-2019, 21:11
I tested it with multi oodle versions ... I think game has encrypted files ... Need password

it may use leviathin i am not sure the last game used kraken all others were zlib

darkwolves
24-10-2019, 23:43
it appears oodlemt 1.3 using leviathan has an effect on wwe2k20

FitGirl
26-10-2019, 09:16
it appears oodlemt 1.3 using leviathan has an effect on wwe2k20
Huh? Why do you try to use Leviathan over ENCRYPTED data, already compressed with Oodle Hydra?

darkwolves
26-10-2019, 16:42
Huh? Why do you try to use Leviathan over ENCRYPTED data, already compressed with Oodle Hydra?

same reason i mess with everything TESTING and at the time i did not know it was compressed with hydra so instead of poking at my posts like you have done in the past please leave me alone

Masquerade
20-03-2020, 12:44
Huh? Why do you try to use Leviathan over ENCRYPTED data, already compressed with Oodle Hydra?
I understand that there's no point in compressing the game since the files are encrypted? If the precomp has no overall effect.

FitGirl
20-03-2020, 14:10
Correct. Encrypted data can't be preprocessed.

Masquerade
13-06-2020, 12:34
Hello,

I have a small question regarding what to expect from Oodle rec.

I have compressed the main files of Sekiro: Shadows Die Twice using it, many thanks, however I was wondering if the files are meant to be precompressed into much larger sizes, such as how zlib precompression can make files more than 150% their original size!

Here is a snippet from my compression log:

Compressing 5 files, 12,138,901,881 bytes
Compressing Data2.bdt
Compressing Data4.bdt
Compressing Data3.bdt
Compressing Data1.bdt
Compressing Data5.bdt

Compressing 12,204,222,513 bytes with srep64

Please note I copied the oo2core_6_win64.dll from the game to my oodle folder in my compressor, and I am using the Kraken version.

My point is, the precompression hasn't seemed to make the files much larger. Does this mean there is an error with the process? I am only asking because previous to today, I have not compressed an Oodle game.

After SREP and LOLZ, the end archive is 9.6GB (from 11.3GB).

KaktoR
13-06-2020, 12:39
This game use kraken?

Edit: https://fileforums.com/showpost.php?p=480323&postcount=7 + https://fileforums.com/showpost.php?p=480321&postcount=5

Masquerade
13-06-2020, 13:02
This game use kraken?

Edit: https://fileforums.com/showpost.php?p=480323&postcount=7 + https://fileforums.com/showpost.php?p=480321&postcount=5

https://i.imgur.com/8Imx1Yi.png

If I am incorrect, I will try a different tool. I saw that panker pointed to poodle including an oo2core_4_win64.dll, will this not cause incompatibility with the oo2core_6 used in Sekiro?

I read that you recommended oo2reck on another thread: https://www.fileforums.com/showpost.php?p=480318&postcount=2

As well as another poster: https://www.fileforums.com/showpost.php?p=480344&postcount=8

KaktoR
13-06-2020, 13:07
Only because I totally forgot about ztool oodle :D

I would say just test on a single file and compare :p

Masquerade
13-06-2020, 13:13
Only because I totally forgot about ztool oodle :D

I would say just test on a single file and compare :p

Thank you, I will use ZTool. What is the purpose of oo2ext dlls? I hope they aren't required since I do not have one for version 6, only a core.

Edit: ZTool doesn't appear to have a oodle option, perhaps I am missing something?

Edit 2: I just figured out Poodle will work with different cores. I think I am sorted. Thank you again sir.

Edit 3: poodle has 100% ratio on a 516mb sample.

Edit 4: kraken has 100% ratio too.

I am slightly clueless.

Masquerade
13-06-2020, 13:42
Update: I also tried XTool Oodle but still no luck. 100% ratio every time.

KaktoR
13-06-2020, 13:46
XTool oodle is broken (still). Hopefully razor12911 sort this problem somewhere in future :p

I am download this game right now again and will test something.

Masquerade
13-06-2020, 13:57
XTool oodle is broken (still). Hopefully razor12911 sort this problem somewhere in future :p

I am download this game right now again and will test something.

I can send you sample, save you some time and bandwidth if you wish.

KaktoR
13-06-2020, 14:26
Already finished :p

KaktoR
13-06-2020, 14:34
Data2.bdt
Compressed 1 file, 387,579,088 => 717,672,363 bytes. Ratio 185.17%
Compression time: cpu 0.36 sec/real 39.50 sec = 1%. Speed 9.81 mB/s
All OK

Extracted 1 file, 717,672,363 => 387,579,088 bytes. Ratio 185.17%
Extraction time: cpu 0.23 sec/real 46.70 sec = 1%. Speed 8.30 mB/s
All OK


Arc.ini
[External compressor:zOodle,zoodle]
header = 0
packcmd = "_Compressors\zoodle\zOodle_x64" e:poodle:t75p:cm0 - - <stdin> <stdout>
unpackcmd = "_Compressors\zoodle\zOodle_x64" d:poodle:t75p:cm0 - - <stdin> <stdout>

oo2core_4_win64.dll, oo2ext_4_win64.dll

Masquerade
13-06-2020, 14:39
Data2.bdt
Compressed 1 file, 387,579,088 => 717,672,363 bytes. Ratio 185.17%
Compression time: cpu 0.36 sec/real 39.50 sec = 1%. Speed 9.81 mB/s
All OK

Extracted 1 file, 717,672,363 => 387,579,088 bytes. Ratio 185.17%
Extraction time: cpu 0.23 sec/real 46.70 sec = 1%. Speed 8.30 mB/s
All OK


Arc.ini
[External compressor:zOodle,zoodle]
header = 0
packcmd = "_Compressors\zoodle\zOodle_x64" e:poodle:t75p:cm0 - - <stdin> <stdout>
unpackcmd = "_Compressors\zoodle\zOodle_x64" d:poodle:t75p:cm0 - - <stdin> <stdout>

oo2core_4_win64.dll, oo2ext_4_win64.dll
Wow! So if it can be precompressed with core 4, why does the game include core 6 (or are they interchangeable)?

Where can I finf a copy of ZTool since my copy doesn't have an Oodle option in the list of codecs? I currently assume UltraArc will have such a copy?

KaktoR
13-06-2020, 14:43
If I remember correctly oodle codec for ztool was standalone (seperated from ztool). I think it was a leaked version. Use the files from previous linked post.

And I don't know why it won't work with the o6 library. Just use the o4 library and all is good :p

Masquerade
14-06-2020, 01:05
I went back today and did some digging, it turns out you are correct in saying that core 4 works, because I removed the core 6 from oodle rec and replaced with core + ext 4 from poodle and I got better results than poodle:

https://i.imgur.com/Qk1g1AM.png

Here they are side by side. "kraken" is oo2reck while poodle is poodle.

Tested on Data4.bdt (516mb).

Update: Precompression has worked, here is result:

https://i.imgur.com/lxQGJC5.png

panker1992
14-06-2020, 17:35
I went back today and did some digging, it turns out you are correct in saying that core 4 works, because I removed the core 6 from oodle rec and replaced with core + ext 4 from poodle and I got better results than poodle:

https://i.imgur.com/Qk1g1AM.png

Here they are side by side. "kraken" is oo2reck while poodle is poodle.

Tested on Data4.bdt (516mb).

Update: Precompression has worked, here is result:

https://i.imgur.com/lxQGJC5.png


"That" Game you talk about is my favorite game :D

I have made it 7.1GB in total patch 1.04

use my way if you want and here are the blocks if you want to go sfk style.

offset (hex)

Block 1
17f332aa to 1b898ca9

Block 2
28c02dba to 53ae4699

Block 3
55e2a35a to 59987939

Block 4
5d37301a to 622e4cf9

Block 5
647e7c6a to 66b999a9

Block 6
6acdb9ba to 754c22d9

Block 7
79eb250a to 7c00e649

Remember to pack sounds together except the language ones :D

Masquerade
15-06-2020, 01:21
Hello panker1992, I hope my mess of oodlerec hasn't offended you or your favourite game :o

I do not know what you mean by "go sfk style" - I saw in your Resident Evil 3 Remake conversion that is some kind of patching tool. I hope you don't mind if I ask which files contain which blocks?

Will this result in a CRC perfect installation (when compared with retail build)?

Thank you.

panker1992
15-06-2020, 02:11
Hello panker1992, I hope my mess of oodlerec hasn't offended you or your favourite game :o

I do not know what you mean by "go sfk style" - I saw in your Resident Evil 3 Remake conversion that is some kind of patching tool. I hope you don't mind if I ask which files contain which blocks?

Will this result in a CRC perfect installation (when compared with retail build)?

Thank you.


Let me answer your questions one by one.

Fitgirl went sfk style first and she manages to keep crc the same.
it Separates data in large archives and it makes lolz ridiculously fast and efficient. in some options it completely removes data... foreign languages you dont need.


the above blocks i removed result in all languages being removed and you get to keep what you want from folder "sound" of the game.

Data1.bdh has the entire folder named sound compressed in it, by removing the data you wont miss anything but a bad crc. you can even repatch it after to get it perfect crc match.

another example: DMC5 has a 32GB file which contains 10GB of movies and sounds.

if you sfk remove the 10GB of high entropy low compressability of stuff you will feed lolzi with pure textures and get high compressed file and very good speed.



In order to remove the data from the blocks above you need hex editor or convert them in decimal and use sfk, then zero them out and patch them back into position as shown in re3.
its only 7 blocks so use hex editor it will fast :D

Using a xdelta or zstd patch or bsdiff is a bad idea since you know what blocks to remove/inject.

Masquerade
15-06-2020, 02:39
Thank you for the explanation.

I'm following slightly, here's what I understand:

Data1.bdh contains the sound folder, so you can use sfk to remove it (effectively removing the duplicated data) then after installing you can patch the sound folder back in by using sfk again.

In order to remove the data from the blocks above you need hex editor or convert them in decimal and use sfk, then zero them out and patch them back into position as shown in re3.

So from this I gather that in the hex editor, it will show address "17f332aa" and then you go to address "1b898ca9" and replace all of the data between these 2 addresses with 0s so that it essentially becomes empty - leading to a deduplicated file with more efficient compression - yes?

its only 7 blocks so use hex editor it will fast :D

Are all of these blocks in Data1.bdh or are they scattered over the 5 data files?

Using a xdelta or zstd patch or bsdiff is a bad idea since you know what blocks to remove/inject.
So If you didn't know what parts of a file to remove and reinject, how would xdelta help? I thought xdelta can only create a patch based on an old file and a new file (by creating a patch with changed data betweeen the 2) - this part confuses me, because how will you be able to know which part of the file to remove?

I see the method would be create an xdelta patch using the modified, smaller file, and the original file then apply it after installing.

panker1992
17-06-2020, 08:47
you select the block of the data then right click fill block with zeroes :D

i think i posted a how to on the forum. and i will likely pop a video at some point but i am bad at videos!!

even if you pack the game itslef entirely it will cost you 8 GB with all languages.

bunti_o4u
11-07-2020, 11:07
then add more threads :)
also good to know there is something that uses leviathan, should be easy to add

Hi Razor
do you have any plan to add leviathan and hydra?

Razor12911
11-07-2020, 15:38
yeah but it will be part of xtool, currently busy with the project so you're gonna have to wait.

prince55
18-07-2020, 18:38
this game seems use oodle but i tested some files and there is no expand
Is it encrypted or i miss something:confused::confused:

Razor12911
18-07-2020, 18:44
It's encrypted, I took a look at it and tried to make decryption tool

prince55
19-07-2020, 03:21
It's encrypted, I took a look at it and tried to make decryption tool

will you continue to make this decryption tool ?

It will be great !

Razor12911
19-07-2020, 15:19
Lel you'd have to wait for these guys
https://forum.xentax.com/viewtopic.php?f=16&t=21829&start=45

I don't have this game, only have a few samples and I have never dealt with the encryption used in the game so wait for the people in that forum to come up with ideas and I may use their findings to make decryption tool for freearc.

prince55
20-07-2020, 00:28
Sure, we all will wait for them and you too :)
Thanks

L33THAK0R
29-05-2021, 07:42
Sorry to revive an old topic with a rather silly lot of questions, but what exactly should the arc.ini and resource folder structure look like, when attempting to use more than one of the available Oodle pre-compressors? The title I'm attempting to apply these pre-compressors too is the GOG release of "Wolfenstein II (2): The New Colossus", the Oodle stream scanner tool indicates both Oodle Mermaid & Selkie are used.

I've only ever compressed titles using the Oodle Kraken precompressor included with XTool 2020 and have never used this project before (out of both a lack of understanding and a lack of need). My arc.ini currently looks like this (https://imgur.com/a/CSTcX8q), with the string of compressors to use (Tiny Compressor), looking like this (https://imgur.com/a/YVUtUhE).

Two areas of confusion that I have is how exactly does oo2rec(k/m/s).exe know where to look for the oo2core..._win64.dll, and where should this .dll be located relative to the compressor's .exe? The current structure I have looks like this (https://imgur.com/a/4OjYB4o) (oo2core_5_win64.dll is the same .dll present in the "Wolfenstein II: The New Colossus" root directory.).

I've gone through the included arc.ini in the attached tool on this topic as well as the pack/unpack.bat files but I still can't seem to understand how to operate these tools. If anyone is willing to help me out and requires any additional information I am happy to do so. Thank you for reading through the entirety of this rather lengthy post, any help anyone can offer will be greatly appreciated!

Masquerade
29-05-2021, 07:51
Your arc.ini is incorrect.

[External compressor:oo2reck,oo2recm,oo2recs]
header = 0
packcmd = {compressor} e <stdin> <stdout>
unpackcmd = {compressor} d <stdin> <stdout>

This is the packcmd given. {compressor} translates the name of the method into the exe file used for the method.

Put the oodle core in the same folder as the oodle precompressor. It will automatically use it.

Then your method: oo2recm+oo2recs+srep+lolz

L33THAK0R
29-05-2021, 19:13
Your arc.ini is incorrect.

[External compressor:oo2reck,oo2recm,oo2recs]
header = 0
packcmd = {compressor} e <stdin> <stdout>
unpackcmd = {compressor} d <stdin> <stdout>

This is the packcmd given. {compressor} translates the name of the method into the exe file used for the method.

Put the oodle core in the same folder as the oodle precompressor. It will automatically use it.

Then your method: oo2recm+oo2recs+srep+lolz

Thank you very much for your speedy response! Unfortunately I'm still unable to compress the files of "Wolfenstein II (2): The New Colossus". My arc.ini now looks like the following (https://imgur.com/a/x6VNd23), and the folder structure for the Oodle pre-compressor tool now looks like the following (https://imgur.com/a/5aFy40v). When attempting to compress the files, however, I recieve this error (https://imgur.com/a/g6S9Z1v). The same error is received regardless of the order of the Mermaid & Selkie Oodle pre-compressors used. I'm honestly rather confused why this tool refuses to play nicely.

:( Sad8669
29-05-2021, 22:14
Brother, I have mentioned it before, that you have to use <stdin> <stdout>.

Here, for your satisfaction i have tested it on your favourite tool.

$$arcdatafile$$.tmp $$arcpackedfile$$.tmp :
FreeArc 0.67 (March 15 2014) updating archive: Data.arc
Compressing 1 file, 5,656,576 bytes. Processed 0%
Compressing 5,656,576 bytes with "Resources\OodleRec\oo2reck" e $$arcdatafile$$.tmp $$arcpackedfile$$.tmp

Errorlevel=0

ERROR: general (de)compression error in oo2reck
<stdin> <stdout> :
FreeArc 0.67 (March 15 2014) updating archive: Data.arc
Compressed 1 file, 5,656,576 => 6,925,113 bytes. Ratio 122.43%
Compression time: cpu 0.02 sec/real 1.18 sec = 1%. Speed 4.78 mB/s
All OK
Arc.ini :
[External compressor:oo2reck,oo2recs,oo2recm]
header = 0
packcmd = "Resources\OodleRec\{compressor}" e <stdin> <stdout>


Note : All test are performed using Tiny Compressor v1.4 and always use <stdin> <stdout> when using constants.

L33THAK0R
29-05-2021, 23:46
Brother, I have mentioned it before, that you have to use <stdin> <stdout>.

Ah, I assumed that <stdin> <stdout> and $$arcdatafile$$.tmp $$arcpackedfile$$.tmp could be used interchangeably, thank you for clearing this up!

Masquerade
29-05-2021, 23:58
Ah, I assumed that <stdin> <stdout> and $$arcdatafile$$.tmp $$arcpackedfile$$.tmp could be used interchangeably, thank you for clearing this up!

This is true only in some cases. E.g. XTool and SREP can either run in stdio or $$arc$$ mode. It's best not to deviate from whatever is given to you in the packing example unless you are prepared ro sit and test various methods.

L33THAK0R
30-05-2021, 01:57
This is true only in some cases. E.g. XTool and SREP can either run in stdio or $$arc$$ mode. It's best not to deviate from whatever is given to you in the packing example unless you are prepared to sit and test various methods.

I'll be sure to do this in the future! Thank you both for your very useful help!

yasitha
12-05-2022, 21:42
hey guys, where to find latest DLL files on below list?

DLLs:
oo2core_4_win64.dll
oo2core_5_win64.dll
oo2core_6_win64.dll
oo2core_7_win64.dll

elit
17-07-2022, 04:08
hey guys, where to find latest DLL files
This have all dll's v4-9:
32205

On the side note, I found it interesting that oo2reck can deal with complex unreal structure, like in upk files in XCOM2 for example, but xtool with -mue3+kraken does not. And I tried both ue3:m1 and ue3:m2.

dixen
17-07-2022, 11:23
This have all dll's v4-9:
32205

On the side note, I found it interesting that oo2reck can deal with complex unreal structure, like in upk files in XCOM2 for example, but xtool with -mue3+kraken does not. And I tried both ue3:m1 and ue3:m2.XCOM2 - only uelr worked and xtool (zlib+kraken)

elit
17-07-2022, 17:58
XCOM2 - only uelr worked and xtool (zlib+kraken)
In XCOM2, there are 2 "xcomgame" directories containing upk and tfc files: One in main dir == uelr.
The other inside xcom2-warofthechosen == oodle[kraken].
Finally, in both there are still additional DLC/day0 dirs, and those have upk's that are uncompressed but full of png's and xtool:mpng:reflate:d1 will eat those for breakfast.
Thats it. There is no "zlib+kraken" or anything like that. But my point is that without specialized plugin, xtool won't work on those oodle compressed files, but oo2reck does out of the box.

KaktoR
18-07-2022, 06:30
In XCOM2, there are 2 "xcomgame" directories containing upk and tfc files: One in main dir == uelr.
The other inside xcom2-warofthechosen == oodle[kraken].
Finally, in both there are still additional DLC/day0 dirs, and those have upk's that are uncompressed but full of png's and xtool:mpng:reflate:d1 will eat those for breakfast.
Thats it. There is no "zlib+kraken" or anything like that. But my point is that without specialized plugin, xtool won't work on those oodle compressed files, but oo2reck does out of the box.

dixen is right.

For *.upk, *.tfc you should use like this
uelr+xtool:zlib+oo2reck

With exclusion of *_XPACK*.upk and *_XPACK*.tfc
For this you can just use oo2reck

dixen
18-07-2022, 06:40
Thats it. There is no "zlib+kraken" or anything like that.Really?
https://fileforums.com/showpost.php?p=484839&postcount=1580

elit
19-07-2022, 04:23
I was testing it with lzscan, so I am fairly sure my info is correct.
Again, using all 3 together(uelr+oo2reck+xtool) can only be handy if you want to pass through whole game in 1 go and don't want to be bothered to separate. But warofthechosen does NOT use uelr and base xcomgame does NOT use oodle, and NEITHER contain any significant zlibs inside.
Only full of png's are upk's in Day0 DLC 2 dirs and for those you need -mpng method, NOT zlib. My version is the same as latest fitgirl version.

Go on and test it individually if you don't believe me. I did. My final repack is of same size as fitgirl's, minus ~5gb, because I recoded bink videos and saved about that much.

dixen
19-07-2022, 09:23
Go on and test it individually if you don't believe me.
Dude, I don't care about your problems and I'm not going to test anything, Sorry

elit
19-07-2022, 13:04
Dude, I don't care about your problems and I'm not going to test anything, Sorry
There is no "problem", I am telling you you are simply wrong. Feel free to ignore it I really couldn't care less.

ItsAtomic
28-08-2024, 08:35
Patched oo2rec# to accept oo2core_[3-9]_win64.dll oo2ext_[3-9]_win64.dll without needing to rename dll, make sure oo2core.dll is present. You can also pass -oodle parameter to specify custom dll name.