zelda3
zelda3 copied to clipboard
The music extraction python script doesn't seem to work
attempting to run extract_music.py
produced this error for me:
[albert-softie@albert-softie-endeavouros tables]$ python extract_music.py
Traceback (most recent call last):
File "/home/albert-softie/source/zelda3/tables/extract_music.py", line 463, in <module>
song = sys.argv[1]
IndexError: list index out of range
[albert-softie@albert-softie-endeavouros tables]$
out of curiosity i attempted to pass the rom file directly to the python script, which resulted in a different error;
[albert-softie@albert-softie-endeavouros tables]$ python extract_music.py zelda3.sfc
Traceback (most recent call last):
File "/home/albert-softie/source/zelda3/tables/extract_music.py", line 466, in <module>
print_song(song, sys.stdout)
File "/home/albert-softie/source/zelda3/tables/extract_music.py", line 271, in print_song
get_song_list(0xd000, SONGS_IN_BANK)
NameError: name 'SONGS_IN_BANK' is not defined
[albert-softie@albert-softie-endeavouros tables]$