RELEASE PPSSPP Switch Beta Release

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by m4xw, Apr 8, 2019.

  1. satel

    satel Luigi's Big Brother

    Member
    7
    Nov 3, 2004
    Laos
    do the GTA games stutter for you ? if not can you please share your settings as i'm experiencing stutter every few seconds
     
  2. fst312

    fst312 GBAtemp Advanced Fan

    Member
    5
    Nov 4, 2008
    United States
    New York
    Castlevania seems to be broken my character is blinking, can’t get hit and the second room in stage from my current save from the first release is broken. Maybe it’s a jit problem, for a while I thought I fixed the problem when I started a new save file/copied it over but than things went wrong again. I think the fixed version of the game was when I used ir jit but I need to test that again later. The good thing is the intro works now.
     
  3. notimp

    notimp GBAtemp Advanced Maniac

    Member
    9
    Sep 18, 2007
    GENERAL NOTES:

    What you should know about the BETA PPSSPP release.

    1. Read the readme post. Seriously. Go to the first posting in this thread and read it. Answering questions you could have answered yourselves, isnt fun (anymore).

    2. Here is how your "compatibility testing" experience is usually structured.

    a. You will want to use JIT to get the most performance. If a game doesnt load in JIT, you want to try to disable each of the two settings with a (speedhack) next to it, thats Fast Memory, and Vertex Cache - and try loading it then. Some games you only get loading on JIT with one or both of the two disabled. Detriments are slim to none, its more that some games need those settings off, and some need them on. The same goes for if a game shows heavy graphical errors (missing textures, ...), trying to disable those two is your best bet of getting it to work better.

    You could also try disabling Block Transfer GPU, but usually the only benefit do disabling that is to get a liiiiitle more performance out of some games, in exchange for maybe toning down some visual effects. (See: 3. Getting more performance out of games.)

    b. if your game still doest run, you can try switching to IR-Jit for that game, the performance will be far less impressive, but some games might run, that wouldnt otherwise. IR-Jit will almost exclusively have you overclock the CPU to get decent performance. While on Jit, on some games you can even underclock it.

    3. Getting more performance out of games.
    Once a game runs, the first thing to test, is if you can underclock the CPU (usually you only can on Jit), without the game performance suffering. You do that on the fly, and see if stuttering increases. If not - underclock to safe battery.

    If your game stutters frequently, you can try to get that solved by throwing more performance at it. The first thing to try is a CPU overclock to 1.2 or 1.5 Ghz. This can be done in Retroarch itself. Be conservative, if you can get by with less, choose less (again, better battery life). This gives you arguably the most benefit, generally speaking.

    The next most likely thing to improve performance on Jit is to turn Vertex Cache off. The current builds have Jit enabled vertex calculation, so vertex cache isnt necessarily needed anymore (because its so fast), in some games this might lead to a little performance increase.

    If that all doesnt get rid of all or at least most stutter (which in JIT it should) the next thing to try is to set the fixed CPU setting in core options to 333 Mhz, thats the emulated speed of the PSP itsself. Some games profit from having this set to 333, f.e. to stream in content faster. Usually the benefit here also is minimal.

    If a game runs in JIT, you usually get 3x resolution 'almost for free', so increrasing the resolution in game options should also be considered a performance tweak you should do.

    //What about overclocking my GPU? Yes, some games benefit greatly from it, others dont. If you are getting "loading jitter" (on scene transitions, draw in, ..) overclocking the GPU usually doesnt help, for overall performence though it might. ONLY in handheld mode. In docked mode the GPU already is clocked fast enough, and games should run better. In Handheld mode the max overclock is 460Mhz anyhow, so this is what you will go with - should you chose to do so. JIT benefits from it, IR-Jit almost not at all. It could lead to a general increase in potential framerate - or not, depending on the game. Overclocking your GPU is to be seen as only one tool in the toolkit, not the be all end all of tools to get better performance out of your games.

    Its interesting, because it might in return allow you to underclock the CPU in some games, but not all, or even most, and on some you will still prefer to overclock the CPU as well. For most games, you will/might not need it at all. Do the other tweaks first - then read up on it, if you think you still need it.

    For atmosphere you need the sys-clk module to do it. Search for the thread in this forum.
    --

    Thats about it, have fun. :)

    — Posts automatically merged - Please don't double post! —

    Castlevania Dracula X is one of the examples where disabling tthe speedhacks in JIT, makes it work almost flawlessly on JIT. Read the content of what I wrote a few minutes earlier - and try to understand it. :)
     
    Last edited by notimp, Apr 16, 2019 at 8:46 AM
    Zumoly, sorabora, graeme122 and 6 others like this.
  4. icefox

    icefox Advanced Member

    Newcomer
    3
    Jun 16, 2018
    United States
    Note on God of War:

    The GoW PSP engine is unique in that it does not limit the frame rate. It will run the fastest frame rate the hardware allows, which ranges roughly from 25 to 50 on a real PSP. It also utilizes the 333Mhz max CPU power. This creates a problem on the emulator because the engine cannot correctly gauge the emulated system's capability. On a switch, the default setting would lead to smooth action but at 70-80% speed and choppy sound. Frameskip doesn't work for me; the screen would flicker horribly and many times remains pitch black.

    I'm testing Ghost of Sparta with max CPU OC (1785Hmz). The solution I've found is to set CPU at 222Mhz. This may be counterintuitive but actually makes sense. It tricks the engine to believe the system has lower specs and target lower frame rates, lessening the emulator's burden. With CPU at 222HMz and native 1x resolution, the game is less smooth because of the lower frame rate, but runs at FULL SPEED with smooth sound about 80% of the time. The other 20% time there is slight slowdown and choppy sound. In other words, it is highly playable. Even at 2x resolution the speed is only just slightly lower. When docked the GPU runs at double the frame rate and 2x resolution has an even smaller impact.

    BTW, does anyone know how to implement the 60/30fps cheat? The tutorial for PC is here: https://forums.ppsspp.org/showthread.php?tid=22159, and m4xw referred to the cheat as well. Basically, with the 30fps cheat, if the CPU can run at 60fps, the GPU only needs to render at 30fps to get full speed. Currently the Switch cpu can't yet run the game at 60fps, but with further optimization it may be possible, which may be the best way to play this game on the Switch.
     
  5. fst312

    fst312 GBAtemp Advanced Fan

    Member
    5
    Nov 4, 2008
    United States
    New York
    Thank you I did read something earlier but I couldn’t remember what. I will try this out later.
     
  6. ploggy

    ploggy WAKA! WAKA!

    Member
    13
    Aug 29, 2007
    United Kingdom
    Quick HB Compatibility rundown for PPSSPP.
    (for best results I keep the PSP HB in a folder called PSP in the root of the SD.)

    • Alex the Alligator 4 = Works Perfectly!!
    • Bombjack = Works Perfectly!!
    • C16 - PSPYAPE = Works fine but you have to fight with the ui. Set OC to "Boost" for fullspeed ;)
    • C64 Vice = Works Perfectly!!
    • Cave Story = Works Perfectly!!
    • Chuckie Egg = Works Perfectly!!
    • Commander Keen = Works Perfectly!!
    • Doom Legacy = Works Perfectly!!
    • Duke Nukem = Works Perfectly!!
    • Giana Sisters PSP = Works Perfectly!!
    • Hexen II = Seems to Work Perfectly, buttons need remapping
    • Jazz Jackrabbit = Works Perfectly!!
    • Masterboy = Both GBC and Mastersystem Work Perfectly!!
    • Nesterj = Works Perfectly!!
    • Openbor - Beats of Rage = Works (some enemies colours are off, otherwise it's perfect)
    • PicoDrive = Games show a black screen (sound still works) unless you mess with the Display Settings, then it works Perfectly!!
    • Quake II = Freezes on initial load screen :(
    • RACE! (NGP) = Works Perfectly!!
    • Rick Dangerous = Works Perfectly!! (Small Screen tho) :P
    • Rise of the Triad = Works Perfectly!!
    • Super Mario War v1.6 = Works Perfectly!!
    • SQUAREZ = Works Perfectly!!
    • Triple Triad Hybrid = Works Perfectly.... I guess :P
    • Zelda: Oni Link Begins = Works Perfectly!!
    • Zelda: Return of the Hylian = Works Perfectly!!

    It's not lost on me that Emulators running on PSP are pointless for general use (except C64/C16) since we have better natively running on Switch, but just for the cool factor :P
     
    Last edited by ploggy, Apr 16, 2019 at 5:31 PM
    Bil, lordelan, Ty_ and 2 others like this.
  7. notimp

    notimp GBAtemp Advanced Maniac

    Member
    9
    Sep 18, 2007
    Yes, 30 FPS cheats can and should be implemented and activated, if your game supports it.

    1. Turn on "cheats" in the core options (PPSSPP has an extra setting for it), for your game.

    2. Put your cheat codes in /retroarch/cores/savefiles/PSP/Cheats/
    in a file with the game-id and an .ini extension, but without any - (hypen) that usually might be in the game id name.

    For GOW CoO (european version), this would be:
    /retroarch/cores/savefiles/PSP/Cheats/UCES00842.ini

    Note the C0 entry in front of your specific cheat and change it to C1 to activate it, then save the .ini.

    For GOW CoO (european version), this leads to an ini content of:
    Code:
    _S UCES-00842
    _G God of War: Chains of Olympus [EU]
    _C1 30 FPS [Fixed]
    _L 0xE00E001E 0x10003800
    _L 0xE00D0200 0x0001A378
    _L 0x10003800 0x0000001E
    _L 0x20003804 0x10800003
    _L 0x20003808 0x00000000
    _L 0x2000380C 0x0E2C16F9
    _L 0x20003810 0x00000000
    _L 0x20003814 0x0E2C16F9
    _L 0x20003818 0x00000000
    _L 0x2000381C 0x8FBF0010
    _L 0x20003820 0x03E00008
    _L 0x20003824 0x27BD0020
    _L 0x2001A388 0x0A200E01
    _L 0x2001A38C 0x34040001
    _L 0x2001A390 0x00000000
    Works, I've used it. :)

    For MGS Peace Walker (european version) to an ini content of
    Code:
    _S ULES-01372
    _G Metal Gear Solid: Peace Walker [EU]
    _C1 30 FPS v4
    _L 0xE009C6C6 0x10071AF0
    _L 0x20071AF0 0x0A21C6C6
    _L 0x20071BA4 0x0A21C6F5
    _L 0x20071B94 0x24040001
    _L 0x203E74EC 0x00000001
    _L 0x2007A41C 0x0A21E911
    _L 0x20091A28 0x3C013F2B
    _L 0x201F2968 0x3C013F37
    _L 0x201F296C 0x3421C1BD
    _L 0x2020F884 0x3C013F2B
    _L 0xE0043421 0x00861C4A
    _L 0x20861C44 0x3C013D13
    _L 0x20861C48 0x3421E93F
    _L 0x20863A8C 0x3C013D13
    _L 0x20863A90 0x3421E93F
    
    MGS code untested

    edit: Then restart retroarch. :) (See posting below. :) )
     
    Last edited by notimp, Apr 16, 2019 at 8:56 AM
    Ty_ likes this.
  8. icefox

    icefox Advanced Member

    Newcomer
    3
    Jun 16, 2018
    United States
    Thanks a lot! Trying now.

    Update: I tried the 30fps cheat. At default PSP CPU frequency it leads to full speed but low frame rate. I then set the PSP CPU to 222Mhz then MAGIC! I get 40-50fps at 2x resolution super smooth and full speed. What's causing this? But it may be the optimal setting to play the game.
     
    Last edited by icefox, Apr 16, 2019 at 2:51 AM
    mattyxarope likes this.
  9. notimp

    notimp GBAtemp Advanced Maniac

    Member
    9
    Sep 18, 2007
    .ini files might need to have Linux/Unix line endings, so use Notepad++ on Windows to create them (with the option set to Linux/Unix line endings in the save(as) dialog).

    Notepad++ is free and open source software, just google it. :)
     
  10. ploggy

    ploggy WAKA! WAKA!

    Member
    13
    Aug 29, 2007
    United Kingdom
    @m4xw Weird request, can you make visible the option to change the PSP Model in Core options? it may help with certain HB's not loading :)
    On the standalone PPSSPP Emulator the option is in "Settings/System/PSP Model" the options are PSP-1000 and PSP-2000/3000, currently on your Switch port the default option seems to be PSP-1000 but I think Quake 3 HB (maybe more) needs PSP-2000/3000.
     
    wicksand420 likes this.
  11. mattyxarope

    mattyxarope Member

    Newcomer
    2
    Jan 15, 2019
    United States
    So I've encountered what I think to be a bug with the latest release of the core. Texture filtering setting of 0 is in reality 1 and the setting of 1 is actually 0. Can anyone else confirm that?

    This is texture filtering 1:
    2019041520350500-809F9B6F3552A875C4C08F5CEF900722.

    And this is texture filtering 0:
    2019041520421700-809F9B6F3552A875C4C08F5CEF900722.


    A couple of compatibility notes:

    • Silent Hill Shattered Memories - plays well at the default resolution with a full CPU overclock, but the fps tanks when using the flashlight (this is a known issue in PPSSPP standalone as well, https://github.com/hrydgard/ppsspp/issues/6265, with no resolution afaik). Many small cutscenes in the game force the flashlight to be on, so it makes playing difficult but not impossible.

    • Silent Hill Origins - Full speed with 3x resolution at normal clock speed, but unfortunately suffers from the same flashlight bug. Supposedly "If you turn off the flashlight, open/close the map and turn on again the flashlight, the issues disappear. When indeed you leave the flashlight on and open/close the map the issues reappear." but I can't confirm that.

    • Kingdom Hearts - Full speed at 3x resolution with stock CPU/GPU speeds with the HD texture pack and 60fps cheat. It works super well, with the minor exception that the FMVs have a small green line on the bottom of the screen. This appears to affect a lot of full motion videos spanning many games.

    • Corpse Party (the 1st) - Full speed at 3x resolution and stock CPU/GPU speeds. Probably works well underclocked but I haven't tried that.

     
    Last edited by mattyxarope, Apr 16, 2019 at 4:46 AM
  12. RetroNostalgia

    RetroNostalgia Member

    Newcomer
    3
    Mar 25, 2018
    United Kingdom
    I was about to say the same! :D I need to finish Patapon 3 so time to test it out!
     
    ravihpa likes this.
  13. mattyxarope

    mattyxarope Member

    Newcomer
    2
    Jan 15, 2019
    United States
    I've also tried PSPMania (a port of Stepmania 3.9) and PSP Revolution (a stepmania clone) and I'm going to do a writeup on them soon.
     
    Ty_ and ploggy like this.
  14. seanp2500

    seanp2500 GBAtemp Advanced Fan

    Member
    5
    Jun 2, 2010
    United States
    Yo man can you try mugen? Curious if that boots. Or point me to tut for how you doing this lol!
     
    RetroNostalgia likes this.
  15. icefox

    icefox Advanced Member

    Newcomer
    3
    Jun 16, 2018
    United States
    The same trick doesn't work as well on Chains of Olympus. In the opening scene I only get 20fps although at full speed which beats 30fps slow motion and choppy sounds, still I wish I got 40fps silky action as in Ghost of Sparta

    Update: ok I found out there was no magic--the magic was that for cheats to apply you need to close and restart Retroarch. I didn't when I saw the 40+fps but it's simply because the cheat didn't apply. It's the same as the reduced cpu frequency trick. At low load it's smoother than the cheat but under heavy load sound becomes choppy. The cheat is not as smooth but can sustain full speed 100% of the time. It's down to preferences.
     
    Last edited by icefox, Apr 16, 2019 at 5:06 AM
  16. ploggy

    ploggy WAKA! WAKA!

    Member
    13
    Aug 29, 2007
    United Kingdom
    Nice! the more HB the merrier ;)
    I haven't got a clue how to setup Mugen on PSP, but that would be great to have on Switch :)
     
    RetroNostalgia and mattyxarope like this.
  17. mattyxarope

    mattyxarope Member

    Newcomer
    2
    Jan 15, 2019
    United States
    TL;DR of my future post: DDR is finally playable on Switch!
     
  18. Justin_Credible81

    Justin_Credible81 GBAtemp Regular

    Member
    1
    Mar 28, 2019
    United States
    Did the translations ever get finished with the Yakuzas? It'd be cool to have those on switch. (if they work)
     
    TimeDevouncer likes this.
  19. DollyWhipDoll

    DollyWhipDoll Royalty & Unbothered. LMFAO!!! ;)

    Member
    6
    May 18, 2018
    United States
    I wonder if PSP Streets of Rage Remake and OpenMugen will work with whatever method you have.
     
    RetroNostalgia and Ty_ like this.
  20. seanp2500

    seanp2500 GBAtemp Advanced Fan

    Member
    5
    Jun 2, 2010
    United States
    i can take care of setup just need info on how you booting to hb. I think you are doing what we did on ps4 and making an iso right?
     
Loading...