This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| # EDIT THESE TWO PATHS AS NEEDED | |
| fmap_path = "./FMapDat.dat" | |
| extract_dir = "./extract" | |
| # EDIT THESE TWO PATHS AS NEEDED | |
| os.makedirs(extract_dir, exist_ok=True) | |
| fmap_file = open(fmap_path, "rb") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| # <MAKE SURE THIS SCRIPT ISNT EXTRACTING TOO MANY FILES, IT DOESNT CHECK TO SEE IF THE DATA IT IS READING IS VALID OR NOT> | |
| # EDIT THESE THREE PATHS AS NEEDED | |
| code_bin_path = "./code.bin" | |
| archive_path = "./BMap/BMap.dat" | |
| extract_dir = "./BMap/extract" | |
| # EDIT THESE THREE PATHS AS NEEDED |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import struct | |
| import json | |
| import os | |
| # MODIFY THESE | |
| archive_file = "./BAI.dat" | |
| out_dir = "./BAI_CONTENTS/" | |
| entries_json = "./entries.json" | |
| # MODIFY THESE |