PDA

View Full Version : razor stdio patched


Razor12911
20-01-2020, 01:39
Usable with Freearc

The patch is based on 1.01 (2017-09-14).

Data input from non patched razor will not work, it has to be compressed using this patched version in order for decompression to work (output is modified to allow stdio)

I did this patch more than 2 years ago but only decided to post it now.

Someone made a better patch (https://fileforums.com/showpost.php?p=510090&postcount=175), use it instead!

shazzla
20-01-2020, 04:40
Damn.
Razor crashed @100%.

$ arc a -mxprecomp128+rz:1023m e:\X128-RZ1023.arc "d:\1.dat"
FreeArc 0.67 (March 15 2014) creating archive: e:\X128-RZ1023.arc
Compressing 1 file, 654,726,756 bytes. Processed 100%
ERROR: general (de)compression error in rz:1023m

Simorq
20-01-2020, 04:43
Damn.
Razor crashed @100%.

$ arc a -mxprecomp128+rz:1023m e:\X128-RZ1023.arc "d:\1.dat"
FreeArc 0.67 (March 15 2014) creating archive: e:\X128-RZ1023.arc
Compressing 1 file, 654,726,756 bytes. Processed 100%
ERROR: general (de)compression error in rz:1023m

1023m:confused:
test 128m or 256m

shazzla
20-01-2020, 04:47
1023m. yes. whats the matter with that value ?

1023m worked everytime with non patched version of rz.

ShivShubh
20-01-2020, 05:19
1023m. yes. whats the matter with that value ?

1023m worked everytime with non patched version of rz.

Memory can quite possibly cause crashes here and there so its always better to test a lower memory option and see if that works. I would suggest trying 256M first.

shazzla
20-01-2020, 05:21
I have 16 Gigs of RAM. (14 gigs free)
Crashes with 256m ,too.
Testfile is a ~700 MB file.

(W7 SP1)

Now testing V1.03.7,modified version. Maybe its a bug in 1.01 ?!

Simorq
20-01-2020, 05:28
@shazzla
Test with the latest version.
and add first line arc.ini
--cache=0

shazzla
20-01-2020, 05:51
@Simorq :

arc.ini
--cache=0
[External compressor:razor]
header = 0
packcmd = razor a -y -d {option} $stdio$ <stdin> <stdout>
unpackcmd = razor e -y $stdio$ <stdin> <stdout>

$ arc.exe a -ep1 -r -ed -s; -mrazor:256m 1.arc "d:\1\*.exe"
FreeArc 0.67 (March 15 2014) creating archive: 1.arc
Compressing 4 files, 54,373,496 bytes. Processed 100%
ERROR: general (de)compression error in razor:256m

Edit :
Crashes all available patched versions ,no matter what file and parameters were used.
Did a system reboot ,too.

78372
20-01-2020, 06:46
Check your system drive space.

You can also try PMT.

[razor]
Encode = razor a -y -d 128m $stdio$ <stdin> <stdout>
Decode = razor e -y $stdio$ <stdin> <stdout>

shazzla
20-01-2020, 06:55
@78372 :

Crashes.
More than required free space available on every HDD. (3*80 GB)

Am i the only one with this crashes ?!

Razor12911
20-01-2020, 08:06
Works for me, I gave this tool to Panker1992 two years ago and he never had issues so I don't know :confused:

FreeArc 0.67 (March 15 2014) creating archive: data.arc
Compressed 1 file, 38,190,868 => 6,800,812 bytes. Ratio 17.81%
Compression time: cpu 0.06 sec/real 43.04 sec = 0%. Speed 0.89 mB/s

Extracted 1 file, 6,800,812 => 38,190,868 bytes. Ratio 17.81%
Extraction time: cpu 0.11 sec/real 0.55 sec = 20%. Speed 68.97 mB/s

Maybe check AV, it could be preventing razor.dll from hooking some functions in razor.exe.

shazzla
20-01-2020, 08:50
AV disabled.

Problem signature:
Problem Event Name: APPCRASH
Application Name: razor.exe
Application Version: 0.0.0.0
Application Timestamp: 59ba6a0a
Fault Module Name: razor.dll
Fault Module Version: 1.0.0.0
Fault Module Timestamp: 5a188c32
Exception Code: c0000005
Exception Offset: 000000000014fed4
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1033
Additional Information 1: cf07
Additional Information 2: cf072c19039020824ba892d37e39003d
Additional Information 3: 6e0c
Additional Information 4: 6e0c98f159c080fd5acc5452a33209f9


Dont know what causes the crash.
BTW thank you very much !

78372
20-01-2020, 08:52
Example with PMT.
Use half of your threads as razor already uses 2 threads by default.

shazzla
20-01-2020, 09:24
Unbelievable !
With PMT it works fine and fast as hell !
Many thanks 78372 !!!!!

shazzla
21-01-2020, 03:23
...Just found what caused the error :
I use 3rd party console application,called ConEmu.... ConEmuHK.dll injection was the problem. (From cmd.exe the posted Razor works fine !)

Thanks for the help ,guys !

BLACKFIRE69
21-01-2020, 14:19
Damn.
Razor crashed @100%.

$ arc a -mxprecomp128+rz:1023m e:\X128-RZ1023.arc "d:\1.dat"
FreeArc 0.67 (March 15 2014) creating archive: e:\X128-RZ1023.arc
Compressing 1 file, 654,726,756 bytes. Processed 100%
ERROR: general (de)compression error in rz:1023m

try with 128m

doofoo24
21-01-2020, 15:47
try with 128m


...Just found what caused the error :
I use 3rd party console application,called ConEmu.... ConEmuHK.dll injection was the problem. (From cmd.exe the posted Razor works fine !)

Thanks for the help ,guys !

:)

Razor12911
11-06-2026, 03:49
Someone made a better patch (https://fileforums.com/showpost.php?p=510090&postcount=175), use it instead!