FrostySo / Ps4-Pkg-Sender

Sends pkg files to your ps4 remotely
85 stars 12 forks source link

UI Changes and More #23

Closed IRONB0SS closed 11 months ago

IRONB0SS commented 1 year ago

Hi FrostySo, Thanks for the app and putting your time on this, I have some suggestions so I hope You look to it

A Setting area would be awesome to control the app

Screenshot 2023-03-31 145525 . . . Let us Customize the app even more :) Screenshot 2023-03-31 143056 Status sentences replaced by icons: 🔁❌✔ and when you hover one ❌ a message pop-up with reason of error

Screenshot 2023-03-31 153459 align column Horizontal/vertical: Center . . Report Bug: The app doesn't Work with the latest NodeJS (node-v18.15.0-x64) and works fine with node-v14.15.3-x64

FrostySo commented 1 year ago

I can add another column for the icons, but status provides a bigger benefit than just the icons. If some errors happen, the status tells you the error, an image doesn't really portray that. The settings I can add, but won't be able to do it till maybe mid April. If I get free time before that I can try add it before, but not promises. It's on the list.

EDIT: Should not that I'm not sure if C# allows tooltips in images with listview. Though, if it does, I can replace it all with icons sure.

Sounds wise, I'm not sure what sounds would be elegant for this matter. If you could suggest some, that would be great. Just make sure the sounds are free to use

As for the NodeJs not working on the later versions, I'll look into that too. I'd only have to assume they changed something. Hopefully it's fixable though.

IRONB0SS commented 1 year ago

Thanks for responding, I will looking for some good sounds and will send 'em to you

IRONB0SS commented 1 year ago

Sounds wise, I'm not sure what sounds would be elegant for this matter. If you could suggest some, that would be great. Just make sure the sounds are free to use

Sounds with .wav format : MEGA

IRONB0SS commented 1 year ago

Report bug Delete function doesn't work at all, for example I added FIFA with update and then deleted the update from app but it installed afterward

FrostySo commented 1 year ago

Report bug Delete function doesn't work at all, for example I added FIFA with update and then deleted the update from app but it installed afterward

I see it, will be fixed soon. A complete oversight, deleted it from the UI but forgot to remove it from the actual queue...

FrostySo commented 1 year ago

Hey man I know it's been a while. Just reminding you that I haven't forgotten about this.

Just been extremely busy lately and hopefully I can take a look eventually. The UI deletion is fixed on the git but I haven't made a build for it. You can either compile it yourself or just wait a bit longer.

IRONB0SS commented 1 year ago

You can either compile it yourself or just wait a bit longer.

Hey friend, thanks for the efforts, I have zero knowledge about programming so I can wait :)

IRONB0SS commented 1 year ago

@FrostySo Hey again, is it possible to add a option for this? "Force update file to send" What do I mean is when a game has update for example Minecraft is installed with update v1.64 and If I try to send Update 1.66, the Sender says update is installed, Is there a way to bypass this? IMG_20230609_111833_060.jpg

FrostySo commented 1 year ago

@FrostySo Hey again, is it possible to add a option for this? "Force update file to send" What do I mean is when a game has update for example Minecraft is installed with update v1.64 and If I try to send Update 1.66, the Sender says update is installed, Is there a way to bypass this? IMG_20230609_111833_060.jpg

I'll see what I can do. I think it is a limitation with the package installer itself, it doesn't let me see what updates are already installed. If at all possible, I can add a "force uninstall update" option which will force uninstall an update if you're trying to send one. However, I do believe I cannot distinguish the difference between DLC and update, so it might uninstall DLC too. I will also add it to my list of things to look into.

IRONB0SS commented 1 year ago

@FrostySo I remember that I could send update PKG to PS4 with modded warfare PKG Sender but after windows 10 updates, his tool didn't work anymore

FrostySo commented 1 year ago

@FrostySo I remember that I could send update PKG to PS4 with modded warfare PKG Sender but after windows 10 updates, his tool didn't work anymore

Yea because his tool didn't have any checks to see if it was installed or not. The reason why it says already installed is because I check to see if the file has already been sent. I don't really remember why I went with this approach but I'm sure it was for a good reason. I can probably add a skip check option by minimum though.

Once I work on this again I will see what I can do.

IRONB0SS commented 1 year ago

I don't really remember why I went with this approach but I'm sure it was for a good reason. I can probably add a skip check option by minimum though.

Of course it's good feature, Skip check option is needed for some situations only and Checking feature is really necessary and must be turned on by default just like now

Thanks for your time and efforts, I can't wait to try the new version 🙌❤️

FrostySo commented 1 year ago

Okay so I know why I did it like that. for RPI, uninstalling a patch and knowing whether a specific patch is installed is impossible to know. It uses the Title ID to install/uninstall patches which is an issue when it comes to installing/uninstalling. Why? Because we cannot tell what specific patch was installed. There is no endpoint for checking to see if a specific patch is installed, or to get a list of current patches installed. The package installer should automatically install the newer version by default (assuming he handles it on his end). So therefore, we'd need to force uninstall all patches before installing new patches, if you want to be safe. But this behavior can cause undefined problems, as some patches require a higher version to install that patch, and it's not possible to know which patch needs that and which doesn't.

For that reason specifically, I cannot really do much to make it be accurate. I can make it skip the install check itself, but I'm unsure if that will help (it might). Since it's all generalized and not specific. Had he used content ID instead, it would have been a fool proof method which would let us easily know if that specific patch was installed or not. But yea, I'll add that option anyways and hopefully it makes a difference. But if it doesn't, then I apologize I cannot really do much about it. There just isn't enough data I can get out of RPI. Had it only used content id this could've been easily resolved :'(

IRONB0SS commented 1 year ago

@FrostySo Thanks for explanation, check skipping should do the job and no need to apologize if it didn't work, you're doing a favor here, thanks for the efforts

Is there ETA for the release?

FrostySo commented 1 year ago

Is there ETA for the release?

Well theming itself will take some time, especially on my schedule. But if you wane me to add that option probably can get it done by end of the week.

IRONB0SS commented 1 year ago

if you wane me to add that option probably can get it done by end of the week.

Weekend is fine also I can test it, thanks in advance

FrostySo commented 1 year ago

if you wane me to add that option probably can get it done by end of the week.

Weekend is fine also I can test it, thanks in advance

Hi, try this. Hopefully it resolves what you're looking for otherwise I will probably just revert it back.

There's also a couple of changes

Including deleting items from queue, reworked some things to hopefully make it work with all node js versions and a few minor improvements. Things like that.

Ps4-Pkg-Sender - Skip Install Check option.zip

Sadly the UI side of things, may take a while. It's not easy to make things very modular for the end user and I am pretty busy myself so, maybe one day it will eventually get finished.

IRONB0SS commented 1 year ago

Ps4-Pkg-Sender - Skip Install Check option.zip

Thanks a lot ❤️, Skip Install Check works flawlessly but app needs restart after enabling/disabling to apply changes

Aslo Delete function do the job, THANK YOU AGAIN !

New UI Bug: Status is not displayed now

IMG_20230722_211326_013.jpg

Request: • please change app font to Segoe UI Regular or Open Sans with customizable Size [Small/Medium/Large]

• Change type description of Additional_Connect to DLC or Addon 😄 Screenshot 2023-07-22 214342

FrostySo commented 1 year ago

Thanks a lot ❤️, Skip Install Check works flawlessly but app needs restart after enabling/disabling to apply changes

Oops my bad Oversight. I will fix this.

Aslo Delete function do the job, THANK YOU AGAIN !

Np

New UI Bug: Status is not displayed now

Yea I noticed this too, I'm not sure how to fix it. For me it happened once, then never happened again after that. It's completely random to me. Can you try again but with a game? Might be specific to other things. Were you focused on the RPI on the ps4 when it happened? Or did it say "All done" even though it wasn't even finished/just started? Also What nodejs version are you on as well?

Oh, my bad. So you mean the actual progress bar still displays just not the "all done!"? Odd, I'll look into that.

EDIT 2: Yea my bad lol, the checkbox is overlaying it. I'll move it somewhere else. I completely forgot about this... I'll think of something.

Request: • please change app font to Segoe UI Regular or Open Sans with customizable Size [Small/Medium/Large]

Yea, that's what the theming was going to allow. I'm kind of hesitant to change the font and stuff in general, but if I can get theming out sooner or later this will be possible to do on your end.

• Change type description of Additional_Connect to DLC or Addon 😄 Screenshot 2023-07-22 214342

Additional content is actually what is shown on the ps4. If it doesn't impact the sender in any way I will change it to DLC. Because I think additional content doesn't only show DLC's but other things too, such as themes and stuff. I'll look into this though, and see what's more appropriate.

IRONB0SS commented 1 year ago

New Bug : Games stuck at certain point but it's random per games with 1.07 beta Screenshot 2023-07-24 194847

with 1.07 final Screenshot 2023-07-24 201921

Node Js Version : 14.15.3 Anti Virus /Firewall turned off GoldHEN 2.4b14 FW : 09.00

Edit : Tried with lastest NodeJS v18.17.0 with npm updated and still stuck at 13%, I will test with more PS4s and will keep you posted

FrostySo commented 1 year ago

Node Js Version : 14.15.3 Anti Virus /Firewall turned off GoldHEN 2.4b14 FW : 09.00

Edit : Tried with lastest NodeJS v18.17.0 with npm updated and still stuck at 13%, I will test with more PS4s and will keep you posted

Next time this happens, can you check to see in your task manager if nodejs is running? I'm not certain why it crashes randomly, but it should have started back up automatically. Might need a better way of opening nodejs up.

IRONB0SS commented 1 year ago

Next time this happens, can you check to see in your task manager if nodejs is running? its too weird, happens sometimes with some ps4s andstuck at 5GB mostly

image image

FrostySo commented 1 year ago

Ah yea I forgot to mention that it has many processes. Node.js javascript runtime is always running in the background and I'm not certain the other one. Next time can you use the "Details" view. I think you will be looking for "node.exe". But my guess is that it crashed if it's like that and not sending on your end.

EDIT: I should mention you should see like 2-3 node.exe's.

I might try a custom HTTP server outside of node and see if that works better. Otherwise I'd be reverting back to the old method.

IRONB0SS commented 1 year ago

the highlighted one uses memory and CPU

image

FrostySo commented 1 year ago

Weird how it's still happening even when nodejs is running. If nodejs is running and it bugs out then It's on the pkg sender or maybe the HEN version you're using. I'll look into it later and will try with my own http server solution/an already existing solution first to see if it still happens.

Right now, I am almost done with customization, hopefully this week. You'll be able to customize everything down to the brim so you can have it the way you like it (colors, fonts, hover color etc).

IRONB0SS commented 1 year ago

maybe the HEN version you're using.

I will try with Older GoldHEN Soon, but there is no problem with 1.07 final

Right now, I am almost done with customization, hopefully this week. You'll be able to customize everything down to the brim so you can have it the way you like it (colors, fonts, hover color etc).

that's awesome, thanks a million ❤

FrostySo commented 1 year ago

Ended up reverting the changes and the problem still occurred. So I un-re-reverted the changes. Thankfully a restart of the nodejs server seems fix it, so I will just make it monitor the progress. If it's stuck on an abnormal total time for too long, I'll make it auto restart the http server. I'm not sure why it doesn't happen in the older version but does in the newer version, I checked the commits I made and what I did shouldn't have changed anything.

Because even the NODEJS server itself threw 0 errors when this happened. It was behaving normally.

Outside of this, hoping to be done soon. Then you can test it. Just know that when it gets stuck next time, give it some time to monitor and restart the server before telling me it's stuck.

FrostySo commented 1 year ago

Ps4-Pkg-SenderV1.08.zip

Let me know how it is. The columns thing I haven't added yet, that looks fairly easy but because I use WinForms it's not as easy to achieve. Eventually I will add it in though, sorry if you were excited for that. Theming though, is available. Eventually I'll add the context menu in to be themable, but right now I will just leave it as is.

I'm more worried about the functionality of the program. I have re-written the code 1 more time for handling the server. I tried my best to get it to screw up on me but It didn't. So does that mean it's perfect now? I'm not sure. Just be aware that, for whatever reason the pkg installer crashes after a set amount of requests when polling for the progress (increase check delay to mitigate it, the higher the delay, the less chance it will crash sooner). So if you have a very big list it might crash regardless. But I'm pretty sure when RPI crashes it crashes on your PS4, so you'd know.

Just let me know how it goes.

IRONB0SS commented 1 year ago

Thanks a lot for the efforts friend, I'll use this version and I let you know how it works after a while, you did too much, thanks again ❤ also theming is so cool, I AM EXCITED 😄

FrostySo commented 1 year ago

sure thing

IRONB0SS commented 1 year ago

Hey Again Friend, I think you can release the v1.08, So far so good, I was testing the app since Aug 7 and it works flawlessly.

Screenshot 2023-08-27 001936

also still we should Restart the app after enabling/disabling "install Check" so if you have no time to fix it, simply tell users to restart the app And Please add a option to hide unwanted columns whenever you have time, thanks in advance

Thanks a million for developing this app ❤🙏🏻

FrostySo commented 1 year ago

Okay there's 1 more thing left and that's the context menu. That's great that it all works fine!

