zelda3 icon indicating copy to clipboard operation
zelda3 copied to clipboard

The music extraction python script doesn't seem to work

Open albert-softie opened this issue 2 years ago • 0 comments

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]$ 

albert-softie avatar Aug 26 '22 03:08 albert-softie