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

Add a switch to zip files instead of always zipping... #1

Closed
alpakeno opened this issue Sep 23, 2017 · 7 comments
Closed

Add a switch to zip files instead of always zipping... #1

alpakeno opened this issue Sep 23, 2017 · 7 comments

Comments

@alpakeno
Copy link

No description provided.

@mmozeiko
Copy link
Owner

I want to keep my NoNpDrm dumps as one file. It's easier to manage storage this way. It's also faster to copy it around, instead of sometimes hundreds if not thousands of small files. And it gives you automatic checksums, so you can later detect if file is corrupted. Zip file it creates is not compressed, it uses "store" method, because almost all files are encrypted anyway so there is no performance penalty of creating zip file - only advantages (performance, checksums, accidentally deleting some files).

@alpakeno
Copy link
Author

alpakeno commented Sep 23, 2017

yeah, but this way it's the same as the vpk which will take double space when transferring and installing it in PSVita, also each PKG has it's own sha1 checksum so you can check it if it's corrupted.
and Thx for the tool :)

@chronoss09
Copy link

chronoss09 commented Sep 25, 2017

Why not create a simply folder of game without zip file ?

@mmozeiko
Copy link
Owner

mmozeiko commented Sep 25, 2017

@alpakeno You don't need to transfer zip file. Open it up in your favorite archiver program, or even Windows Explorer, and then drag&drop files to connected Vita device. Or if you use command-line - cd to vita drive/mounted folder and execute "unzip path/to/file.zip".

Yes, pkg has checksum, but after it is unpacked, there are not checksum. I am storing unpacked files on my storage, and I want to be sure they are not lost or corrupted when I use them later.

@chronoss09 because of reasons I mentioned above.

@chronoss09
Copy link

Ok thanks !

@noX1609
Copy link

noX1609 commented Sep 29, 2017

So one question: Does the tool create a zip file out of the pkg or does it extract the files in a folder atm? That‘s not clear to me.
And would it be ok for you (the creator) if i use the shell script to create a Gui Version for macOS? I can share it with you if you want to :)

Thanks in advice for an answer to my questions :)

@mmozeiko
Copy link
Owner

It creates zip file out of files that are extracted from contents of pkg file. pkg itself doesn't contain zip file, although its structure is very similar to zip files.

How can you use shell script to create GUI? Do you mean TUI?
You can create whatever you want based on my tool, but I'm not sure if I want non-crossplatform code back in my repo...

sigmaboy pushed a commit to sigmaboy/pkg2zip that referenced this issue Jun 5, 2020
fix silly string shortening.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants