Skip to content

Problems building on Linux #306

@jojoharry16

Description

@jojoharry16

Describe your bug here. And how to reproduce it.

Followed the steps, except that the tables folder doesn't exist. The only folder with matching structure is the assets folder. Whenever I try running restool.py I get the following error:

Exception: Could not find any ROMs (zelda3.sfc, zelda3.smc) at the default location /home/[user]/Projects/zelda3/assets/...

Then when I manually adjust util.py to hardcode my Projects folder, a different error appears depending on if I use python or python3 to run the command:

python3

Traceback (most recent call last):
  File "/home/[user]/Projects/zelda3/assets/restool.py", line 48, in <module>
    import compile_resources
  File "/home/[user]/Projects/zelda3/assets/compile_resources.py", line 4, in <module>
    from PIL import Image
ModuleNotFoundError: No module named 'PIL'

python

Traceback (most recent call last):
  File "/home/[user]/Projects/zelda3/assets/restool.py", line 49, in <module>
    compile_resources.main(args)
    ~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "/home/[user]/Projects/zelda3/assets/compile_resources.py", line 815, in main
    print_all(args)
    ~~~~~~~~~^^^^^^
  File "/home/[user]/Projects/zelda3/assets/compile_resources.py", line 757, in print_all
    print_sound_banks()
    ~~~~~~~~~~~~~~~~~^^
  File "/home/[user]/Projects/zelda3/assets/compile_resources.py", line 753, in print_sound_banks
    name, data = compile_music.print_song(song)
                 ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "/home/[user]/Projects/zelda3/assets/compile_music.py", line 433, in print_song
    sorted_ents = process_file(open('sound_%s.txt' % song, 'r'))
                               ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'sound_intro.txt'

Both python --version and python3 --version return 3.13.3.

Any and all help appreciated :)

What is your build target?

Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions