Hacking [WIP] games that can be trimmed to save storage list

mrissaoussama

Hiuhbi32
OP
Member
Joined
Nov 23, 2015
Messages
247
Trophies
0
XP
823
Country
Tunisia
I do this on ps3 to save space by removing/zeroing unneeded languages and videos. so i decided to do the same for ps4. I just started today so if anyone wants to help here are the steps:
if you've yet to dump your game, download ps4-dumper-vtx.zip and extract it
  1. Turn on the console, insert disc (or run psn title or copy the pkg file using ftp), install all game patches;
  2. Plug-in the USB stick(exfat), run the ps4-dumper payload (.bin or standalone);
  3. Run your game, make sure to get main menu, minimize game (PS Button);
  4. Wait till completion. When the process is finished the lights stop blinking and console will shutdown automatically (it is normal, not a panic shutdown);
  5. Turn on your console, remove disc, uninstall the game


if you have a pkg on pc do this first
1-download and extract the latest version of ps4pkgviewer https://sites.google.com/site/theleecherman/ps4pkgviewer

2-open the program and drag the pkg file to it. go to extra>list contents

-browse the game directory. if you see language files, for example one that has french files(some files have FR and FRE instead) and/or pre recorded videos that are specific to a language you don't use.(if you're using ps4pkgviewer right click on the CUSA***** folder and extract it, then go to the extract folder)

-remove those files. it is better to empty the files/create empty files with the same name instead of deleting it. it has a better chance of working since some games check if files exist or not. to do this, use the zerofile.reg that is in the attachments. make sure that the directory and the file(s) don't have spaces (ex:uncharted 4 ->uncharted_4 or uncharted4) or the script won't work (if anyone can fix this please upload a better version)

you can also only select the desired languages if they're all in one folder and leave the others. however, you still have to extract the rest of the game (god of war 3 for example) so no need to empty files

important: always make backups. also, it is possible that some games need english files. this is untested though. but you're welcome to test it if you have time

-now it's time to repack the pkgs
open gengp4.exe in genp4 folder, point into CUSAxxxxx dir and press Generate .GP4, You should get the 'Done.', then press Save .GP4;
Open .gp4 in the orbis-pub-gen and build .pkg file (You can get the orbis-pub-gen tool via PKG_Fake_Generator.zip in the attachments);
Run PS4HEN payload, install the newly built game and test if gameplay works ;
if the test is successful then download "PS4 RiPKiT-Modding Tool By RiPPERD.rar" and do this:
  • Place the game PKG file into the directory of this app and rename it to original.pkg
  • Make a copy of the game in same folder and rename it to ripped.pkg
  • Open up the modded pkg game file with other PS4 tools
  • Make any changes to the game (remove languages, add cheats etc)
  • Repack the ripped pkg file with your usual tools
  • Now run the tool with both files in same folder
  • Click MAKE PATCH
  • Wait... may take while on larger games
You will now have a "patch.RiPPERD" file and a "ripped.gp4" file. These are the files you share with others. These files are now much smaller than previous versions.
upload those 2 files with your results.

if you're trying to trim using those 2 files:
*make sure you're doing this on the same game with matching title ids*
  • Download ripperd's app and the required "patch.RiPPERD" and "ripped.gp4" file for your game
  • Place game PKG file, "patch.RiPPERD" and "ripped.gp4" into the app folder
  • Rename game pkg to "original.pkg"
  • Now run the tool with both files in same folder
  • Click APPLY PATCH
  • Wait... may take while on larger games
  • Now you will have a ripped pkg with the original file name pkg
  • now install the new pkg on your ps4
post your results here

format :
Game name:
title id:
files/videos/languages deleted:
original size:
new size:
results: works perfectly/crashes when choosing an option/crashes after selecting a video/cutscene ect
don't forget to add your "patch.RiPPERD" and "ripped.gp4". they're both case sensitive
basically all cod games. they don't have a lot of la
languages and they're not big
just cause 3 (most files consist of gamex.tab or game x.arc and i don't know how to find the language related ones)
street fighter 5 (unreal engine 4 paks)

full of files with random numbers and letters:
the order 1886
metal gear solid 5 the phantom pain
 

Attachments

  • PS4 RiPKiT-Modding Tool By RiPPERD.rar
    3.2 MB · Views: 190
  • Fake_PKG_Generator.rar
    2.8 MB · Views: 192
  • PS4PKGViewer.v1.5-LMAN.rar
    1.5 MB · Views: 165
  • zerofile.rar
    315 bytes · Views: 158
Last edited by mrissaoussama,
  • Like
Reactions: jammybudga777

mrissaoussama

Hiuhbi32
OP
Member
Joined
Nov 23, 2015
Messages
247
Trophies
0
XP
823
Country
Tunisia
I’m sure there was a game compressor kit out for PS4 by RiPPERD, so plenty of games should work like this.
i just read about it. if i understand correctly, it doesn't automatically do that. someone must remove the files first, built and test. and it it's successful then a gp4 file can be uploaded so it will remove the files automatically. i'll add it to the guide. this is helpful
 
  • Like
Reactions: KiiWii
General chit-chat
Help Users
    Sonic Angel Knight @ Sonic Angel Knight: They have oreos cereal :ninja: