'Max Payne' homebrew PS Vita port released

max payne.jpeg

Recently, we shared news of a WIP port of Grand Theft Auto: San Andreas to the PS Vita by TheFlow based on its Android version. Apparently, it was not the only game that TheFlow was working to port on the Vita, as together with modder fgsfdsfgs and others, he released a way to get the Android version of Remedy's classic title Max Payne to work on PlayStation's handheld. Their method uses a wrapper to load the original game binary, patches it and then runs it.

While the game is playable on the Vita, there are some known issues. These include the following, as per the latest GitHub release:
  • The game takes a while to start and load levels.
  • There is a memory leak somewhere, which means that after enough level loads the game will die with a black screen. It usually happens after loading 2/3 of the levels in the entire game, so you might not encounter this during normal gameplay.
  • Key binding menu does not display button names correctly.
  • Intro movies don't play, since the player is not implemented.
To get it to run, you will need to first install two plugins, namely kubridge and fdfix, and then proceed with the VPK installation. You will, of course, need to supply your own copy of Max Payne's APK (version 1.7) and OBB (version 1.6 or 1.7) files.

fgsfdsfgs released a complete step-by-step guide along with a link to the corresponding VPK file over on their GitHub page linked below.

Since this is TheFlow's second big Android port to the Vita, it seems like more could be in the works. Which Android game would you like to see run on the PS Vita next?

:arrow: GitHub Release
:arrow: GitHub README
 

Silent_Gunner

Crazy Cool Cyclops
Banned
Joined
Feb 16, 2017
Messages
2,696
Trophies
0
Age
29
XP
4,727
Country
United States
So, how many of these old PS2/OGXBOX classics got ports to mobile devices? Is it just games published by Rockstar? Or does there exist, say, an Android port of Deus Ex 1, UT99, any of the Hitman games, Far Cry 1, etc.?
 

masagrator

The patches guy
Developer
Joined
Oct 14, 2018
Messages
6,284
Trophies
3
XP
12,055
Country
Poland
So, how many of these old PS2/OGXBOX classics got ports to mobile devices? Is it just games published by Rockstar? Or does there exist, say, an Android port of Deus Ex 1, UT99, any of the Hitman games, Far Cry 1, etc.?
Not much, but we have f.e. Bully, KoToR, some D&D games.
 
Last edited by masagrator,

Rich8606

Well-Known Member
Member
Joined
Nov 13, 2020
Messages
138
Trophies
0
Age
37
XP
334
Country
Indonesia
What about Half Life 2 and Portal? They're on Android.

And 2D games? Wonder Boy: The Dragon's Trap and The World Ends with You?
 
Last edited by Rich8606,

Prans

Geek, gamer, human
OP
Editorial Team
Joined
Apr 22, 2012
Messages
2,984
Trophies
2
Location
There itself.
XP
44,754
What about Half Life 2 and Portal? They're on Android.
These were playable on the Nvidia Shield AFAIK and getting them to work on other Android devices wasn't really successful since last I checked (years ago) but I might be wrong.

There's also Resident Evil 5 for the Shield TV, which would be nice to have on other Android devices as well.
 

masagrator

The patches guy
Developer
Joined
Oct 14, 2018
Messages
6,284
Trophies
3
XP
12,055
Country
Poland
These were playable on the Nvidia Shield AFAIK and getting them to work on other Android devices wasn't really successful since last I checked (years ago) but I might be wrong.

There's also Resident Evil 5 for the Shield TV, which would be nice to have on other Android devices as well.
Issue is they are using OpenGL which is not natively supported by most android phones (they are using OpenGL ES variant). It could be possible to run it on Vita theoretically, but performance will not be satisfying.
 
  • Like
Reactions: Prans

Deleted member 514389

GBA Connoisseur
Member
Joined
Dec 24, 2019
Messages
510
Trophies
0
Location
the toolshed
Website
f.ls
XP
753
Country
Germany
So like, has the Vita got some Android core, or where do these ports come from ?
Wonder if that Portal Android port could...

Personally I see having those on atmo/switch as a grand idea, but I don't know if that can work w.o. switchroot.

--------------------- MERGED ---------------------------

These were playable on the Nvidia Shield AFAIK and getting them to work on other Android devices wasn't really successful since last I checked (years ago) but I might be wrong.

There's also Resident Evil 5 for the Shield TV, which would be nice to have on other Android devices as well.

According to what I read, if you use "GLTools" you can get at least Portal to run on most Android devices.
Haven't tried it yet.
YT has some guides
 
  • Like
Reactions: Prans

masagrator

The patches guy
Developer
Joined
Oct 14, 2018
Messages
6,284
Trophies
3
XP
12,055
Country
Poland
So like, has the Vita got some Android core, or where do these ports come from ?

