FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Knight Compressor (https://fileforums.com/showthread.php?t=103687)

bunti_o4u 22-07-2020 09:09

Knight Compressor
 
4 Attachment(s)
Knight Compressor

It is a compressor tool with simple GUI and lots of flexibility in term of adding new compression method and compression options.

Special thanks to Cesar82 for his significant contribution and efforts throughout this project and without his support it was not possible for me to complete this project.

Quote:

Steps to add new compression method and options are below: (lets say we want to add srep compression method)
  1. Add the compression method srep in "Methods_x32.ini" (if it is 32 bit) and/ or in "Methods_x64.ini" (if it is 64 bit).
  2. Create a folder srep in "Resource32" (if it is 32 bit) and/ or in "Resource64" (if it is 64 bit) and copy resources in the folder.
  3. Edit arc.ini file in "Resource32" (if it is 32 bit) and/ or in "Resource64" (if it is 64 bit).

    [External compressor:srep]
    header = 0
    packcmd = Resource32\srep\srep {options} InFile - <stdout>
    datafile = InFile

    [External compressor:srep]
    header = 0
    packcmd = Resource64\srep\srep{options} InFile - <stdout>
    datafile = InFile

  4. Create a text file and name it srep and change the extension to .ini. Add the options for the compression method.

Note: Try to keep the compression method and resource name same. e.g. srep

Remark:
There is no intention of infringing anyone's copyright.

Screenshots:

bunti_o4u 31-07-2020 08:30

Fixed a bug
 
Changelog v1.2
Fixed - temp directory was not getting deleted on cancelling the compression process.

Changelog v1.1
Fixed - processes keep running after cancelling the compression process.

ADMIRAL 03-08-2020 01:30

Hello dear friend and thanks you for your program
The program has a problem and that is that I compressed a 5gb game with the method pzlib + oodlrecm + mcm + srep + xz to test.
Now I tried to install the game with a setup, but it took a long time to start the installation, until I stopped the setup,please solve this problem .....

bunti_o4u 03-08-2020 05:49

Quote:

Originally Posted by ADMIRAL (Post 487201)
Hello dear friend and thanks you for your program
The program has a problem and that is that I compressed a 5gb game with the method pzlib + oodlrecm + mcm + srep + xz to test.
Now I tried to install the game with a setup, but it took a long time to start the installation, until I stopped the setup,please solve this problem .....

If the problem is with the compressor, it would have not created the archive itself. So the problem may be with installer you are using.

Can you share your installer script?

ADMIRAL 04-08-2020 21:40

1 Attachment(s)
Quote:

Originally Posted by bunti_o4u (Post 487207)
If the problem is with the compressor, it would have not created the archive itself. So the problem may be with installer you are using.

Can you share your installer script?

This is The BlackFire69 Script
Please Do Something...

bunti_o4u 05-08-2020 04:12

Quote:

Originally Posted by ADMIRAL (Post 487245)
This is The BlackFire69 Script
Please Do Something...

Below may be causing the issue:
  1. Setup is using fazip instead of freearc (both are same or not - I am not aware of).
  2. srep doesn't need unpack command in are.ini file (coz cls file will be automatically detected by freearc and it doesn't require any unpack command):

Code:

[External compressor:srep]
header    = 0
packcmd  = Srep\srep.exe {options} -a1 -m5f $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = fazip -i0 decompress:srep <stdin> <stdout>


ADMIRAL 05-08-2020 20:57

Quote:

Originally Posted by bunti_o4u (Post 487255)
Below may be causing the issue:
  1. Setup is using fazip instead of freearc (both are same or not - I am not aware of).
  2. srep doesn't need unpack command in are.ini file (coz cls file will be automatically detected by freearc and it doesn't require any unpack command):

Code:

[External compressor:srep]
header    = 0
packcmd  = Srep\srep.exe {options} -a1 -m5f $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = fazip -i0 decompress:srep <stdin> <stdout>


I Well Test It Again

Grumpy 05-08-2020 21:40

Thread moved to the correct Sub-Forum ;)

lolaya 06-08-2020 10:18

Excellent ... keep going.

ADMIRAL 07-08-2020 23:51

Quote:

Originally Posted by bunti_o4u (Post 487255)
Below may be causing the issue:
  1. Setup is using fazip instead of freearc (both are same or not - I am not aware of).
  2. srep doesn't need unpack command in are.ini file (coz cls file will be automatically detected by freearc and it doesn't require any unpack command):

Code:

[External compressor:srep]
header    = 0
packcmd  = Srep\srep.exe {options} -a1 -m5f $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = fazip -i0 decompress:srep <stdin> <stdout>


I tried it, but it still did not work
I think its cause mcm

bunti_o4u 08-08-2020 01:56

1 Attachment(s)
Quote:

Originally Posted by ADMIRAL (Post 487295)
I tried it, but it still did not work
I think its cause mcm

Replace the files in your installer with the files attached in this post and let me know if its worked..

ADMIRAL 08-08-2020 05:20

Quote:

Originally Posted by bunti_o4u (Post 487297)
Replace the files in your installer with the files attached in this post and let me know if its worked..

Thankful
I am busy now, if there is no problem, I will test it in a few hours:o:o

lolaya 15-08-2020 13:14

waiting for updates and upgrades

ps5haznogamez 19-08-2020 10:05

I get "WARNING: no files, erasing empty archive" when I try to compress, even though I chose my source and output folder, and my source has my data. What did I do wrong?

ADMIRAL 19-08-2020 21:30

Quote:

Originally Posted by bunti_o4u (Post 487297)
Replace the files in your installer with the files attached in this post and let me know if its worked..

Still its not working..
I guess its about mcm


All times are GMT -7. The time now is 13:08.

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