Jump to content

Warspear Online QuickBMS script


hager

Recommended Posts

Hello,

I've been looking for a way to export data from a Warspear Online .pak file (free to play) since I want to take a look at the graphics assets. I found a bms script from 2019 (see below), but it seems to be outdated since it's returning an error message when running it in QuickBMS.

Would be really grateful if someone had the time to update this script 🙏

# Warspear Online MMORPG (PAK format)
# script for QuickBMS http://quickbms.aluigi.org

comtype bzip2 
idstring MDPK
get VERSION short # 3
get FILES short
getdstring DATE 16

for i = 0 < FILES
    get OFFSET long
    get ZSIZE long
    get SIZE long
    get FLAG byte
    getdstring NAME 55

    if FLAG == 0
        log NAME OFFSET SIZE
    else
        clog NAME OFFSET ZSIZE SIZE
    endif
next i

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...