Qubits01/xbox_shrinker

How to archive redumps?

Closed this issue · 0 comments

I've read #3, but still not fully understand how can I archive redump isos (to save disk space) using this tool.

So, I'm scrubbing the redump:

$ mono xbox_shrinker.exe '/tmp/Tony Hawk's American Wasteland (World) (En,Fr,De,Es,It).iso'
starting scrubbing process... 
  => /tmp/Tony Hawk's American Wasteland (World) (En,Fr,De,Es,It).rc4
  => /tmp/Tony Hawk's American Wasteland (World) (En,Fr,De,Es,It).iso.dec
All done!

Let's see the size:

$ ls -lh '/tmp/Tony Hawk's American Wasteland (World) (En,Fr,De,Es,It)'*
-rw-rw-r-- 1 iza iza 7,3G Dec 24  1996 '/tmp/Tony Hawk'\''s American Wasteland (World) (En,Fr,De,Es,It).iso'
-rw-rw-r-- 1 iza iza 7,3G Mar 11 23:08 '/tmp/Tony Hawk'\''s American Wasteland (World) (En,Fr,De,Es,It).iso.dec'
-rw-rw-r-- 1 iza iza 3,6G Mar 11 23:08 '/tmp/Tony Hawk'\''s American Wasteland (World) (En,Fr,De,Es,It).rc4'

Generated file is not smaller than the source. Probably because it's just replace random padding with not random one.
Let's compress the .iso.dec

$ 7z a /tmp/test.iso /tmp/Tony\ Hawk\'s\ American\ Wasteland\ \(World\)\ \(En\,Fr\,De\,Es\,It\).iso.dec

And see the 7zip archive:

$ ls -lh /tmp/test.7z
-rw-rw-r-- 1 iza iza 2,1G Mar 11 23:19 /tmp/test.7z

Nice. Lets keep this archive and delete the others.
Let's try to rebuild redumps from this 7z archive:

$ mono xbox_shrinker.exe /tmp/Tony\ Hawk\'s\ American\ Wasteland\ \(World\)\ \(En\,Fr\,De\,Es\,It\).iso.dec

Eror. File not found: /tmp/Tony Hawk's American Wasteland (World) (En,Fr,De,Es,It).rc4

It's seems that I need that .rc4 to rebuild the redump. Which is not align with my goal to save space.
Or am I misunderstand the steps?