PyFoxFile 0.21.2__tar.gz → 0.22.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyfoxfile-0.21.2 → pyfoxfile-0.22.2}/PKG-INFO +4 -4
- {pyfoxfile-0.21.2 → pyfoxfile-0.22.2}/PyFoxFile.egg-info/PKG-INFO +4 -4
- {pyfoxfile-0.21.2 → pyfoxfile-0.22.2}/foxfile.py +9 -9
- {pyfoxfile-0.21.2 → pyfoxfile-0.22.2}/neofoxfile.py +1 -1
- {pyfoxfile-0.21.2 → pyfoxfile-0.22.2}/pyfoxfile.py +1114 -1351
- {pyfoxfile-0.21.2 → pyfoxfile-0.22.2}/pyproject.toml +3 -1
- {pyfoxfile-0.21.2 → pyfoxfile-0.22.2}/setup.py +3 -3
- {pyfoxfile-0.21.2 → pyfoxfile-0.22.2}/LICENSE +0 -0
- {pyfoxfile-0.21.2 → pyfoxfile-0.22.2}/PyFoxFile.egg-info/SOURCES.txt +0 -0
- {pyfoxfile-0.21.2 → pyfoxfile-0.22.2}/PyFoxFile.egg-info/dependency_links.txt +0 -0
- {pyfoxfile-0.21.2 → pyfoxfile-0.22.2}/PyFoxFile.egg-info/top_level.txt +0 -0
- {pyfoxfile-0.21.2 → pyfoxfile-0.22.2}/PyFoxFile.egg-info/zip-safe +0 -0
- {pyfoxfile-0.21.2 → pyfoxfile-0.22.2}/README.md +0 -0
- {pyfoxfile-0.21.2 → pyfoxfile-0.22.2}/foxneofile.py +0 -0
- {pyfoxfile-0.21.2 → pyfoxfile-0.22.2}/setup.cfg +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PyFoxFile
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.22.2
|
|
4
4
|
Summary: A tar like file format name foxfile.
|
|
5
5
|
Home-page: https://github.com/GameMaker2k/PyFoxFile
|
|
6
6
|
Download-URL: https://github.com/GameMaker2k/PyFoxFile/archive/master.tar.gz
|
|
7
7
|
Author: Kazuki Przyborowski
|
|
8
|
-
Author-email: Kazuki Przyborowski <kazuki.przyborowski@gmail.com>
|
|
9
|
-
Maintainer: Kazuki
|
|
10
|
-
Maintainer-email: kazuki.
|
|
8
|
+
Author-email: Kazuki Przyborowski <kazuki.przyborowski@gmail.com>, Kazuki Suzuki Sadeghi <kazuki.suzuki.sadeghi@gmail.com>, Game Maker 2k <gamemaker2k@gmail.com>
|
|
9
|
+
Maintainer: Kazuki Suzuki Sadeghi
|
|
10
|
+
Maintainer-email: kazuki.suzuki.sadeghi@gmail.com
|
|
11
11
|
License: BSD-3-Clause
|
|
12
12
|
Platform: OS Independent
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PyFoxFile
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.22.2
|
|
4
4
|
Summary: A tar like file format name foxfile.
|
|
5
5
|
Home-page: https://github.com/GameMaker2k/PyFoxFile
|
|
6
6
|
Download-URL: https://github.com/GameMaker2k/PyFoxFile/archive/master.tar.gz
|
|
7
7
|
Author: Kazuki Przyborowski
|
|
8
|
-
Author-email: Kazuki Przyborowski <kazuki.przyborowski@gmail.com>
|
|
9
|
-
Maintainer: Kazuki
|
|
10
|
-
Maintainer-email: kazuki.
|
|
8
|
+
Author-email: Kazuki Przyborowski <kazuki.przyborowski@gmail.com>, Kazuki Suzuki Sadeghi <kazuki.suzuki.sadeghi@gmail.com>, Game Maker 2k <gamemaker2k@gmail.com>
|
|
9
|
+
Maintainer: Kazuki Suzuki Sadeghi
|
|
10
|
+
Maintainer-email: kazuki.suzuki.sadeghi@gmail.com
|
|
11
11
|
License: BSD-3-Clause
|
|
12
12
|
Platform: OS Independent
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
Copyright 2018-2024 Game Maker 2k - http://intdb.sourceforge.net/
|
|
15
15
|
Copyright 2018-2024 Kazuki Przyborowski - https://github.com/KazukiPrzyborowski
|
|
16
16
|
|
|
17
|
-
$FileInfo: foxfile.py - Last Update: 8/
|
|
17
|
+
$FileInfo: foxfile.py - Last Update: 8/29/2025 Ver. 0.22.2 RC 1 - Author: cooldude2k $
|
|
18
18
|
'''
|
|
19
19
|
|
|
20
20
|
from __future__ import absolute_import, division, print_function, unicode_literals, generators, with_statement, nested_scopes
|
|
@@ -173,7 +173,7 @@ if active_action:
|
|
|
173
173
|
checkcompressfile = pyfoxfile.CheckCompressionSubType(
|
|
174
174
|
input_file, fnamedict, True)
|
|
175
175
|
if((pyfoxfile.IsNestedDict(fnamedict) and checkcompressfile in fnamedict) or (pyfoxfile.IsSingleDict(fnamedict) and checkcompressfile==fnamedict['format_magic'])):
|
|
176
|
-
tmpout = pyfoxfile.RePackFoxFile(input_file, getargs.output, getargs.compression, getargs.wholefile, getargs.level, pyfoxfile.compressionlistalt, False, 0, 0, [getargs.checksum, getargs.checksum, getargs.checksum, getargs.checksum], getargs.skipchecksum, [], {}, fnamedict, getargs.verbose, False)
|
|
176
|
+
tmpout = pyfoxfile.RePackFoxFile(input_file, getargs.output, getargs.compression, getargs.wholefile, getargs.level, pyfoxfile.compressionlistalt, False, 0, 0, 0, [getargs.checksum, getargs.checksum, getargs.checksum, getargs.checksum], getargs.skipchecksum, [], {}, fnamedict, getargs.verbose, False)
|
|
177
177
|
else:
|
|
178
178
|
tmpout = pyfoxfile.PackFoxFileFromInFile(
|
|
179
179
|
input_file, getargs.output, __file_format_default__, getargs.compression, getargs.wholefile, getargs.level, pyfoxfile.compressionlistalt, [getargs.checksum, getargs.checksum, getargs.checksum, getargs.checksum], [], {}, fnamedict, getargs.verbose, False)
|
|
@@ -187,35 +187,35 @@ if active_action:
|
|
|
187
187
|
input_file, fnamedict, True)
|
|
188
188
|
if((pyfoxfile.IsNestedDict(fnamedict) and checkcompressfile in fnamedict) or (pyfoxfile.IsSingleDict(fnamedict) and checkcompressfile==fnamedict['format_magic'])):
|
|
189
189
|
pyfoxfile.RePackFoxFile(input_file, getargs.output, getargs.compression, getargs.wholefile, getargs.level, pyfoxfile.compressionlistalt,
|
|
190
|
-
False, 0, 0, [getargs.checksum, getargs.checksum, getargs.checksum, getargs.checksum], getargs.skipchecksum, [], {}, fnamedict, getargs.verbose, False)
|
|
190
|
+
False, 0, 0, 0, [getargs.checksum, getargs.checksum, getargs.checksum, getargs.checksum], getargs.skipchecksum, [], {}, fnamedict, getargs.verbose, False)
|
|
191
191
|
else:
|
|
192
192
|
pyfoxfile.PackFoxFileFromInFile(input_file, getargs.output, __file_format_default__, getargs.compression, getargs.wholefile, getargs.level, pyfoxfile.compressionlistalt, [getargs.checksum, getargs.checksum, getargs.checksum, getargs.checksum], [], {}, fnamedict, getargs.verbose, False)
|
|
193
193
|
if(not tmpout):
|
|
194
194
|
sys.exit(1)
|
|
195
195
|
else:
|
|
196
196
|
pyfoxfile.RePackFoxFile(input_file, getargs.output, getargs.compression, getargs.wholefile, getargs.level, pyfoxfile.compressionlistalt,
|
|
197
|
-
False, 0, 0, [getargs.checksum, getargs.checksum, getargs.checksum, getargs.checksum], getargs.skipchecksum, [], {}, fnamedict, getargs.verbose, False)
|
|
197
|
+
False, 0, 0, 0, [getargs.checksum, getargs.checksum, getargs.checksum, getargs.checksum], getargs.skipchecksum, [], {}, fnamedict, getargs.verbose, False)
|
|
198
198
|
elif active_action == 'extract':
|
|
199
199
|
if getargs.convert:
|
|
200
200
|
checkcompressfile = pyfoxfile.CheckCompressionSubType(
|
|
201
201
|
input_file, fnamedict, True)
|
|
202
202
|
tempout = BytesIO()
|
|
203
203
|
if((pyfoxfile.IsNestedDict(fnamedict) and checkcompressfile in fnamedict) or (pyfoxfile.IsSingleDict(fnamedict) and checkcompressfile==fnamedict['format_magic'])):
|
|
204
|
-
tmpout = pyfoxfile.RePackFoxFile(input_file, tempout, getargs.compression, getargs.wholefile, getargs.level, pyfoxfile.compressionlistalt, False, 0, 0, [getargs.checksum, getargs.checksum, getargs.checksum, getargs.checksum], getargs.skipchecksum, [], {}, fnamedict, False, False)
|
|
204
|
+
tmpout = pyfoxfile.RePackFoxFile(input_file, tempout, getargs.compression, getargs.wholefile, getargs.level, pyfoxfile.compressionlistalt, False, 0, 0, 0, [getargs.checksum, getargs.checksum, getargs.checksum, getargs.checksum], getargs.skipchecksum, [], {}, fnamedict, False, False)
|
|
205
205
|
else:
|
|
206
206
|
tmpout = pyfoxfile.PackFoxFileFromInFile(
|
|
207
207
|
input_file, tempout, __file_format_default__, getargs.compression, getargs.wholefile, getargs.level, pyfoxfile.compressionlistalt, [getargs.checksum, getargs.checksum, getargs.checksum, getargs.checksum], [], {}, fnamedict, False, False)
|
|
208
208
|
if(not tmpout):
|
|
209
209
|
sys.exit(1)
|
|
210
210
|
input_file = tempout
|
|
211
|
-
pyfoxfile.UnPackFoxFile(input_file, getargs.output, False, 0, 0, getargs.skipchecksum,
|
|
211
|
+
pyfoxfile.UnPackFoxFile(input_file, getargs.output, False, 0, 0, 0, getargs.skipchecksum,
|
|
212
212
|
fnamedict, getargs.verbose, getargs.preserve, getargs.preserve, False, False)
|
|
213
213
|
elif active_action == 'list':
|
|
214
214
|
if getargs.convert:
|
|
215
215
|
checkcompressfile = pyfoxfile.CheckCompressionSubType(
|
|
216
216
|
input_file, fnamedict, True)
|
|
217
217
|
if((pyfoxfile.IsNestedDict(fnamedict) and checkcompressfile in fnamedict) or (pyfoxfile.IsSingleDict(fnamedict) and checkcompressfile==fnamedict['format_magic'])):
|
|
218
|
-
tmpout = pyfoxfile.FoxFileListFiles(input_file, "auto", 0, 0, getargs.skipchecksum, fnamedict, False, getargs.verbose, False, False)
|
|
218
|
+
tmpout = pyfoxfile.FoxFileListFiles(input_file, "auto", 0, 0, 0, getargs.skipchecksum, fnamedict, False, getargs.verbose, False, False)
|
|
219
219
|
else:
|
|
220
220
|
tmpout = pyfoxfile.InFileListFiles(input_file, getargs.verbose, fnamedict, False, False, False)
|
|
221
221
|
if(not tmpout):
|
|
@@ -228,7 +228,7 @@ if active_action:
|
|
|
228
228
|
input_file, fnamedict, True)
|
|
229
229
|
tempout = BytesIO()
|
|
230
230
|
if((pyfoxfile.IsNestedDict(fnamedict) and checkcompressfile in fnamedict) or (pyfoxfile.IsSingleDict(fnamedict) and checkcompressfile==fnamedict['format_magic'])):
|
|
231
|
-
tmpout = pyfoxfile.RePackFoxFile(input_file, tempout, getargs.compression, getargs.wholefile, getargs.level, pyfoxfile.compressionlistalt, False, 0, 0, [getargs.checksum, getargs.checksum, getargs.checksum, getargs.checksum], getargs.skipchecksum, [], {}, fnamedict, False, False, False)
|
|
231
|
+
tmpout = pyfoxfile.RePackFoxFile(input_file, tempout, getargs.compression, getargs.wholefile, getargs.level, pyfoxfile.compressionlistalt, False, 0, 0, 0, [getargs.checksum, getargs.checksum, getargs.checksum, getargs.checksum], getargs.skipchecksum, [], {}, fnamedict, False, False, False)
|
|
232
232
|
else:
|
|
233
233
|
tmpout = pyfoxfile.PackFoxFileFromInFile(
|
|
234
234
|
input_file, tempout, __file_format_default__, getargs.compression, getargs.wholefile, getargs.level, pyfoxfile.compressionlistalt, [getargs.checksum, getargs.checksum, getargs.checksum, getargs.checksum], [], {}, fnamedict, False, False)
|
|
@@ -236,7 +236,7 @@ if active_action:
|
|
|
236
236
|
if(not tmpout):
|
|
237
237
|
sys.exit(1)
|
|
238
238
|
fvalid = pyfoxfile.FoxFileValidate(
|
|
239
|
-
input_file, "auto", fnamedict, False, getargs.verbose, False)
|
|
239
|
+
input_file, "auto", 0, fnamedict, False, getargs.verbose, False)
|
|
240
240
|
if(not getargs.verbose):
|
|
241
241
|
import sys
|
|
242
242
|
import logging
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
Copyright 2018-2024 Game Maker 2k - http://intdb.sourceforge.net/
|
|
15
15
|
Copyright 2018-2024 Kazuki Przyborowski - https://github.com/KazukiPrzyborowski
|
|
16
16
|
|
|
17
|
-
$FileInfo: neofoxfile.py - Last Update:
|
|
17
|
+
$FileInfo: neofoxfile.py - Last Update: 8/26/2025 Ver. 0.21.4 RC 1 - Author: cooldude2k $
|
|
18
18
|
'''
|
|
19
19
|
|
|
20
20
|
from __future__ import absolute_import, division, print_function, unicode_literals, generators, with_statement, nested_scopes
|