Homebrew Discussion Play! PS2 Emulator is running on the Nintendo Switch!

uyjulian

Homebrewer
OP
Member
Joined
Nov 26, 2012
Messages
2,567
Trophies
2
Location
United States
Website
sites.google.com
XP
3,851
Country
United States


Let me save you some time posting.
ITT:
>『Overclock will reduce battery life!』
>『I want native Horizon port!』
>『I don't like Linux!』
>『Switch is not designed for overclock!』
>『I don't see any joycons!』
>『It's too slow! It will never run full speed!』
>『This is not PCSX2! PCSX2 is faster!』
>『This is not DamonPS2! DamonPS2 is faster!』
>『Where is the download?』
>『How do I compile?』





To build and run Play! PS2 emulator on L4T Switch, run this in the terminal:

Code:
sudo apt install git cmake ffmpeg libavcodec-dev libevdev-dev libusb-1.0-0-dev libavformat-dev libswscale-dev libsfml-dev libminiupnpc-dev libmbedtls-dev curl libhidapi-dev libwxbase3.0-dev libwxgtk3.0-dev libpangocairo-1.0-0 libgtk2.0-dev libbluetooth-dev qt5-default qtbase5-private-dev libudev-dev libxi-dev;git clone --recurse-submodules https://github.com/jpd002/Play-.git;cd Play-;mkdir build;cd build;cmake ..;cmake --build .;./Source/ui_qt/Play

A libretro core is available, and Play! is also available on Lakka Switch.
More details about Play! PS2 emulator are located here: http://purei.org/

HELP WANTED on various PS2 projects: https://www.psx-place.com/threads/various-ps2-projects.20977/
 
Last edited by uyjulian,

uyjulian

Homebrewer
OP
Member
Joined
Nov 26, 2012
Messages
2,567
Trophies
2
Location
United States
Website
sites.google.com
XP
3,851
Country
United States
Kudos for the creative posting :)
Can you explain with a bit more detail how it is working? JIT? Any features that are not enabled vs PC version? Thanks man!
aarch64 JIT is working. Features are same as PC version. OpenGLES is currently being used because Qt on ARM is forced to OpenGLES.


it can run a ps2 emulator
OK...
but there's no good ps2 emulator for arm
Play! is a good PS2 emulator, and it's running on an ARM based platform?
 
Last edited by uyjulian,

smileyhead

I like cute stuff.
Member
Joined
Aug 31, 2015
Messages
4,798
Trophies
3
Age
23
Location
Budakeszi, Hungary
Website
sites.google.com
XP
10,549
Country
Hungary
>『Overclock will reduce battery life!』
>『I want native Horizon port!』
>『I don't like Linux!』
>『Switch is not designed for overclock!』
>『I don't see any joycons!』
>『It's too slow! It will never run full speed!』
>『This is not PCSX2! PCSX2 is faster!』
>『This is not DamonPS2! DamonPS2 is faster!』
>『Where is the download?』
>『How do I compile?』
Please don't use a dark text colour like that, it's really uncomfortable to read in the dark theme.
 

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,207
Trophies
4
Location
Space
XP
13,730
Country
Norway
IIRC Play! is slow even on high end Android devices. I didn't realize it was open source though, I guess that's cool. But it's going to need some serious optimizations to run full speed even on high end Android devices, nevermind the Switch. Maybe in a few years when the Switch is at the end of its life spawn it'll run at playable speeds.

I guess considering it's a brand new emulator, it's a good effort, and there's probably much that can be improved on to get it to a playable state.
 
Last edited by The Real Jdbye,
  • Like
Reactions: AngryCinnabon

specht

Well-Known Member
Member
Joined
Oct 26, 2008
Messages
234
Trophies
1
XP
917
Country
Canada
Has anyone done a PR for this yet? I have some changes that I planned on submitting tonight but if it's already done that saves me some time. More or less just adding an aarch64 Unix target to the makefiles and OpenGlDef.h along with the changes I mentioned in the GitHub issue.

I found Devil May Cry 3 to be more impressive and actually kinda playable at like 10-20 fps.
 
Last edited by specht,

Techjunky90

