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.
- Host: GitHub
- URL: https://github.com/myst6re/kernel2_compressor
- Owner: myst6re
- License: gpl-3.0
- Created: 2016-06-19T13:11:39.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-06-27T19:00:33.000Z (over 9 years ago)
- Last Synced: 2025-02-09T11:42:27.959Z (11 months ago)
- Language: C++
- Size: 55.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# kernel2 compressor
[](https://travis-ci.org/myst6re/kernel2_compressor)
[](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.