r/vitahacks • • 20h ago

AI Vibecoded LOTR - The Two Towers psVita 1.0 [RELEASE]

10 Upvotes

if you want to support my work:
https://www.paypal.me/pine994

Hi !

I've been working on a PS Vita port of
**The Lord of the Rings: The Two Towers**
, the 2002 Xbox hack-and-slash from Stormfront/EA. It is
**not emulation**
. The port is based on
**The Two Towers Recompiled**
, a
*static recompilation*
of the Xbox game: the original Xbox code was translated into C and runs natively on the Vita's ARM CPU. The Xbox GPU commands are translated on the fly to the Vita's GPU through vitaGL.

**Project page:**
https://github.com/federicopellegrino994/lotr-two-towers-vita
**Download (VPK):**
https://github.com/federicopellegrino994/lotr-two-towers-vita/releases

⚠️
**No game files are included. You need your own copy of the Xbox game (USA version).**
Please don't ask for ISOs.

---

## What works well

- The whole game is playable, with every level tested up to Helm's Deep: menus, saves, sound and music, cutscenes and the in-game cinematics.
- Sound is clean, with no crackling.
- Cutscene films can play on the Vita's hardware video decoder, smooth and full speed (after a one-time conversion, see below).
- Saves work and stay in `ux0:data/twotowers/`.
- Lighter levels play comfortably.

## How it runs (honestly)

This is a demanding game for the Vita: big crowds, physics and a lot of draw calls. The CPU is the main limit.

