|
3 | 3 | from __future__ import absolute_import, division, print_function, unicode_literals, generators, with_statement, nested_scopes |
4 | 4 |
|
5 | 5 | """ |
6 | | -pyneofile.py — Alternate ArchiveFile core with Py2/3 compatible logic. |
| 6 | +pyneofile.py — Alternate NeoFile core with Py2/3 compatible logic. |
7 | 7 |
|
8 | 8 | Features: |
9 | 9 | - Pack / unpack / repack / archive_to_array |
|
56 | 56 | __program_name__ = "PyNeoFile" |
57 | 57 | __project__ = __program_name__ |
58 | 58 | __project_url__ = "https://github.com/GameMaker2k/PyNeoFile" |
59 | | -__version_info__ = (0, 19, 10, "RC 1", 1) |
60 | | -__version_date_info__ = (2025, 8, 15, "RC 1", 1) |
| 59 | +__version_info__ = (0, 20, 0, "RC 1", 1) |
| 60 | +__version_date_info__ = (2025, 8, 18, "RC 1", 1) |
61 | 61 | __version_date__ = str(__version_date_info__[0]) + "." + str( |
62 | 62 | __version_date_info__[1]).zfill(2) + "." + str(__version_date_info__[2]).zfill(2) |
63 | 63 | __revision__ = __version_info__[3] |
64 | | -__revision_id__ = "$Id: f223ede8510b87bcffab7721f8b0f0171431dd4f $" |
| 64 | +__revision_id__ = "$Id$" |
65 | 65 | if(__version_info__[4] is not None): |
66 | 66 | __version_date_plusrc__ = __version_date__ + \ |
67 | 67 | "-" + str(__version_date_info__[4]) |
@@ -1122,7 +1122,7 @@ def _read_record_raw(fp, formatspecs): |
1122 | 1122 | return headersize_hex, fields_len_hex, vals, json_bytes, content_stored |
1123 | 1123 |
|
1124 | 1124 | def archivefilevalidate_neo(infile, formatspecs=None, verbose=False, return_details=False): |
1125 | | - """Validate an ArchiveFile using the alt parser.""" |
| 1125 | + """Validate an NeoFile using the alt parser.""" |
1126 | 1126 | fs = _ensure_formatspecs(formatspecs) |
1127 | 1127 | details = [] |
1128 | 1128 | ok_all = True |
@@ -1483,7 +1483,7 @@ def convert_foreign_to_neo(infile, outfile=None, formatspecs=None, |
1483 | 1483 | compression="auto", |
1484 | 1484 | compression_level=None): |
1485 | 1485 | """ |
1486 | | - Convert a foreign archive (zip/tar/rar/7z) into the alt ArchiveFile format. |
| 1486 | + Convert a foreign archive (zip/tar/rar/7z) into the alt NeoFile format. |
1487 | 1487 | Uses stdlib for zip/tar; requires 'rarfile' for RAR and 'py7zr' for 7z. |
1488 | 1488 | Returns bytes when outfile is None/'-'; otherwise writes a file. |
1489 | 1489 | """ |
|
0 commit comments