hacktools 0.38.4__tar.gz → 0.38.5__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.
- {hacktools-0.38.4 → hacktools-0.38.5}/LICENSE +1 -1
- {hacktools-0.38.4/hacktools.egg-info → hacktools-0.38.5}/PKG-INFO +1 -1
- hacktools-0.38.5/hacktools/__init__.py +1 -0
- {hacktools-0.38.4 → hacktools-0.38.5}/hacktools/common.py +5 -1
- {hacktools-0.38.4 → hacktools-0.38.5/hacktools.egg-info}/PKG-INFO +1 -1
- hacktools-0.38.4/hacktools/__init__.py +0 -1
- {hacktools-0.38.4 → hacktools-0.38.5}/MANIFEST.in +0 -0
- {hacktools-0.38.4 → hacktools-0.38.5}/README.md +0 -0
- {hacktools-0.38.4 → hacktools-0.38.5}/hacktools/arch.py +0 -0
- {hacktools-0.38.4 → hacktools-0.38.5}/hacktools/assets/icon.png +0 -0
- {hacktools-0.38.4 → hacktools-0.38.5}/hacktools/c_ext/cmp_cri.c +0 -0
- {hacktools-0.38.4 → hacktools-0.38.5}/hacktools/c_ext/cmp_lzss.c +0 -0
- {hacktools-0.38.4 → hacktools-0.38.5}/hacktools/c_ext/cmp_misc.c +0 -0
- {hacktools-0.38.4 → hacktools-0.38.5}/hacktools/c_ext/cmp_racjin.c +0 -0
- {hacktools-0.38.4 → hacktools-0.38.5}/hacktools/c_ext/inc.h +0 -0
- {hacktools-0.38.4 → hacktools-0.38.5}/hacktools/compression.py +0 -0
- {hacktools-0.38.4 → hacktools-0.38.5}/hacktools/cpk.py +0 -0
- {hacktools-0.38.4 → hacktools-0.38.5}/hacktools/gb.py +0 -0
- {hacktools-0.38.4 → hacktools-0.38.5}/hacktools/gui.py +0 -0
- {hacktools-0.38.4 → hacktools-0.38.5}/hacktools/nasm.py +0 -0
- {hacktools-0.38.4 → hacktools-0.38.5}/hacktools/nds.py +0 -0
- {hacktools-0.38.4 → hacktools-0.38.5}/hacktools/nitro.py +0 -0
- {hacktools-0.38.4 → hacktools-0.38.5}/hacktools/psp.py +0 -0
- {hacktools-0.38.4 → hacktools-0.38.5}/hacktools/psx.py +0 -0
- {hacktools-0.38.4 → hacktools-0.38.5}/hacktools/wii.py +0 -0
- {hacktools-0.38.4 → hacktools-0.38.5}/hacktools/ws.py +0 -0
- {hacktools-0.38.4 → hacktools-0.38.5}/hacktools.egg-info/SOURCES.txt +0 -0
- {hacktools-0.38.4 → hacktools-0.38.5}/hacktools.egg-info/dependency_links.txt +0 -0
- {hacktools-0.38.4 → hacktools-0.38.5}/hacktools.egg-info/requires.txt +0 -0
- {hacktools-0.38.4 → hacktools-0.38.5}/hacktools.egg-info/top_level.txt +0 -0
- {hacktools-0.38.4 → hacktools-0.38.5}/setup.cfg +0 -0
- {hacktools-0.38.4 → hacktools-0.38.5}/setup.py +0 -0
- {hacktools-0.38.4 → hacktools-0.38.5}/tests/test_cmp.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.38.5"
|
|
@@ -504,7 +504,7 @@ def logDebug(*messages):
|
|
|
504
504
|
|
|
505
505
|
def logWarning(*messages):
|
|
506
506
|
message = " ".join(str(x) for x in messages)
|
|
507
|
-
logging.debug("[WARNING]" + message)
|
|
507
|
+
logging.debug("[WARNING] " + message)
|
|
508
508
|
|
|
509
509
|
|
|
510
510
|
def logError(*messages):
|
|
@@ -1001,6 +1001,10 @@ def writeEncodedString(f, s, maxlen=0, encoding="shift_jis", zerobytes=1):
|
|
|
1001
1001
|
i += 2
|
|
1002
1002
|
x += 1
|
|
1003
1003
|
if zerobytes > 0:
|
|
1004
|
+
if zerobytes > 1:
|
|
1005
|
+
if maxlen > 0 and i+1 > maxlen:
|
|
1006
|
+
return -1
|
|
1007
|
+
i += zerobytes - 1
|
|
1004
1008
|
f.writeZero(zerobytes)
|
|
1005
1009
|
return i
|
|
1006
1010
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.38.4"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|