Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PKG icon [REQUEST] #11

Closed
wants to merge 59 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
59b17c1
add basic styling functionality
Gkiokan Mar 28, 2022
efe504a
Darkmode Styling done. Looks awesome
Gkiokan Mar 29, 2022
481fbc6
update settings view
Gkiokan Mar 29, 2022
f5d90dd
add pureblack styling
Gkiokan Mar 30, 2022
3797738
updates
Gkiokan Mar 30, 2022
436018c
refactor downloading pkg window
Gkiokan Mar 30, 2022
0d8ffcf
refactor hb legacy view
Gkiokan Mar 30, 2022
1576dd6
refactor HBStoreLegacy
Gkiokan Mar 30, 2022
b3b3ec4
update changelog
Gkiokan Mar 30, 2022
19d5d12
refactor create item from hb legacy
Gkiokan Mar 30, 2022
6982f0f
prepare refactored HBStore component
Gkiokan Mar 30, 2022
9224803
new hb store refactored component implemented
Gkiokan Mar 30, 2022
4b7069e
fix typo on server component cusa to title id
Gkiokan Mar 30, 2022
2e741f3
fix filtering though the new store api
Gkiokan Mar 30, 2022
0022157
fix size for hb items
Gkiokan Mar 31, 2022
8bbd1a1
adding search input for the hb-input with debounce
Gkiokan Mar 31, 2022
44f09c4
hb-store direct install working.
Gkiokan Mar 31, 2022
b5cae94
remove debug logging and styling patches
Gkiokan Mar 31, 2022
ed681ec
update changelog and Troubleshooting Guide
Gkiokan Mar 31, 2022
ead8cab
update readme and fix typos
Gkiokan Mar 31, 2022
877820a
fix typo
Gkiokan Mar 31, 2022
5626da2
prepare queue scanner setting and pack processing buttons together
Gkiokan Apr 1, 2022
e40ad8f
prepare for queue scanner
Gkiokan Apr 1, 2022
544e07f
add arm7l arch for AppImage release
Gkiokan Apr 1, 2022
68e4d44
fix styling space and hb reactive parameters
Gkiokan Apr 1, 2022
bec61d6
working queue scanner
Gkiokan Apr 1, 2022
60993f3
update changelog
Gkiokan Apr 2, 2022
c195108
update regarding the new feature
Gkiokan Apr 2, 2022
ad4888d
prepare System wide Notifications
Gkiokan Apr 2, 2022
e95c052
add system wide Notifications and re-run the queue scanner if a exist…
Gkiokan Apr 2, 2022
3ae1176
add custom ports for rpi and rpiOOP ps4 apps
Gkiokan Apr 2, 2022
f4d8fcb
add testing connection on the config page
Gkiokan Apr 2, 2022
80d6543
update changelog
Gkiokan Apr 2, 2022
2e8e360
add custom titlebar
Gkiokan Apr 2, 2022
9af0040
operation buttons for close, min and maximize window
Gkiokan Apr 2, 2022
9074843
add windows title bar operation buttons for min, max, close.
Gkiokan Apr 2, 2022
61f2030
update changelog
Gkiokan Apr 2, 2022
4f26ed6
add close application button on the header side
Gkiokan Apr 2, 2022
a8c9633
update changelogs
Gkiokan Apr 2, 2022
14c0821
add close application handler
Gkiokan Apr 2, 2022
b5dbf2a
add new preview image
Gkiokan Apr 2, 2022
a89302e
update to a smaler image
Gkiokan Apr 2, 2022
f942ba7
fix draggable issue for windows / linux
Gkiokan Apr 3, 2022
51ea42b
add custom titleBar Settings
Gkiokan Apr 4, 2022
b5aafa9
add window view dropdown for easy access
Gkiokan Apr 4, 2022
c8a5581
add view buttons to access pages local server and api logs directly
Gkiokan Apr 4, 2022
97c5ce0
add logo to the info page
Gkiokan Apr 4, 2022
1868859
bump version
Gkiokan Apr 4, 2022
f19466a
fix title bar click events for windows
Gkiokan Apr 4, 2022
e23ced8
update readme
Gkiokan Apr 4, 2022
abf4e45
add total downloads to the readme
Gkiokan Apr 18, 2022
03e296b
bump readme with new upcomming features
Gkiokan Jul 19, 2022
720e68a
fix line break
Gkiokan Jul 19, 2022
9c3f684
fix linebreaks for upcomming features
Gkiokan Jul 19, 2022
a1b370b
lang/ir added
Jul 20, 2022
de428ff
Merge pull request #43 from Keyvanhardani/feature/lang-ir
Gkiokan Jul 20, 2022
2f8f6cc
Fix spelling, fix wording in some sentences
Masamune3210 Jul 24, 2022
e4ee794
Merge pull request #44 from Masamune3210/patch-1
Gkiokan Aug 1, 2022
0306e1c
Update Troubleshoot.md
Gkiokan Aug 1, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
107 changes: 78 additions & 29 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,40 +1,89 @@
# PS4 Remote PKG Sender v2 - Changelog

