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


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

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