The Forum is up for sale: XeNTaX Forum looking for new owner

trying to mod an old game with .BSA extension

Read or post about compression. And decompression. Or ask questions how to decompress your files.
Post Reply
BatmiteReturns
ultra-n00b
Posts: 6
Joined: Thu Jan 26, 2017 1:56 am
Has thanked: 2 times

trying to mod an old game with .BSA extension

Post by BatmiteReturns »

Sorry I don't know where else to post this so I thought I would do it here since you guys seem to know a whole lot. As many of you know I am a huge bowling video game fan. I am trying to re-skin PBA Bowling 2 for windows XP. This game was made by Bethesda and all of the data files are in.BSA format. I googled that format and found a utility that was used for later games released by the software company called the bethesda Software extractor but it only works with newer games and not one that is this old. This game came out in 1999 I believe. Any help would be greatly appreciated. Thanks a lot

download.cnet.com/PBA-Bowling-2-demo/3000-2117_4-10034625.html

here is the demo
cxt
n00b
Posts: 10
Joined: Wed Aug 20, 2014 3:20 pm
Been thanked: 2 times

Re: trying to mod an old game with .BSA extension

Post by cxt »

This is an QuickBMS script.

unpbabsa.bms

Code: Select all

# PBA Bowling 2 (Bethesda Softworks, 1999) .BSA unpacker
# (c) CTPAX-X Team 2017
# http://www.ctpax-x.org/

ImpType Standard

Get HeadSize Long
Get FileCount Long

For I = 1 To FileCount
  Get FileNamePos Long
  Get FileSize Long
  Get FileOffs Long

  SavePos TOC

  Math FileOffs + HeadSize
  Math FileOffs + 8
  Math FileNamePos + 8
  GoTo FileNamePos
  Get FileName String

  Log FileName FileOffs FileSize

  GoTo TOC
Next I
Post Reply