PDA

View Full Version : AFR - StdIO patch


Razor12911
06-02-2018, 09:25
Source of original resource:
http://krinkels.org/threads/afr-anvil-forge-recompressor.3589/

Worked on this for 3 hours, ran 1 test and it worked based on a file I received when ACO was released so if it doesn't work for everyone tough luck, got really tired after working on this, must be fatigue for not coding for a while :)

You might need to turn off AV for this to work.

Mini
06-02-2018, 10:07
thanks! work fine (test file - DataPC_ACE_Egypt.forge)

doofoo24
06-02-2018, 11:07
back from retirement ???

ravencrow
06-02-2018, 17:44
Good job Razor12911, thanks for this!

ZakirAhmad
06-02-2018, 19:02
welcome back bro.

doofoo24
07-02-2018, 05:54
no memory error in decompression, a lot better than cls-afr from Edison007...
test it on AC I, ACII, AC III, AC IV, AC UNITY, AC SYNDICATE, AC B, AC R, AC L...
decompress without any error so far...

-NORO-
07-02-2018, 07:33
no memory error in decompression, a lot better than cls-afr from Edison007...
test it on AC I, ACII, AC III, AC IV, AC UNITY, AC SYNDICATE, AC B, AC R, AC L...
decompress without any error so far...

You tested all games in one day ? hmmmm

doofoo24
07-02-2018, 07:41
You tested all games in one day ? hmmmm

i already compressed the game's with old afr but in decompression i had a lot of problem with cls-afr so i just replaced cls-afr with the one from razor...
afrpatch.dll
afr.exe
arc.ini with the setting
[External compressor:afr]
header = 0
unpackcmd = afr.exe d #in #out <stdin> <stdout>

Edit : to cancel setup you need to kill afr.exe using taskkill.exe

dixen
07-02-2018, 22:44
no memory error in decompression, a lot better than cls-afr from Edison007...
test it on AC I, ACII, AC III, AC IV, AC UNITY, AC SYNDICATE, AC B, AC R, AC L...
decompress without any error so far...

What about install time AC O?

doofoo24
08-02-2018, 01:55
will it depend on hdd/sdd & depend on srep setting in decompression the more memory used the less temp file being created thus less time to install...
i did quick test using afr on forge file
size 47.9 to 100gb with srep+4x4:lzma you will get 24.2gb using lolz will help improve compression ratio...

ZakirAhmad
08-02-2018, 02:25
will it depend on hdd/sdd & depend on srep setting in decompression the more memory used the less temp file being created thus less time to install...
i did quick test using afr on forge file
size 47.9 to 100gb with srep+4x4:lzma you will get 24.2gb using lolz will help improve compression ratio...

on ur system, what time ur compressed ACO is taking to install.

doofoo24
08-02-2018, 02:35
when you have 16 core cpu with ssd nvme raid 0 THING MOVE FAST

Sebazz
08-02-2018, 12:57
For taskkill, add this:

Exec(ExpandConstant('{sys}\taskkill.exe'), ' /F /IM afr.exe', '', SW_HIDE, ewWaitUntilTerminated, ResultCode);

danswano
09-02-2018, 14:30
What are the best parameters of lolz to use with afr in ACO to get the best compression ratio while maintaining a good speed?

shazzla
11-02-2018, 00:10
For me lolz:d512m:mt2 decompresses @ ~70-90 MB/s with 1.1 gb RAM usage. Many times far better than LZMA2 1 GB.
Compression requires ~10 GB RAM. (i5-6600)

mikey26
11-02-2018, 13:33
when you have 16 core cpu with ssd nvme raid 0 THING MOVE FAST

Dont mess up your nvme drives for conversions.rather get those Seagate Firecuda drives.If you want ssd speeds which is good use Kingston KC400 drives the can be written too over 8 times more than most nvme drives like the Samsung 960 evo.

I use the KC400 drives in clients Server in raid and been working Great for large Data writes and are fast.:D

ZakirAhmad
08-03-2018, 10:14
how can we set threads in afrv20