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

uyjulian

Homebrewer
OP
Member
Joined
Nov 26, 2012
Messages
2,564
Trophies
1
Location
United States
Website
sites.google.com
XP
3,158
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,564
Trophies
1
Location
United States
Website
sites.google.com
XP
3,158
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,661
Trophies
3
Age
21
Location
Budakeszi, Hungary
Website
sites.google.com
XP
9,093
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
21,978
Trophies
3
Location
Space
XP
11,180
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: ChaoticCinnabon

specht

Well-Known Member
Member
Joined
Oct 26, 2008
Messages
234
Trophies
0
XP
885
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
31
XP
862
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
0
XP
885
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,564
Trophies
1
Location
United States
Website
sites.google.com
XP
3,158
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
General chit-chat
Help Users
    KenniesNewName @ KenniesNewName: They built a brand new one right by Walmart lol