Page 1 of 1

.XAF Archives

Posted: Thu Feb 12, 2015 4:52 am
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>

Re: .XAF Archives

Posted: Mon Feb 16, 2015 2:36 am
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.

Re: .XAF Archives

Posted: Mon Feb 16, 2015 3:56 am
by Desorah
Same error happening, here's a sample :

http://cloudstor.es/file/Qs_5HU/

Re: .XAF Archives

Posted: Sat Feb 21, 2015 12:04 pm
by Desorah

Re: .XAF Archives

Posted: Sat Feb 21, 2015 1:28 pm
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

Re: .XAF Archives

Posted: Sun Feb 22, 2015 11:10 am
by Desorah
Works perfectly! Thx a lot :D