Switchball (*.batch)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Switchball (*.batch)

Post by aluigi »

Script for switchball.batch:
http://aluigi.org/bms/switchball.bms

I'm very happy for this script because currently nobody was able to figure out the compression and encryption :)

This is just another game (like many) that Game Extractor "claims" to support but it's completely false, in fact it simply dumps the data "as-is" (encrypted and compressed) which is totally useless.
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Switchball (*.batch)

Post by AnonBaiter »

Just found this out of the Xbox 360/XBLA version of the game:
switchball_bod.rar
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Switchball (*.batch)

Post by aluigi »

Well done, script 0.1.1
The difference are: endianess, xmemdecompress (instead of the unknown "FIN" used for PC), no filenames and no encryption.
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Switchball (*.batch)

Post by AnonBaiter »

Well...

Code: Select all

  013e8d95 633536     0000032f.dat

Error: incomplete input file 0: E:\Switchball\58410830\000D0000\switchball.bod
       Can't read 11 bytes from offset 013f3ec9.
       Anyway don't worry, it's possible that the BMS script has been written
       to exit in this way if it's reached the end of the archive so check it
       or contact its author or verify that all the files have been extracted.
       Please check the following coverage information to know if it's ok.

  coverage file 0   100%   20931046   20922057

Last script line before the error or that produced the error:
  26  clog "" OFFSET SIZE XSIZE
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Switchball (*.batch)

Post by aluigi »

Try 0.1.2
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Switchball (*.batch)

Post by AnonBaiter »

Now it works! Thanks.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Switchball (*.batch)

Post by aluigi »

The problem was just that "math SIZE - 11", I was sure to have checked the size but apparently I forgot to check it better.
It's strange that there was no problem with switchball.batch

*edit* there was no problem with switchball.batch because the latest file wasn't a VNZ and so wasn't affected :)
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Switchball (*.batch)

Post by aluigi »

Mistery solved.
ONLY switchball.bod requires SIZE - 11, script 0.1.2a