Hacking Rebuilt Application fpkgs appear in the Games section

BlueCop

Active Member
OP
Newcomer
Joined
May 12, 2019
Messages
27
Trophies
0
Age
43
XP
228
Country
United States
I was having an issue with some fpkg applications and home brew appearing in the games section of the PS4. Does anyone know how to rebuild these with whatever flags needed to appear in the Application section of the PS4?
 

BlueCop

Active Member
OP
Newcomer
Joined
May 12, 2019
Messages
27
Trophies
0
Age
43
XP
228
Country
United States
Ok I think I found the solution in the param.sfo in the key "APP_TYPE" of 1 will list in games and 4 in applications. I am not sure if I can edit the param.sfo in place so guess I have to rebuild the packages to change things. Does anyone know a simpler way?


Edit: Nevermind. I was wrong about the key. This had the info i needed https://www.psdevwiki.com/ps4/Param.sfo
 
Last edited by BlueCop,

BlueCop

Active Member
OP
Newcomer
Joined
May 12, 2019
Messages
27
Trophies
0
Age
43
XP
228
Country
United States
Ok I was able to accomplish what I was setting out to do. It works better then expected. The twitch and youtube app still don't work for login for me though. They all appear under applications and allow better multitasking with games.

These are the tools I ended up using to get everything working.
PS4PKGViewer.v1.5-LMAN
PkgEditor-0.1.152
gengp4
Fake_PKG_GeneratorPS2 (I had to use this version because it is the only one patched to accept any category in the param.sfo)

I first extracted the fpkg app(packaged as a game) with PS4PKGViewer. It extracts automatically to a directory named for the Title ID.

I then built a gp4 file with gengp4 and saved it. It is important to do this before the next step because gengp4 will rewrite the param.sfo category edit back to "gd" when we want them to be "gde".

I could then edit the sce_sys/param.sfo with PkgEditor and change CATEGORY value from "gd" to "gde" and then save the change.

Then you use the orbis-pub-gen.exe from Fake_PKG_GeneratorPS2 that is patched to ignore unexpected CATEGORY values to build the fpkgs.

When you get everything installed you have multitasking streaming apps under the proper application section of your library.

I tested this with streaming with Netflix, Youtube, Twitch, PS4 Media Player and the Amazon app I found was already patched to its original gke category. I am sure others will work with this method though.

Here is a screen shot of my library.
 

Attachments

  • 20190623015041.jpg
    20190623015041.jpg
    144.2 KB · Views: 176

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,116
Country
United States
there may be an easier way to do this. the app.db contains the categories of installed titles. look in the appinfo table under key (category) and value (category type). the databases on the vita and the ps4 are very easy to manipulate using sqlite browser, unlike the one for the ps3.
 

BlueCop

Active Member
OP
Newcomer
Joined
May 12, 2019
Messages
27
Trophies
0
Age
43
XP
228
Country
United States
There probably is but I just couldn't find any other way to get it right. It works how I wanted now though.

Since the apps are so small it only takes a few minutes to get it done really though.
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,116
Country
United States
I have a lot of experience with the vita's database, not so much with the ps4's. however, they're very similar. you can change almost any attribute to installed games, as recorded by the PARAM.SFO (works the same on the ps3; in fact, the bare minimum for a pkg on the ps3 is just the PARAM.SFO, nothing more). the only thing I wouldn't advise doing is creating a folder within the app.db, since the positioning can be confusing.
 

BlueCop

Active Member
OP
Newcomer
Joined
May 12, 2019
Messages
27
Trophies
0
Age
43
XP
228
Country
United States
Thanks for the information. I would rather have them packaged with the category values I want then tinker with the databases though. I can just install the fpkgs on a console and be done.

The ability to have two apps running is interesting to me. I wonder if the savegame mounter could be ported to run locally but multi-tasked on the ps4 and import from/export to a usb drive or even the internet.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan
    The snack that smiles back, Ballsack!
    BakerMan @ BakerMan: test what?