An open API service indexing awesome lists of open source software.

https://github.com/myst6re/kernel2_compressor

FF7's kernel2 compressor using black magic.
https://github.com/myst6re/kernel2_compressor

Last synced: 9 months ago
JSON representation

FF7's kernel2 compressor using black magic.

Awesome Lists containing this project

README

          

# kernel2 compressor

[![Build Status Linux/OSX](https://travis-ci.org/myst6re/kernel2_compressor.svg?branch=develop)](https://travis-ci.org/myst6re/kernel2_compressor)
[![Build status Win32](https://ci.appveyor.com/api/projects/status/7sbsalqdtagkjwv3/branch/develop?svg=true)](https://ci.appveyor.com/project/myst6re/kernel2_compressor/branch/develop)

FF7's kernel2 compressor using black magic.

## Building

### Requirements

- Qt 5

### With Qt Creator

Open `kernel2_compressor.pro` with Qt Creator IDE.
Please refer to the official documentation of Qt Creator
if you have troubles to compile and run kernel2 compressor.

### Command line

#### Windows

Use the command prompt given in your Qt installation
to set your environment (`%QTDIR%/%compiler%/bin/qtenv2.bat`).
If you want to compile with msvc, run `vcvarsall.bat`
from your Microsoft Visual Studio installation
(eg: `C:\Program Files\Microsoft Visual Studio 11.0\VC\vcvarsall.bat`).

Then run:

~~~sh
mkdir build
cd build
qmake /path/to/kernel2_compressor.pro
# For mingw32
mingw32-make
# For msvc
jom
~~~

#### Linux

Set your environment:

- `PATH` should contains the path to the bin directory of your Qt installation (`$QTDIR/bin`)

Then run:

~~~sh
mkdir build
cd build
qmake /path/to/kernel2_compressor.pro
make
~~~

## Building special versions

To compile the console or the test version, add to the qmake arguments
respectively `CONFIG+="configCONSOLE"` or `CONFIG+="configTEST"`.

~~~sh
qmake /path/to/kernel2_compressor.pro CONFIG+="configCONSOLE"
~~~

On Qt Creator, you can change this in the project configuration.

## Deploy

### On Windows

Go to a directory where the file `release\kernel2_compressor.exe` can be found.

~~~sh
cd path/to/build/directory
/path/to/source/directory/deploy.bat
~~~

This will create a directory `deploy` in the build directory with needed DLL's.

## How to contribute

Pull requests are welcome on [GitHub](https://github.com/myst6re/kernel2_compressor).
Ensure that you have commited in `develop` branch, otherwise I will not accept your
request.