### v2.7.2
#### Optimization
Add custom TitleBar Settings to choose specific Style.
Refactor TitleBar Buttons to work on Windows.
Add opening methods to access specific view directly.
Add new logo to the info view.

### v2.7.1
#### Prefinings
Add System Wide Notification Settings and Notification.
Enable PS4 App RPI OOP with custom port.
Add callback for Queue Scanner to continue if a file exists.
Add Custom TitleBar with coloring based on the Style settings.
Add Window operation buttons for linux and windows.
Add close application button to the header menu.

### v2.7.0
#### Queue Scanner
Prepare Queue Scanner settings.
Put operation buttons together as button group.
Sync Queue Sanner Button on the Process Center.
Add Autostart Button.
Add Linux deb package with x64, ia32 and amvl7 architecture.
Handle Queue Scanner process, one by one (more performance instead of batch).
Extend PS4 API error logging.
Add a message when everything is done and there are no items in the queue left.


### v2.6.1
#### HB-Store direct install
Added autoclose function to close the Downloading window.
Refactor HB Store Legacy Component.
Create new HB Store Component for the refactored version.
Map new HB Store Items data to the app Data.
Add coloring schema for the new categories.
Fix hb-store item direct install.
Update Changelog and Troubleshooting Guide.

### v2.6.0
#### Update & Darkmode
Handle application closing with child process kill after Application Quit.
Add AppImage, deb and snap to Linux build command.
Fix static asset paths for developing mode.
Add new Logo for Homebrew Store on the Download View.
Added Darkmode SCSS styling.
Added Style Schematics for the Application Scrollbar.
Update Settings View with proper content splitting.
Prepare HB-Store Settings for legacy, refactored and custom CDN.

### v2.5.2
####Application Settings
Added more explicit HB Configuration.
Moved scss styling to global css file for full-width inputs.
Added RPI OOP to the Download Area.
Extend the Settings options to show current Config Object data.
Disable direct input for base_path. Now you need to choose it with the file explorer.
Adding a custom popup for manual path input.
Added rest timer with human readable time.
Added css to fix the header, so it stays there when you scroll.
Added prefix full path URL to the serving file (CyB1K request), so every file is unique.
Added Suport Information on Settings View if anyone want to help and support me.
#### Application Settings
Added more explicit HB Configuration.
Moved scss styling to global css file for full-width inputs.
Added RPI OOP to the Download Area.
Extend the Settings options to show current Config Object data.
Disable direct input for base_path. Now you need to choose it with the file explorer.
Adding a custom popup for manual path input.
Added rest timer with human readable time.
Added css to fix the header, so it stays there when you scroll.
Added prefix full path URL to the serving file (CyB1K request), so every file is unique.
Added Suport Information on Settings View if anyone want to help and support me.

### v2.5.1
####Further upgrades
Added Download View for RPI and HB-Store.
Added Troubleshooting Guide to the Miscs.
Fix flashing on Configuration pages when pressing enter (not necesarry).
Fix base_path configuration error when opening file explorer and canceling it.
Updated Info Window size and content. Applied additional thanks.
Added experimental add url endpoint.
#### Further upgrades
Added Download View for RPI and HB-Store.
Added Troubleshooting Guide to the Miscs.
Fix flashing on Configuration pages when pressing enter (not necesarry).
Fix base_path configuration error when opening file explorer and canceling it.
Updated Info Window size and content. Applied additional thanks.
Added experimental add url endpoint.