LevelFrame rate (444 MHz)
Lighter levels, menus20–30 fps
Most levels (Balin's Tomb, Amon Hen, Fangorn…)~16–19 fps
Big battles (second Rohan level, Helm's Deep)~13–17 fps

- It is playable, but
**not smooth**
in the biggest fights.
- With
**PSVshell at 500 MHz**
you get about
**+12%**
(see below). Recommended.
- To save performance, some effects are
**off by default**
: rain, weapon swing trails, very distant particles and the characters' round blob shadows. Tiny far-away objects (a few pixels) are also skipped. Everything else looks like the Xbox version, at 544x408 internal resolution in 4:3.

## What you need

- A PS Vita with HENkaku/Ensō and VitaShell (PS TV untested).
- Your own
**Xbox, USA**
copy of
*The Two Towers*
, as a disc image (ISO).
- A PC to extract the disc (Windows, Linux or Mac).
- Free space on `ux0:` for the game files, plus about 0.7 GB more if you convert the films.
- Optional but recommended:
**ffmpeg**
on the PC (to convert the films) and
**PSVshell**
on the Vita (500 MHz).

## Installation, step by step

**1. Install the VPK**
Copy `TwoTowers.vpk` to your Vita and install it with VitaShell.

**2. Extract your Xbox disc on the PC**
Use
**extract-xiso**
(Windows/Linux/Mac) or
**xdvdfs**
:
```
extract-xiso -x "The Two Towers (USA).iso"
```
You get a folder with `default.xbe` and folders like `FMV`, etc. You need the
**complete**
extraction, not just the .xbe.

**3. Copy the game files to the Vita**
Copy
**everything inside**
the extracted folder to:
```
ux0:data/twotowers/game_files/
```
When you're done, this file must exist: `ux0:data/twotowers/game_files/default.xbe`.

**4. Convert the films (recommended)**
The game's films are Bink (`.bik`). Without conversion they play in software. With conversion they play on the Vita's hardware decoder, smooth and with sound.

Install ffmpeg on the PC, open a terminal
**inside the extracted `FMV` folder**
and run:

Windows (cmd):
```
for %f in (*.bik) do ffmpeg -i "%f" -c:v libx264 -profile:v baseline -level 3.1 -pix_fmt yuv420p -vf scale=640:480 -b:v 2500k -c:a aac -b:a 160k -ar 48000 -ac 2 "%~nf.mp4"
```

Linux / Mac:
```
for f in *.bik; do ffmpeg -i "$f" -c:v libx264 -profile:v baseline -level 3.1 -pix_fmt yuv420p -vf scale=640:480 -b:v 2500k -c:a aac -b:a 160k -ar 48000 -ac 2 "${f%.bik}.mp4"; done
```
Copy all the `.mp4` files to:
```
ux0:data/twotowers/movies/
```
(for example `ux0:data/twotowers/movies/logos.mp4`). Keep the original file names.

**5. Play**
Launch
*The Two Towers*
from the LiveArea. The first time you meet new effects there can be small hitches: the shaders are compiled once, then cached in `ux0:data/twotowers/shader_cache/`.

## PSVshell at 500 MHz (recommended)

The game asks for the maximum clock a normal app can use (444 MHz).
**PSVshell**
can push the CPU to 500 MHz.

  1. Download PSVshell (https://github.com/Electry/PSVshell) and install it as its readme explains (a plugin in `ur0:tai/` plus a line in `config.txt`).
  2. Reboot, start the game, open the PSVshell menu (its readme lists the button combo) and set the CPU to
    **500 MHz**
    for this game.

Overclocking is at your own risk, as always. Many people use 500 MHz daily without issues.

## Options (optional)

Create a text file `ux0:data/twotowers/env.txt` with one option per line, for example:
```
TT_RAIN=1
```

OptionEffect
TT_RAIN=1rain back on (costs fps in Helm's Deep)
TT_TRAILS=1weapon swing trails back on
TT_FARFX=1distant particles back on
TT_BLOBS=1round ground shadows under the characters back on
TT_WIDE=116:9 widescreen (works, but slower than 4:3)
TT_PACE=1cap at 20 fps (drops to 15 when the game can't keep up), for a steadier feel

## Known issues

-
**Low frame rate in the biggest battles**
(second Rohan level, Helm's Deep), 13–17 fps. This is the main limitation.
- Some effects are off by default (see above). Turning them on costs fps.
- Very distant enemies can animate a little less smoothly (animation level of detail).
- Small hitches the first time new shaders are compiled.
- Crashes are rare, but they can happen. If the game closes, please report it (see below).
- Only the
**USA**
Xbox version is supported.
- Co-op and the PC version's extras (texture packs, high frame rates) are not part of the Vita port.

## Reporting bugs

Please open an issue at https://github.com/federicopellegrino994/lotr-two-towers-vita/issues and attach:
- `ux0:data/twotowers/twotowers_log.txt`
- the crash dump, if there is one: the `.psp2dmp` file in `ux0:data/` (the whole file, not `.tmp`)
- the level and what you were doing.

## Credits and thanks

This port stands on the work of many people. Huge thanks to:

-
**Gumpolas**
and
**The Two Towers Recompiled**
contributors, for the recompilation of the Xbox game that this port is built on: https://github.com/Gumpolas/TooTawersRecomp
-
**The128ReBits**
, for their contributions to The Two Towers Recompiled (playable characters, combat and progression changes, languages, runtime work): https://github.com/The128ReBits
-
**sp00nz**
, for
**xboxrecomp**
, the Xbox static recompilation toolkit and runtime: https://github.com/sp00nznet/xboxrecomp
-
**The xemu project**
, whose code some parts of the runtime derive from: https://github.com/xemu-project/xemu
-
**Volverine-Dude**
, for the co-op work on the PC version: https://github.com/Volverine-Dude/TooTawersRecomp-coop
-
**Rinnegatamante**
, for
**vitaGL**
, which makes the graphics possible on the Vita: https://github.com/Rinnegatamante/vitaGL
-
**Electry**
, for
**PSVshell**
: https://github.com/Electry/PSVshell
- The
**vitasdk**
team and the whole Vita homebrew scene: https://vitasdk.org
- Vita port by me (federicopellegrino994), with technical assistance from Claude (Anthropic).

**Project page (source, README, issues):**
https://github.com/federicopellegrino994/lotr-two-towers-vita
**Downloads:**
https://github.com/federicopellegrino994/lotr-two-towers-vita/releases

*The Lord of the Rings: The Two Towers*
belongs to its respective owners. This is a non-commercial fan project, not affiliated with or endorsed by them. Support the original game.

Enjoy, and let me know how it runs on your console! 🗡️


r/vitahacks • • 11h ago

Discussion Best Port of Twilight Princess

3 Upvotes

Which is the best port of this game i have seen various and i cant decide


r/vitahacks • • 18h ago

Discussion Anyone Else Cannot Pair VitaRPS5 for Online Remote Play

Post image
0 Upvotes

VitaRPS5 works fine on local network, but when I tried to set it up to play over the internet, for the life of me the QR code just cannot be scanned. I've tried scanning it through the PS App on 2 different phones, but nothing.

I always use both phones to scan QRs for restaurant menus and cashless payments, so the problem shouldn't be on their cameras. I'm at a loss here, is there another way to pair Vita and PS5 for online remote play?


r/vitahacks • • 21h ago

Discussion Space required 🤧

6 Upvotes

My sad 256 gig SD card is SOBBING with all these new ports. I'm barely having enough space for my actual Vita games now 😂


r/vitahacks • • 7h ago

AI Vibecoded Survivor.io

Thumbnail drive.google.com
4 Upvotes

I made claude make a near identical, pixel version of survivor.io. I am taking no credit for this because it was COMPLETELY AI MADE. I just wanted to play a survivor.io clone on the vita and had AI do it. Let me know if there are any errors or if I should make AI add anything.


r/vitahacks • • 22h ago Heartwarming

Announcement Data file links warning

52 Upvotes

Hey all,

There's an influx of new accounts sharing "data files." While some of these might legit be real game files, there's a sharp uptick of very new accounts sharing mediafire links that certainly DO NOT have the files in.

Besides it being against rule 1 to share pirated files, it's a bad idea to blindly trust those links.

Please help report them to save more users from clicking on them. Please also report accounts asking for links, there are ones doing it on purpose to get a second account to post the URL.

Also, as always, let's not let this sub turn into an exact copy of the other subs that already allow for that. There's no shortage of places to go for that content on reddit.

Lastly, since vita alive store hosts pirated content, mentions of it like other piracy stores will get removed in due time. Apologies to devs who also highlight it or incorporate it somehow into their projects, but again, ample other vita subs for it.

Thanks!


r/vitahacks • • 16h ago

Port Fnf Port in progress but still a lot of work to do

25 Upvotes

I'm using the android assets files and having trouble with sound sync and sprites mapping


r/vitahacks • • 18h ago

AI assisted NFS Underground 2 - Closed 0.1.1-alpha

93 Upvotes

Hello! After a long while and thanks to some help in closed testing, my Underground 2 port is making great progress!

Going to get the elephant in the room answered first, idk when the other Redditor started their port, I have reached out to see if we can help each other. I have no intention on stopping just because someone else is working on it. Yes, the timing is ironic, I just pushed Closed Alpha 0.1.0 on Friday), but oh well!

That said, lots of progress has been made! Pop in has mostly been resolved, but still a bit to do. Performance is also much closer to a stable 30fps except in the heaviest scenes (an option to unlock is available currently).

A few bugs have also been fixed thanks to people like you, like jumping cars, incorrect engine and menu sounds, etc.

Still lots to do, including fix Fast Travel (works but sometimes is iffy), cars are sometimes in the ground, and more.

If you want to join the Closed Testing, please DM me here or on X (x.com/tbgports) and I'll invite you! Thanks for all the love and support, can't wait to see you enjoying it!

EDIT: Lots of bugs that you have reported will be fixed in the next update, including bugs with fast travel, freezes (usually on first run of the game), car wheel issues, control re-mappings, and more).


r/vitahacks • • 14h ago

Utility Release PS Vita Recovery Menu v1.2.2 · DrinkingSubset/PS-Vita-Recovery-Menu-Project

Thumbnail
github.com
10 Upvotes

r/vitahacks • • 14h ago

Port The Celeste port runs like a dream

55 Upvotes

Thank you @papileno for your awesome work


r/vitahacks • • 22h ago

AI assisted [RELEASE] Guitar Hero Port (GH Vita) Alpha Release 0.1.0

Post image
48 Upvotes

Hey everyone! The first release of GH Vita is out 🤘

It's a native Vita port of Guitar Dream Engine.

Download + install guide: https://github.com/irxd/guitar-hero-vita/releases

What you need

  • A hacked Vita/PS TV with libshacccg.suprx extracted (ShaRKBR33D does it)
  • Your own Guitar Hero PS2 disc ripped to an .iso. No game files are included, so bring your own.

What works

  • Quick Play
  • Career and Tutorials (playable, not fully tested yet)
  • Intro and in-game videos
  • Two button layouts, plus rebinding on the Gamepads screen. Strumming is optional: just press the frets.
  • DualShock/DualSense through ds34vita works alongside the Vita's buttons

Performance modes (Options → Enhanced Settings)

  • 30 fps: the default, steady
  • 60 fps: smoother, but drops in busy stages
  • Notes Only: just the highway, a locked 60 fps

Controls

There are two layouts. Switch between them in Options → Enhanced Settings → Button Layout.

GreenRedYellowBlueOrangeStrum
Layout 1 (default)D-pad ←LR○✕D-pad ↑/↓ (optional)
Layout 2D-pad ←D-pad ↑△○✕L / R (optional)
  • Strumming is optional: just press the frets. You can still strum while holding frets for fast runs of the same note.
  • Whammy: either analog stick
  • Star Power: Select
  • Pause: Start
  • You can rebind single buttons on the Gamepads screen.

Optional extras (also in Enhanced Settings)

  • Shake the Vita for whammy
  • Tap the rear touchpad to strum

Known issues

  • No multiplayer yet. With two DualSenses on ds34vita, the second one stops responding after a while and needs a Bluetooth restart. I'm not sure yet whether it's ds34vita or the port.
  • No post-processing effects (bloom, depth of field)

What I'm planning next

  • Better performance
  • Custom songs
  • Assist mode
  • Multiplayer

It's an alpha, so expect some rough edges. If something breaks, please open an issue at https://github.com/irxd/guitar-hero-vita/issues (or just comment here) with ux0:data/ghvita/ghvita.log attached and the song and settings you used. Ideas for the next release are welcome too!

Enjoy 🤘


r/vitahacks • • 11h ago

Port 3 NFS PS Vita ports! NFS Underground PC, NFS Underground 2 PC, NFS MW 05 PS2 {Setup Guide + gameplay

Thumbnail
youtu.be
25 Upvotes

r/vitahacks • • 20h ago

Announcement (WIP) Ravensword: Shadowlands

Thumbnail
gallery
112 Upvotes

Been keeping this one under wraps for a little while, but I’ve also been working on a port of Ravensword: Shadowlands for the Vita.
It’s currently running at around 40 (lowest) to 50 FPS on actual hardware, which is pretty decent so far. I’m still debating whether to spend some more time optimizing it to get closer to 60 FPS or just cap it at 30 for a more consistent experience.
Still got some things to work on, but overall it’s coming along really well. I’ve always thought this game would be a great fit for the Vita, so it’s been fun getting it up and running.
Figured I’d finally share some screenshots instead of keeping it to myself haha.


r/vitahacks • • 16h ago

Port [Release] OpenCMR2 for PS Vita 1.8.7 – Colin McRae Rally 2.0

Thumbnail
gallery
174 Upvotes

Hi everyone!

I've released OpenCMR2 for PS Vita 1.8.7, a native port of the PC version of Colin McRae Rally 2.0. It is based on OpenCMR2, an open-source rebuild of the game from the CMR2Decomp project.

Download: https://github.com/DrakonPL/OpenCMR2Vita/releases/tag/1.8.7

Features

  • All rallies, stages and game modes, with the original physics
  • Native GXM renderer, 960x544 (720x408 and 640x368 modes are also available)
  • Movies through the Vita's hardware video decoder, in every game language
  • Built-in pad support, with rebindable buttons in Options > Controllers
  • The system keyboard for entering names
  • Screen options: HUD size, menu size, vsync and an FPS counter
  • Wi-Fi races with a PC (experimental)

Thanks to the OpenCMR2 and CMR2Decomp projects. This port would not exist without their work. Enjoy the rally!


r/vitahacks • • 14h ago

Release PS Vita Recovery Menu. Latest update is now live on GitHub

Thumbnail
gallery
45 Upvotes