First to Fight

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
User avatar
sajad
VIP member
VIP member
Posts: 128
Joined: Fri May 14, 2004 1:20 pm
Location: Underworld
Been thanked: 1 time
Contact:

First to Fight

Post by sajad » Sun May 08, 2005 9:12 pm

hello

iam back with new file (request)
please see First to Fight package

User avatar
friendsofwatto
VVIP member
VVIP member
Posts: 535
Joined: Wed Jun 30, 2004 3:01 pm
Location: Australia
Been thanked: 13 times
Contact:

Post by friendsofwatto » Mon May 09, 2005 12:42 am

Ah, I like the easy ones :)

Code: Select all

+----------------------+
| First To Fight *.pwb |
+----------------------+

4 - Number Of Files

// for each file
  4 - File Offset

X - File Data
I will try to get the script done when I get home in a few hours

WATTO
watto@watto.org
http://www.watto.org
Game Extractor - Read and write thousands of game archives!

User avatar
friendsofwatto
VVIP member
VVIP member
Posts: 535
Joined: Wed Jun 30, 2004 3:01 pm
Location: Australia
Been thanked: 13 times
Contact:

Post by friendsofwatto » Mon May 09, 2005 1:03 pm

Here we are...

Code: Select all

Get FNum Long 0 ;
Math FNum -= 1 ;
For n = 1 to FNum ;
SavePos FOO 0 ;
Get FO Long 0 ;
SavePos JP 0 ;
Get FS Long 0 ;
Log " FO FS FOO 0 ;
GoTo JP 0 ;
Next n ;
SavePos FOO 0 ;
Get FO Long 0 ;
GoTo EOF 0 ;
SavePos FS 0 ;
Math FS -= FO ;
Log "" FO FS FOO 0 ;
Or just grab the compiled script below.

WATTO
watto@watto.org
http://www.watto.org
You do not have the required permissions to view the files attached to this post.
Game Extractor - Read and write thousands of game archives!

User avatar
Mr.Mouse
Site Admin
Posts: 4051
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 421 times
Been thanked: 575 times
Contact:

Post by Mr.Mouse » Mon May 09, 2005 2:44 pm

Nice work! :D

User avatar
sajad
VIP member
VIP member
Posts: 128
Joined: Fri May 14, 2004 1:20 pm
Location: Underworld
Been thanked: 1 time
Contact:

First to Fight

Post by sajad » Mon May 09, 2005 10:01 pm

hello

good work

but not completed

because open file but incorrect file name

User avatar
friendsofwatto
VVIP member
VVIP member
Posts: 535
Joined: Wed Jun 30, 2004 3:01 pm
Location: Australia
Been thanked: 13 times
Contact:

Post by friendsofwatto » Tue May 10, 2005 12:42 am

There are no filenames in this archive, at least none that I noticed at first glance.

WATTO
watto@watto.org
http://www.watto.org
Game Extractor - Read and write thousands of game archives!

User avatar
sajad
VIP member
VIP member
Posts: 128
Joined: Fri May 14, 2004 1:20 pm
Location: Underworld
Been thanked: 1 time
Contact:

First to Fight

Post by sajad » Tue May 10, 2005 6:51 pm

mr mouse and mr watto

iam send complete arrchive to mail you

User avatar
Mr.Mouse
Site Admin
Posts: 4051
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 421 times
Been thanked: 575 times
Contact:

Post by Mr.Mouse » Tue May 10, 2005 6:59 pm

Thanks for the file, Sajad! But I also did not see any filenames in there! They just saved the sounds without filenames. :(

User avatar
Mr.Mouse
Site Admin
Posts: 4051
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 421 times
Been thanked: 575 times
Contact:

Post by Mr.Mouse » Tue May 10, 2005 7:18 pm

By the way, there was a small bug in the script.

In the looped section, FS was not corrected (missing Math FS -= FO ; statement)

Code: Select all

Get FNum Long 0 ;
Math FNum -= 1 ;
Set FEX String .WAV ;
For n = 1 To FNum ;
SavePos FOO 0 ;
Get FO Long 0 ;
SavePos JP 0 ;
Get FS Long 0 ;
Math FS -= FO ;
Set FN String Wave ;
String FN += n ;
String FN += FEX ;
Log FN FO FS FOO 0 ;
GoTo JP 0 ;
Next n ;
Math n += 1 ;
SavePos FOO 0 ;
Get FO Long 0 ;
GoTo EOF 0 ;
SavePos FS 0 ;
Math FS -= FO ;
Set FN String Wave ;
String FN += n ;
String FN += FEX ;
Log FN FO FS FOO 0 ;
I also included the new string functions so files now have the Wavennn.wav names.

Please try that with the new Commander on these files! I hope it works!

Damn, I will have to release the new Binder soon.
You do not have the required permissions to view the files attached to this post.

User avatar
friendsofwatto
VVIP member
VVIP member
Posts: 535
Joined: Wed Jun 30, 2004 3:01 pm
Location: Australia
Been thanked: 13 times
Contact:

Post by friendsofwatto » Wed May 11, 2005 3:18 am

Excellent Mr Mouse! I hope you are documenting the new features in the scriptor like this filename thingy!

WATTO
watto@watto.org
http://www.watto.org
Game Extractor - Read and write thousands of game archives!

Post Reply