.XAF Archives

Discussion about ripping models and other assets from video games.

Moderators: Runa, Love2Raid, semory

Post Reply
User avatar
Desorah
Posts: 109
Joined: Fri Nov 01, 2013 12:06 pm

.XAF Archives

Post by Desorah »

Okay here it is Semory :

Code: Select all

<bms games="'Beat Down: Fists Of Vengeance'" platforms="'PS2'" ext="XAF">
ImpType Standard ;
IDString 0 XAF ;
Set TEMP Long 40 ;
GoTo TEMP 0 ;
Get FILENUM Long 0 ;
Set FNAMEX Long FILENUM ;
Math FNAMEX *= 8 ;
Math FNAMEX += 64 ;
Set TEMP Long 64 ;
GoTo TEMP 0 ;
For F = 1 To FILENUM ;
SavePos FOFFSETX 0 ;
Get FOFFSET Long 0 ;
SavePos FSIZEX 0 ;
Get FSIZE Long 0 ;
SavePos NEXTFILE 0 ;
GoTo FNAMEX 0 ;
GetDString FNAME 260 0 ;
SavePos FNAMEX 0 ;
GoTo NEXTFILE 0 ;
Log FNAME FOFFSET FSIZE FOFFSETX FSIZEX ;
Next F ;
</bms>
User avatar
semory
Site Admin
Posts: 7755
Joined: Sat Aug 04, 2012 7:38 pm
Custom Rank: Kitty pu tu tu lay!
Location: Torrance, CA

Re: .XAF Archives

Post by semory »

that does look like BMS script, just get rid of the first and last line and try to run it. i don't have any sample xaf archives so i can't run it.
User avatar
Desorah
Posts: 109
Joined: Fri Nov 01, 2013 12:06 pm

Re: .XAF Archives

Post by Desorah »

Same error happening, here's a sample :

http://cloudstor.es/file/Qs_5HU/
User avatar
Desorah
Posts: 109
Joined: Fri Nov 01, 2013 12:06 pm

Re: .XAF Archives

Post by Desorah »

User avatar
semory
Site Admin
Posts: 7755
Joined: Sat Aug 04, 2012 7:38 pm
Custom Rank: Kitty pu tu tu lay!
Location: Torrance, CA

Re: .XAF Archives

Post by semory »

Use this instead:

Code: Select all

ImpType Standard ;
IDString 0 XAF ;
Set TEMP Long 40 ;
GoTo TEMP 0 ;
Get FILENUM Long 0 ;
Set FNAMEX Long FILENUM ;
Math FNAMEX *= 8 ;
Math FNAMEX += 64 ;
Set TEMP Long 64 ;
GoTo TEMP 0 ;
For F = 1 To FILENUM
    SavePos FOFFSETX 0
    Get FOFFSET Long 0
    SavePos FSIZEX 0
    Get FSIZE Long 0
    SavePos NEXTFILE 0
    GoTo FNAMEX 0
    GetDString FNAME 260 0
    SavePos FNAMEX 0
    GoTo NEXTFILE 0
    Log FNAME FOFFSET FSIZE
Next F
User avatar
Desorah
Posts: 109
Joined: Fri Nov 01, 2013 12:06 pm

Re: .XAF Archives

Post by Desorah »

Works perfectly! Thx a lot :D
Post Reply