CompactJV is a powerful compression tool developed using Java. It leverages the capabilities of Compact.exe from the Windows SDK to compress files such as games or applications. Designed with Windows operating system users in mind, CompactJV delivers high-performance file compression with the ease of use.
To get CompactJV running on your local machine for development and testing, follow the instructions below.
CompactJV uses the Compact.exe tool from the Windows SDK to compress files. It supports several compression algorithms, including XPRESS4K, XPRESS8K, XPRESS16K, XPRESS, and LZX.
Here's a brief overview of how each algorithm works:
-
XPRESS4K: This is a fast compression algorithm that provides a reasonable compression ratio. The '4K' in its name refers to the size of the sliding window used during compression.
-
XPRESS8K and XPRESS16K: These are variations of the XPRESS4K algorithm. They use larger sliding windows of 8K and 16K, respectively. This allows them to achieve better compression ratios, but at the cost of slower performance.
-
XPRESS: This algorithm provides a balance between performance and compression ratio. It's more efficient than XPRESS4K, XPRESS8K, and XPRESS16K, but not as powerful as LZX.
-
LZX: This is a very high-performance compression algorithm. It provides excellent compression ratios, but it's also quite slow compared to the other algorithms.
When you choose to compress a file with CompactJV, the program uses one of these algorithms to reduce the file's size. The specific algorithm used depends on the options you select.
Here's how to use CompactJV:
- Select the file you want to compress.
- Choose the compression algorithm you want to use.
- Click the 'Compress' button.
CompactJV will then compress the file using the selected algorithm. The compressed file will be saved in the same location as the original file.
Remember: the more powerful the compression algorithm, the longer it will take to compress the file. If speed is a concern, you may want to use a faster algorithm like XPRESS4K or XPRESS. If you're more concerned about reducing the file's size as much as possible, you may want to use a more powerful algorithm like LZX.
Please make sure you have the following software installed:
- Java Development Kit (JDK 21)
- Gradle
- WIX v3
- IntelliJ IDEA (optional)
Follow these steps to get a local copy of CompactJV:
-
Ensure the required tools are installed.
-
Clone the CompactJV repository to your local machine.
git clone https://github.com/IRedDragonICY/CompactJV.git
-
Navigate to the project directory.
-
Run this command to build the project:
./gradlew jpackage
This command compiles the project and packages it into a distributable format.
We welcome contributions from developers. Feel free to fork the project, make your changes, and submit a pull request.
This project is licensed under the MIT License. For more information, please refer to the LICENSE
file in the project
repository.
This project is brought to you by a team of dedicated developers from Universitas Ahmad Dahlan:
- Muhammad Farid Hendianto (Ndik) - Student ID: 2200018401
- Reyhanssan Islamey (Justin) - Student ID: 2200018411
- Rendie Abdi Saputra (Ryu) - Student ID: 2200018094
- Fadhil Raifan Andika - Student ID: 2200018458
We would like to express our gratitude to Faisal Fajri Rahani S.Si., M.Cs., for his exemplary guidance and unwavering support throughout the development of this project.