hacktools 0.38.2__tar.gz → 0.38.3__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.2/hacktools.egg-info → hacktools-0.38.3}/PKG-INFO +1 -1
- hacktools-0.38.3/hacktools/__init__.py +1 -0
- {hacktools-0.38.2 → hacktools-0.38.3}/hacktools/nitro.py +13 -12
- {hacktools-0.38.2 → hacktools-0.38.3/hacktools.egg-info}/PKG-INFO +1 -1
- hacktools-0.38.2/hacktools/__init__.py +0 -1
- {hacktools-0.38.2 → hacktools-0.38.3}/LICENSE +0 -0
- {hacktools-0.38.2 → hacktools-0.38.3}/MANIFEST.in +0 -0
- {hacktools-0.38.2 → hacktools-0.38.3}/README.md +0 -0
- {hacktools-0.38.2 → hacktools-0.38.3}/hacktools/arch.py +0 -0
- {hacktools-0.38.2 → hacktools-0.38.3}/hacktools/assets/icon.png +0 -0
- {hacktools-0.38.2 → hacktools-0.38.3}/hacktools/c_ext/cmp_cri.c +0 -0
- {hacktools-0.38.2 → hacktools-0.38.3}/hacktools/c_ext/cmp_lzss.c +0 -0
- {hacktools-0.38.2 → hacktools-0.38.3}/hacktools/c_ext/cmp_misc.c +0 -0
- {hacktools-0.38.2 → hacktools-0.38.3}/hacktools/c_ext/cmp_racjin.c +0 -0
- {hacktools-0.38.2 → hacktools-0.38.3}/hacktools/c_ext/inc.h +0 -0
- {hacktools-0.38.2 → hacktools-0.38.3}/hacktools/common.py +0 -0
- {hacktools-0.38.2 → hacktools-0.38.3}/hacktools/compression.py +0 -0
- {hacktools-0.38.2 → hacktools-0.38.3}/hacktools/cpk.py +0 -0
- {hacktools-0.38.2 → hacktools-0.38.3}/hacktools/gb.py +0 -0
- {hacktools-0.38.2 → hacktools-0.38.3}/hacktools/gui.py +0 -0
- {hacktools-0.38.2 → hacktools-0.38.3}/hacktools/nasm.py +0 -0
- {hacktools-0.38.2 → hacktools-0.38.3}/hacktools/nds.py +0 -0
- {hacktools-0.38.2 → hacktools-0.38.3}/hacktools/psp.py +0 -0
- {hacktools-0.38.2 → hacktools-0.38.3}/hacktools/psx.py +0 -0
- {hacktools-0.38.2 → hacktools-0.38.3}/hacktools/wii.py +0 -0
- {hacktools-0.38.2 → hacktools-0.38.3}/hacktools/ws.py +0 -0
- {hacktools-0.38.2 → hacktools-0.38.3}/hacktools.egg-info/SOURCES.txt +0 -0
- {hacktools-0.38.2 → hacktools-0.38.3}/hacktools.egg-info/dependency_links.txt +0 -0
- {hacktools-0.38.2 → hacktools-0.38.3}/hacktools.egg-info/requires.txt +0 -0
- {hacktools-0.38.2 → hacktools-0.38.3}/hacktools.egg-info/top_level.txt +0 -0
- {hacktools-0.38.2 → hacktools-0.38.3}/setup.cfg +0 -0
- {hacktools-0.38.2 → hacktools-0.38.3}/setup.py +0 -0
- {hacktools-0.38.2 → hacktools-0.38.3}/tests/test_cmp.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.38.3"
|
|
@@ -113,19 +113,20 @@ def repackIMG(workfolder, infolder, outfolder, extensions=".NCGR", readfunc=None
|
|
|
113
113
|
common.copyFile(infolder + file, outfolder + file)
|
|
114
114
|
transptile = False
|
|
115
115
|
if writefunc is not None:
|
|
116
|
-
image, map, cell, width, height, transptile = writefunc(file, image, map, cell, width, height)
|
|
117
|
-
if
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
if os.path.isfile(workfolder + cellfile):
|
|
124
|
-
cell = readNCER(workfolder + cellfile)
|
|
125
|
-
common.copyFile(workfolder + cellfile, outfolder + cellfile)
|
|
116
|
+
image, palettes, map, cell, width, height, transptile = writefunc(workfolder, infolder, outfolder, file, image, palettes, map, cell, width, height)
|
|
117
|
+
if image is not None:
|
|
118
|
+
if map is None and cell is None:
|
|
119
|
+
writeNCGR(outfolder + file, image, workfolder + pngfile, palettes, width, height)
|
|
120
|
+
elif cell is None:
|
|
121
|
+
common.copyFile(infolder + mapfile, outfolder + mapfile)
|
|
122
|
+
writeMappedNSCR(outfolder + file, outfolder + mapfile, image, map, workfolder + pngfile, palettes, width, height, transptile)
|
|
126
123
|
else:
|
|
127
|
-
|
|
128
|
-
|
|
124
|
+
if os.path.isfile(workfolder + cellfile):
|
|
125
|
+
cell = readNCER(workfolder + cellfile)
|
|
126
|
+
common.copyFile(workfolder + cellfile, outfolder + cellfile)
|
|
127
|
+
else:
|
|
128
|
+
common.copyFile(infolder + cellfile, outfolder + cellfile)
|
|
129
|
+
writeNCER(outfolder + file, outfolder + cellfile, image, cell, workfolder + pngfile, palettes, width, height)
|
|
129
130
|
common.logMessage("Done!")
|
|
130
131
|
|
|
131
132
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.38.2"
|
|
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
|
|
File without changes
|