bucanero / pkgi-psp

A PlayStation Portable (PSP) package download tool
http://www.bucanero.com.ar/
MIT License
157 stars 9 forks source link

Downloading and installing to MemoryStick #20

Closed deBaer closed 7 months ago

deBaer commented 10 months ago

I'm using a PS Go, and PKGi only installs to the internal memory, even when running from the MS. The internal memory is only 16 GB, while there are now adapters to install a 128 GB TF card as MemoryStick, so it'd be much more sensible to have an option to install to the larger storage directly.

bucanero commented 10 months ago

I don't have a PSP Go, but I guess an option could be added to config.txt to force the storage device (ms0 or ef0)

bucanero commented 7 months ago

I'm adding the following option to config.txt:

storage ms0

adding that line would force the app to use ms0 as storage. As I don't have a psp Go, can you test a beta version?

deBaer commented 7 months ago

I'd love to. Where can I find it?

bucanero commented 7 months ago

I'd love to. Where can I find it?

test this build: https://www.mediafire.com/file/qhmj8rht3yvx3cp/pkgi-psp.zip/file

remember, you need to edit the config.txt manually, and add a new line storage ms0 , then open the app and try a download, it should save .pkg files in ms0:/PKG and install to ms0:/PSP/GAME

let me know the results

bucanero commented 7 months ago

@deBaer did you test the build? if you don't report any results I'll assume this issue as fixed and will close it.

deBaer commented 7 months ago

Sorry, didn't have the PSP with me this weekend. I installed your build and changed the config.txt to read:

language de
content 1
sort name
order asc
filter EUR,USA
storage ms0

But sadly, downloads still go to ef0, both pkgs and isos.

bucanero commented 7 months ago

thanks for testing 👍 I think I found the bug in my code, I'll create a new test version and share it when ready so you can test again, hopefully this time it will work as expected.

bucanero commented 7 months ago

@deBaer , here's the new fixed app to test: https://www.mediafire.com/file/7s0sbnm3f5mo2dx/pkgi-psp.zip/file

just leave the same config.txt and update the EBOOT.PBP with the new one in the zip MD5 (EBOOT.PBP) = b8bb9277066e0ace4ad4794467111ded

let me know how it goes, thanks!

deBaer commented 7 months ago

Sadly, no dice. All downloads still go to ef0.

bucanero commented 7 months ago

can you test the old version 0.8.0 , that one only writes to ms0, so maybe you'll have to use that version as a workaround: https://github.com/bucanero/pkgi-psp/releases/tag/v0.8.0

bucanero commented 7 months ago

I was asking other PSP Go user, PKGI will write to ms0 if you edit the config.txt, but you also need to install the app to ms0. If it's installed on ef0, then the app can't write to the other partition.

So, please try again,

then try a download, it should work fine, as it was confirmed by other tester.

bucanero commented 7 months ago

Completed in b8a89247d1a9441b077ff8d7e8bd5cfdb39bc980

deBaer commented 7 months ago

Moving the unchanged PKGi installation from internal memory to the Memory Stick actually did the trick, installs go to ms0 now. I'm wondering, though: CM File Manager can access the Memory Stick even when running from ef0. Is there a magic trick to do that?

Thank you for your help!

bucanero commented 7 months ago

Good to hear it worked once you moved PKGI

AFAIK the CM file manager app is using it's own file system driver (so the app can even access stuff in protected flash partitions). I assume it's related to that custom driver that CM file manager can write files anywhere no matter where it was installed.