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

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by uyjulian, May 15, 2019.

  1. uyjulian
    OP

    uyjulian Homebrewer

    Member
    8
    Nov 26, 2012
    United States
    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, 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 https://github.com/jpd002/Play-Build.git;cd Play-Build;git submodule update -q --init --recursive;git submodule foreach "git checkout -q master";cd Dependencies;git submodule update --init;cd ..;cd Play;mkdir build;cd build;cmake ..;cmake --build .;Source/ui_qt/Play
    This is running Play! PS2 emulator. More details here: http://purei.org/
    Related to issue #696

    HELP WANTED on various PS2 projects: https://www.psx-place.com/threads/various-ps2-projects.20977/
     
    Last edited by uyjulian, May 18, 2019
    Mambila2001, falquinho, IHOP and 13 others like this.
  2. natinusala

    natinusala Win32 error 31 is not an error

    Member
    11
    Dec 1, 2012
    France
    yikes
     
  3. arjunpatel

    arjunpatel Advanced Member

    Newcomer
    2
    Jul 27, 2018
    United States
    yikes is right but he isnt wrong you know lol
     
  4. Sethtimus Prime

    Sethtimus Prime Advanced Member

    Newcomer
    1
    Nov 16, 2012
    United States
    How many fps?
     
  5. uyjulian
    OP

    uyjulian Homebrewer

    Member
    8
    Nov 26, 2012
    United States
    United States
    10
     
    mathew77 and burt111 like this.
  6. Sethtimus Prime

    Sethtimus Prime Advanced Member

    Newcomer
    1
    Nov 16, 2012
    United States
    That's actually more than I expected.
     
    mathew77 likes this.
  7. uyjulian
    OP

    uyjulian Homebrewer

    Member
    8
    Nov 26, 2012
    United States
    United States
    Hopefully future speedups will get that to 30

    It also runs about 20fps on PC, so some optimizations are needed
     
  8. davidgf

    davidgf Member

    Newcomer
    3
    Mar 25, 2011
    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!
     
    falquinho likes this.
  9. tomi1578

    tomi1578 GBAtemp Regular

    Member
    3
    Sep 12, 2018
    Israel
    it can run a ps2 emulator but there's no good ps2 emulator for arm
     
  10. uyjulian
    OP

    uyjulian Homebrewer

    Member
    8
    Nov 26, 2012
    United States
    United States
    aarch64 JIT is working. Features are same as PC version. OpenGLES is currently being used because Qt on ARM is forced to OpenGLES.


    OK...
    Play! is a good PS2 emulator, and it's running on an ARM based platform?
     
    Last edited by uyjulian, May 15, 2019
  11. natinusala

    natinusala Win32 error 31 is not an error

    Member
    11
    Dec 1, 2012
    France
    Wait does this thing actually have an aarch64 dynarec? I refuse to believe it seeing how poorly it runs
     
  12. I_am_the_ruler_of_zelda

    I_am_the_ruler_of_zelda Member

    Newcomer
    1
    Nov 28, 2016
    United States
    i cant wait when u fix this and it runs 100% speed
     
    LuigiXL likes this.
  13. smileyhead

    smileyhead Yes.

    Member
    16
    Aug 31, 2015
    Hungary
    Budakeszi, Hungary
    Please don't use a dark text colour like that, it's really uncomfortable to read in the dark theme.
     
    NoNAND likes this.
  14. masagrator

    masagrator File digger

    Member
    5
    Oct 14, 2018
    Poland
    It has issues with audio in almost all games on PC. And are you trying to say it will work better on ARM?
     
  15. The Real Jdbye

    The Real Jdbye Always Remember 30/07/08

    Member
    18
    GBAtemp Patron
    The Real Jdbye is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Mar 17, 2010
    Norway
    Alola
    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, May 15, 2019
  16. specht

    specht GBAtemp Regular

    Member
    5
    Oct 26, 2008
    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, May 15, 2019
  17. Techjunky90

    Techjunky90 GBAtemp Fan

    Member
    5
    Apr 7, 2017
    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.
     
  18. specht

    specht GBAtemp Regular

    Member
    5
    Oct 26, 2008
    Canada
    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.
     
  19. uyjulian
    OP

    uyjulian Homebrewer

    Member
    8
    Nov 26, 2012
    United States
    United States
    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.

    Yes, it does. Check out "Jitter::CreateCodeGen"

    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.

    I might have fixed that issue.
     
    Last edited by uyjulian, May 15, 2019
    masagrator likes this.
  20. uyjulian
    OP

    uyjulian Homebrewer

    Member
    8
    Nov 26, 2012
    United States
    United States
Loading...