Well-Known Member
Member
Joined
Apr 7, 2017
Messages
487
Trophies
0
Age
33
XP
882
Country
United States
At least it's outputting video now. I have no doubts about the switch being able to eventually emulate ps2 at playable speeds.
 

specht

Well-Known Member
Member
Joined
Oct 26, 2008
Messages
234
Trophies
1
XP
917
Country
Canada
At least it's outputting video now. I have no doubts about the switch being able to eventually emulate ps2 at playable speeds.

Video was working a few minutes after I made the post I think you're referencing. Just didn't realise gles compatibility had to be added as a makefile add_definition.

But yeah it'd be cool if this brought more attention to Play, even if it's slow right now. Sadly I've seen people confuse it with that Android PS2 emulator that stole PCSX2 code.
 

uyjulian

Homebrewer
OP
Member
Joined
Nov 26, 2012
Messages
2,567
Trophies
2
Location
United States
Website
sites.google.com
XP
3,851
Country
United States
Has anyone done a PR for this yet? I have some changes that I planned on submitting tonight but if it's already done that saves me some time. More or less just adding an aarch64 Unix target to the makefiles and OpenGlDef.h along with the changes I mentioned in the GitHub issue.

I found Devil May Cry 3 to be more impressive and actually kinda playable at like 10-20 fps.
Nope. My changes are pretty invasive, so I haven't done a PR yet.

It would be nice if it was possible to detect if Qt was compiled against OpenGL or OpenGLES.

Wait does this thing actually have an aarch64 dynarec? I refuse to believe it seeing how poorly it runs
Yes, it does. Check out "Jitter::CreateCodeGen"

It has issues with audio in almost all games on PC. And are you trying to say it will work better on ARM?
It will work better on all platforms once more optimizations are added.
Issues with audio are probably because of low FPS. If you use the standalone PsfPlayer it works great.

Please don't use a dark text colour like that, it's really uncomfortable to read in the dark theme.

I might have fixed that issue.
 
Last edited by uyjulian,
  • Like
Reactions: masagrator

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Sicklyboy @ Sicklyboy:
    maaaaan that's so awesome but I also don't want to fork over a hundo for it
  • Veho @ Veho:
    The fuuuuu---
  • Veho @ Veho:
    I thought it was an actual xBox at that price.
  • Sicklyboy @ Sicklyboy:
    I wanna grab a 360 Slim and a 360 E one of these days. Missed the boat of getting them at their lowest though, once they were discontinued. Could've got them for cheap back when I was a broke 20 something working at Target, but then again, I was a broke 20 something working at Target
  • Veho @ Veho:
    Being broke is no fun.
  • K3Nv2 @ K3Nv2:
    @Sicklyboy, $150 isn't that bad for a jtag slim on ebay
  • Veho @ Veho:
    I only wish it was actually playable.
  • Veho @ Veho:
    There's a guy on the Tube of You that makes playable mechanical arcade games out of Lego. This could work on the same principle.
  • Veho @ Veho:
    Just a couple of guys taking their manatee out for some fresh air, why you have to molest them?
  • Veho @ Veho:
    Stupid Chinese shop switched their shipping company and this one is slooooooow.
  • LeoTCK @ LeoTCK:
    STOP BUYING CHINESE CRAP THEN
  • LeoTCK @ LeoTCK:
    SUPPORT LOCAL PRODUCTS, MAKE REVOLUTION
  • LeoTCK @ LeoTCK:
    THEY KEEP REMOVING LOCAL SHIt AND REPLACING WItH INFERIOR CHINESE CRAP
  • LeoTCK @ LeoTCK:
    THATS WHY MY PARTNER CANT GET A GOOTWEAR HIS SIZE ANYMORE
  • LeoTCK @ LeoTCK:
    HE HAS BIG FOOT AND BIG DUCK
  • LeoTCK @ LeoTCK:
    d*ck i mean*
  • LeoTCK @ LeoTCK:
    lol
  • Veho @ Veho:
    Mkay.
  • Veho @ Veho:
    I just ordered another package from China just to spite you.
  • SylverReZ @ SylverReZ:
    Leo could not withstand communism.
  • SylverReZ @ SylverReZ:
    Its OUR products to begin with lol.
    SylverReZ @ SylverReZ: Its OUR products to begin with lol.