Users browsing this thread: 2 Guest(s)
[TUTORIAL] Making BMS Scripts; Post and get help with your BMS scripts!
#62
(03-06-2016, 09:17 PM)beastedot9 Wrote: Hello, really appreciate this tutorial and I thank you for it.

I am trying to get myself acquainted with QuickBMS so I started with the Pak0 file from the Quake 2 demo and although I've analysed it okay, my script seems to be off. Been trying for a while now and feel like a complete idiot because I know it's probably a stupid mistake lol. I'd appreciate any help Smile

Code:
idstring "PACK"
get BASE_OFF long
get ArchiveSize long
goto BASE_OFF
set NUM_OF_FILES 1106

for i = 1 < NUM_OF_FILES
    getdstring NAME 0x10
    get OFFSET long
    get SIZE long
    goto OFFSET
log NAME OFFSET SIZE
next i

File in question: https://mega.nz/#!MhhTiBrS!Ng_xeSoYMKLdO...6uunA559H8

Oh, I didn't see this, I'll take a quick look at it Smile
EDIT:
Code:
idstring "PACK"
get OFFNAMETBL long
get FCOUNT long
goto OFFNAMETBL
for i = 0 < FCOUNT
    getdstring NAME 0x38
    get OFFSET long
    get SIZE long
    log NAME OFFSET SIZE
next i

This should work; This was a pretty simple format, however I don't think it gets the last file so I'm sorry about that :/
Reply
Thanked by: beastedot9


Messages In This Thread
RE: [Tutorial] Making BMS Scripts - by Saeid0034 - 03-21-2020, 05:17 AM
RE: [Tutorial] Making BMS Scripts - by justdancer - 07-02-2016, 01:53 AM
RE: [Tutorial] Making BMS Scripts - by dionn1993 - 07-10-2019, 12:06 AM
RE: [Tutorial] Making BMS Scripts - by SKYHAMSTER - 08-06-2020, 06:06 AM
RE: [Tutorial] Making BMS Scripts - by Yarcaz - 11-18-2015, 08:19 AM
RE: [Tutorial] Making BMS Scripts - by Shade - 11-18-2015, 05:31 PM
RE: [Tutorial] Making BMS Scripts - by Yarcaz - 11-18-2015, 05:04 PM
RE: [Tutorial] Making BMS Scripts - by Hallow - 12-22-2015, 06:59 PM
RE: [Tutorial] Making BMS Scripts - by Hallow - 12-22-2015, 10:42 PM
RE: [Tutorial] Making BMS Scripts - by TGE - 12-24-2015, 08:14 PM
RE: [Tutorial] Making BMS Scripts - by Hallow - 12-24-2015, 08:57 PM
RE: [Tutorial] Making BMS Scripts - by nobody231 - 12-24-2015, 09:01 PM
RE: [Tutorial] Making BMS Scripts - by TGE - 12-25-2015, 06:36 AM
RE: [TUTORIAL] Making BMS Scripts; Post and get help with your BMS scripts! - by Struggleton! - 03-09-2016, 07:03 PM

Forum Jump: