Sly 2 : Band of Thieves (E3 demo) WAL extractor and repacker

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
brendan19
Posts: 144
Joined: Fri Aug 08, 2014 11:25 am

Re: Sly 2 : Band of Thieves (E3 demo) WAL extractor and repa

Post by brendan19 »

Image

I added an extra 00 byte to the archive and it extracted without errors. Thanks aluigi :D
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Sly 2 : Band of Thieves (E3 demo) WAL extractor and repa

Post by aluigi »

That's great.
I have updated the script to 0.2.2a adding a check that automatically set SIZE if OFFSET+SIZE is bigger than the archive size.
frogz2007
Posts: 118
Joined: Sun Dec 14, 2014 3:56 pm

Re: Sly 2 : Band of Thieves (E3 demo) WAL extractor and repa

Post by frogz2007 »

Hey, aluigi. Somebody you may know (he goes by either Michael Peter, albinoleopard, or FurryFan) can't get the Sly 2 demo WAL files to extract. Is there any reason why this may happen?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Sly 2 : Band of Thieves (E3 demo) WAL extractor and repa

Post by aluigi »

Do you mean the SLY2.WAL archive you linked in the first post?
Tried just now and it works correctly.
frogz2007
Posts: 118
Joined: Sun Dec 14, 2014 3:56 pm

Re: Sly 2 : Band of Thieves (E3 demo) WAL extractor and repa

Post by frogz2007 »

Just tried the re-import function using the latest version of the script, and for some odd reason it says, " Can't read 4 bytes from offset 00000000." And it then proceeds to generate a SLY2.WAC file that is 0 KB.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Sly 2 : Band of Thieves (E3 demo) WAL extractor and repa

Post by aluigi »

It's the same problem as before:
viewtopic.php?p=3158#p3158
frogz2007
Posts: 118
Joined: Sun Dec 14, 2014 3:56 pm

Re: Sly 2 : Band of Thieves (E3 demo) WAL extractor and repa

Post by frogz2007 »

oops. I must not have paid attention.
frogz2007
Posts: 118
Joined: Sun Dec 14, 2014 3:56 pm

Re: Sly 2 : Band of Thieves (E3 demo) WAL extractor and repa

Post by frogz2007 »

Hey, uh, I know you don't currently have much experience with PS2 ISO's, but if you knew how, is QuickBMS capable of reading ISO's and extracting files from them? Since, as I mentioned a few times, the WAL/WAC files are hidden once you open the ISO or view the disc contents.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Sly 2 : Band of Thieves (E3 demo) WAL extractor and repa

Post by aluigi »

A PS2 iso must be extracted with its tools like Apache.
frogz2007
Posts: 118
Joined: Sun Dec 14, 2014 3:56 pm

Re: Sly 2 : Band of Thieves (E3 demo) WAL extractor and repa

Post by frogz2007 »

Oh, ok. Then I guess the full games (ps2 versions) will never be modded, then. Unless the game is somehow decrypted so the files appear in the ISO. It's odd they did this.
frogz2007
Posts: 118
Joined: Sun Dec 14, 2014 3:56 pm

Re: Sly 2 : Band of Thieves (E3 demo) WAL extractor and repa

Post by frogz2007 »

This is odd. I tried re-importing custom sound files into the E3 demo of the first game, and it, I think, doesn't throw any errors, but it oddly says, "0 files re-imported in 3 seconds". If it helps, above it, it says

- function found at offset 11D50000
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Sly 2 : Band of Thieves (E3 demo) WAL extractor and repa

Post by aluigi »

It means that no file has been found to be reimported.
Are you sure you selected the same files and folder of the extraction?
Have you modified the structure of the output (now input) folder?
frogz2007
Posts: 118
Joined: Sun Dec 14, 2014 3:56 pm

Re: Sly 2 : Band of Thieves (E3 demo) WAL extractor and repa

Post by frogz2007 »

Ok, I had the file names named a bit different. Thanks, though!