### v2.5.0
####Further upgrades
Extend main Window width to 1300px.
Add button to remove files from Queue.
Disable Queued file operation buttons when no task exists.
On Config View change apply to server button to open Server Window.
Add Application Settings.
Prepare HB-Store tab with prototype content of HB-Store-R2.
Create Item Objects from HB-Store package response.
Add Table Expandable Row to see all properties of Item Object.
Add remove Item from queue button in Queue, Server and HB-Store view.
Added Pagination to HB-Store Table view.
#### Further upgrades
Extend main Window width to 1300px.
Add button to remove files from Queue.
Disable Queued file operation buttons when no task exists.
On Config View change apply to server button to open Server Window.
Add Application Settings.
Prepare HB-Store tab with prototype content of HB-Store-R2.
Create Item Objects from HB-Store package response.
Add Table Expandable Row to see all properties of Item Object.
Add remove Item from queue button in Queue, Server and HB-Store view.
Added Pagination to HB-Store Table view.

### v2.4.3
#### Fixing storage race condition
Expand Down
71 changes: 39 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# PS4 Remote PKG Sender v2
[![ko-fi](https://img.shields.io/badge/Buy%20me%20a%20Shisha%20on-Ko--fi-red)](https://ko-fi.com/M4M082WK8)
[![os](https://img.shields.io/badge/platform-windows%20%7C%20macos%20%7C%20linux-lightgrey)](#)
[![commits_since_release](https://img.shields.io/github/commits-since/gkiokan/ps4-remote-pkg-sender/v2.5.2)](#)
[![version](https://img.shields.io/github/package-json/v/gkiokan/ps4-remote-pkg-sender)](#)
[![commits_since_release](https://img.shields.io/github/commits-since/gkiokan/ps4-remote-pkg-sender/v2.7.2)](#)
[![version](https://img.shields.io/github/package-json/v/gkiokan/ps4-remote-pkg-sender)](#)
[![downloads](https://img.shields.io/github/downloads/gkiokan/ps4-remote-pkg-sender/total)](#)
[![last_commit](https://img.shields.io/github/last-commit/gkiokan/ps4-remote-pkg-sender)](#)

This application has been highly inspired by @irefuse and is a full refactored version of the orginal repo.
Expand All @@ -11,43 +12,49 @@ Based on Electron, Webpack, Vue, Express, Axios, Element-UI and Node this does n
dependencies. With this we can createa a cross platform application that works on mac, linux and Windows
and provides a nice GUI.

![PS4 Package Sender Main Application Windows](https://cdn.discordapp.com/attachments/463406779599028265/926965282000474122/unknown.png)
![PS4 Package Sender Main Application Windows](https://media.discordapp.net/attachments/933730584721780806/959908370565959750/new_cover_ported.jpg)

[![Full Changelog](https://img.shields.io/badge/Checkout%20-All%20Changelogs-yellow)](Changelog.md)

[![Troubleshooting Guide](https://img.shields.io/badge/Checkout%20-Troubleshooting%20Guide-brightgreen)](Troubleshoot.md)

## New features in v2.*
The refactored Version provides a better GUI and technicall more ordered features.
* Configure your server with your base path
* Prepare Custom Server Configuration (build-in express, apache, nginx, custom, ...)
* Controll the Server application by click and have it running in the background
* Closing windows doesn't stop the Server but stops if you quit the application.
* Show a list of all Server side listed PKG's
* Miscs download link to flatZ PS4 Remote Package Installer homebrew
* Extended Menu and Tray Icon
* Separate Server Window (Logs, Server Routes, Controls)
* Separate PS4 API Logs Window
* Catch any possible Error on Request or Response with the RPI on your PS4
* Scan base path (deep scan support) directory for fPKG's and serve them with the server
* Search for titles through your found files
* Add Served files to your Queue and install them on your PS4
* Processing Center reflects any status changes in your server list, too
* Set custom timeout and update interval with a slider
* Added Seperate Changelog file and Troubleshooting Guide
* Add a FAQ and Troubleshooting Area
* Configuration values for timeout and heartbeat

## ToDo's for the future
* Search your PS4 automatically in the current network (WIP)
* Implement Auto-updater
* Queue scanner (start next file in the queue after one is finished)
* Import / Export Configuration
* Serve as global Server Host and provide Server Files over Internet
* Save PS4 (local, wlan, wan, internet) and make them chooseable
* Implement HB Store and install fPKG's
* Read CUSA from file hex values instead of title
* Preview CUSAxxxxx Game title covers
[x] Configure your server with your base path
[x] Prepare Custom Server Configuration (build-in express, apache, nginx, custom, ...)
[x] Controll the Server application by click and have it running in the background
[x] Closing windows doesn't stop the Server but stops if you quit the application.
[x] Show a list of all Server side listed PKG's
[x] Miscs download link to flatZ PS4 Remote Package Installer homebrew
[x] Extended Menu and Tray Icon
[x] Separate Server Window (Logs, Server Routes, Controls)
[x] Separate PS4 API Logs Window
[x] Catch any possible Error on Request or Response with the RPI on your PS4
[x] Scan base path (deep scan support) directory for fPKG's and serve them with the server
[x] Search for titles through your found files
[x] Add Served files to your Queue and install them on your PS4
[x] Processing Center reflects any status changes in your server list, too
[x] Set custom timeout and update interval with a slider
[x] Added Seperate Changelog file and Troubleshooting Guide
[x] Add a FAQ and Troubleshooting Area
[x] Configuration values for timeout and heartbeat
[x] Implement HB Store and direct install fPKG's
[x] Queue scanner (start next file in the queue after one is finished)

## ToDo's for the future (Comming into v2.9+)
[ ] Search your PS4 automatically in the current network
[ ] Implement Auto-updater
[ ] Import / Export Configuration
[ ] Serve as global Server Host and provide Server Files over Internet
[ ] Save PS4 (local, wlan, wan, internet) and make them chooseable
[ ] Read CUSA from file hex values instead of title
[ ] Preview CUSAxxxxx Game title covers
[ ] Chrome Extension for external usage
[ ] GoldHen Cheats Manager
[ ] Integrated FTP Client
[ ] Context Menu on Processing Center
[ ] Group PKG's by TitleID and Type (Base, Update, DLC)
[ ] One click to install all Group based PKG (send all PKGs from TitleID X)

## How To
So there you have it. How can you use it?
Expand Down
92 changes: 51 additions & 41 deletions Troubleshoot.md
Original file line number Diff line number Diff line change
@@ -1,103 +1,113 @@
# PS4 Remote PKG Sender v2 - Troubleshooting


## I have White Screen of Dead
## I have a White Screen of Death
This happens in general with the portable Version on Windows.
Please try to use the unpacked version. That works for sure and has been tested.
This issue is fixed in v2.4.3. If you still get an error, please report.

## I can't run the app because Mac blocks the app
Because I haven't signed my app yet with a paid apple certificate that happens.
Once you tried to open it mac blocks it, that is correct.
You can check your System `Preferences > Security > General`
## I can't run the app because macOS blocks the app
Because I haven't signed my app yet with a paid apple certificate, that happens.
It is normal for the first time that you try to open it for it to be blocked.
Go to System Settings `Preferences > Security > General`
There should be the app listed as blocked. You can explicity allow it then to run.
Don't worry. My app is clean and open source. Once I get money for the certificate I will fix that.

## I can't run the app because windows blocks the app
Even windows need a paid certificate to have it signed. Same circumstance as on mac.
Even windows need a paid certificate to have it signed, its the same circumstance as on mac.
Extend the window and allow the app to be run.
Again. Don't worry. My app is clean. Once I get money for the certificate I will fix that.

## Playstation not available
We can not connect to the RPI on PS4.
Check your Firewall if something blocks your connection from your PC to PS4.
The app can not connect to RPI on PS4.
Check your Firewall and see if something is blocking your connection from your PC to PS4.
Ping your PS4 in your Terminal / Commandline with `ping PS4_IP_ADRESS`.
Restart RPI (Remote Package Installer) and stay on splash screen.

## I get Timeout error
Timeout can mean any of the following errors but in generall the PS4 RPI (Remote Package Installer) cannot be connected to.
Timeout can mean any of the following errors but in general it means RPI cannot be connected to.

##### Option a)
Try to restart the RPI on your PS4. Sometimes the RPI changes into kinda suspend mode and has no reaction.
Restarting the RPI helps in most cases.
Try to restart the RPI on your PS4. Sometimes RPI changes into a kind of suspend mode and has no reaction.
Restarting RPI helps in most cases.

##### Option b)
Timeout on Request because timeout value is to short.
Set a higher request timeout value before the Sender kills the request when RPI takes to long to respond.
Mostly seen on the Install Request because the RPI needs to prepare some stuff before it sends a valide Task ID back.
Mostly seen on the Install Request because RPI needs to prepare some stuff before it sends a valid Task ID back.

##### Option c)
Sometimes a restart just fixes connection issues, specially on windows.
Sometimes a restart just fixes connection issues, especially on windows.
Restart your PC and PS4, try again. Some users reported back that this helped.

##### Option d)
There is something arround with the latest update of the GoldHen.
I am not sure yet but I can not debug this down as I am still on 5.05.
There is something weird with the latest update of GoldHen.
I am not sure yet but I can not debug this as I am still on 5.05.

Check the PS4 API Logs and see if you get any response.
If the response for Check PS4 works, but you don't proceed on the install request
then you might be affected on the latest update of GoldHen (for sure).

I assume that because there was a latest update and since then some users reported back install issues.
then you might be affected by this bug in GoldHen.
I assume that because there was a update and since then some users reported install issues.
Try another HEN edition as this was initially working from HENv1.8 until GoldHen 2.0 for sure.
If nothing helps, try another PKG Sender - I guess they will not work eithier.

A working GoldHen 2.0 (old one) can be found on e.g. nightkinghost.

A working GoldHen 2.0 (old version) can be found on e.g. nightkinghost.
##### Option e)
You can try another Installation type. Try using IPI and FTP untill my app does support
You can try another Installation type. Try using IPI and FTP until my app does support
it natively or the RPIOOSDK. Support for both target apps will done soon.


## I get a long Error Code
This will be patched in the v2.4.2 but for the completenes here they are.
Thoose Error Codes are not documented yet but I've patched the known ones which are:
`2157510681` Task doesn't exists -> RPI can't find any task associated with the id
`2157510663` already installed -> delete the app
`2157510677` it seems to be installed already (duplicate?) -> delte old app chunks
## I get a long Error Code
This will be patched in the v2.4.2 but for the completeness sake here they are
Those Error Codes are not documented yet but I've patched the known ones which are:
`2157510681` Task doesn't exist -> RPI can't find any task associated with the id
`2157510663` already installed -> the app you are trying to install is already installed, delete the copy on your PS4 first and try again
`2157510677` App seems to be installed already (duplicate?) -> Delete the app and any app chunks that are on your PS4 first and try again
`2157510789` not enough storage
`2157510920` not known yet
`2157510920` not known yet

## unable to set up prerequisites for package
## Unable to set up prerequisites for package
Thanks to marcussacana we could debug this error down.
This error will be responded from the Remote Package Installer when there is
a HTTP Protocoll error on the serving point. In case of the RPS v2, just in case
it will accour, just restart the server in another Port.
This error will be sent from the Remote Package Installer when there is
a HTTP Protocol error on the serving point. In case of the RPS v2, if it occurs, just restart the server on another Port.

If you get the error message from any other package sender, this is due
the lack of missing multipart stream support.

## My RPI crashes on console
This happend to a couple of users when we try to hit to hard on the RPI.
RPI cann't handle to much concurrent requests and crashes after a while
especially when you try to install something big 100GB+ PKG files or
This happend to a couple of users when we try to hit RPI too hard.
RPI cann't handle too many concurrent requests and crashes after a while
especially when you try to install something big 100GB+ PKG files or
installing multiple files at once and have a low update interval value.

It may help if you leave the interval value arround 2-3 secs because
It may help if you leave the interval value arround 2-3 secs because
updating progress info is also a request that will be sent upon the interval.

In v2.4.2 you can still send as many install request as you want, that is not limited yet,
but consider the fact that once the installation progress started the RPI has no work to do with it.
but consider the fact that once the installation starts, RPI has nothing more to do with it.
Download still continues on PS4 even if you jump out of RPI! Keep that in mind!

## Server not starting
If you see that your server is on error, please check the Server Window for the logs.
It will give you a specific error message what happend. Mostly it is a blocked port.
Just change the Port and press apply, refresh or just i/o button to close and start the server.

## Can't see HB-Store Tab
You have to activate that feature first on Settings below the feature list.

## Legacy or Refactored HB-Store Mode?
Legacy Mode is still there if you have a custom server with the "old cdn host".
Refactored Mode (recommended) implements the new Store Site API and have multiple
benefits besides filtering by category and search value.

## I lost the main Store API CDN
Put in `http://api.pkg-zone.com/` (must end with / at the end)

## Cannot Install HB-Store items directly
Until the refactored version of the HB-Store goes public you can download the App,
put it on your base_path folder and install it on the regular way.
put it on your base_path folder and install it the normal way.

## Application doesn't close
Closing windows doesn't kill the App.
Expand Down
Loading