Why should we restart the app for install check? I thought I fixed it and made it persist, but if I didn't I will fix it.

FrostySo commented 1 year ago

@IRONB0SS

Ps4-Pkg-SenderV1.08.zip

Give this a go. Should be all done! Just as a precaution backup "themesettings.json" incase the newly added themable context menu breaks it somehow.

IRONB0SS commented 1 year ago

Thanks a lot, I'll keep you posted after testing the app, much appreciated

IRONB0SS commented 1 year ago

@FrostySo so far so good, skip install has been fixed now didn't notice any bug/error yet

but I have request if its possible, is it possible when we define custom color it remain till app close? I literally defined custom color to each section and I know its just one time but I thought it worth to ask you, that can save time a little bit :)

Thank You for putting time on this ❤

IRONB0SS commented 11 months ago

Hey @FrostySo, I tested the app for about a month and you can release it, everything works flawlessly 👍

Thanks a million for putting your time and listening to feedbacks, Please put donation button at Final release

good luck my friend ❤️, I'm going to close this issue, nothing left to do ;)

FrostySo commented 11 months ago

Hey @FrostySo, I tested the app for about a month and you can release it, everything works flawlessly 👍

Thanks a million for putting your time and listening to feedbacks, Please put donation button at Final release

good luck my friend ❤️, I'm going to close this issue, nothing left to do ;)

Glad you enjoy the software.

I'll release it when I have time sure

It's fine man you can keep your money, I appreciate the gesture but you are better off using it for yourself. I don't need it. This was just a fun project for me and when the ps5 remote package installer comes out, I will make the appropriate changes to make it work with that as well. However, I'd be unable to test that due to not owning a JB'able PS5. But there's a chance that the ps4 version may work for the ps5 once all is refined.

IRONB0SS commented 10 months ago

It's fine man you can keep your money, I appreciate the gesture but you are better off using it for yourself. I don't need it. This was just a fun project for me.

This is pure kindness, THANK YOU SIR, I hope you and your family stay healthy and happy

Best regards ❤️

IRONB0SS commented 10 months ago

Hey @FrostySo, how are you?

Could you turn this website into offline windows app?

https://hardwaretester.com/gamepad

the gamepad tester section would be enough, also with dark mode and let users choose controller between Xbox and PS

I don't have much knowledge about coding but they added this message to their website : "Are you a developer interested in using the Gamepad API? Check out this quick guide."

thanks in advance ❤🙏🏻

FrostySo commented 10 months ago

Hey @FrostySo, how are you?

Could you turn this website into offline windows app?

https://hardwaretester.com/gamepad

the gamepad tester section would be enough, also with dark mode and let users choose controller between Xbox and PS

I don't have much knowledge about coding but they added this message to their website : "Are you a developer interested in using the Gamepad API? Check out this quick guide."

thanks in advance ❤🙏🏻

Sorry man I'm not really a web dev. I mean it's not that hard to do, just time consuming. You'd have to just download all the files and locally point them to the necessary dependencies. However, it ultimately depends on how the site was built. But if it's built normally, you can indeed put this into an electron app. Maybe send him an email and let him know? But I'm pretty sure he doesn't provide and offline version because of the ads

IRONB0SS commented 5 months ago

Hey Buddy, What's up? I hope You and your family is okay and healthy

I'm here to report a bug and I'm hoping you could fix it

When I add a few games, the app crashes only on patches and I need to re-import them

image

is this from the app or from the RPI?

Also this UI bug can be fixed? Recording2024-03-27014622-ezgif com-video-to-gif-converter

FrostySo commented 5 months ago

The first issue is an issue with RPI in itself, when calling the getProgress function from RPI it returns back the amount of bytes received and how many are remaining. For whatever reason, this causes RPI to crash if called enough times. That's why I added check delay, to reduce the amount of times it would be called and therefore, in theory, help you install more before it crashes. It is out of my hands unfortunately. You could try make the check delay every 60-120s and see if it'll help.

Also I think you can just re-queue it? I don't think you need to reimport it all.

Second "bug" is just because I make it autofill the text to the screen based on the text's length and it doesnt take window size into account. I don't think I'll be fixing it, though I do understand it is frustrating. It's just because this is a tool that gets a job done, it isn't like it's used 24/7 as an actual program. So I just don't think it's worthwhile fixing it, since it doesnt harm functionality.

IRONB0SS commented 5 months ago

Hey buddy thanks for the answer and I didn't know you fix re-queue it's easy from exporting/importing

Have a nice day