Personally I see having those on atmo/switch as a grand idea, but I don't know if that can work w.o. switchroot.
No. This is like with Super Mario Galaxy on Switch. It runs native CPU code in the way that makes it possible to run via Vita (it needs to manage unsupported calls in the way that will not break game). Dunno if shaders are converted or emulated.
 
Last edited by masagrator,
  • Like
Reactions: Ishzark
D

Deleted User

Guest
Somebody decompilate Skies of Arcadia Legends. Being able to port that to pc would be fucking incredible.
 

Spider_Man

Well-Known Member
Member
Joined
May 28, 2015
Messages
3,925
Trophies
0
Age
38
XP
5,168
Country
United States
be nice to see these completed and a solid version released for easy install.

wonder how many other ps2/pc games can be ported over.

looks like someone will be able to give the vita some love, better than sony did :D
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,138
Country
United States
These were playable on the Nvidia Shield AFAIK and getting them to work on other Android devices wasn't really successful since last I checked (years ago) but I might be wrong.

There's also Resident Evil 5 for the Shield TV, which would be nice to have on other Android devices as well.
Speaking of the shield, it just got an update to use dualsense or Xbox series s/x with the machine
 

Coto

-
Member
Joined
Jun 4, 2010
Messages
2,979
Trophies
2
XP
2,565
Country
Chile
My advise to TheFlow would be to port a C++ test suite and test memory allocation routines. These detect memory leaks
pretty good.

Use Valgrind or a static analyzer tool on the game itself (remember PC games got around garbage collectors and the Translation Look-aside Buffer hardware, which can trash userland memory and re-use it without software acknowledgement).

Also caches may cause corruption. (ARM Cores require a DrainWriteBuffer -> Invalidate Cache operation before reading or writing from/to source/destination memory), may be absolutely obvious, but sometimes it's not. This takes extra consideration when running into ARM multicores.

For these cases ARM opcodes supporting semaphore opcodes
(compare and exchange) would be ideal, because AHB bus changes must be acknowledged before doing local coherent cache operations.
 
  • Like
Reactions: Deleted User

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    Gray zone warfare looks kinda cool
  • Psionic Roshambo @ Psionic Roshambo:
    Ohhh on one episode they could use rings to summon Captain Criminal who is just Obama like a spoof of Captain Planet lol
    +1
  • BigOnYa @ BigOnYa:
    Does look good
  • Psionic Roshambo @ Psionic Roshambo:
    By your powers combined, hmmm where is Epstein?
  • K3Nv2 @ K3Nv2:
    Just another shit fps clone
  • K3Nv2 @ K3Nv2:
    Thought it was some warzone dlc bs
  • Psionic Roshambo @ Psionic Roshambo:
    Looks like an enhanced Far cry 1
  • K3Nv2 @ K3Nv2:
    That's a far cry from it
  • BigOnYa @ BigOnYa:
    Is it a free to play bs, pay to get any good weapon/gear
  • K3Nv2 @ K3Nv2:
    Not free to play but $35
  • K3Nv2 @ K3Nv2:
    Inb4 kiiwii gives it a 0/10
  • BigOnYa @ BigOnYa:
    6/10 rating on steam
  • Psionic Roshambo @ Psionic Roshambo:
    I would like a Predator game "Kill Team" it takes place in the Jungle of the first movie, your team is sent to hunt the predator, using current tech drones and a trained team. Set traps use strategy to hunt and trap or kill the predator.
  • BigOnYa @ BigOnYa:
    Ill stick with my Battlefield. Yea a predator hunting game like that would be cool. Esp if you can be Arnold and say "Get to da choppa"
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Maybe Arnold could do a cameo voice acting, he is the one briefing you on the mission
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Honestly surprised they didn't make a tie in game for Predators that movie was awesome
  • Psionic Roshambo @ Psionic Roshambo:
    I was kinda sad the Yakuza guy died sword fighting a predator lol
  • Psionic Roshambo @ Psionic Roshambo:
    The Russian guy went out like a boss
  • Psionic Roshambo @ Psionic Roshambo:
    Double claymores to the face definitely kill a predator lol
  • BigOnYa @ BigOnYa:
    I went today and looked at a motorcycle someone was selling. I get there and the battery on it was dead, so the guy grabbed a battery charger and hooked it up. He plugged it into the wall, and the motorcycle sparked and started smoking. Come to find out the bike uses a 6 volt battery and the guy had the charger set to 12v. I said sorry to the dude and walked away. I felt bad for him tho.
  • Psionic Roshambo @ Psionic Roshambo:
    Sounds like it would be an exciting ride....
  • Psionic Roshambo @ Psionic Roshambo:
    Not sure I would want something on fire between my legs
  • BigOnYa @ BigOnYa:
    He ruined it basically. Sad cause it was a decent old bike. It would take more money to rewire the bike than it was worth tho.
    BigOnYa @ BigOnYa: He ruined it basically. Sad cause it was a decent old bike. It would take more money to rewire...