Page 1 of 1

Psarc help, setting compression only for specific files

Posted: Fri Sep 08, 2017 12:06 pm
by smasher248
it says here to use xml with psarc.exe to set compression for specific files: http://www.psdevwiki.com/ps3/PlayStatio ... ve_(PSARC)
but how do i do that, i could find any more information, i have never used xml before

these were at 100% in the original psarc, now they are compressed, and the gaim wont load with them compressed, but the other files in the psarc are the correct sizes, so how do i make sure all but these get compressed?

/built/levels/haven_town_center/c_bowling_to_mainstreet/region.dat (20338/42908 47%)
/built/levels/haven_town_center/c_bowling_to_mainstreet/sky.dat (3333395/5636224 59%)

ps. there are about 100 files needing compressed, and 10ish not needing it

Re: Psarc help, setting compression only for specific files

Posted: Fri Sep 08, 2017 12:40 pm
by smasher248
Nvm nailed it :P

for those who want to know:
put in xml.xml
<psarc>
<create archive="C:\users\smasher248\desktop\the last of us\mods\psarc.psarc" absolute="false" ignorecase="false">
<compression type="zlib" enabled="true" />

<file path="C:\users\smasher248\desktop\the last of us\mods\levels\haven_town_center\scripts\main.lua"/>
<file path="C:\users\smasher248\desktop\the last of us\mods\levels\haven_town_center\scripts\music.lua" compressed="false"/>
</create>
</psarc>

C:\Users\smasher248\Desktop\the last of us\mods>psarc.exe --xml="xml.xml" <--run in cmd