mirror of
https://github.com/TheBozos/VP2S_Recomp.git
synced 2026-12-01 07:38:48 -10:00
- tools/extract.py: pure-Python extractor for SLES-54645 (ISO9660, SLZ chains, SLE decryption, module/overlay export with ELF segment validation, IRX, index) - tools/slz.py: tri-Ace SLZ types 0-3 and SLE decryption, reimplemented from the game's own routines - scripts/, ghidra_scripts/: exploration scripts used during the audit - toolchain/Dockerfile: analysis container (binutils MIPS, Python) - docs/AUDIT.md: phase 1 and 2 feasibility audit (GO for static recompilation) Co-Authored-By: Claude Opus 5.5 <[email protected]>
14 lines
672 B
Bash
14 lines
672 B
Bash
#!/bin/sh
|
|
# Notable strings in the main ELF (libraries, source files, device paths, versions).
|
|
ELF=/work/extracted/SLES_546.45
|
|
S="mips-linux-gnu-strings -n 5 $ELF"
|
|
echo "=== total strings"; $S | wc -l
|
|
echo "=== SDK / libraries / versions"
|
|
$S | grep -iE 'sce|lib[a-z0-9]+|sdk|version|ver\.|copyright|tri-?ace|square' | sort -u | head -n 60
|
|
echo "=== source / asset file names"
|
|
$S | grep -iE '\.(c|cpp|cc|h|s|vsm|dsm|irx|elf|bin|dat|pak|tbl|ovl|lst)\b' | sort -u | head -n 80
|
|
echo "=== device paths"
|
|
$S | grep -iE 'cdrom|host[0-9]?:|mc[01]:|rom0|pfs|hdd' | sort -u | head -n 40
|
|
echo "=== printf-like format / debug strings sample"
|
|
$S | grep -E '%[0-9]*[dsxXf]' | head -n 50
|