Advertisement
metalx1000

Wii ROM Extractor for Homebrew USB Loader GX

Apr 28th, 2024
1,200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.41 KB | None | 0 0
  1. # extract wii roms and rename directory for Homebrew USB Loader GX
  2.  
  3. # extract rom from 7z and if successful remove 7z file
  4. for i in *.7z;do 7z x $i && rm "$i";done
  5.  
  6. # find rom files
  7. find -name "*.wbfs"|while read f;
  8. do
  9.   # Get original Dir name
  10.   d="$(dirname $f)";
  11.   # Get Game ID
  12.   id="$(basename $f|sed 's/.wbfs//g')";
  13.   # Rename Dir to contain ID in format for USB LOADER GX
  14.   mv "$d" "$d [$id]";
  15. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement