Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

DirectPackageInstaller PS4: Difference between revisions

From GameBrew
No edit summary
No edit summary
Line 1: Line 1:
{{Infobox PS4 Homebrews
{{Infobox PS4 Homebrews
|title=DirectPackageInstaller
|title=DirectPackageInstaller
|image=directpackageinstallerps4.png
|image=directpackageinstallerps42.png
|description=Send Direct PKG URLs to your PS4.
|description=Send Direct PKG URLs to your PS4.
|author=marcussacana
|author=marcussacana
Line 19: Line 19:
|image_alt=DirectPackageInstaller
|image_alt=DirectPackageInstaller
}}
}}
{{cleanup|article|Needs cleanup}}
<!--https://dlhb.gamebrew.org/ps4homebrews/directpackageinstallerps4.7z-->
<!--https://dlhb.gamebrew.org/ps4homebrews/directpackageinstallerps4.7z-->
DirectPackageInstaller is tool is designed to preview and send PKG files to your PS4 from direct links. It uses your GoldHEN payloader server, or alternatively the [[Remote Package Installer PS4]] Homebrew.
A PC tool that lets you preview and send PKG files to your PS4 from direct links. It uses the API of the Remote Package Installer to add packages from URLs to your PS4 download queue. The tool also includes an automatic proxy server to improve the PS4's typically slow WAN download speeds.  


==How It Works==
The DirectPackageInstaller can function without the Remote Package Installer. In this case, you just need to enable your binloader, and the tool will instruct how the package should be installed. If both are running, the tool will prioritize the Remote Package Installer.
The DirectPackageInstaller is a tool that uses the API of the Remote Package Installer to add packages from URLs to your PS4 download queue, allowing you to preview the PKG that you're installing.


The tool also includes an automatic proxy server to improve the PS4’s typically slow WAN download speeds. When downloading from a LAN connection, the PS4 can achieve better speeds, and this tool helps facilitate that.
One of the tool's features is the ability to install PKGs from compressed files (rar,7z). As the file is downloaded, it is decompressed to your disk temporarily and sent to your PS4.


The DirectPackageInstaller can function without the Remote Package Installer. In this case, you just need to enable your binloader, and the tool will instruct how the package should be installed. If both the Bin Loader server and the Remote Package Installer are running, the tool will prioritize the Remote Package Installer.
The tool also offers a Segmented Download mode, which starts a background multithreaded download of the PKG to your computer and sends it to your PS4 at the same time. It's the fastest method but the PS4 won't be able to show the real download progress and its remaining time.


One of the tool's features is the ability to install PKGs from RAR files. The tool works similarly to other existing ones but with the advantage of simultaneous operation. As the file is downloaded from the internet, it is decompressed to your disk temporarily and sent to your PS4, saving you time.
'''Author's note:''' This program was made for legitimate purposes, you can use it only for download the your backups that you saved in cloud, and for that reason I condemn and do not support any kind of piracy. I'm not responsible for what you do with this tool, like, you know very well what you're doing.
 
The tool also offers a Segmented Download mode, which starts a background multithreaded download of the PKG to your computer and sends it to your PS4 at the same time. This mode is faster than the Proxied Mode but requires allocating the PKG on your HD.
 
Please note that the Segmented Download is primarily downloaded on your PC, meaning the PS4 can’t show the real download progress and its remaining time.
 
If your PS4 has a LAN-Only connection, you can use the “Proxy Downloads” option. In this case, the DirectPackageInstaller will act as a bridge, allowing your PS4 to download your package from the internet.


== Features ==
== Features ==
* Preview PKGs Files
* Preview PKGs Files.
* Standalone PS4 package downloads
* Standalone PS4 package downloads.
* Auto Proxy PS4 Downloads to Speed up
* Auto Proxy PS4 Downloads to Speed up.
* Support for RAR/7z files as well.
* Support for RAR/7z files as well.
* Resumable Downloads (Only from uncompressed files)
* Resumable Downloads (Only from uncompressed files).
* Segmented Downloads
* Segmented Downloads.
* Support for few file hosting links
* Support for few file hosting links.
* Support for PSN update manifest (Splited PKGs)
* Support for PSN update manifest (Splited PKGs).
* Works with or without RemotePackageInstaller
* Works with or without RemotePackageInstaller.
* Command Line Interface
* Command Line Interface.
* JDown Click'n Load Support
* JDown Click'n Load Support.
 
== Installation ==
* Download and Install the [https://dotnet.microsoft.com/en-us/download/dotnet/8.0/runtime .NET 8 Runtime]
* Download one of those builds:
** Windows: [https://raw.githubusercontent.com/marcussacana/DirectPackageInstaller/Updater/Windows-ARM.zip ARM], [https://raw.githubusercontent.com/marcussacana/DirectPackageInstaller/Updater/Windows-ARM64.zip ARM64], [https://raw.githubusercontent.com/marcussacana/DirectPackageInstaller/Updater/Windows-X64.zip x64], [https://raw.githubusercontent.com/marcussacana/DirectPackageInstaller/Updater/Windows-X86.zip x86]
** Android: [https://raw.githubusercontent.com/marcussacana/DirectPackageInstaller/Updater/Android-ARM.zip ARM], [https://raw.githubusercontent.com/marcussacana/DirectPackageInstaller/Updater/Android-ARM64.zip ARM64], [https://raw.githubusercontent.com/marcussacana/DirectPackageInstaller/Updater/Android-X64.zip x64], [https://raw.githubusercontent.com/marcussacana/DirectPackageInstaller/Updater/Android-X86.zip x86] (BETA)
** Linux: [https://raw.githubusercontent.com/marcussacana/DirectPackageInstaller/Updater/Linux-ARM.zip ARM], [https://raw.githubusercontent.com/marcussacana/DirectPackageInstaller/Updater/Linux-ARM64.zip ARM64], [https://raw.githubusercontent.com/marcussacana/DirectPackageInstaller/Updater/Linux-X64.zip x64]
** OSX: [https://raw.githubusercontent.com/marcussacana/DirectPackageInstaller/Updater/OSX-ARM64.zip ARM64], [https://raw.githubusercontent.com/marcussacana/DirectPackageInstaller/Updater/OSX-X64.zip x64]


=== Supported File Hostings ===
==User guide==
=== Supported file hostings ===
* Any direct link (Without Authentication)
* Any direct link (Without Authentication)
* AllDebrid (API Key Required)
* AllDebrid (API Key Required)
Line 59: Line 60:
* 1Fichier (Must wait 60 minutes after downloaded)
* 1Fichier (Must wait 60 minutes after downloaded)


== How to Install ==
Some hosting sites (e.g., Zippyshare) are slower than others. For better performance try testing with Google Drive.
* Download and Install the [https://dotnet.microsoft.com/en-us/download/dotnet/8.0/runtime .NET 8 Runtime]
 
* Download one of those builds:
=== How to use ===
** Windows: [https://raw.githubusercontent.com/marcussacana/DirectPackageInstaller/Updater/Windows-ARM.zip ARM], [https://raw.githubusercontent.com/marcussacana/DirectPackageInstaller/Updater/Windows-ARM64.zip ARM64], [https://raw.githubusercontent.com/marcussacana/DirectPackageInstaller/Updater/Windows-X64.zip x64], [https://raw.githubusercontent.com/marcussacana/DirectPackageInstaller/Updater/Windows-X86.zip x86]
==== Direct download mode ====
** Android: [https://raw.githubusercontent.com/marcussacana/DirectPackageInstaller/Updater/Android-ARM.zip ARM], [https://raw.githubusercontent.com/marcussacana/DirectPackageInstaller/Updater/Android-ARM64.zip ARM64], [https://raw.githubusercontent.com/marcussacana/DirectPackageInstaller/Updater/Android-X64.zip x64], [https://raw.githubusercontent.com/marcussacana/DirectPackageInstaller/Updater/Android-X86.zip x86] (BETA)
* Open the Remote Package Installer or enable Goldhen Payload Server.
** Linux: [https://raw.githubusercontent.com/marcussacana/DirectPackageInstaller/Updater/Linux-ARM.zip ARM], [https://raw.githubusercontent.com/marcussacana/DirectPackageInstaller/Updater/Linux-ARM64.zip ARM64], [https://raw.githubusercontent.com/marcussacana/DirectPackageInstaller/Updater/Linux-X64.zip x64]
* Open the DirectPackageInstaller.
** OSX: [https://raw.githubusercontent.com/marcussacana/DirectPackageInstaller/Updater/OSX-ARM64.zip ARM64], [https://raw.githubusercontent.com/marcussacana/DirectPackageInstaller/Updater/OSX-X64.zip x64]
* Put the direct PKG URL in the &quot;PKG URL&quot; field.
* Click at &quot;Load&quot; and wait.
* Click at &quot;Install&quot; and wait for the installation to finish.
* When it's done, you can close the DirectPackageInstaller or turn off your computer.
 
==== Proxied download mode ====
(For PS4 that has no Internet access.)
* Open the Remote Package Installer or enable Goldhen Payload Server.
* Open the DirectPackageInstaller.
* Go to "Options" > "Proxy Downloads" and check the option.
* Put the direct PKG URL in the &quot;PKG URL&quot; field.
* Click at &quot;Load&quot; and wait.
* Click at &quot;Install&quot; and wait for the installation to finish.
 
==== Segmented download mode ====
(Fastest, but the PS4 cannot track download progress accurately.)
* Make sure you have enough free disk space.
* Open the Remote Package Installer or enable Goldhen Payload Server.
* Open the DirectPackageInstaller.
* Go to "Options" > "Segmented Downloads" and check the option.
* Put the direct PKG URL in the &quot;PKG URL&quot; field.
* Click at &quot;Load&quot; and "Install".
* The PKG will be downloaded and preloaded before installation.
 
==== Download from compressed files ====
(Always Proxied.)
* Make sure you have enough free disk space.
* Open the Remote Package Installer or enable Goldhen Payload Server.
* Open the DirectPackageInstaller.
* Put the direct PKG URL to your compressed file.
* Click at &quot;Load&quot; and wait.
* (Optional) Select the correct PKG in the file list.
* Click at &quot;Install&quot; and wait for the installation to finish.


== How to Use ==
=== macOS CLI usage ===
* Direct Download Mode
Use the terminal to run the app:
** Open the Remote Package Installer or Enable Goldhen Payload Server.
./DirectPackageInstaller.Desktop
** Open the DirectPackageInstaller.
** Put a direct download URL in the &quot;PKG URL&quot; field in the window.
** Click at &quot;Load&quot; and wait.
** Click at &quot;Install&quot; and wait again.
** It's done, you can close the DirectPackageInstaller or turn off your computer.
* Proxied Download Mode (for PS4 that has no Internet access)
** Open the Remote Package Installer or Enable Goldhen Payload Server.
** Open the DirectPackageInstaller.
** Go to <code>Options -&gt; Proxy Downloads</code> and check the option.
** Put a direct download URL in the &quot;PKG URL&quot; field in the window.
** Click at &quot;Load&quot; and wait.
** Click at &quot;Install&quot; and wait again.
** It's done, you can't close the DirectPackageInstaller
* Segmented Download Mode (Fastest)
** Ensure you have enough free space in your computer disk
** Open the Remote Package Installer or Enable Goldhen Payload Server.
** Open the DirectPackageInstaller.
** Go to <code>Options -&gt; Segmented Downloads</code> and check the option.
** Put a direct download URL in the &quot;PKG URL&quot; field in the window.
** Click at &quot;Load&quot; and wait.
** Click at &quot;Install&quot; and wait the PKG be pre-loaded.
** It's done, you can't close the DirectPackageInstaller
* Download from Compressed Files (Allways Proxied)
** Ensure you have enough free space in your computer disk
** Open the Remote Package Installer or Enable Goldhen Payload Server.
** Open the DirectPackageInstaller.
** Put direct URL to your compressed file in the &quot;PKG URL&quot; field.
** Click at &quot;Load&quot; and wait.
** [Optional] Select the correct PKG in the file list
** Click at &quot;Install&quot; and wait again.
** It's done, you can't close the DirectPackageInstaller or turn off your computer.


=== For OSX Users ===
In some cases, you may need to run:
You must run the <code>./DirectPackageInstaller.Desktop</code> file with help of the terminal<br />
dotnet DirectPackageInstaller.Desktop.dll
We have App builds as well, but isn't working very well right now, you can try: [https://raw.githubusercontent.com/marcussacana/DirectPackageInstaller/Updater/OSX-X64-APP.zip OSX x64 App] or [https://raw.githubusercontent.com/marcussacana/DirectPackageInstaller/Updater/OSX-ARM64-APP.zip OSX ARM64 App].<br />
The App Builds aren't working too well because of permissions problems, that can be easy solved by changing the paths of where the DirectPackageInstaller store his data, but the Auto-Update with the App container not works because the app can't modify himself.


=== Command Line Interface ===
=== Command line interface ===
The DirectPackageInstaller has an experimental CLI,<br />
The DirectPackageInstaller has an experimental CLI (RAR/7z and segmented downloads are not supported in this mode yet).
In his current state isn't possible push RAR/7z or do Segmented Dowloads yet.<br />
For more details run <code>DirectPackageInstaller.Desktop -help</code><br />
Or if you're on windows: <code>DirectPackageInstaller.Desktop.exe -help</code>


==Media==
For more details run:
'''Install PS4 Games Without Remote PKG Installer | Tutorial''' ([https://www.youtube.com/watch?v=m1MV64GjySg BrutalSam]) <br>
* Windows - <code>DirectPackageInstaller.Desktop -help</code>
<youtube width="640">m1MV64GjySg</youtube>
* Other OS - <code>DirectPackageInstaller.Desktop.exe -help</code>


==Screenshots==
==Screenshots==
Line 122: Line 119:
https://dlhb.gamebrew.org/ps4homebrews/directpackageinstallerps4-02.png
https://dlhb.gamebrew.org/ps4homebrews/directpackageinstallerps4-02.png


=== Known Issues===
==Media==
'''Install PS4 Games Without Remote PKG Installer | Tutorial''' ([https://www.youtube.com/watch?v=m1MV64GjySg BrutalSam]) <br>
<youtube width="640">m1MV64GjySg</youtube>
 
==Known issues==
* The DirectPackageInstaller don't handle well parallel decompressions, If you're downloading from a compressed file, try download one per time.
* The DirectPackageInstaller don't handle well parallel decompressions, If you're downloading from a compressed file, try download one per time.
* Compressed file downloads generate a temporary PKG 'cache' on your hard drive, which will require free space according to the size of the PKG on your hard drive.
* Compressed file downloads generate a temporary PKG 'cache' on your hard drive, which will require free space according to the size of the PKG on your hard drive.
== Q&amp;A ==
* My download is taking a long time just to begin
** Let me guess, Downloading multipart compressed files?<br />
This will happen when the file is splitted in many volumes, how much more volumes it was,more time will take it. This slowdown is caused by the random access in the compressed files that are made to check if any part is missing. There's no way to fix this since isn't a bug at all, just a problem when someone try open compressed files remotely. Then... Just wait a bit more...
* My download speed is very slow even using segmented mode.
** The segmented mode make the PS4 unaware of the real download progress, don't trust in the PS4 informations, for an real estimation of your download speed, check the network usage in your task manager.
* Segmented mode and just 2mbps of download speed?!
** I noticied this problem during downloads from Zippyshare, but that isn't a problem of the DirectPackageInstaller, is just the zippyshare servers being slow or limited, who knows. If you want confirm by your self, I recommend upload an PKG to google drive and try install by yourself, since the google drive have a high download speed.
* What is the file hostings that you recommend?
** Alldebird &gt; Google Drive &gt; Mediafire &gt; Zippyshare &gt; The whole universe &gt; 1Fichier<br />
This is the list of which hosts has best download performances.
* When I tries to install a '''insert your error here''' error happens
** Create an issue! Just... Just Create! Serious, no one will bite you, if it was just a mistake there's no problem as well!<br />
By the way, if is an crash the &quot;DPI-Crash.log&quot; will contains good informations about the error.


==Changelog==
==Changelog==
Line 148: Line 134:
* Add support to auto-detect the PS5 IP.
* Add support to auto-detect the PS5 IP.
'''v8.2.1'''
'''v8.2.1'''
* Fix bug in exotic linux distro ([https://github.com/marcussacana/DirectPackageInstaller/issues/85 #85])
* Fix bug in exotic linux distro ([https://github.com/marcussacana/DirectPackageInstaller/issues/85 #85]).
* Allow disable PKG Splitter in Settings.ini
* Allow disable PKG Splitter in Settings.ini.
'''v8.2.0'''
'''v8.2.0'''
* Fix bug that made CLI does not works
* Fix bug that made CLI does not works.
* Disable (Temporally?) DataNode Support
* Disable (Temporally?) DataNode Support.
* Add CLI argument to change the DPI PKG Info TCP Port
* Add CLI argument to change the DPI PKG Info TCP Port.
'''v8.1.0'''
'''v8.1.0'''
* Fix Payload Installer on Android ([https://github.com/marcussacana/DirectPackageInstaller/issues/74 #74])
* Fix Payload Installer on Android ([https://github.com/marcussacana/DirectPackageInstaller/issues/74 #74]).
* Fix RemotePackageInstaller on Android ([https://github.com/marcussacana/DirectPackageInstaller/issues/74 #74])
* Fix RemotePackageInstaller on Android ([https://github.com/marcussacana/DirectPackageInstaller/issues/74 #74]).
* Implement PS4 IP Finder support for Android
* Implement PS4 IP Finder support for Android.
* Fix bug on Auto Updater ([https://github.com/marcussacana/DirectPackageInstaller/issues/76 #76])
* Fix bug on Auto Updater ([https://github.com/marcussacana/DirectPackageInstaller/issues/76 #76]).
* Allows set a custom payload port in the Settings.ini ([https://github.com/marcussacana/DirectPackageInstaller/issues/66 #66])
* Allows set a custom payload port in the Settings.ini ([https://github.com/marcussacana/DirectPackageInstaller/issues/66 #66]).
* Fix background persistence on Android 13 or newer
* Fix background persistence on Android 13 or newer.
'''v8.0.1'''
'''v8.0.1'''
*Fix problem when dowloading from 1fichier links.
* Fix problem when dowloading from 1fichier links.
'''v8.0.0'''
'''v8.0.0'''
From now on, Direct Package Installer requires .NET 8 to work, as .NET 6 is unfortunately becoming unsupported.
* From now on, Direct Package Installer requires .NET 8 to work, as .NET 6 is unfortunately becoming unsupported.
 
* New Feature:
New Feature:
** DHCP Server (Windows Only): With this feature the DPI will automatically setup your PC x PS4 ethernet cable connection.
 
*** To use this feature all you need is connect you PS4 and PC directly with an ethernet cable,<br />
* DHCP Server (Windows Only): With this feature the DPI will automatically setup your PC x PS4 ethernet cable connection.
*** 1 - Change your PS4 connection to cable<br />
 
*** 2 - At &quot;IP Address&quot; Setting, select &quot;Automatic<br />
To use this feature all you need is connect you PS4 and PC directly with an ethernet cable,<br />
*** 3 - Setup your DNS and it's done.
1 - Change your PS4 connection to cable<br />
*** You can use the PS4 &quot;Easy&quot; setting mode too, but once you connect your ps4 on a router it will use an online DNS and update it, so be careful.
2 - At &quot;IP Address&quot; Setting, select &quot;Automatic<br />
*** Don't use this feature if: Your Home Internet has no router, and it depends of custom network settings to works (Like PPoE or Dial-Up).
3 - Setup your DNS and it's done.
*** Be aware: This feature will reset your network adapter settings, the warning above is for the user be aware that might lose internet access if your internet require special settings with your network adapter.
 
You can use the PS4 &quot;Easy&quot; setting mode too, but once you connect your ps4 on a router it will use an online DNS and update it, so be careful.
 
Don't use this feature if:
 
* Your Home Internet has no router, and it depends of custom network settings to works (Like PPoE or Dial-Up)
 
Be aware:
 
* This feature will reset your network adapter settings, the warning above is for the user be aware that might lose internet access if your internet require special settings with your network adapter.
 
'''v6.2.13'''
'''v6.2.13'''
*Update DPI user agent and include it own signature in the user agent for automation solutions ([https://github.com/marcussacana/DirectPackageInstaller/issues/59 #59]).
*Update DPI user agent and include it own signature in the user agent for automation solutions ([https://github.com/marcussacana/DirectPackageInstaller/issues/59 #59]).
'''v6.2.12'''
'''v6.2.12'''
* Fix Bug with DataNode Links
* Fix Bug with DataNode Links.
* Fix Bug in the URL Validator
* Fix Bug in the URL Validator.
'''v6.2.11'''
'''v6.2.11'''
* Implement DataNodes Support [https://github.com/marcussacana/DirectPackageInstaller/issues/55 #55].
* Implement DataNodes Support [https://github.com/marcussacana/DirectPackageInstaller/issues/55 #55].
Line 196: Line 171:
* Fix Alldebrid.
* Fix Alldebrid.
'''v6.2.9'''
'''v6.2.9'''
* RealDebrid Support Added (An cortesy of @ananias47)
* RealDebrid Support Added (An cortesy of @ananias47).
* Fix AllDebrid bug
* Fix AllDebrid bug.
'''v6.2.8'''
'''v6.2.8'''
* Change MacOS builds storage location (Fix [https://github.com/marcussacana/DirectPackageInstaller/issues/46 #46])
* Change MacOS builds storage location (Fix [https://github.com/marcussacana/DirectPackageInstaller/issues/46 #46]).
* Fix Android Setting Loader (Fix [https://github.com/marcussacana/DirectPackageInstaller/issues/48 #48])
* Fix Android Setting Loader (Fix [https://github.com/marcussacana/DirectPackageInstaller/issues/48 #48]).
* Fix Standalone Installation with Direct Links (Fix [https://github.com/marcussacana/DirectPackageInstaller/issues/49 #49] and [https://github.com/marcussacana/DirectPackageInstaller/issues/47 #47]) (Needs test)
* Fix Standalone Installation with Direct Links (Fix [https://github.com/marcussacana/DirectPackageInstaller/issues/49 #49] and [https://github.com/marcussacana/DirectPackageInstaller/issues/47 #47]) (Needs test).
* Avalonia Upgraded
* Avalonia Upgraded.
* SharpZipLib Upgraded
* SharpZipLib Upgraded.
* HtmlAgilityPack Upgraded
* HtmlAgilityPack Upgraded.
'''v6.2.7'''
'''v6.2.7'''
* Fix bug when the user tries to restart the Http server ([https://github.com/marcussacana/DirectPackageInstaller/issues/45 #45])
* Fix bug when the user tries to restart the Http server ([https://github.com/marcussacana/DirectPackageInstaller/issues/45 #45]).
* Update the goldhen payload with the lastest changes in the repo
* Update the goldhen payload with the lastest changes in the repo.
'''v6.2.6'''
'''v6.2.6'''
* Fix Google Drive
* Fix Google Drive.
* Remove Zippyshare
* Remove Zippyshare.
* Fix URL validator bug
* Fix URL validator bug.
* Fix a certain message
* Fix a certain message.
* Fix Multi Package Menu Item List
* Fix Multi Package Menu Item List.
* Fix Decompressor Issues
* Fix Decompressor Issues.
* Fix Android Bugs
* Fix Android Bugs.
* Fix Android 14 Compatibility
* Fix Android 14 Compatibility.
* Show Single Welcome message in Android
* Show Single Welcome message in Android.
* Upgrade HtmlAgilityPack
* Upgrade HtmlAgilityPack.
* Upgrade SimpleHttpServer
* Upgrade SimpleHttpServer.
* Upgrade Javascript Engine
* Upgrade Javascript Engine.
* Upgrade Decompressor
* Upgrade Decompressor.
* Upgrade Avalonia
* Upgrade Avalonia.
'''v6.2.5'''
'''v6.2.5'''
*Fix the Zippyshare for the 4th time...
* Fix the Zippyshare for the 4th time...
'''v6.2.4'''
'''v6.2.4'''
* Try prevent error 0x80990085 by splitting fpkgs.
* Try prevent error 0x80990085 by splitting fpkgs.
* HTTP Server stability/performance Improved (may use more CPU)
* HTTP Server stability/performance Improved (may use more CPU).
* Fix bug when installing patches that don't shows the correct progress in the PS4
* Fix bug when installing patches that don't shows the correct progress in the PS4.
* Force show console in CLI mode
* Force show console in CLI mode.
'''v6.2.3'''
'''v6.2.3'''
* Fix a bug that the DPI didn't detected that the payload has lost the connection socket.
* Fix a bug that the DPI didn't detected that the payload has lost the connection socket.
Line 237: Line 212:


==Credits==
==Credits==
* LibOrbisPkg by '''maxton'''
* LibOrbisPkg by maxton.
* HttpServerLite by '''jchristn'''
* HttpServerLite by jchristn.
* Payload template by '''sleirsgoevy'''
* Payload template by sleirsgoevy.
* Help with PS4 OS internals by '''LM'''
* Help with PS4 OS internals by LM.
* PS4 exports definitions by '''OpenOrbis SDK'''
* PS4 exports definitions by OpenOrbis SDK.
* DirectPackageInstaller by '''marcussacana'''
* DirectPackageInstaller by marcussacana.
 
== Disclaimer ==
This program was made for legitimate purposes, you can use it only for download the your backups that you saved in cloud, and for that reason I condemn and do not support any kind of piracy.<br />
I'm no responsible for what you do with this tool, like, you know very well what you're doing.


== External links ==
== External links ==
* Github - https://github.com/marcussacana/DirectPackageInstaller
* GitHub - https://github.com/marcussacana/DirectPackageInstaller
* Wololo - https://wololo.net/2021/09/29/ps4-release-directpackageinstaller-2-0-adds-compressed-files-support/
* Wololo - https://wololo.net/2021/09/29/ps4-release-directpackageinstaller-2-0-adds-compressed-files-support/

Revision as of 02:24, 16 June 2025

DirectPackageInstaller
General
Authormarcussacana
TypePC Utilities
Version8.3.1
LicenseGPL-3.0
Last Updated2025/05/25
Links
Download
Website
Source

A PC tool that lets you preview and send PKG files to your PS4 from direct links. It uses the API of the Remote Package Installer to add packages from URLs to your PS4 download queue. The tool also includes an automatic proxy server to improve the PS4's typically slow WAN download speeds.

The DirectPackageInstaller can function without the Remote Package Installer. In this case, you just need to enable your binloader, and the tool will instruct how the package should be installed. If both are running, the tool will prioritize the Remote Package Installer.

One of the tool's features is the ability to install PKGs from compressed files (rar,7z). As the file is downloaded, it is decompressed to your disk temporarily and sent to your PS4.

The tool also offers a Segmented Download mode, which starts a background multithreaded download of the PKG to your computer and sends it to your PS4 at the same time. It's the fastest method but the PS4 won't be able to show the real download progress and its remaining time.

Author's note: This program was made for legitimate purposes, you can use it only for download the your backups that you saved in cloud, and for that reason I condemn and do not support any kind of piracy. I'm not responsible for what you do with this tool, like, you know very well what you're doing.

Features

  • Preview PKGs Files.
  • Standalone PS4 package downloads.
  • Auto Proxy PS4 Downloads to Speed up.
  • Support for RAR/7z files as well.
  • Resumable Downloads (Only from uncompressed files).
  • Segmented Downloads.
  • Support for few file hosting links.
  • Support for PSN update manifest (Splited PKGs).
  • Works with or without RemotePackageInstaller.
  • Command Line Interface.
  • JDown Click'n Load Support.

Installation

User guide

Supported file hostings

  • Any direct link (Without Authentication)
  • AllDebrid (API Key Required)
  • Google Drive (With or Without Authentication)
  • Mediafire (Without Authentication)
  • PixelDrain
  • 1Fichier (Must wait 60 minutes after downloaded)

Some hosting sites (e.g., Zippyshare) are slower than others. For better performance try testing with Google Drive.

How to use

Direct download mode

  • Open the Remote Package Installer or enable Goldhen Payload Server.
  • Open the DirectPackageInstaller.
  • Put the direct PKG URL in the "PKG URL" field.
  • Click at "Load" and wait.
  • Click at "Install" and wait for the installation to finish.
  • When it's done, you can close the DirectPackageInstaller or turn off your computer.

Proxied download mode

(For PS4 that has no Internet access.)

  • Open the Remote Package Installer or enable Goldhen Payload Server.
  • Open the DirectPackageInstaller.
  • Go to "Options" > "Proxy Downloads" and check the option.
  • Put the direct PKG URL in the "PKG URL" field.
  • Click at "Load" and wait.
  • Click at "Install" and wait for the installation to finish.

Segmented download mode

(Fastest, but the PS4 cannot track download progress accurately.)

  • Make sure you have enough free disk space.
  • Open the Remote Package Installer or enable Goldhen Payload Server.
  • Open the DirectPackageInstaller.
  • Go to "Options" > "Segmented Downloads" and check the option.
  • Put the direct PKG URL in the "PKG URL" field.
  • Click at "Load" and "Install".
  • The PKG will be downloaded and preloaded before installation.

Download from compressed files

(Always Proxied.)

  • Make sure you have enough free disk space.
  • Open the Remote Package Installer or enable Goldhen Payload Server.
  • Open the DirectPackageInstaller.
  • Put the direct PKG URL to your compressed file.
  • Click at "Load" and wait.
  • (Optional) Select the correct PKG in the file list.
  • Click at "Install" and wait for the installation to finish.

macOS CLI usage

Use the terminal to run the app:

./DirectPackageInstaller.Desktop

In some cases, you may need to run:

dotnet DirectPackageInstaller.Desktop.dll

Command line interface

The DirectPackageInstaller has an experimental CLI (RAR/7z and segmented downloads are not supported in this mode yet).

For more details run:

  • Windows - DirectPackageInstaller.Desktop -help
  • Other OS - DirectPackageInstaller.Desktop.exe -help

Screenshots

directpackageinstallerps4-01.png

directpackageinstallerps4-02.png

Media

Install PS4 Games Without Remote PKG Installer | Tutorial (BrutalSam)

Known issues

  • The DirectPackageInstaller don't handle well parallel decompressions, If you're downloading from a compressed file, try download one per time.
  • Compressed file downloads generate a temporary PKG 'cache' on your hard drive, which will require free space according to the size of the PKG on your hard drive.

Changelog

v8.3.1

  • Add Support to NFS (#86).

v8.3.0

  • Add support to etaHEN DPIv2.
  • Add support to auto-detect the PS5 IP.

v8.2.1

  • Fix bug in exotic linux distro (#85).
  • Allow disable PKG Splitter in Settings.ini.

v8.2.0

  • Fix bug that made CLI does not works.
  • Disable (Temporally?) DataNode Support.
  • Add CLI argument to change the DPI PKG Info TCP Port.

v8.1.0

  • Fix Payload Installer on Android (#74).
  • Fix RemotePackageInstaller on Android (#74).
  • Implement PS4 IP Finder support for Android.
  • Fix bug on Auto Updater (#76).
  • Allows set a custom payload port in the Settings.ini (#66).
  • Fix background persistence on Android 13 or newer.

v8.0.1

  • Fix problem when dowloading from 1fichier links.

v8.0.0

  • From now on, Direct Package Installer requires .NET 8 to work, as .NET 6 is unfortunately becoming unsupported.
  • New Feature:
    • DHCP Server (Windows Only): With this feature the DPI will automatically setup your PC x PS4 ethernet cable connection.
      • To use this feature all you need is connect you PS4 and PC directly with an ethernet cable,
      • 1 - Change your PS4 connection to cable
      • 2 - At "IP Address" Setting, select "Automatic
      • 3 - Setup your DNS and it's done.
      • You can use the PS4 "Easy" setting mode too, but once you connect your ps4 on a router it will use an online DNS and update it, so be careful.
      • Don't use this feature if: Your Home Internet has no router, and it depends of custom network settings to works (Like PPoE or Dial-Up).
      • Be aware: This feature will reset your network adapter settings, the warning above is for the user be aware that might lose internet access if your internet require special settings with your network adapter.

v6.2.13

  • Update DPI user agent and include it own signature in the user agent for automation solutions (#59).

v6.2.12

  • Fix Bug with DataNode Links.
  • Fix Bug in the URL Validator.

v6.2.11

  • Implement DataNodes Support #55.
  • Prepare Auto Updater for the upcomming .NET 8 upgrade.

v6.2.10

  • Fix Alldebrid.

v6.2.9

  • RealDebrid Support Added (An cortesy of @ananias47).
  • Fix AllDebrid bug.

v6.2.8

  • Change MacOS builds storage location (Fix #46).
  • Fix Android Setting Loader (Fix #48).
  • Fix Standalone Installation with Direct Links (Fix #49 and #47) (Needs test).
  • Avalonia Upgraded.
  • SharpZipLib Upgraded.
  • HtmlAgilityPack Upgraded.

v6.2.7

  • Fix bug when the user tries to restart the Http server (#45).
  • Update the goldhen payload with the lastest changes in the repo.

v6.2.6

  • Fix Google Drive.
  • Remove Zippyshare.
  • Fix URL validator bug.
  • Fix a certain message.
  • Fix Multi Package Menu Item List.
  • Fix Decompressor Issues.
  • Fix Android Bugs.
  • Fix Android 14 Compatibility.
  • Show Single Welcome message in Android.
  • Upgrade HtmlAgilityPack.
  • Upgrade SimpleHttpServer.
  • Upgrade Javascript Engine.
  • Upgrade Decompressor.
  • Upgrade Avalonia.

v6.2.5

  • Fix the Zippyshare for the 4th time...

v6.2.4

  • Try prevent error 0x80990085 by splitting fpkgs.
  • HTTP Server stability/performance Improved (may use more CPU).
  • Fix bug when installing patches that don't shows the correct progress in the PS4.
  • Force show console in CLI mode.

v6.2.3

  • Fix a bug that the DPI didn't detected that the payload has lost the connection socket.
  • Display more friendly error message when PS4 disk is full.

All the old changelog.

Credits

  • LibOrbisPkg by maxton.
  • HttpServerLite by jchristn.
  • Payload template by sleirsgoevy.
  • Help with PS4 OS internals by LM.
  • PS4 exports definitions by OpenOrbis SDK.
  • DirectPackageInstaller by marcussacana.

External links

Advertising: