FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Universal CLS Generator (https://fileforums.com/showthread.php?t=99918)

78372 17-12-2017 02:22

Universal CLS Generator
 
5 Attachment(s)
Universal CLS Generator

Greetings everyone, here is an advance Christmas gift for you

Universal CLS Generator

Before using, grab some brains, read this tutorial and go.

Tutorial

1. Set a cls name. The name will be used for section name in cls.ini

2. Set a temporary directory name

3. Write encode command line

4. Write decode command line

5. Write input file name(output filename in decode)

6. Write output file name(input filename in decode)

Remember to use these input and output file names in encode and decode cmds

7. Write the name of exe to execute

8. Write chunksize in mb, remember that whether it is static or take from ini, you need to assign a value. For ini, the structure is like this:

[CLSNAME]
Chunk=

The ini file is cls.ini

9. Generate. The file name will be cls-*.dll

Thanks to unarc125 for his design and Razor12911 for resupdate unit

A real world example is given on the picture

Enjoy!




CLS Generator MT beta(test) version uploaded.

To make a cls, just drag and drop the script on generate.exe.

See the uclsgmt.txt for an example.


CLS Generator MT beta 2 uploaded
- Some bugs were fixed

CLS Generator MT beta 3 uploaded
- (De)Compression freeze fixed
- Custom Threads available now. Set Threads to 0 to use defaultthreads or 1 to take threadcount from an ini file.

Jiva newstone 17-12-2017 02:24

Thanks for that !

Jiva newstone 17-12-2017 03:09

Is there any src for this , because want to run cls depend on x64 and x86 , eg if 64bit then srep64 else srep32

78372 17-12-2017 03:38

Quote:

Originally Posted by JIvisPC (Post 464915)
Is there any src for this , because want to run cls depend on x64 and x86 , eg if 64bit then srep64 else srep32

Source code is a bit of messed up now, can't release now so, will reorganize code and release then.

JRD! 17-12-2017 13:11

Thank you for this work, if it works well and if you agree, I will implement it in my program, I will mention that you are the inventor.

I'm waiting to see the tests returns, well done for this idea and continue like that.

Mini 17-12-2017 16:25

MT support?

78372 17-12-2017 19:06

Quote:

Originally Posted by JRD! (Post 464995)
Thank you for this work, if it works well and if you agree, I will implement it in my program, I will mention that you are the inventor.

I'm waiting to see the tests returns, well done for this idea and continue like that.

Go on my friend

78372 17-12-2017 19:08

Quote:

Originally Posted by Mini (Post 464999)
MT support?

Not gonna add MT support :p

78372 19-12-2017 03:56

UCLSG Source Code
 
1 Attachment(s)
Here is the source code of universal cls generator

JRD! 20-12-2017 10:42

Are you the author of the unit "resupdate.pas" ?

78372 20-12-2017 18:42

Quote:

Originally Posted by JRD! (Post 465056)
Are you the author of the unit "resupdate.pas" ?

No, that's taken from asc_003 source of Razor12911

JRD! 20-12-2017 19:42

Okay, thank you for clarifying that. I look at the operation of the code is it is quite technical, I wanted to know if you were the author... This does not erase your work of course.

unarc 125 21-12-2017 03:22

3 Attachment(s)
;)

78372 21-12-2017 03:38

Quote:

Originally Posted by unarc 125 (Post 465067)
;)

cool design dude

78372 21-12-2017 08:39

Quote:

Originally Posted by Simorq (Post 465080)
Is MT will be added in the future?

No, I have no plans to add mt

78372 24-12-2017 09:14

Update coming tomorrow.
Changes:
1. Import/Export Config
2. More optimized cls
3. Some minor changes


Merry Christmas to all :)

doofoo24 24-12-2017 21:16

can i use it for zstd without the exe for decompression ?

78372 24-12-2017 21:21

You already have razor's cls-zstd which doesn't need zstd.exe

fileforums.com/showthread.php?t=98121

See this

doofoo24 24-12-2017 21:27

newer version of zstd has new setting like --ultra which improve compression ratio...
the one from razor gives worst ratio than if i use zstd with

[External compressor:zstd]
header = 0
packcmd = zstd -22 --ultra <stdin> <stdout>

78372 24-12-2017 21:28

Well this CLS Generator works only with programs that doesn't support stdio in general.

