israpps / HDL-Batch-installer

A GUI for HDL Dump. Featuring batch installation of PS2 games to PS2 internal hdd and some game management utilities
https://israpps.github.io/HDL-Batch-installer/
GNU General Public License v3.0
234 stars 15 forks source link

[FR]: ZSO Support #30

Closed orcutt989 closed 2 years ago

orcutt989 commented 2 years ago

Explanation

https://github.com/ps2homebrew/Open-PS2-Loader/issues/225#issuecomment-112133647

OPL now has ZSO support so it would be great to use HDL Batch installer to load these on the drive. Right now its only possible to load these files via FAT32-formatted USB.

fature related

other checks

israpps commented 2 years ago

Hi!

OPL Has no support yet...

as you can see in the ZSO feature pull request it´s still marked as draft.

It will take some time...

Performance in certain devices is still shitty. And RAM Usage must be adjusted...

also, ZSO support has not reached upstream HDLDum, I will wait for that before adding support to my program.

orcutt989 commented 2 years ago

Hey! So @JoseAaronLopezGarcia actually has a build in the issue https://github.com/JoseAaronLopezGarcia/Open-PS2-Loader-ZSO/releases/tag/r111

israpps commented 2 years ago

Hey! So @JoseAaronLopezGarcia actually has a build in the issue https://github.com/JoseAaronLopezGarcia/Open-PS2-Loader-ZSO/releases/tag/r111

I know

I'll wait until upstream HdlDump has support for these images

israpps commented 2 years ago

Coming soon!

https://github.com/ps2homebrew/hdl-dump/pull/57

orcutt989 commented 2 years ago

Awesome thanks so much!!

israpps commented 2 years ago

Added front -end support... Awaiting for HDL dump support

orcutt989 commented 2 years ago

Its merged @israpps

orcutt989 commented 2 years ago

I tried dropping in the new hdl-dump EXE, but I get a bad ISOFS when trying to import. I suppose there might be more work to do.

israpps commented 2 years ago

@GDX-X let me guess, cdvd_info commands don't work on zso right?

GDX-X commented 2 years ago

No they don't work. to get the gameid I use grep -o -m 1 "[A-Z][A-Z][A-Z][A-Z][_][0-9][0-9][0-9].[0-9][0-9]" | head -1 https://github.com/GDX-X/PFS-BatchKit-Manager/blob/main/PFS-BatchKit-Manager/!PFS-BatchKit-Manager.bat#L1061

israpps commented 2 years ago

yeah, i'm not adding grep lol

And traversing the file blindly is kinda stupid...

Maybe @AKuHAK has some idea of how to implement it on hdl-dump

GDX-X commented 2 years ago

it does not go through the file blindly, it searches for the specific gameid moreover, it finds the gameid in milliseconds because the gameid is at the beginning of each file and the head -1 command is used to exit the search process.

this is a solution that works fine, I assume a similar command must exist in c+

israpps commented 2 years ago

it does not go through the file blindly, it searches for the specific gameid moreover, it finds the gameid in milliseconds because the gameid is at the beginning of each file and the head -1 command is used to exit the search process.

this is a solution that works fine, I assume a similar command must exist in c+

for doing a C++ program, i would need a search range (like POPS VCD ID extractor has)

or search in a stream reading system

orcutt989 commented 2 years ago

Helpful @israpps ? Any of these comments? https://stackoverflow.com/a/5731118

orcutt989 commented 2 years ago

Seems great. Any way to inject icons into already loaded games? While we were waiting I used this to transfer all my zsos https://github.com/GDX-X/PFS-BatchKit-Manager @israpps

israpps commented 2 years ago

There is a feature for that

Check the installed game list options (right click)

israpps commented 2 years ago

ZSO support recieved a non minor change that you won't be happy with.

Take a look at it

orcutt989 commented 2 years ago

ZSO support recieved a non minor change that you won't be happy with.

Take a look at it

Where? Hdl dump?

israpps commented 2 years ago

Yup

orcutt989 commented 2 years ago

.https://github.com/ps2homebrew/hdl-dump/pull/61 yeah this sucks. What could be the benefit of needing duplicate files?

israpps commented 2 years ago

i think this can be closed

orcutt989 commented 2 years ago

Thanks for everything!