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

BattleForge PAK Files

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
Aliyon
ultra-n00b
Posts: 2
Joined: Wed Oct 21, 2009 6:00 am
Has thanked: 1 time

BattleForge PAK Files

Post by Aliyon »

I was wondering if anyone would be able to help with unpacking BattleForge PAK files. I've attached one of the files in question.
bf1_script01.zip
You do not have the required permissions to view the files attached to this post.
User avatar
aluigi
VVIP member
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

Post by aluigi »

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
Aliyon
ultra-n00b
Posts: 2
Joined: Wed Oct 21, 2009 6:00 am
Has thanked: 1 time

Re: BattleForge PAK Files

Post by Aliyon »

Man you are awesome.
Post Reply