Skip to content

mrkal1/SlyTools_mod

 
 

Repository files navigation

Tools

Unpacker

TODO: Write a description

Packer

TODO: Write a description

Compressor

TODO: Write a description

Compressor

Compresses files to the LZSS-derived format that the official game expects for Sly level files. TODO: Fix compressor causing larger files compared to original.

Instructions

Extracting assets

  1. Download the tools from the Releases panel on the right (or build them)
  2. Download the psarc tool (psarc wiki)
  3. Go to your installed game's USRDIR directory (example: C:/rpcs3/dev_hdd0/game/NPUA80663/USRDIR). We'll now refer to this as $USRDIR, replace it where appropriate.
  4. Copy psarc.exe there (or use the full path to it in the next command)
  5. psarc extract --input=Sly1.psarc --to=.

TODO: Finish this section

Useful knowledge

  1. Replace Sly1.psarc with dummy Sly1.psarc (as an example with Finnish dub mod, there's kok.txt only inside the Sly1.psarc)
    1.1) Create a empty file (example dummy.txt)
    1.2) Create a file list txt and add your dummy file to the list
    1.3) Run this command psarc.exe create --inputfile=filelist.txt --output=Sly1.psarc
  2. Game proceeds to skip the file and makes your life easier as you don't need to repack psarc everytime (this is slow process)
  3. So now you can place SLY.WAC and SLY.WAL into Sly1 folder (inside USRDIR\Sly1)
  4. You can delete SLY_F.WAC and SLY_S.WAC files (they are unused by the game)
  5. After unpacking SLY.WAC, you can run this powershell command Get-ChildItem | Where-Object { $_.Name.EndsWith('_fW') -or $_.Name.EndsWith('_sW') } | Remove-Item inside the extracted folder to remove unused files and save space

Special Thanks

The Original SlyTools

About

Sly Cooper (PS2/PS3 games) modding tools & research

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 88.0%
  • Python 7.1%
  • CMake 2.1%
  • PowerShell 1.7%
  • Batchfile 1.1%