mirror of
https://github.com/mon/ifstools.git
synced 2024-11-24 01:50:10 +01:00
v1.4, add exe build
This commit is contained in:
parent
225400a290
commit
9996fe4532
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,3 +5,4 @@ __pycache__/
|
|||||||
build/
|
build/
|
||||||
dist/
|
dist/
|
||||||
ifstools.egg-info/
|
ifstools.egg-info/
|
||||||
|
venv/
|
||||||
|
10
README.md
10
README.md
@ -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
3
ifstools_bin.py
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
from ifstools import ifstools
|
||||||
|
|
||||||
|
ifstools.main()
|
2
setup.py
2
setup.py
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user