mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 00:05:58 +03:00
[GH-ISSUE #811] ShadPS4 crashes without an error message when installing a PKG #212
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#212
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @KubokPekla on GitHub (Sep 6, 2024).
Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/811
I've tried a bunch of the newest builds in the Windows QT directory (under Actions) and every single one of them crashes to desktop nearly immediately before the installation progress window pops up whenever I try to install a PKG. I've attempted this with Bloodborne and I've also attempted it with PT, neither of them work so I don't think it's an issue with the PKG files themselves. I've checked the Windows Event Viewer which doesn't tell me much other than that the file can't be accessed for a bunch of different possible reasons, and I've checked all of them minus it being caused by storage drivers, but I'm having a hard time believing that that is the issue, though I could be wrong, I've never messed with my storage drivers. Drive health is fine, they're connected, I've tried different disks, I've tried running ShadPS4 on other disks, nothing seems to work and I'm always just left with an incomplete installation of about 11.6MB which of course doesn't function.
I'm on Windows 10, I've tried three different builds, the newest one being the most recent "game_data fixes" build, I have 16GB of RAM, none of my hard drives are too full, and that's about all of the relevant information I can think of.
Any help would be greatly appreciated, I really want to see how well this runs.
@mavethee commented on GitHub (Sep 6, 2024):
PKG installation process isn't tracked in log for now.
@georgemoralis commented on GitHub (Sep 6, 2024):
smells like a work for someone
@Aruto-san commented on GitHub (Sep 6, 2024):
What is your CPU model? I've the same issue and I've seen some posts suggesting it might be because of lack of AVX2 instructions support.
@Ishikudeska commented on GitHub (Sep 6, 2024):
@KubokPekla could you post your log file here so we can see what's happening. (if there's even a log file)
@mavethee commented on GitHub (Sep 6, 2024):
Again read above, PKG installation isn't logged.
@Ishikudeska commented on GitHub (Sep 6, 2024):
Right, sorry. I'm looking into it right now.
@KubokPekla commented on GitHub (Sep 6, 2024):
Yeah there is no log file.
I'm running a rather ancient AMD FX 8350. It wouldn't really surprise me if that is the issue, but I couldn't help but be curious if it runs better than RPCS3 like others have said, and that actually runs okay if it weren't for the awful audio glitch in Demon's Souls.
Not a big deal at all if it's more of a "wait and see" kind of issue, I can deal with that.
@SinMxchine commented on GitHub (Sep 7, 2024):
Run Shadps4 as Administrator.
That fixed it for me.
@KubokPekla commented on GitHub (Sep 7, 2024):
Yeah I've already tried that a few times, still crashes. I just tried it on the latest build as well to be thorough but no dice.
@rmueller83 commented on GitHub (Sep 7, 2024):
Same problem here using the qt version rev
81f7c83with Win11 trying to install CUSA01114. I have a i7-10700K CPU. Trying as admin does not help and in the Event Viewer I see a error in VCRUNTIME140.dll which has version 14.40.33810.0. But for me, other PKGs than this one work.@bigol83 commented on GitHub (Sep 7, 2024):
I have the same issue. Windows 10. Generally trying several times the emulator manages to install the PKG without crashing
@rmueller83 commented on GitHub (Sep 7, 2024):
There are related issues like #692 so implementing PKG installation logging seems to be a good idea.
@Jorge9811 commented on GitHub (Sep 12, 2024):
same here stable or actions it always crashes a few seconds after i try to install a pkg,the game doesnt matter either they all crash the same
GZ4UAPL3.webm
@KubokPekla commented on GitHub (Sep 12, 2024):
Yep, that's exactly the same issue I'm having. Though I haven't tried the stable build yet, I don't think I'm going to bother though as it doesn't work with the games I'm trying to emulate and yeah, probably will just do the same thing.
@XPacL commented on GitHub (Sep 16, 2024):
Same. Please Hlp!
@EduardoMgit commented on GitHub (Sep 17, 2024):
Same problem here, tried bloodborne and sonic mania, both crashes the same way. Tried to put the pkg in the Shadps4 folder, run as admin, nothing worked.
@Wurzelsepp1337 commented on GitHub (Sep 24, 2024):
Same here. It just dies and I also have an prehistoric AMD FX8350 : )
@KubokPekla commented on GitHub (Sep 24, 2024):
Huh, that's making me wonder if maybe it's an issue with certain CPU's.
Anyway, I guess as a bit of an update, I've gone back and tried all of the older main builds, they all have the same issue, and I've also been trying newer, but also kind of semi-random builds from actions over the past three weeks and the issue seems to have been present from day one. I figured that I could possibly find a build that works and just copy and paste the unpacked files from version to version, but they all crash within a few seconds of trying to install the PKG. That might be worth trying for other people, someone might be able to find an older build that works (and please post it if you find one lol), but I gave up because there are just so many to go through and it really seems like they all have the same problem, at least for me.
For the hell of it, here's the rest of my specs if anyone finds it relevant:
@AussiePlick commented on GitHub (Sep 24, 2024):
I have had the above issue when installing larger PKG's. It usually happened when I was extracting the PKD's while opening and running other APPs on my win 10 OS.
The easiest way is to use itemsFlow game manager on your jail broken PS4 to download the game to a external HD via USB; as this fully extracts and decrypts the game while downloading it to the HD, I have 32 gig RAM.
I hope this helps...
@EduardoMgit commented on GitHub (Sep 25, 2024):
I thought it could be because of the PKG size (I was trying Bloodborne) or corrupted file, but tried Sonic Mania (less than 200mb I guess) and just happen, it crashes
@handi216 commented on GitHub (Sep 25, 2024):
I have same error when try to install Bloodborne (CUSA01363) base game which is 26GB large. I am trying to run it with debugger but it will take very long time for learning dev.
It crash after about 10 MB file are written into the game folder.
Anyone know if a few files written in the game folder means the decryption key for PFS is correct?
@OldePSN00b commented on GitHub (Sep 26, 2024):
Same issue here. My Rig was built in 2016 so no problem with AVX2 instruction set if that's a problem.
@handi216 commented on GitHub (Sep 26, 2024):
I found my problem was because I directly exported the PKG files from my PS4 and did not convert the file from Official format to Fake format. After conversion to Fake format, the install pkg function is passed.
May be the install function should add a validation checking and alert user about the PKG has to be in Fake format.
@Inlength52 commented on GitHub (Oct 7, 2024):
used PS4PKGView and my bloodborne is really in PKG Fake Format, so i don't think that's it for everyone
@Inlength52 commented on GitHub (Oct 7, 2024):
aside from the CPU, the rest i think is normal, i don't think RAM Speed will matter that much
@renjeun commented on GitHub (Oct 7, 2024):
same issue here using linux
@KubokPekla commented on GitHub (Oct 7, 2024):
-snip- First part wasn't meant to be posted, didn't notice that it was still in the comment field when I logged back in.
Yeah yeah I know now, my broke ass' ancient PC definitely wasn't going to stop me from trying to figure out exactly what the issue was and trying to see if I could work around it though, I am nothing if not persistent when it comes to shit like this lol.
Sure as hell would've been nice if it was stated somewhere clearly what the exact requirements for this are though, would've saved me a lot of time trying to figure out what the issue is and if I can work around it. Especially considering some of the contributors commented acting all confused, so I don't know how the hell I was supposed to know it wouldn't run without trying it first and figuring it out from there, especially considering I have like no issue running a lot of modern games on this thing, as well as PS3/360 emulators. It'd be in the contributor's best interests to have the system requirements and exactly what kind of PKG is needed written clearly somewhere, it'd cut down on a lot of needless issue reports.
@StevenMiller123 commented on GitHub (Oct 12, 2024):
@KubokPekla The requirements are an AVX2 CPU, 16gb of RAM, and a modern GPU. The AMD FX-8350 lacks AVX2 support, so you aren't going to be able to install PKGs or run games.
@KubokPekla commented on GitHub (Oct 19, 2024):
Thank you, I am aware now though.
Also I noticed the updated quickstart guide, much better explanation, though if I overlooked something that was already written somewhere on the Github then I apologize. Also, you guys are doing just fine, I was mostly just kind of annoyed at the snarky comment I was replying to. I wish you the best of luck with this project, you guys are doing some great work.
Gonna go ahead and close this, fingers crossed I'm able to build a new PC soon lol.
@type0dev commented on GitHub (Jan 21, 2025):
Ok, I believe you need gengp4 and fake pkg generator to create a fake package so you can install. I remember having to do this with pkg's to install on cfw on ps4.
a guide on converting backups
https://hackinformer.com/2018/04/06/how-to-backup-ps4-games
@saudghs1 commented on GitHub (Aug 13, 2025):
thxxxxxxxxxxxxxxxxxxxxx