AloUltraExt / sm64ex-alo

An extended custom version of Super Mario 64 with extra stuff made by yours truly. Based of sm64ex and updated to Refresh 16
107 stars 48 forks source link

OSError: [Errno 8] Exec format error: './tools/skyconv' #65

Open yamathedestroyer opened 1 month ago

yamathedestroyer commented 1 month ago

I guess this is obsolete now, redownloading the repo fixed is so somehow building that failed the first time idk.

Build Now fails at src/pc/pc_main.c: In function 'main_func': src/pc/pc_main.c:419:12: error: implicit declaration of function 'appletMainLoop' [-Wimplicit-function-declaration] 419 | while (appletMainLoop()) | ^~~~~~ make: *** [Makefile:1641: build/us_nx/src/pc/pc_main.o] Fehler 1

Help would very much be appreciated

//////////////////////////////// When trying to make, it fails with an Exec Format Error for /tools/skyconv, my machine is x86-64 and im building on arch linux. Executing the binary directly also fails with "zsh: exec format error: ./tools/skyconv"

The full Error is

extracting levels/ending/cake.png cake /tmp/assetxqboh5va levels/ending/cake.png Traceback (most recent call last): File "/home/yama/sm64ex-alo/extract_assets.py", line 313, in main() if name == "main" else None ^^^^^^ File "/home/yama/sm64ex-alo/extract_assets.py", line 255, in main subprocess.run( File "/usr/lib/python3.12/subprocess.py", line 549, in run with Popen(popenargs, kwargs) as process: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/subprocess.py", line 1027, in init self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.12/subprocess.py", line 1956, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) OSError: [Errno 8] Exec format error: './tools/skyconv' Makefile:437: Failed to extract assets from US ROM. Schluss.