First to Fight
- friendsofwatto
- VVIP member

- Posts: 535
- Joined: Wed Jun 30, 2004 3:01 pm
- Location: Australia
- Been thanked: 13 times
- Contact:
Ah, I like the easy ones 
I will try to get the script done when I get home in a few hours
WATTO
watto@watto.org
http://www.watto.org
Code: Select all
+----------------------+
| First To Fight *.pwb |
+----------------------+
4 - Number Of Files
// for each file
4 - File Offset
X - File DataWATTO
watto@watto.org
http://www.watto.org
Game Extractor - Read and write thousands of game archives!
- friendsofwatto
- VVIP member

- Posts: 535
- Joined: Wed Jun 30, 2004 3:01 pm
- Location: Australia
- Been thanked: 13 times
- Contact:
Here we are...
Or just grab the compiled script below.
WATTO
watto@watto.org
http://www.watto.org
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 ;
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!
- friendsofwatto
- VVIP member

- Posts: 535
- Joined: Wed Jun 30, 2004 3:01 pm
- Location: Australia
- Been thanked: 13 times
- Contact:
There are no filenames in this archive, at least none that I noticed at first glance.
WATTO
watto@watto.org
http://www.watto.org
WATTO
watto@watto.org
http://www.watto.org
Game Extractor - Read and write thousands of game archives!
- 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:
By the way, there was a small bug in the script.
In the looped section, FS was not corrected (missing Math FS -= FO ; statement)
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.
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 ;
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.
- friendsofwatto
- VVIP member

- Posts: 535
- Joined: Wed Jun 30, 2004 3:01 pm
- Location: Australia
- Been thanked: 13 times
- Contact:
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
WATTO
watto@watto.org
http://www.watto.org
Game Extractor - Read and write thousands of game archives!


