Skip to content

Commit 4ae1455

Browse files
committed
Small update
1 parent b1e774a commit 4ae1455

3 files changed

Lines changed: 19 additions & 0 deletions

File tree

pyarchivefile/archivefile.ini

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,12 @@ name = NeoFile
3030
magic = NeoFile
3131
delimiter = \x00
3232
extension = .neo
33+
34+
[UwUFile]
35+
len = 7
36+
hex = 55775546696c65
37+
ver = 001
38+
name = UwUFile
39+
magic = UwUFile
40+
delimiter = \x00
41+
extension = .UwU

pyarchivefile/archivefile.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,14 @@
2929
"magic": "NeoFile",
3030
"delimiter": "\u0000",
3131
"extension": ".neo"
32+
},
33+
"UwUFile": {
34+
"len": 7,
35+
"hex": "55775546696c65",
36+
"ver": "001",
37+
"name": "UwUFile",
38+
"magic": "UwUFile",
39+
"delimiter": "\u0000",
40+
"extension": ".UwU"
3241
}
3342
}

pyarchivefile/pyarchivefile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -769,6 +769,7 @@ def _get(section_dict, key, default=None):
769769
# Arc / Neo
770770
add_format(__file_format_multi_dict__, "ArchiveFile", "ArchiveFile", ".arc", "ArchiveFile")
771771
add_format(__file_format_multi_dict__, "NeoFile", "NeoFile", ".neo", "NeoFile")
772+
add_format(__file_format_multi_dict__, "UwUFile", "UwUFile", ".UwU", "UwUFile")
772773

773774
# Pick a default if current default key is not present
774775
if __file_format_default__ not in __file_format_multi_dict__:

0 commit comments

Comments
 (0)