View Single Post
  #25  
Old 29-10-2022, 05:17
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 688
Thanks: 481
Thanked 2,547 Times in 561 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
@BLACKFIRE69, is it not possible to implement the "Temp" directory during compression to the same FreeArc temp directory?
it's possible, but a parent directory must be provided to search the freearc's temp folder (denoted by <FreearcTmp>) (ex: freearc15786524).

Temp = <Any_Parent_Directory>\<FreearcTmp>
* if the freearc's temp folder isn't found, it uses the lib directory (.\) as the temp directory.

Code:
-------------------------------------------------------------------------------

Pack.bat
	Command:  Arc.exe a ...

cls-mpzmt.ini
	Temp = .\<FreearcTmp> 

-------------------------------------------------------------------------------	

Pack.bat
	Command:  Arc.exe a ... -w=".\_temp1" ...

cls-mpzmt.ini
	Temp = .\_temp1\<FreearcTmp> 
	  or 
	Temp = .\<FreearcTmp>  

-------------------------------------------------------------------------------

Pack.bat
	Command:  Arc.exe a ... -w="H:\Games\Dump" ...

cls-mpzmt.ini
	Temp = H:\Games\Dump\<FreearcTmp>
	  or 
	Temp = H:\Games\<FreearcTmp> 
	  or 
	Temp = H:\<FreearcTmp>

-------------------------------------------------------------------------------

Code:
cls-mpzmt.ini

; For compression Only.
; Threads = 8.
; Indicator = 0, 1, 2
; <FreearcTmp> = Freearc's temp directory. (ex: freearc13295784)

[mpzmt]
Chunk = 64m
Threads = 8
Indicator = 1
Exe = .\include\Mpz\mpzapi.exe

;Temp = .\TEMP
;Temp = C:\Users\BLACKFIRE\Documents\RAD Studio\Projects\2010\<FreearcTmp>
Temp = .\<FreearcTmp>
Code:
Extra:

Pack.bat
	Command:  Arc.exe a ... -i2 ...

cls-mpzmt.ini
	Indicator = 2

-------------------------------------------------------------------------------
try with srep+mpzmt and you'll see how it works,

Code:
[External compressor:srep]
...
packcmd   	= srep {options} $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
...
(* srep 3.93a beta throws me decompression errors while srep 3.2 works fine.)


,
Attached Images
File Type: png 1.png (3.9 KB, 178 views)
File Type: png 2.png (2.4 KB, 178 views)
Attached Files
File Type: rar cls-mpzmt_new+Test.rar (2.32 MB, 36 views)
Reply With Quote
The Following 4 Users Say Thank You to BLACKFIRE69 For This Useful Post:
Aschenputtell (18-03-2025), Cesar82 (29-10-2022), kj911 (29-10-2022), Lord.Freddy (29-10-2022)