1
0
mirror of https://github.com/mon/ifstools.git synced 2024-11-14 13:37:38 +01:00

v1.4, add exe build

This commit is contained in:
Will Toohey 2018-03-03 20:00:59 +01:00
parent 225400a290
commit 9996fe4532
4 changed files with 15 additions and 3 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@ __pycache__/
build/ build/
dist/ dist/
ifstools.egg-info/ ifstools.egg-info/
venv/

View File

@ -12,8 +12,11 @@ Extractor for Konmai IFS files.
- Dumps the ifs manifest so you can explore the format - Dumps the ifs manifest so you can explore the format
## Install ## Install
Install Python, then: Just want an exe? [Download the latest](https://github.com/mon/ifstools/releases).
Have Python installed? Do this:
`pip install ifstools` `pip install ifstools`
Then run `ifstools` from anywhere in a command prompt.
## Usage ## Usage
``` ```
@ -45,6 +48,11 @@ optional arguments:
contents contents
``` ```
## Build an exe
`pip install pyinstaller`
`pyinstaller ifstools_bin.py --onefile -n ifstools`
Recommend doing this in a fresh venv so the module finder doesn't include more than required.
Notes: Notes:
- dxt5 texture repacking is not fully supported - they will silently be converted to argb8888rev - dxt5 texture repacking is not fully supported - they will silently be converted to argb8888rev

3
ifstools_bin.py Normal file
View File

@ -0,0 +1,3 @@
from ifstools import ifstools
ifstools.main()

View File

@ -11,7 +11,7 @@ requires = [
if sys.version_info < (3,0): if sys.version_info < (3,0):
requires.append('future') requires.append('future')
version = '1.3' version = '1.4'
setup( setup(
name='ifstools', name='ifstools',
description='Extractor/repacker for Konmai IFS files', description='Extractor/repacker for Konmai IFS files',