Last active
October 5, 2017 19:27
-
-
Save therocco/b7eca0b4c1871c667345baf0f955e8f3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Convert SNES ROMS from SMC to SFROM for use on SNES Classic | |
# | |
# NOTE: | |
# To use this script you will need the python script ebafewuzur.py | |
# which can be downloaded from the following link | |
# https://hastebin.com/ebafewuzur.py | |
# | |
# DIRECTIONS: | |
# 1. Save this script to the same folder you are storing your ROMs and ebafewuzur.py file and name it convert.sh | |
# 2. Make it executable by running "chmod a+x convert.sh" in your terminal | |
# 3. Run the script. It will remove all spaces from your ROM names and then convert them to sfrom format | |
find -name "* *.s?c" -type f | rename 's/ /_/g' | |
for f in *.s?c; do echo "\"./$f\"" && python3 ebafewuzur.py ./$f ./${f%.s?c}.sfrom; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Updated script to use the updated ebafewuzur.py script since it adds support for more games as well as 2P support