I've created perl script for re-packing .psarc (PS3 archives):
https://gitlab.com/pklat/reiso/blob/master/re_arc.pm
here are gains:
BCUS98107-[Resistance Fall of Man] rar:15,587,203,458 repacked_7z: 9,231,446,065
BCUS98120-[Resistance 2] rar:19,535,384,137 repacked_7z:12,079,047,655
it works only with zlib for now; on linux, uses pigz.
edit:
cleaned it up, it uses dd mostly now.
another example:
I've tried combining all three in one huge .7z thinking that developers might have used copy+paste, but there was no gain.
I think 7z doesn't sort files well enough for solid.
dictionary size: 1536M, lzma
edit2:
i've deleted third example, as the .rar had recovery record.
edit3:
added subdir because some archives lack .psarc extension.
edit4:
fixed some bugs (relative paths and manifest)
edit5:
should have used sort by extension -mqs
edit:
add 'fix' option for .psarc archives with trailing garbage. it saves 'tail' metadata into separate file (*.toc.t)
edit:
some .psarc dont use default zlib level (9), fixed it.
I've created perl script for re-packing .psarc (PS3 archives):
https://gitlab.com/pklat/reiso/blob/master/re_arc.pm
here are gains:
BCUS98107-[Resistance Fall of Man] rar:15,587,203,458 repacked_7z: 9,231,446,065
BCUS98120-[Resistance 2] rar:19,535,384,137 repacked_7z:12,079,047,655
it works only with zlib for now; on linux, uses pigz.
edit:
cleaned it up, it uses dd mostly now.
another example:
I've tried combining all three in one huge .7z thinking that developers might have used copy+paste, but there was no gain.
I think 7z doesn't sort files well enough for solid.
dictionary size: 1536M, lzma
edit2:
i've deleted third example, as the .rar had recovery record.
edit3:
added subdir because some archives lack .psarc extension.
edit4:
fixed some bugs (relative paths and manifest)
edit5:
should have used sort by extension -mqs
edit:
add 'fix' option for .psarc archives with trailing garbage. it saves 'tail' metadata into separate file (*.toc.t)
edit:
some .psarc dont use default zlib level (9), fixed it.
How To Repack Psarc Files Online
- The BSP Repacking utilities compress each of these lumps individually using LZMA compression. The exception to this is pakfile lump, which is a.zip file where each individual file instead undergoes its own compression. Make sure you've built cubemaps and whatnot before hand, otherwise they won't be compressed!
- Each song/DLC is a PSARC, a kind of encrypted zip file. The psarc has inside: - The audio track - Metadata - The tab/arragement for each guitar part (lead, rhythm, bass, etc.) - The lyrics - Artwork - Other bits we don't care about. In order to uncensor a song, we'll need to unpack it, replace the audio file and lyrics, then repack it.
- Creating Custom Modules and Textures in PDF2nd/PDX It's taken me awhile to actually build up the motivation to write this up completely but here it is finally! For a while now I have been able to successfully create custom modules and texture edits for each and every vocaloid in the game. The easiest way to Creating Custom Modules and Textures in PDF2nd/PDX Read More ».
How To Repack Psarc Files
Correct, I tried repacking the failed extraction. R55 works for repacking the extracted files (as the extraction works correctly). Just one observation if I may: the original file was 1.4 megs, the new one is 1.7. No$gba compatibility list. Download gta 5 zip file for pc.