FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   CLS library Collection and ISDone (https://fileforums.com/showthread.php?t=103345)

-tara 22-08-2022 11:13

Thanks for the cls's, when using precompmt everything seems to work fine exept for a little issue im having, when i set the temp location as "{app}" and run the installer, instead of using the install location as temp, it creates a folder labled "{app}" next to itself, i don't know a lot about how cls's work so im not sure if this is an issue in the cls itself or innosetup, however using a cls for srep and lolz, "{app}" as a temp location works as intended, is there a fix/bypass to this? I hope i explained myself clearly, sorry for poor english

Masquerade 22-08-2022 12:01

Quote:

Originally Posted by -tara (Post 498049)
Thanks for the cls's, when using precompmt everything seems to work fine exept for a little issue im having, when i set the temp location as "{app}" and run the installer, instead of using the install location as temp, it creates a folder labled "{app}" next to itself, i don't know a lot about how cls's work so im not sure if this is an issue in the cls itself or innosetup, however using a cls for srep and lolz, "{app}" as a temp location works as intended, is there a fix/bypass to this? I hope i explained myself clearly, sorry for poor english

Put this in your innoscript after extracting cls.ini:

Code:

SetIniString('precompmt', 'Temp', ExpandConstant('{app}'), ExpandConstant('{tmp}\CLS.ini'));

-tara 22-08-2022 12:13

Quote:

Originally Posted by Masquerade (Post 498050)
Put this in your innoscript after extracting cls.ini:

Code:

SetIniString('precompmt', 'Temp', ExpandConstant('{app}'), ExpandConstant('{tmp}\CLS.ini'));

Worked perfectly, thanks!

Masquerade 13-09-2022 15:09

Hi BLACKFIRE69

I am experiencing an unfortunate problem with CLS-MPZMT where it gets stuck extracting data:

https://cdn.discordapp.com/attachmen...10/unknown.png

Please may you investigate this bug?

Thanks

BLACKFIRE69 13-09-2022 18:49

1 Attachment(s)
Quote:

Originally Posted by Masquerade (Post 498305)
Hi BLACKFIRE69

I am experiencing an unfortunate problem with CLS-MPZMT where it gets stuck extracting data:

https://cdn.discordapp.com/attachmen...10/unknown.png

Please may you investigate this bug?

Thanks


stdio mode is disabled in cls-mpzmt, so this might work.

(note: you must run the compression again with the new lib before extracting.)

,

Masquerade 14-09-2022 02:32

Quote:

Originally Posted by BLACKFIRE69 (Post 498307)
stdio mode is disabled in cls-mpzmt, so this might work.

(note: you must run the compression again with the new lib before extracting.)

,

Thanks, but now I get unarc -2 with this version of the cls. As per the previous page, verbose is set to 0 in cls.ini but this does not fix the issue.

Masquerade 24-10-2022 02:43

@BLACKFIRE69
Please may you fix cls-mpzmt -2 error? Thanks.

BLACKFIRE69 24-10-2022 07:52

4 Attachment(s)
Quote:

Originally Posted by Masquerade (Post 498850)
@BLACKFIRE69
Please may you fix cls-mpzmt -2 error? Thanks.

sorry i completely forgot about this.
btw, this version of cls-mpzmt.dll is different from others. configs should be as follows.

Code:

cls-mpzmt.ini

; For compression Only.
; Threads = 8.


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

* threads don't support percentages (100%, 100p).

Code:

cls.ini

; For decompression Only.
; MaxThreads = 8 (# of threads used for compression).


[mpzmt]
MaxThreads = 8
Exe = .\mpzapi.exe
Temp = .\TEMP

* MaxThreads = <# of threads used in compression>
(don't worry about how many threads the user has)
.

,

Cesar82 26-10-2022 19:15

@BLACKFIRE69, is it not possible to implement the "Temp" directory during compression to the same FreeArc temp directory?

BLACKFIRE69 29-10-2022 05:17

3 Attachment(s)
Quote:

Originally Posted by Cesar82 (Post 498876)
@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.)


,

dixen 01-03-2023 08:50

Hi)
BPKMT like Xtool plugin - it possible?)

Masquerade 01-03-2023 12:35

Quote:

Originally Posted by dixen (Post 500339)
Hi)
BPKMT like Xtool plugin - it possible?)

https://www.fileforums.com/showpost....2&postcount=11

This is why you need the XTool plugin - XTool recognises the full file.


All times are GMT -7. The time now is 17:30.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com