Advertisement
Guest User

Untitled

a guest
May 30th, 2016
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. I use Homebrew for package management, so the instructions here work with that. You could probably get p7zip and atool another way if you want.
  2.  
  3. 1. install p7zip with homebrew: `brew install p7zip`
  4. 1. install atool with homebrew: `brew install atool`
  5. 1. extract individual files from .7z archives to current directory: `atool -X . -e -E *.7z`
  6. 1. delete or move the .7z files: `rm *.7z`
  7. 1. archive each file into its own ZIP archive using `find` and `atool`: `find . -d 1 -type f -exec atool -a -F 7z -E -e {} ';'`
  8. 1. delete the uncompressed rom files. They should have a common file extension, which you'll need to change depending on the ROM type. For example, I needed to delete a bunch of .gb and .gbc files: `rm *.gb; rm *.gbc`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement