Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Star Wars: Bounty Hunter *.ds2

Get help on any and all audio formats, or chip in and help others!
Post Reply
AlphaTwentyThree
double-veteran
double-veteran
Posts: 982
Joined: Mon Aug 24, 2009 10:55 pm
Has thanked: 76 times
Been thanked: 660 times

Star Wars: Bounty Hunter *.ds2

Post by AlphaTwentyThree »

The contents of this post was deleted because of possible forum rules violation.
If you like what you see, why not click the little Thank You button? ;) It will definitely motivate me! :)
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks ;)
AlphaTwentyThree
double-veteran
double-veteran
Posts: 982
Joined: Mon Aug 24, 2009 10:55 pm
Has thanked: 76 times
Been thanked: 660 times

Re: Star Wars: Bounty Hunter *.ds2

Post by AlphaTwentyThree »

The contents of this post was deleted because of possible forum rules violation.
If you like what you see, why not click the little Thank You button? ;) It will definitely motivate me! :)
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks ;)
AlphaTwentyThree
double-veteran
double-veteran
Posts: 982
Joined: Mon Aug 24, 2009 10:55 pm
Has thanked: 76 times
Been thanked: 660 times

Re: Star Wars: Bounty Hunter *.ds2

Post by AlphaTwentyThree »

Here's the script I've written so far, but there are files inside the header list that actually aren't available. How can I test if a file is there and if not, continue to the next i?

Code: Select all

get FILES long
reverselong FILES
set CURR 0x20
goto CURR 0

for i = 0 < FILES
   get NAME string 0
   math CURR += 0x100
   log MEMORY_FILE CURR 0x60 0
   math CURR += 0x60
   open FDSE NAME 1
   get SIZE asize 1
   math SIZE -= 0x80
   append
   log MEMORY_FILE 0x80 SIZE 1
   append
   string NAME -= 3
   string NAME += "dsp"
   get MSIZE asize MEMORY_FILE
   log NAME 0 MSIZE MEMORY_FILE
   goto CURR
next i
Edit: Only six files are missing - of course it's possible to create fake files but would be nice to have a "skip file" option.
These files are missing:
ce_normal_01.ds2
ce_normal_03.ds2
ge_normal_07.ds2
ge_normal_10.ds2
ge_normal_11.ds2
ge_normal_12.ds2
If you like what you see, why not click the little Thank You button? ;) It will definitely motivate me! :)
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks ;)
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 664 times
Contact:

Re: Star Wars: Bounty Hunter *.ds2

Post by aluigi »

uhmmm the bms language doesn't implement this possibility, although would cost me nothing to implement a solution in quickbms (maybe the same I adopted for findloc).
so a 0.4.2a version? :)
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 664 times
Contact:

Re: Star Wars: Bounty Hunter *.ds2

Post by aluigi »

well this customization was enough good so I have just implemented it in version 0.4.2a just released.
example:

Code: Select all

for
    get FNAME line   # file with the names of the files to open one-per-line
    open FDSE FNAME 1 EXIST
    if EXIST == 0
        print "the file %FNAME% doesn't exist"
    else
        print "the file %FNAME% exists"
    endif
next
AlphaTwentyThree
double-veteran
double-veteran
Posts: 982
Joined: Mon Aug 24, 2009 10:55 pm
Has thanked: 76 times
Been thanked: 660 times

Re: Star Wars: Bounty Hunter *.ds2

Post by AlphaTwentyThree »

YOU'RE MY HERO LUIGI!!! :D
Thanks a lot for this really useful option!
If you like what you see, why not click the little Thank You button? ;) It will definitely motivate me! :)
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks ;)
Post Reply