Persona 5 [NPJB00769]
Started by ssshadow




27 posts in this topic
ssshadow
Moderator
*****


4
2,494 posts 63 threads Joined: Aug 2017
01-08-2017, 05:27 PM -
#4
I got the game to "work" with a small hack, basically just ignore an exception and continue. The game can hang at random at any time and as you can see in the video I was quick to get past the main menu (with proper looking 3D graphics!).

You can sadly not skip the video that plays after starting a new game, the fade out effect causes some RSX error. Therefore each try at going in game will take about 8 minutes. And the LLVM recompiler doesn't work. But it can go in game, even for just a few seconds as seen in the screenshot below. A faster computer would probably help.

Use OpenGL. Vulkan looks worse than OpenGL and DX12 doesn't work at all, it will fail when reaching the main menu.

Video


A screenshot


Going in game for a few seconds


Settings
OpenGL 1280x720
PPU Decoder: Interpreter (fast)
SPU Decoder: Recompiler (ASMJIT)
XAudio

LLE (yes, it turns out you only need these)
Code:
libfiber.prx
librtc.prx
libspurs_jq.prx
libsre.prx

Log


Hacked build v4 with skippable new game video, no hanging, and a bit better performance.
https://mega.nz/#!g80nmAzJ!Us13wDDgXy3Bk...quuqh6cAKU

Changes made
In \Emu\Cell\PPUThread.cpp change:
Code:
        if (context.gpr[1] < context.stack_addr)
        {
            fmt::throw_exception("Stack overflow (size=0x%x, align=0x%x, SP=0x%llx, stack=*0x%x)" HERE, size, align_v, old_pos, context.stack_addr);
        }
        else
        {
            const u32 addr = static_cast<u32>(context.gpr[1]);
            vm::ps3::_ref<nse_t<u32>>(addr + size) = old_pos;
            std::memset(vm::base(addr), 0, size);
            return addr;
        }
Into:
Code:
        const u32 addr = static_cast<u32>(context.gpr[1]);
        vm::ps3::_ref<nse_t<u32>>(addr + size) = old_pos;
        std::memset(vm::base(addr), 0, size);
        return addr;

(Someone please explain the rationale behind that if-condition, the contents of gpr1 is a much lower address than stack_addr but the game runs regardless... This error happens right when “CRI FS File Access 0” is created, so it's not something unimportant we are ignoring here. Edit: It actually also happens for like 10 other threads too...)


Messages In This Thread
RE: Persona 5 [NPJB00769] - by ssshadow - 09-15-2016, 04:49 PM
RE: Persona 5 [NPJB00769] - by Bryceless - 09-15-2016, 10:46 PM
RE: Persona 5 [NPJB00769] - by Nezarn - 09-16-2016, 07:59 AM
RE: Persona 5 [NPJB00769] - by ssshadow - 01-08-2017, 05:27 PM
RE: Persona 5 [NPJB00769] - by Dante38490 - 01-09-2017, 03:08 PM
RE: Persona 5 [NPJB00769] - by kd-11 - 01-09-2017, 06:17 PM
RE: Persona 5 [NPJB00769] - by ssshadow - 01-09-2017, 06:37 PM
RE: Persona 5 [NPJB00769] - by kd-11 - 01-11-2017, 11:22 AM
RE: Persona 5 [NPJB00769] - by ssshadow - 01-11-2017, 03:19 PM
RE: Persona 5 [NPJB00769] - by ssshadow - 02-08-2017, 03:32 PM
RE: Persona 5 [NPJB00769] - by ssshadow - 02-15-2017, 01:01 AM
RE: Persona 5 [NPJB00769] - by digitaldude - 02-15-2017, 01:40 PM
RE: Persona 5 [NPJB00769] - by ssshadow - 02-15-2017, 01:47 PM
RE: Persona 5 [NPJB00769] - by digitaldude - 02-15-2017, 01:59 PM
RE: Persona 5 [NPJB00769] - by ssshadow - 02-15-2017, 02:12 PM
RE: Persona 5 [NPJB00769] - by ssshadow - 02-15-2017, 11:17 PM
RE: Persona 5 [NPJB00769] - by MagicWorld - 02-24-2017, 01:34 PM
RE: Persona 5 [NPJB00769] - by ssshadow - 02-24-2017, 06:00 PM
RE: Persona 5 [NPJB00769] - by ssshadow - 02-25-2017, 07:58 PM
RE: Persona 5 [NPJB00769] - by mattia12 - 03-07-2017, 07:44 PM
RE: Persona 5 [NPJB00769] - by Annie - 03-07-2017, 07:51 PM
RE: Persona 5 [NPJB00769] - by mattia12 - 03-07-2017, 07:56 PM
RE: Persona 5 [NPJB00769] - by ssshadow - 03-08-2017, 01:34 AM
RE: Persona 5 [NPJB00769] - by mattia12 - 03-08-2017, 08:16 AM
RE: Persona 5 [NPJB00769] - by ssshadow - 03-08-2017, 01:33 PM
RE: Persona 5 [NPJB00769] - by blastprocessing - 03-18-2017, 10:34 PM
RE: Persona 5 [NPJB00769] - by ssshadow - 04-03-2017, 07:40 PM
RE: Persona 5 [NPJB00769] - by ssshadow - 08-03-2017, 08:47 PM

Forum Jump:


Users browsing this thread: 4 Guest(s)