shithub: zelda3

Download patch

ref: e0afb3c203195cca81f5a01393f6625679ebf3c5
parent: deb392cf342cf21ee8c00eb37a1cf4d7d473997a
author: Snesrev <[email protected]>
date: Tue Aug 30 22:41:52 EDT 2022

extract_music prints a message if no args passed

--- a/tables/extract_music.py
+++ b/tables/extract_music.py
@@ -459,6 +459,9 @@
       print_all_sfx(open('sfx.txt', 'w'))
 
 if __name__ == "__main__":
+  if len(sys.argv) < 2:
+    print('extract_music.py [intro|lightworld|indoor|ending]')
+    sys.exit(0)
   ROM = util.LoadedRom()
   song = sys.argv[1]