doofoo24 24-12-2017 21:32

so i can't use your program to import the setting :

[External compressor:zstd]
header = 0
packcmd = zstd -22 --ultra <stdin> <stdout>

into cls without the need for exe file ?

78372 24-12-2017 21:36

Nope

doofoo24 24-12-2017 22:10

:rolleyes:

78372 25-12-2017 00:40

Generator 1.1 Uploaded

78372 25-12-2017 20:17

The biggest update coming, I will take a few days , but it's gonna be a big update. MT will be available, more optimizations and others.

mikey26 27-12-2017 00:34

Elloz 78372

just a heads up i could not get this to run on the new 8700k processor.Application just runs in task manager at 0% cpu usage.


NVM : its working now it seem windows updates was working in the background after a reboot and updates completed its loading perfectly

78372 27-12-2017 01:23

Quote:

Originally Posted by mikey26 (Post 465248)
Elloz 78372

just a heads up i could not get this to run on the new 8700k processor.Application just runs in task manager at 0% cpu usage.

Export config and upload the exported file here

78372 27-12-2017 08:00

Just to make you know, I want to inform you that CLS MT Generator will have a scripting system like Inno Setup, you must know how to Write INI files because the script is basically an INI. You can open, save and build anytime any script, build ST or MT, switch between x86 exe and x64 exe according to the OS build and also build cls which doesn't need any exe. Compression(UPX) will be available to make small size cls and you can also change version info of cls to clarify that you generated the cls.

I hope you don't mind waiting a few more days for the generator :)

78372 31-12-2017 10:02

Gonna post test version soon, Happy New Year to all

78372 01-01-2018 23:39

Generator MT beta(test) uploaded. See first post.

Jiva newstone 02-01-2018 01:40

Quote:

Originally Posted by 78372 (Post 465466)
Generator MT beta(test) uploaded. See first post.

Good job mates , thanks for MT Update

ZakirAhmad 03-01-2018 08:51

is it possible to create CLS for nanozip using universal CLS Generator?

78372 03-01-2018 08:53

Quote:

Originally Posted by ZakirAhmad (Post 465507)
is it possible to create CLS for nanozip using universal CLS Generator?

Ofc, see the example given on the pic(in first post) that's nz

doofoo24 04-01-2018 10:04

the setup reamin running at the proccess after it finishes only end task fix it the checksum of the files are ok...
i used the setting
[CLS]
Name=RZ
Chunk=0
ChunkSize=64m
InputFile=rz.in
OutputFile=rz.out
EXE=rz.exe
EXE64=rz.exe
Threads=2
TempDir=rztmp
Encode=a -d 64m rz.out rz.in
Decode=e -y -o .\ rz.out rz.in
CLSFileName=cls-rzmt.dll
CompanyName=
Description=
Version=
LegalCopyRight=
LegalTrademarks=
OriginalFileName=
ProductName=
ProductVersion=
Comments=

ZakirAhmad 06-01-2018 00:33

Itried to generate Cls for nanozip 64 with Cls generator but as i am using it, after showing the message "cls has been generating using cls generator by 78377", i am getting arc.exe has stopped working.
please help

78372 06-01-2018 00:40

Gimme screenshot of settings you used to generate the cls

ZakirAhmad 06-01-2018 00:49

Bro, I am using 2g on mobile as we have no broadband connectivity. it would be nice if u can PM me ur whatsapp no. or anyother way to connect. Btw i am browsing this site through Opera mini

ZakirAhmad 06-01-2018 00:50

Bro, I am using 2g on mobile as we have no broadband connectivity. it would be nice if u can PM me ur whatsapp no. or anyother way to connect. Btw i am browsing this site through Opera mini.
if possible, otherwise if u wish i can post screen shot here but it will take 2-5 minutes.

78372 10-01-2018 10:29

Quote:

Originally Posted by ZakirAhmad (Post 465584)
Bro, I am using 2g on mobile as we have no broadband connectivity. it would be nice if u can PM me ur whatsapp no. or anyother way to connect. Btw i am browsing this site through Opera mini.
if possible, otherwise if u wish i can post screen shot here but it will take 2-5 minutes.

PM me

oltjon 11-01-2018 11:55

1 Attachment(s)
it does not work anymore (generatemt)


All times are GMT -7. The time now is 19:39.

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