A .wpak is a zip whose entries are each Blowfish CFB-64 encrypted with a zero IV and the client's hardcoded key (sb.exe 0x54DEC0). Pure Python Blowfish, no new dependencies. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 lines
1.1 KiB
Python
12 lines
1.1 KiB
Python
# • ▌ ▄ ·. ▄▄▄▄· ▄▄▄ .·▄▄▄▄ ▪ ▄▄▄▄▄ ▄▄▄ ▄▄▄·▄▄▄
|
|
# ·██ ▐███▪▐█ ▀█▪ ▀▄.▀·██▪ ██ ██ •██ ▪ ▀▄ █· ▐█ ▄█▀▄ █·▪
|
|
# ▐█ ▌▐▌▐█·▐█▀▀█▄ ▐▀▀▪▄▐█· ▐█▌▐█· ▐█.▪ ▄█▀▄ ▐▀▀▄ ██▀·▐▀▀▄ ▄█▀▄
|
|
# ██ ██▌▐█▌██▄▪▐█ ▐█▄▄▌██. ██ ▐█▌ ▐█▌·▐█▌.▐▌▐█•█▌ ▐█▪·•▐█•█▌▐█▌.▐▌
|
|
# ▀▀ █▪▀▀▀·▀▀▀▀ ▀▀▀ ▀▀▀▀▀• ▀▀▀ ▀▀▀ ▀█▄▀▪.▀ ▀ .▀ .▀ ▀ ▀█▄▀▪
|
|
# Magicbane Emulator Project © 2013 - 2022
|
|
# www.magicbane.com
|
|
|
|
from .ArcFileCache import load_cache_file, save_cache_file, next_available_path
|
|
from .ArcWpak import load_wpak_file, load_wpak_directory, save_wpak_file, build_wpak_bytes
|
|
from .ResStream import ResStream
|