mirror of
https://github.com/Virtual-World-RE/NeoGF.git
synced 2024-11-15 06:45:33 +01:00
Update afstool.py
This commit is contained in:
parent
e4fe805a62
commit
b63bfc70b3
|
@ -9,7 +9,7 @@ import re
|
||||||
import time
|
import time
|
||||||
|
|
||||||
|
|
||||||
__version__ = "0.1.1"
|
__version__ = "0.1.2"
|
||||||
__author__ = "rigodron, algoflash, GGLinnk"
|
__author__ = "rigodron, algoflash, GGLinnk"
|
||||||
__license__ = "MIT"
|
__license__ = "MIT"
|
||||||
__status__ = "developpement"
|
__status__ = "developpement"
|
||||||
|
@ -296,7 +296,7 @@ class Afs:
|
||||||
config = ConfigParser(allow_no_value=True) # allow_no_value to allow adding comments
|
config = ConfigParser(allow_no_value=True) # allow_no_value to allow adding comments
|
||||||
config.optionxform = str # makes options case sensitive
|
config.optionxform = str # makes options case sensitive
|
||||||
config.add_section("Default")
|
config.add_section("Default")
|
||||||
config.set("Default", "# Documentation available here: https://github.com/Virtual-World-RE/NeoGF/blob/main/README.md#afs_rebuildconf--afs_rebuildcsv")
|
config.set("Default", "# Documentation available here: https://github.com/Virtual-World-RE/NeoGF/tree/main/afstool#afs_rebuildconf")
|
||||||
config.set("Default", "AFS_MAGIC", f"0x{self.__get_magic().hex()}")
|
config.set("Default", "AFS_MAGIC", f"0x{self.__get_magic().hex()}")
|
||||||
config.set("Default", "files_rebuild_strategy", "mixed")
|
config.set("Default", "files_rebuild_strategy", "mixed")
|
||||||
config.set("Default", "filename_directory", "True" if self.__filenamedirectory else "False")
|
config.set("Default", "filename_directory", "True" if self.__filenamedirectory else "False")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user