Important information: this site is currently scheduled to go offline indefinitely by December 1st 2023.
If you wish to donate to attempt the preservation of tools and software somewhere else before it goes down, check the GoFundMe
If you wish to donate to attempt the preservation of tools and software somewhere else before it goes down, check the GoFundMe
BattleForge PAK Files
BattleForge PAK Files
I was wondering if anyone would be able to help with unpacking BattleForge PAK files. I've attached one of the files in question.
You do not have the required permissions to view the files attached to this post.
- aluigi
- VVIP member

- Posts: 1916
- Joined: Thu Dec 08, 2005 12:26 pm
- Location: www.ZENHAX.com
- Has thanked: 4 times
- Been thanked: 1182 times
- Contact:
Re: BattleForge PAK Files
Code: Select all
# BattleForge
# script for QuickBMS http://aluigi.org/papers.htm#quickbms
idstring "PAK\x01"
get INFO_OFF long
get INFO_SIZE long
get INFO_ZSIZE long
clog MEMORY_FILE INFO_OFF INFO_ZSIZE INFO_SIZE
get FILES long MEMORY_FILE
for i = 0 < FILES
get NAMESZ long MEMORY_FILE
getdstring NAME NAMESZ MEMORY_FILE
get OFFSET long MEMORY_FILE
get SIZE long MEMORY_FILE
math SIZE -= OFFSET
log NAME OFFSET SIZE
next i