1 items

File information

Last updated

Original upload

Created by

uxh

Uploaded by

uxhh

Virus scan

Safe to use

Tags for this mod

About this mod

Drag and drop command line tool for psarc files - supports packing and unpacking for ZLib, Oodle, and DirectStorage

Share
Requirements
Permissions and credits
Changelogs
ndarc
Command line tool that can unpack and create psarc files with support for ZLib, Oodle, and DirectStorage (LZ4).
It has only been tested on TLOUP1 and TLOUP2R PC, but should work for any game that uses psarc files
May run into issues with the DirectStorage format, it has not been extensively tested

drag and drop:
- to unpack, drag a psarc file onto ndarc
- to create, drag a psarc file onto ndarc (drag and drop creation defaults to DirectStorage)

usage:

ndarc <command> [path] [options]

commands:
-h, --help        show this help message
-l, --list        list files in the psarc manifest
-e, --extract     extract psarc archive
-c, --create      create psarc archive from folder (default lz4/directstorage compression)

options:
-z, --zlib        use zlib compression
-d, --dstorage    use lz4 (directstorage) compression
-oo, --oodle      use oodle compression
-o, --output      specify output file/directory

examples:
ndarc -e "C:\game\bin.psarc"                  extracts contents to bin_unpacked
ndarc -e "C:\game\bin.psarc" -o "C:\output"   extracts contents to specified folder
ndarc -c "C:\mods\coolmod"                    creates coolmod.psarc using lz4 (directstorage) compression
ndarc -c "C:\mods\coolmod" -z                 creates coolmod.psarc using zlib compression
ndarc -c "C:\mods\coolmod" -oo                creates coolmod.psarc using oodle compression
ndarc -c "C:\mods\coolmod" -o "C:\d\e.psarc"  creates archive at specified location

If you want to use drag and drop and specify an output folder (or drag and drop for other compression types), create a .bat script similar to this, then drag your folder onto the batch script:

@echo off

if "%~1"=="" (
echo no folder was dragged onto this batch file
echo usage: drag a folder onto this batch file to process it
pause
exit /b 1
)

REM Change -d to -oo or -z for oodle and zlib compression
"C:\path\to\ndarc.exe" -c "%~1" -o "C:\path\to\output\folder" -d
pause


My other mods and tools
ndmodloader - load custom psarc files
Ellie Hoodie Toggle - put on or take off Ellie's hoodie with a keybind
All Safes Unlocked - safes can be opened with any code
All Keypads Unlocked - keypads no longer require a code
Skip Intros - skip intro movie and logos
Instant Generators - generators instantly start on interact
All Characters Can Dodge - Enables dodging for Joel/Tommy/Bill