FF7's kernel2 compressor using black magic.
- Qt 5
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.
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:
mkdir build
cd build
qmake /path/to/kernel2_compressor.pro
# For mingw32
mingw32-make
# For msvc
jom
Set your environment:
PATH
should contains the path to the bin directory of your Qt installation ($QTDIR/bin
)
Then run:
mkdir build
cd build
qmake /path/to/kernel2_compressor.pro
make
To compile the console or the test version, add to the qmake arguments
respectively CONFIG+="configCONSOLE"
or CONFIG+="configTEST"
.
qmake /path/to/kernel2_compressor.pro CONFIG+="configCONSOLE"
On Qt Creator, you can change this in the project configuration.
Go to a directory where the file release\kernel2_compressor.exe
can be found.
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.
Pull requests are welcome on GitHub.
Ensure that you have commited in develop
branch, otherwise I will not accept your
request.