Skip to content

Instantly share code, notes, and snippets.

@MobCat
Created December 6, 2025 00:53
Show Gist options
  • Select an option

  • Save MobCat/1c2a6b0060bcdd3a45179356d7bf6b1c to your computer and use it in GitHub Desktop.

Select an option

Save MobCat/1c2a6b0060bcdd3a45179356d7bf6b1c to your computer and use it in GitHub Desktop.

Send PKG to PS4

This guide will show you how to setup a windows context menu to send pkg files directly to your PS4

Pre requirements

  • This guide is only intended for windows 10.
  • Download and "install" DirectPackageInstaller
    As in make sure the files are somewhere permanent on your computer, I just placed mine in
    C:\Program Files\DirectPackageInstaller
  • Your PS4 needs to be on the same network as your computer, preferably wired ethernet for the best speeds.
  • Your PS4 needs to be running GoldHEN. I am using GoldHEN v2.4b18.5 but anything newer then that should work.
  • In the GoldHEN settings -> servers settings, make sure Enable BinLoader Server is checked and enabled.
  • Note down your consoles IP Address found in Settings -> System -> System Information if you have more then one ps4 on your network.

Bat setup

Make a new .bat script in the root of the DirectPackageInstaller folder, next to the DirectPackageInstaller.Desktop.exe, call it something like SendToPS4.bat Now edit it with a notepad and place this text into it

@echo off
setlocal enabledelayedexpansion :: For !counter!

:: Setup counter
set total=0
set current=0
for %%f in (%*) do set /a total+=1

:: Do loop for each file sent
for %%f in (%*) do (
    set /a current += 1
    echo Sending !current!/%total%: %%~nxf
    start /wait DirectPackageInstaller.Desktop.exe -Port 9090 "%%~f"
)

Here is where you edit in your IP address of your PS4 noted from system settings, if you have more then one ps4 that is. If you don't, then DirectPackageInstaller will just find your ps4 on the network and you wont need to set an IP here.

start /wait DirectPackageInstaller.Desktop.exe -PS4 192.168.0.21 -Port 9090 "%~1"

You can also just download the bat from here if you want...

Making the shortcut

Now we have our bat file saved, you may also want to download an icon from here to set as the icon that will show in the context menu. Save it into your DirectPackageInstaller folder.
Save this .ico in the same folder as your .bat

In a new window type shell:SendTo in the address bar. Then right click and hold on our SendToPS4.bat script and drag it to our send to folder in the new window You should get a little context menu when you let go of right click in the send to folder, select Create shortcuts here You will now have a SendToPS4.bat - Shortcut shortcut in the folder now. Lets customize it a little

Right click on your new shortcut and select Properties Then Click on General Tab. Rename the shortcut to something simple like PS4 Now in the Shortcut tab, click on the Change Icon... button. You will get a warning there is no icon set, which is fine that's what we are doing now. When the Change Icon window appears, click the Browse... button Navigate to your DirectPackageInstaller folder and select the ps4.iso file and click Open The Change Icon window will now only show 1 blue square, this is normal as the ps4 icon is also blue, just click OK, and then Click OK again in the Properties window. Now you should have a new PS4 shortcut in the SendTo folder.

How to use

Simply navigate to where you have pkgs saved on your computer, mapped network drive or anywhere providing its a real path like E:\games not \\network\Games
Then just right click on one or more pkg files and select -> Send to -> PS4 from the context menu
2 cmd windows will open on your computer, one for the selected pkgs you have selected to be sent and another for DirectPackageInstaller.
You should get a notification on your ps4 saying a payload was sent to the ps4 for each pkg that is sent.
Once the package has installed, the cmd window will close.

Limitans and quarks

There is no progress counter for sending the pkg its self, just what pkg you are up to if you have selected more then one pkg to be installed.

Sometimes once the pkg is sent, the ps4 does not close the connection and the DirectPackageInstaller window will not close, halting the progress. Even know the file was installed. You can just close the DirectPackageInstaller window and the cmd window will move onto the next pkg.

There are no restrictions on types of files to be sent. So if you try and send something that's not a ps4 .pkg, the ps4 is gonna get real confused and lockup the script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment