import mmap import struct from pathlib import Path kana1_data = Path("YGO_2020/CARD_Kana1_J.bin").read_bytes() kana2_data = Path("YGO_2020/CARD_Kana2_J.bin").read_bytes() kana3_data = Path("YGO_2020/CARD_Kana3_J.bin").read_bytes() ## The offsets pulled from the file items1 = [x[0] for x in struct.iter_unpack("