Hey everyone!
I’ve been working on OCRAM (Old-gen Console Resource & Asset Manager), an open-source, cross-platform GUI modding tool that automatically converts modern PC Terraria (1.4.x) resource packs into working `data.vfs` archives for Terraria on PS Vita (Legacy 1.2.4).
Why couldn't we just drop PC texture packs into PS Vita?
Unlike the PC version, which uses thousands of loose `.png` files, the PS Vita port (based on Legacy 1.2.4) packs everything into shared Sony `.gxt` texture atlases (`_sheetSprites`, `_sheetNPC`, `_sheetTiles`, `_sheetWalls`, `_sheetSolid`, `_sheetBack`) using hardware-swizzled Morton Z-order layouts, strict 8-bit/16-bit indexed palettes, rotated sprites, HEVAG `.vag` sounds, ATRAC9 `.at9` music, and custom binary `.str` string tables.
What OCRAM can do right now:
One-Click VFS2 Unpacker & Repacker: Extracts your decrypted `data.vfs` and rebuilds valid PS Vita archives with proper compression and uncompressed `.at9` audio alignment.
Automatic Texture Pack Porting: Ships with a pre-built coordinate map (`vita_atlas_map.json`) covering thousands of items, tiles, walls, bosses, and logos. It automatically crops, rotates, downscales oversized sprites, and allocates new colors into the `.gxt` palettes without breaking vanilla colors.
Visual Sprite Editor & Live Overlay: Inspect atlases, zoom/scroll smoothly, preview your modded sprites directly over the PS Vita sheets before building, adjust frame offsets, or replace standalone sheets (like title logos and UI).
Sound & Music Manager (`.VAG` / `.AT9`): Automatically converts PC `.wav` and `.xnb` sound effects to PS Vita `.vag` during the build, lets you preview audio via `vgmstream-cli`, and supports `.wav` to `.at9` music encoding via `at9tool` with selectable bitrates.
Binary Text & Localization Editor (`.STR`): Search, edit, or export/import `strings_*.str` files to JSON with automatic offset recalculation.
Tested on Real Hardware
Tested on a real PS Vita (via `rePatch`) with heavy packs like the Calamity Texture Pack — items, bosses, custom logos, all load and run in-game.
Links & Setup
GitHub Repository: https://github.com/M1ndElectr1c/Ocram/
Note: No copyrighted game assets are included. You will need to dump your own decrypted `data.vfs` using VitaShell (Open decrypted) and place the built archive into `ux0:rePatch/<TITLE_ID>/data.vfs`.
This is the first public beta (`v0.9-beta`), so feedback, bug reports, and vita_atlas_map.json pull requests (especially for unmapped 1.2.4 furniture/backgrounds) are super welcome!
You can contact me in Telegram - \@memoryburner
(And yep, its vibecoded, but it works)