ReverseBox 0.23.2__tar.gz → 0.23.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.
- {reversebox-0.23.2 → reversebox-0.23.3}/PKG-INFO +1 -1
- {reversebox-0.23.2 → reversebox-0.23.3}/ReverseBox.egg-info/PKG-INFO +1 -1
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/io_files/file_handler.py +28 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/setup.py +1 -1
- {reversebox-0.23.2 → reversebox-0.23.3}/LICENSE +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/README.md +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/ReverseBox.egg-info/SOURCES.txt +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/ReverseBox.egg-info/dependency_links.txt +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/ReverseBox.egg-info/requires.txt +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/ReverseBox.egg-info/top_level.txt +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/__init__.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/checksum/__init__.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/checksum/checksum_adler32.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/checksum/checksum_fletcher16.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/checksum/checksum_fletcher32.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/checksum/checksum_internet_ipv4_header.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/checksum/checksum_sum8.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/checksum/checksum_sum8_2s_complement.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/checksum/checksum_unix_sum_bsd16.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/checksum/checksum_unix_sum_sysv.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/checksum/checksum_xor8.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/common/__init__.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/common/common.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/common/logger.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/compression/__init__.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/compression/compression_jcalg1.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/compression/compression_lzo.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/compression/compression_mio0.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/compression/compression_refpack.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/compression/compression_zlib.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/crc/__init__.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/crc/crc16_arc.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/crc/crc16_ccitt.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/crc/crc16_dnp.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/crc/crc16_ea_crcf.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/crc/crc16_kermit.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/crc/crc16_modbus.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/crc/crc16_sick.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/crc/crc32_asobo.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/crc/crc32_iso_hdlc.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/crc/crc64_asobo.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/crc/crc64_go_iso.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/crc/crc8.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/crc/crc_unix_cksum.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/encryption/__init__.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/encryption/encryption_rot13.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/encryption/encryption_xor_basic.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/encryption/encryption_xor_basic_key_guesser.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/encryption/encryption_xor_gianas_return_zda.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/encryption/encryption_xor_retro64_eco.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/hash/__init__.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/hash/hash_ap.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/hash/hash_djb2.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/hash/hash_fnv.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/hash/hash_md2.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/hash/hash_md5.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/hash/hash_sdbm.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/hash/hash_sha1.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/hash/hash_sha2.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/image/__init__.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/image/common.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/image/compression/__init__.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/image/compression/compression_gst.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/image/compression/compression_lzw.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/image/compression/compression_packbits.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/image/compression/compression_rle_tga.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/image/compression/compression_zlib.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/image/decoders/__init__.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/image/decoders/bumpmap_decoder.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/image/decoders/compressed_decoder.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/image/decoders/gst_decoder.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/image/decoders/n64_decoder.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/image/decoders/yuv_decoder.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/image/encoders/__init__.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/image/encoders/gst_encoder.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/image/file_formats/__init__.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/image/file_formats/image_dds.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/image/image_decoder.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/image/image_encoder.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/image/image_formats.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/image/palettes/__init__.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/image/palettes/palette_random.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/image/pillow_wrapper.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/image/swizzling/__init__.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/image/swizzling/swizzle_3ds.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/image/swizzling/swizzle_bc.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/image/swizzling/swizzle_cmpr.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/image/swizzling/swizzle_gamecube.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/image/swizzling/swizzle_gst.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/image/swizzling/swizzle_morton.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/image/swizzling/swizzle_morton_ps4.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/image/swizzling/swizzle_ps2.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/image/swizzling/swizzle_psp.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/image/swizzling/swizzle_psvita_dreamcast.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/image/swizzling/swizzle_switch.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/image/swizzling/swizzle_x360.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/io_files/__init__.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/io_files/bytes_handler.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/io_files/bytes_helper_functions.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/io_files/check_file.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/io_files/mod_handler.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/io_files/translation_text_handler.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/libs/DirectXTex.dll +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/libs/__init__.py +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/libs/ea_swizzle.dll +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/reversebox/libs/refpack.dll +0 -0
- {reversebox-0.23.2 → reversebox-0.23.3}/setup.cfg +0 -0
|
@@ -16,18 +16,22 @@ from reversebox.io_files.bytes_helper_functions import (
|
|
|
16
16
|
get_int16,
|
|
17
17
|
get_int24,
|
|
18
18
|
get_int32,
|
|
19
|
+
get_int64,
|
|
19
20
|
get_uint8,
|
|
20
21
|
get_uint16,
|
|
21
22
|
get_uint24,
|
|
22
23
|
get_uint32,
|
|
24
|
+
get_uint64,
|
|
23
25
|
set_int8,
|
|
24
26
|
set_int16,
|
|
25
27
|
set_int24,
|
|
26
28
|
set_int32,
|
|
29
|
+
set_int64,
|
|
27
30
|
set_uint8,
|
|
28
31
|
set_uint16,
|
|
29
32
|
set_uint24,
|
|
30
33
|
set_uint32,
|
|
34
|
+
set_uint64,
|
|
31
35
|
)
|
|
32
36
|
|
|
33
37
|
logger = get_logger(__name__)
|
|
@@ -218,6 +222,18 @@ class FileHandler:
|
|
|
218
222
|
data = self.file.read(4)
|
|
219
223
|
return get_uint32(data, self.endianess)
|
|
220
224
|
|
|
225
|
+
def read_int64(self) -> int:
|
|
226
|
+
self._check_file()
|
|
227
|
+
self._check_read_mode()
|
|
228
|
+
data = self.file.read(8)
|
|
229
|
+
return get_int64(data, self.endianess)
|
|
230
|
+
|
|
231
|
+
def read_uint64(self) -> int:
|
|
232
|
+
self._check_file()
|
|
233
|
+
self._check_read_mode()
|
|
234
|
+
data = self.file.read(8)
|
|
235
|
+
return get_uint64(data, self.endianess)
|
|
236
|
+
|
|
221
237
|
###
|
|
222
238
|
###
|
|
223
239
|
###
|
|
@@ -288,3 +304,15 @@ class FileHandler:
|
|
|
288
304
|
self._check_write_mode()
|
|
289
305
|
self.file.write(set_uint32(value, self.endianess))
|
|
290
306
|
return True
|
|
307
|
+
|
|
308
|
+
def write_int64(self, value: int) -> bool:
|
|
309
|
+
self._check_file()
|
|
310
|
+
self._check_write_mode()
|
|
311
|
+
self.file.write(set_int64(value, self.endianess))
|
|
312
|
+
return True
|
|
313
|
+
|
|
314
|
+
def write_uint64(self, value: int) -> bool:
|
|
315
|
+
self._check_file()
|
|
316
|
+
self._check_write_mode()
|
|
317
|
+
self.file.write(set_uint64(value, self.endianess))
|
|
318
|
+
return True
|
|
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
|
{reversebox-0.23.2 → reversebox-0.23.3}/reversebox/checksum/checksum_internet_ipv4_header.py
RENAMED
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{reversebox-0.23.2 → reversebox-0.23.3}/reversebox/encryption/encryption_xor_basic_key_guesser.py
RENAMED
|
File without changes
|
{reversebox-0.23.2 → reversebox-0.23.3}/reversebox/encryption/encryption_xor_gianas_return_zda.py
RENAMED
|
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
|
{reversebox-0.23.2 → reversebox-0.23.3}/reversebox/image/compression/compression_packbits.py
RENAMED
|
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
|
|
File without changes
|
{reversebox-0.23.2 → reversebox-0.23.3}/reversebox/image/swizzling/swizzle_psvita_dreamcast.py
RENAMED
|
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
|