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

Can you help me with this .awb file?

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
Zyotunravel
ultra-n00b
Posts: 2
Joined: Sun Mar 19, 2017 1:28 am

Can you help me with this .awb file?

Post by Zyotunravel »

I tried to use Atom viewer and some criware export program but does not work. I just got weird sounds.
http://rgho.st/7Z9mZspvJ Here is the file. Can you help me please !
Pingu
veteran
Posts: 116
Joined: Sat Apr 16, 2016 3:15 am
Has thanked: 5 times
Been thanked: 24 times

Re: Can you help me with this .awb file?

Post by Pingu »

Code: Select all

# AWB AFS2 (script 0.1.3)
#   thanks to Taylor&Lion for the alignment field
# script for QuickBMS http://quickbms.aluigi.org

idstring "AFS2"
get FLAGS long
get FILES long
get MYALIGN long
for i = 0 < FILES
    get ALIGN short
    putarray 0 i ALIGN
next i

    callfunction GET_OFFSET 1
    math OFFSET = VALUE
for i = 0 < FILES
    callfunction GET_OFFSET 1
    math NEXT_OFFSET = VALUE
    if MYALIGN != 0
        math ALIGN = MYALIGN
    else
        getarray ALIGN 0 i
    endif
    math OFFSET x= ALIGN
    math SIZE = NEXT_OFFSET
    math SIZE -= OFFSET
    log "" OFFSET SIZE
    math OFFSET = NEXT_OFFSET
next i

startfunction GET_OFFSET
    if FLAGS & 0x200
        get VALUE short
    else
        get VALUE long
    endif
endfunction
Aluigi's AWB script. Should work, but I don't know what the outputs are.
Zyotunravel
ultra-n00b
Posts: 2
Joined: Sun Mar 19, 2017 1:28 am

Re: Can you help me with this .awb file?

Post by Zyotunravel »

Anexenaumoon wrote:

Code: Select all

# AWB AFS2 (script 0.1.3)
#   thanks to Taylor&Lion for the alignment field
# script for QuickBMS http://quickbms.aluigi.org

idstring "AFS2"
get FLAGS long
get FILES long
get MYALIGN long
for i = 0 < FILES
    get ALIGN short
    putarray 0 i ALIGN
next i

    callfunction GET_OFFSET 1
    math OFFSET = VALUE
for i = 0 < FILES
    callfunction GET_OFFSET 1
    math NEXT_OFFSET = VALUE
    if MYALIGN != 0
        math ALIGN = MYALIGN
    else
        getarray ALIGN 0 i
    endif
    math OFFSET x= ALIGN
    math SIZE = NEXT_OFFSET
    math SIZE -= OFFSET
    log "" OFFSET SIZE
    math OFFSET = NEXT_OFFSET
next i

startfunction GET_OFFSET
    if FLAGS & 0x200
        get VALUE short
    else
        get VALUE long
    endif
endfunction
Aluigi's AWB script. Should work, but I don't know what the outputs are.
I got .dat files, what should i do with them?
Post Reply