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

uyjulian

Homebrewer
OP
Member
Joined
Nov 26, 2012
Messages
2,568
Trophies
2
Location
United States
Website
sites.google.com
XP
3,916
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,568
Trophies
2
Location
United States
Website
sites.google.com
XP
3,916
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,808
Trophies
3
Age
23
Location
Budakeszi, Hungary
Website
sites.google.com
XP
10,631
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,385
Trophies
4
Location
Space
XP
14,021
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,568
Trophies
2
Location
United States
Website
sites.google.com
XP
3,916
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
  • mthrnite @ mthrnite:
    hola mi hermano
  • cearp @ cearp:
    @Sicklyboy - the comparison would be forgiving all medical debt, not making healthcare illegal!
  • cearp @ cearp:
    Although I still don't agree, medical debt is rarely a choice, whereas enrolling in university is certainly a choice
  • mthrnite @ mthrnite:
    we need more smart cats tho for reals
  • Sicklyboy @ Sicklyboy:
    College costs, college loans, book prices, the entire thing is predatory, oft touted as essential to a successful life for my generation and the ones since, and completely unaffordable without putting you through an insane financial hardship for literal decades in many situations.
    +1
  • Sicklyboy @ Sicklyboy:
    Many of the same issues can be seen for the insanely predatory healthcare and health insurance system in the US
    +1
  • mthrnite @ mthrnite:
    ^this
  • Sicklyboy @ Sicklyboy:
    It's important for society to be healthy and educated. If those things can't happen because all of the institutions that prop up those industries make it unattainable for all but a small portion of society, then your society is largely going to be disease ridden, dying, and uneducated in very short order.
  • K3Nv2 @ K3Nv2:
    Issue is it's too rich of a coperation already with bad sugar diets causing diabetes and killing teeth a new set of teeth around 90k
  • cearp @ cearp:
    I agree it's not easy for the average American, let alone the ones below that average. Free / cheaper healthcare is much more important I think than free university education.
    Of course like @mthrnite said, why not both. But I doubt both will get solved at once, and surely healthcare is top priority.
    +1
  • mthrnite @ mthrnite:
    they go hand in hand unless you want a plumber performing your triple bypass
  • K3Nv2 @ K3Nv2:
    Everyone should be Medicaid elegable for implants at the most
  • Sicklyboy @ Sicklyboy:
    If it's needed to keep you healthy it shouldn't cost you $90k. The fact that it does is an enormous problem
  • mthrnite @ mthrnite:
    but yeah, affordable is all i'm asking for
  • mthrnite @ mthrnite:
    i'd be happy with affordable dentures
  • K3Nv2 @ K3Nv2:
    With my old dentist he even encouraged switching insurance every quarter
  • Sicklyboy @ Sicklyboy:
    And if the concern is that "well we can't trust the government to intervene for this because the government can't do anything right and wastes tons of money" then holy shit push for a better government. I'm certainly trying to. Don't throw your hands up and go "we've tried nothing and we're all out of ideas"
  • K3Nv2 @ K3Nv2:
    Plus technology cost iirc even a water jet drill is 1k per
  • cearp @ cearp:
    @K3Nv2 that's crazily expensive. how long will that take to pay off?

    Although diet is largely education, people don't need to go to university to learn what's healthy and what's not,
    it's the whole country, big corporations and advertising that is to blame for leading most of the population to believe that poptarts and froot loops are healthy to feed a child
  • mthrnite @ mthrnite:
    i would think the population knows better but with food deserts and abject poverty, sometimes a poptart gonna have to do.
  • mthrnite @ mthrnite:
    it's a big ol complicated world innit
    +1
  • Sicklyboy @ Sicklyboy:
    As someone who went through the grade school system in the US some time within the past 30 or so years, not nearly enough is done to promote and educate on how to eat healthy in a way that is feasible to do on a regular basis and also affordable. Eating healthy is, comparatively, fucking expensive. So is eating unhealthy, but in many cases eating unhealthy is more affordable than eating healthy
    +1
  • cearp @ cearp:
    90k could get you a 3 bedroom house in some poorer parts of the country
  • K3Nv2 @ K3Nv2:
    @cearp, it's like buying a new car most dentists say so $250 per the rest of your life
  • cearp @ cearp:
    Jesus
    cearp @ cearp: Jesus