1. uyjulian

    OP uyjulian Homebrewer
    Member

    Joined:
    Nov 26, 2012
    Messages:
    2,536
    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, May 21, 2020
  2. natinusala

    natinusala Win32 error 31 is not an error
    Member

    Joined:
    Dec 1, 2012
    Messages:
    1,032
    Country:
    France
  3. arjunpatel

    arjunpatel GBAtemp Regular
    Member

    Joined:
    Jul 27, 2018
    Messages:
    132
    Country:
    United States
    yikes is right but he isnt wrong you know lol
     
  4. Sethtimus Prime

    Sethtimus Prime GBAtemp Regular
    Member

    Joined:
    Nov 16, 2012
    Messages:
    101
    Country:
    United States
    How many fps?
     
  5. uyjulian

    OP uyjulian Homebrewer
    Member

    Joined:
    Nov 26, 2012
    Messages:
    2,536
    Country:
    United States
    10
     
    mathew77 and burt111 like this.
  6. Sethtimus Prime

    Sethtimus Prime GBAtemp Regular
    Member

    Joined:
    Nov 16, 2012
    Messages:
    101
    Country:
    United States
    That's actually more than I expected.
     
    intellettuanale and mathew77 like this.
  7. uyjulian

    OP uyjulian Homebrewer
    Member

    Joined:
    Nov 26, 2012
    Messages:
    2,536
    Country:
    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

    Joined:
    Mar 25, 2011
    Messages:
    22
    Country:
    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

    Joined:
    Sep 12, 2018
    Messages:
    147
    Country:
    Israel
    it can run a ps2 emulator but there's no good ps2 emulator for arm
     
  10. uyjulian

    OP uyjulian Homebrewer
    Member

    Joined:
    Nov 26, 2012
    Messages:
    2,536
    Country:
    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

    Joined:
    Dec 1, 2012
    Messages:
    1,032
    Country:
    France
    Wait does this thing actually have an aarch64 dynarec? I refuse to believe it seeing how poorly it runs
     
    burt111 likes this.
  12. I_am_the_ruler_of_zelda

    Newcomer

    Joined:
    Nov 28, 2016
    Messages:
    16
    Country:
    United States
    i cant wait when u fix this and it runs 100% speed
     
    LuigiXL likes this.
  13. smileyhead

    smileyhead I like cute stuff.
    Member

    Joined:
    Aug 31, 2015
    Messages:
    4,378
    Country:
    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 The developper
    Member

    Joined:
    Oct 14, 2018
    Messages:
    3,386
    Country:
    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

    Joined:
    Mar 17, 2010
    Messages:
    19,957
    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, May 15, 2019
  16. specht

    specht GBAtemp Regular
    Member

    Joined:
    Oct 26, 2008
    Messages:
    234
    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, May 15, 2019
  17. Techjunky90

    Techjunky90 GBAtemp Fan
    Member

    Joined:
    Apr 7, 2017
    Messages:
    487
    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.
     
  18. specht

    specht GBAtemp Regular
    Member

    Joined:
    Oct 26, 2008
    Messages:
    234
    Country:
    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

    Joined:
    Nov 26, 2012
    Messages:
    2,536
    Country:
    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

    Joined:
    Nov 26, 2012
    Messages:
    2,536
    Country:
    United States
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - Emulator, Nintendo, running