marcussacana / DirectPackageInstaller

Send Direct PKG URLs to your PS4
GNU General Public License v3.0
220 stars 23 forks source link

1fichier #16

Closed Mad-sl67 closed 2 years ago

Mad-sl67 commented 2 years ago

I get "failed to get the pkg info" whenever i put 1fichier link ?

marcussacana commented 2 years ago

1 - 1Fichier links must be extracted PKG files, RAR/7z files don't works. 2 - You verified if your ip is blocked by the 1fichier? that cooldown can cause that. if everything looks fine, send me the link to my email ddtank.marcus@gmail.com and I will check what is happening.

marcussacana commented 2 years ago

I think I know what is the problem

marcussacana commented 2 years ago

I think it's fixed in the lastest update, try it.

Mad-sl67 commented 2 years ago

Should i redownload directpackageinstaller or just use the one i already have ?

marcussacana commented 2 years ago

If you open will ask to install the update, just click yes

marcussacana commented 2 years ago

anyway, the last version is the version 6.0.13

Mad-sl67 commented 2 years ago

I'm on v 6.0.13 and still not working Tried doing it in direct and undirect link of 1fichier and still nothing

Mad-sl67 commented 2 years ago

Meanwhile when i put a direct link of youtube from hb store it worked ... But 1fichier refuses everytime

This is the file i'm trying to download : LINK_REMOVED It's .pkg not .rar I tried this undirect link but didn't worked so i clicked on download after that i copied the direct link without downloading it from browser then put it in directpackageinstaller and didn't work either... And there was no 60 min cooldown I tried this several times and still nothing

Mad-sl67 commented 2 years ago

Look : https://api.pkg-zone.com/attachments/pkgs/youtube.pkg Works fine IMG_20220531_100237

marcussacana commented 2 years ago

Ohh sorry, then isn't a bug but a missing feature. Currently the CLI is very basic yet, it support only direct links.

marcussacana commented 2 years ago

By the way, the 1Fichier direct link don't will work anyway because is the host limitations. The trick is done in the UI by emulating random access support with a scan buffering of the file in the disk. and the CLI don't have this feature yet, well, I add soon. but 6 AM here, I will sleep

Mad-sl67 commented 2 years ago

Okay later when u have time u can tell me how to this trick

marcussacana commented 2 years ago

Support for file hosting links from CLI added. Try it.

Mad-sl67 commented 2 years ago

Support for file hosting links from CLI added. Try it.

Actually it worked I got the game pkg on my ps4 notifcation But the game keeps calculating without downloading After that i got this error message Now i have to wait 60 min to try again IMG_20220531_233049_1 IMG_20220531_233042 IMG_20220531_233028

marcussacana commented 2 years ago

Next time try run dotnet DirectPackageInstaller.Desktop.dll YOUR_URL

Mad-sl67 commented 2 years ago

Okay after cooldown i will execute But should i put my IP in command too ? Or just like this : dotnet DirectPackageInstaller.Desktop.dll "LINK_REMOVED"

marcussacana commented 2 years ago

Some things, as well.

This is a unmanaged exception that you had, means the problem is out of my code and probably out of my control. We will need test a bit more to see if there is something that we can do, because on my PC that bug didn't happens

marcussacana commented 2 years ago

You don't need put your IP, the DPI detect it automatically, you only need put the IP if that detection for some reason fails or you have more of one PS4 in your network.

marcussacana commented 2 years ago

when you get this error, in the DPI folder should have a directory called "Temp" and inside this directory should have some random files, give me a screenshot of what files and his sizes.

marcussacana commented 2 years ago

I'm deleting some comments because you're showing the download link.

Mad-sl67 commented 2 years ago

IMG_20220602_032639

Mad-sl67 commented 2 years ago

What is the problem exactly and can it be fixed somehow ?

marcussacana commented 2 years ago

1,3GB huh, the DirectPackageInstaller have write permissions then. This game looks like is 34GB, your phone has free space for that? In the 1Fichier the PKG is fully downloaded in your device in that temp folder.

marcussacana commented 2 years ago

I'm not sure about reason of the problem yet. There's no crash log or anything after all. Maybe you may try build the DPI as debug (Since is under ARM) and use check if there's a info in the DPI-Server.log file

Mad-sl67 commented 2 years ago

So u are saying i must have 34GB free space in my phone in order to successfully download the game in my ps4?

marcussacana commented 2 years ago

Yes, At least to download from compressed files or 1fichier. If you download from zippyshare/mediafire/google drive that isn't needed.

Mad-sl67 commented 2 years ago

I see! The problem is that most of the links are in 1fichier And for zippyshare it's multi rar files as u know .. It's rare or maybe impossible to find direct pkg links except 1fichier

marcussacana commented 2 years ago

you will need use allderbid to download from 1fichier without cache the PKG. alternative, buy a SD card with 64GB, but before of that you will need confirm if the problem is the free space. Like, the space is really a problem and don't will work without, but who knows if there's more than one bug in your case.

Mad-sl67 commented 2 years ago

IMG_20220602_182522 Alldebrid method sounds good for me I created acount there .. i put the 1fichier link and i got a direct link from it But didn't work when i put it in DPI Is this got something to do with that API code ? Cuz i don't know how to get one or how to activate it

Mad-sl67 commented 2 years ago

Hey I tried ./DirectPackageInstaller.Desktop -Server IP "Url" command and finally after all these days of trying finally worked ! Thank u

marcussacana commented 2 years ago

IMG_20220602_182522 Alldebrid method sounds good for me I created acount there .. i put the 1fichier link and i got a direct link from it But didn't work when i put it in DPI Is this got something to do with that API code ? Cuz i don't know how to get one or how to activate it

Looks like this is a bug, I may take a look in the problem, send the link that give error to my email: ddtank.marcus@gmail.com

marcussacana commented 2 years ago

And a hint, you can try put your Alldebird API key in the Settings.ini file and set the UseAllDebrid to true after that you can put any 1fichier link and the tool will automatically use your alldebird account... that said this in the last version is limited to the UI, the CLI don't will works right now, I need fix that later

marcussacana commented 2 years ago

If you try use the UI disable the Segmented Mode as well, since that will force the pkg be cached in your phone.

Mad-sl67 commented 2 years ago

I found a website that generates free 1fichier direct link but it's not supported in DPI Can i share the link ? And can u add it in the next update ? It will be a really big help for me and for other users as well

marcussacana commented 2 years ago

If don't works should be because they url expires after one connections or don't have seek support... Send to my email and I will take a look at least. ddtank.marcus@gmail.com

Mad-sl67 commented 2 years ago

Sent

marcussacana commented 2 years ago

I take a look and this server don't works because don't have support for patial requests. That can be 'solved' with the same 1fichier method, but will require free space just like the 1fichier as well. No point in add support after that.

marcussacana commented 2 years ago

6.1.1 has a better 1fichier support if you enable the AllowReconnection and meet the requeriments, closing this for now.

Mad-sl67 commented 2 years ago

6.1.1 has a better 1fichier support if you enable the AllowReconnection and meet the requeriments, closing this for now.

I tried this new update but i'm still getting the same error I think the problem is because the pkg cashe is still higher than my phone's storage

marcussacana commented 2 years ago

Yep, that isn't solved at all, currently I can only recommend use a big SDCard and move the DPI to the SDCard, or use alldebird