Compile error Linux AppImage 2.0.6 #1020

Closed
opened 2026-11-09 06:18:06 +00:00 by bibigurl-yum · 5 comments
bibigurl-yum commented 2026-11-09 06:18:06 +00:00 (Migrated from github.com)

Builder version

v2.0.6

How you built

Linux AppImage

Game files given to it

romfs and exefs folders

The error

build: up to 16 compilers at once (one per CPU thread), as the memory allows; HOOKSHOT_JOBS=<n> to change
@@stage read Reading your game files
@@stage lift Translating the game to PC code
host/ defines 3 imp_ functions for symbols no module has (unused):
  _ZN2nn2os11SystemEventC2ENS0_14EventClearModeEb
  _ZN2nn2os11SystemEventD2Ev
  _ZN2nn5audio29SetVoiceBiquadFilterParameterEPNS0_9VoiceTypeEiRKNS0_21BiquadFilterParameterE
standalone: 511 HLE functions in host/, 230 OS-facing imports stubbed
image: rtld@0x80000000+0x20000, main@0x80020000+0x4ea0000, subsdk0@0x84ec0000+0xe0000, sdk@0x84fa0000+0x1080000; 295178 entries, 0 trampolines (0 unresolved non-weak imports) (2s)
ADR / ADRP+ADD code addresses outside the 284387 unwind-covered functions: 14083, 79 of them new entries
widescreen: 10 of 10 sites
occlusion off: 6 of 6 sites
discovered 294529 functions (20s)
module    functions  complete   leaf      instructions  untranslated  BLR       BR(not table)
main         249484  100.00%     87939      15379565             0    166923     10691
sdk           43498  100.00%     23560       2131960             0     15068     12294
subsdk0        1503  100.00%       789        132606             0       774       543
rtld             44  100.00%        19          2370             0        26         6
all          294529  100.00%    112307      17646501             0    182791     23534
undefined encodings reached (UDF, unallocated: trap, as on the hardware): 18533 sites
translated instructions: 100.0000% of 17646501 (shared tails counted once per function)
jump tables 1475 (bounded 1385, bounded by function 58, ADR table 1), BR without a table 0, PLT stubs 9917
jump tables whose table register is reused before the br: 7
hot functions (A64_HOT_FUNCS): 849 of 849 listed found, in code_hot.c
chunks: code_006.c (42 MB, cost 53 MB) in 3 parts
chunks: code_013.c (23 MB, cost 44 MB) in 2 parts
chunks: code_017.c (42 MB, cost 55 MB) in 3 parts
chunks: code_018.c (22 MB, cost 36 MB) in 2 parts
chunks: code_020.c (23 MB, cost 40 MB) in 2 parts
chunks: code_021.c (18 MB, cost 112 MB) in 5 parts
chunks: code_022.c (25 MB, cost 154 MB) in 5 parts
chunks: code_023.c (22 MB, cost 191 MB) in 3 parts
chunks: 73, boundaries kept
oot_native_resolution: scene base scale (f_806702e0) in code_005.c
oot_native_resolution: scene scale check (f_831f3200) in code_038.c
oot_patches: player heart protection in code_004.c
oot_patches: player flight rotation in code_005.c
oot_patches: dynamic resolution switch in code_006_1.c
oot_patches: text speed scale in code_008.c
oot_patches: the fixed path's scale in code_038.c
oot_patches: player flight in code_hot.c
oot_patches: free camera in code_hot.c
oot_patches: player flight in code_hot_1.c
oot_patches: free camera in code_hot_7.c
oot_patches: WARNING: the player flight was found 2 times
oot_patches: WARNING: the free camera was found 2 times
oot_patches: output size in code_008.c
oot_patches: output size in code_010.c
oot_patches: output size in code_012.c
oot_patches: output size in code_013_1.c
oot_patches: output size in code_042.c
oot_patches: output size in code_046.c
standalone: hos_image.c (thread hooks 0x85e5dc40, 0x85e5dc48), 230 import stubs
standalone: nvn2_exports.c (22 sdk NVN functions routed to host/nvn2.c)
functions 294529, instructions 17646501 (with shared tails), jump tables 1475, indirect BR 13266 of 25017, PLT stubs 9917, unhandled words 16 (18533 sites), bad targets 0
jump tables: 1385 bounded, 58 bounded by the function, 3 rejected (target outside), 0 table not found
br to a code constant: 1; br with adr candidates: 39
interrupt polls: 440364 loop headers in 113685 functions
wrote 73 code files to /home/bibi/.cache/hookshot-builder/sa/gen (50s)
done (50s)
split_hot: piece 0: 51 functions, 10 MB, cost 32 MB
split_hot: piece 1: 49 functions, 10 MB, cost 25 MB
split_hot: piece 2: 163 functions, 11 MB, cost 21 MB
split_hot: piece 3: 168 functions, 13 MB, cost 21 MB
split_hot: piece 4: 78 functions, 6 MB, cost 21 MB
split_hot: piece 5: 85 functions, 7 MB, cost 21 MB
split_hot: piece 6: 83 functions, 6 MB, cost 21 MB
split_hot: piece 7: 172 functions, 12 MB, cost 21 MB
split_hot: 2033 of 2984 calls stay in one group
@@stage compile Compiling
version: v2.0.6 (source deea8db5)
object keys: game-code headers 89aa47421f, flags 86b0a719c0, hot flags c2eabc0ec8, lifted code 57c0c94be5 (80 files)
the Vulkan back end: /tmp/.mount_HookshfebHCL/usr/lib/hookshot/hookshot_vk.so, as built
258 files, 16 jobs, -O1 -DA64_POLLING -DA64_WRITE_TRACK
  code_050.c         24 MB      54s  (54s)
@@progress 0.013
  code_015.c         23 MB      57s  (57s)
@@progress 0.025
  code_022_2.c        3 MB      64s  (65s)
@@progress 0.027
  code_045.c         23 MB      69s  (69s)
@@progress 0.040
  code_023_1.c        4 MB      78s  (79s)
@@progress 0.042
  code_049.c         24 MB      90s  (90s)
@@progress 0.055
  code_hot_1.c       11 MB     107s  (107s)
@@progress 0.094
  code_hot_7.c       12 MB     117s  (117s)
@@progress 0.140
  code_hot_3.c       13 MB     117s  (117s)
@@progress 0.188
  code_008.c         23 MB      49s  (118s)
@@progress 0.201
  code_047.c         24 MB      54s  (118s)
@@progress 0.213
  code_022_4.c        4 MB      63s  (120s)
@@progress 0.216
  code_023.c          6 MB     127s  (127s)
@@progress 0.219
  code_043.c         24 MB      56s  (134s)
@@progress 0.232
  code_040.c         24 MB      49s  (139s)
@@progress 0.244
  code_037.c         24 MB      43s  (150s)
@@progress 0.257
  code_hot_2.c       11 MB     151s  (151s)
@@progress 0.299
  code_046.c         23 MB      45s  (163s)
@@progress 0.312
  code_022.c         10 MB     111s  (165s)
@@progress 0.317
  code_041.c         23 MB      55s  (173s)
@@progress 0.330
  code_021_1.c        5 MB     174s  (174s)
@@progress 0.332
  code_016.c         24 MB      48s  (176s)
@@progress 0.345
  code_034.c         23 MB      44s  (178s)
@@progress 0.357
  code_025.c         23 MB      65s  (182s)
@@progress 0.370
  code_010.c         24 MB      44s  (184s)
@@progress 0.382
  code_024.c         23 MB      74s  (191s)
@@progress 0.395
  code_039.c         23 MB      44s  (194s)
@@progress 0.407
  code_hot_0.c       11 MB     200s  (200s)
@@progress 0.447
  code_030.c         23 MB      50s  (201s)
@@progress 0.459
  code_051.c         24 MB      40s  (203s)
@@progress 0.472
  code_019.c         20 MB      84s  (205s)
@@progress 0.483
  code_035.c         23 MB      43s  (208s)
@@progress 0.495
  code_052.c         24 MB      42s  (216s)
@@progress 0.508
  code_027.c         24 MB      40s  (218s)
@@progress 0.520
  code_053.c         23 MB      49s  (223s)
@@progress 0.533
  code_007.c         23 MB      48s  (224s)
@@progress 0.545
  code_036.c         23 MB      42s  (226s)
@@progress 0.557
  code_028.c         24 MB      41s  (232s)
@@progress 0.570
  code_026.c         23 MB      53s  (235s)
@@progress 0.582
  code_044.c         24 MB      43s  (237s)
@@progress 0.595
  code_011.c         24 MB      41s  (242s)
@@progress 0.608
  code_014.c         24 MB      42s  (243s)
@@progress 0.620
  code_031.c         23 MB      45s  (248s)
@@progress 0.633
  code_012.c         23 MB      35s  (251s)
@@progress 0.646
  code_009.c         23 MB      44s  (252s)
@@progress 0.658
  code_042.c         24 MB      55s  (260s)
@@progress 0.670
  code_013.c          6 MB      18s  (260s)
@@progress 0.674
  code_048.c         24 MB      42s  (261s)
@@progress 0.687
  code_033.c         23 MB      40s  (264s)
@@progress 0.699
  code_022_3.c        2 MB      40s  (266s)
@@progress 0.701
  code_004.c         19 MB      49s  (272s)
@@progress 0.711
  code_029.c         23 MB      43s  (276s)
@@progress 0.724
  code_038.c         23 MB      38s  (276s)
@@progress 0.736
  code_032.c         23 MB      36s  (279s)
@@progress 0.748
  code_hot_6.c        6 MB     290s  (290s)
@@progress 0.773
  code_002.c         15 MB      41s  (294s)
@@progress 0.781
  code_005.c         20 MB      49s  (297s)
@@progress 0.792
  code_003.c         19 MB      48s  (299s)
@@progress 0.802
  code_013_1.c       16 MB      40s  (305s)
@@progress 0.810
  code_020.c         17 MB      54s  (314s)
@@progress 0.820
  code_001.c         15 MB      40s  (316s)
@@progress 0.828
  a64_table.c        16 MB       5s  (321s)
@@progress 0.828
  code_020_1.c        6 MB      62s  (323s)
@@progress 0.831
  code_018.c         11 MB      64s  (330s)
@@progress 0.838
  code_006_2.c       13 MB      34s  (331s)
@@progress 0.845
  code_006.c         14 MB      39s  (333s)
@@progress 0.852
  code_006_1.c       14 MB      34s  (333s)
@@progress 0.860
  a64_hooks.c         0 MB       0s  (333s)
@@progress 0.860
  a64_stubs.c         0 MB       0s  (333s)
@@progress 0.860
  a64_rt.c            0 MB       0s  (333s)
@@progress 0.861
  nvn2_exports.c      0 MB       0s  (333s)
@@progress 0.861
  hos_image.c         0 MB       0s  (333s)
@@progress 0.861
  a64_suyu.c          0 MB       0s  (333s)
@@progress 0.861
  hos_hostcall.c      0 MB       0s  (333s)
@@progress 0.861
not compiled yet: hos_main.c (0 MB, 0s), tried again alone at the end:
/tmp/.mount_HookshfebHCL/usr/share/hookshot/nx2/../host/hos_main.c:14:10: fatal error: '../gpu/vk/oot_cheat_items.h' file not found
   14 | #include "../gpu/vk/oot_cheat_items.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

  hos_mem.c           0 MB       0s  (333s)
@@progress 0.862
  hos_sdl.c           0 MB       0s  (333s)
@@progress 0.862
  hos_setjmp.c        0 MB       0s  (333s)
@@progress 0.862
  hos_svc.c           0 MB       0s  (334s)
@@progress 0.862
  hos_update.c        0 MB       0s  (334s)
@@progress 0.862
  mingw_msvc_shims.c    0 MB       0s  (334s)
@@progress 0.863
  hos_thread.c        0 MB       0s  (334s)
@@progress 0.863
  mkw_glue.c          0 MB       0s  (334s)
@@progress 0.863
  mods.c              0 MB       0s  (334s)
@@progress 0.863
  msvc_oldnames.c     0 MB       0s  (334s)
@@progress 0.863
  mouse_native.c      0 MB       0s  (334s)
@@progress 0.864
  nn_applet.c         0 MB       0s  (334s)
@@progress 0.864
  nn_codec.c          0 MB       0s  (334s)
@@progress 0.864
  nn_diag.c           0 MB       0s  (334s)
@@progress 0.864
  code_017_2.c       13 MB      55s  (334s)
@@progress 0.871
  nn_gs.c             0 MB       0s  (334s)
@@progress 0.872
  nn_fs.c             0 MB       0s  (334s)
@@progress 0.872
  nn_libc.c           0 MB       0s  (334s)
@@progress 0.872
  nn_hid.c            0 MB       0s  (334s)
@@progress 0.872
  nn_audio.c          0 MB       0s  (334s)
@@progress 0.872
  nn_syncpt.c         0 MB       0s  (334s)
@@progress 0.873
  nn_vi.c             0 MB       0s  (334s)
@@progress 0.873
  nn_os_sync.c        0 MB       0s  (334s)
@@progress 0.873
  nvdrv.c             0 MB       0s  (334s)
@@progress 0.873
  nn_video.c          0 MB       0s  (334s)
@@progress 0.873
  nvn_layout.c        0 MB       0s  (334s)
@@progress 0.874
  pad_sdl.c           0 MB       0s  (334s)
@@progress 0.874
  rx_backend.c        0 MB       0s  (334s)
@@progress 0.874
  display_sdl.c       0 MB       0s  (335s)
@@progress 0.874
  linux_stubs.c       0 MB       0s  (335s)
@@progress 0.874
  win32_posix.c       0 MB       0s  (335s)
@@progress 0.875
  prof.c              0 MB       0s  (335s)
@@progress 0.875
  celt.c              0 MB       0s  (335s)
@@progress 0.875
  nvn_native.c        0 MB       1s  (335s)
@@progress 0.875
  bands.c             0 MB       0s  (335s)
@@progress 0.875
  cwrs.c              0 MB       0s  (335s)
@@progress 0.876
  entcode.c           0 MB       0s  (335s)
@@progress 0.876
  entdec.c            0 MB       0s  (335s)
@@progress 0.876
  entenc.c            0 MB       0s  (335s)
@@progress 0.876
  celt_encoder.c      0 MB       0s  (335s)
@@progress 0.876
  celt_decoder.c      0 MB       0s  (335s)
@@progress 0.877
  code_017.c         15 MB      59s  (335s)
@@progress 0.885
  mathops.c           0 MB       0s  (335s)
@@progress 0.885
  laplace.c           0 MB       0s  (335s)
@@progress 0.885
  modes.c             0 MB       0s  (335s)
@@progress 0.885
  mdct.c              0 MB       0s  (335s)
@@progress 0.886
  pitch.c             0 MB       0s  (335s)
@@progress 0.886
  celt_lpc.c          0 MB       0s  (335s)
@@progress 0.886
  quant_bands.c       0 MB       0s  (335s)
@@progress 0.886
  rate.c              0 MB       0s  (335s)
@@progress 0.886
  CNG.c               0 MB       0s  (335s)
@@progress 0.887
  vq.c                0 MB       0s  (335s)
@@progress 0.887
  init_decoder.c      0 MB       0s  (335s)
@@progress 0.887
  code_signs.c        0 MB       0s  (335s)
@@progress 0.887
  decode_frame.c      0 MB       0s  (335s)
@@progress 0.887
  decode_parameters.c    0 MB       0s  (335s)
@@progress 0.887
  decode_indices.c    0 MB       0s  (335s)
@@progress 0.888
  decode_pulses.c     0 MB       0s  (335s)
@@progress 0.888
  decode_core.c       0 MB       0s  (335s)
@@progress 0.888
  decoder_set_fs.c    0 MB       0s  (335s)
@@progress 0.888
  encode_indices.c    0 MB       0s  (335s)
@@progress 0.888
  dec_API.c           0 MB       0s  (335s)
@@progress 0.889
  encode_pulses.c     0 MB       0s  (336s)
@@progress 0.889
  enc_API.c           0 MB       0s  (336s)
@@progress 0.889
  gain_quant.c        0 MB       0s  (336s)
@@progress 0.889
  interpolate.c       0 MB       0s  (336s)
@@progress 0.889
  LP_variable_cutoff.c    0 MB       0s  (336s)
@@progress 0.890
  NLSF_decode.c       0 MB       0s  (336s)
@@progress 0.890
  PLC.c               0 MB       0s  (336s)
@@progress 0.890
  NSQ.c               0 MB       0s  (336s)
@@progress 0.890
  tables_gain.c       0 MB       0s  (336s)
@@progress 0.890
  shell_coder.c       0 MB       0s  (336s)
@@progress 0.891
  NSQ_del_dec.c       0 MB       0s  (336s)
@@progress 0.891
  tables_LTP.c        0 MB       0s  (336s)
@@progress 0.891
  tables_NLSF_CB_NB_MB.c    0 MB       0s  (336s)
@@progress 0.891
  tables_other.c      0 MB       0s  (336s)
@@progress 0.891
  tables_NLSF_CB_WB.c    0 MB       0s  (336s)
@@progress 0.892
  tables_pitch_lag.c    0 MB       0s  (336s)
@@progress 0.892
  tables_pulses_per_block.c    0 MB       0s  (336s)
@@progress 0.892
  control_audio_bandwidth.c    0 MB       0s  (336s)
@@progress 0.892
  quant_LTP_gains.c    0 MB       0s  (336s)
@@progress 0.892
  VAD.c               0 MB       0s  (336s)
@@progress 0.893
  VQ_WMat_EC.c        0 MB       0s  (336s)
@@progress 0.893
  HP_variable_cutoff.c    0 MB       0s  (336s)
@@progress 0.893
  NLSF_VQ.c           0 MB       0s  (336s)
@@progress 0.893
  NLSF_encode.c       0 MB       0s  (336s)
@@progress 0.893
  NLSF_unpack.c       0 MB       0s  (336s)
@@progress 0.894
  process_NLSFs.c     0 MB       0s  (336s)
@@progress 0.894
  kiss_fft.c          0 MB       1s  (336s)
@@progress 0.894
  NLSF_del_dec_quant.c    0 MB       0s  (336s)
@@progress 0.894
  check_control_input.c    0 MB       0s  (336s)
@@progress 0.894
  stereo_MS_to_LR.c    0 MB       0s  (336s)
@@progress 0.895
  control_SNR.c       0 MB       0s  (336s)
@@progress 0.895
  stereo_LR_to_MS.c    0 MB       0s  (336s)
@@progress 0.895
  init_encoder.c      0 MB       0s  (336s)
@@progress 0.895
  ana_filt_bank_1.c    0 MB       0s  (336s)
@@progress 0.895
  control_codec.c     0 MB       0s  (336s)
@@progress 0.896
  biquad_alt.c        0 MB       0s  (336s)
@@progress 0.896
  debug.c             0 MB       0s  (336s)
@@progress 0.896
  A2NLSF.c            0 MB       0s  (336s)
@@progress 0.896
  bwexpander_32.c     0 MB       0s  (336s)
@@progress 0.896
  bwexpander.c        0 MB       0s  (336s)
@@progress 0.897
  lin2log.c           0 MB       0s  (336s)
@@progress 0.897
  inner_prod_aligned.c    0 MB       0s  (336s)
@@progress 0.897
  decode_pitch.c      0 MB       0s  (336s)
@@progress 0.897
  log2lin.c           0 MB       0s  (336s)
@@progress 0.897
  table_LSF_cos.c     0 MB       0s  (336s)
@@progress 0.898
  LPC_analysis_filter.c    0 MB       0s  (336s)
@@progress 0.898
  LPC_inv_pred_gain.c    0 MB       0s  (336s)
@@progress 0.898
  NLSF2A.c            0 MB       0s  (336s)
@@progress 0.898
  NLSF_VQ_weights_laroia.c    0 MB       0s  (336s)
@@progress 0.898
  NLSF_stabilize.c    0 MB       0s  (336s)
@@progress 0.899
  pitch_est_tables.c    0 MB       0s  (336s)
@@progress 0.899
  resampler.c         0 MB       0s  (336s)
@@progress 0.899
  resampler_private_AR2.c    0 MB       0s  (336s)
@@progress 0.899
  resampler_down2.c    0 MB       0s  (336s)
@@progress 0.899
  resampler_down2_3.c    0 MB       0s  (336s)
@@progress 0.900
  resampler_rom.c     0 MB       0s  (336s)
@@progress 0.900
  resampler_private_up2_HQ.c    0 MB       0s  (336s)
@@progress 0.900
  resampler_private_IIR_FIR.c    0 MB       0s  (336s)
@@progress 0.900
  sigm_Q15.c          0 MB       0s  (336s)
@@progress 0.900
  resampler_private_down_FIR.c    0 MB       0s  (336s)
@@progress 0.901
  sum_sqr_shift.c     0 MB       0s  (336s)
@@progress 0.901
  sort.c              0 MB       0s  (336s)
@@progress 0.901
  stereo_encode_pred.c    0 MB       0s  (336s)
@@progress 0.901
  stereo_decode_pred.c    0 MB       0s  (336s)
@@progress 0.901
  stereo_quant_pred.c    0 MB       0s  (336s)
@@progress 0.902
  stereo_find_predictor.c    0 MB       0s  (336s)
@@progress 0.902
  LPC_fit.c           0 MB       0s  (336s)
@@progress 0.902
  apply_sine_window_FLP.c    0 MB       0s  (336s)
@@progress 0.902
  corrMatrix_FLP.c    0 MB       0s  (336s)
@@progress 0.902
  find_LTP_FLP.c      0 MB       0s  (336s)
@@progress 0.903
  find_LPC_FLP.c      0 MB       0s  (336s)
@@progress 0.903
  encode_frame_FLP.c    0 MB       0s  (336s)
@@progress 0.903
  find_pitch_lags_FLP.c    0 MB       0s  (336s)
@@progress 0.903
  find_pred_coefs_FLP.c    0 MB       0s  (336s)
@@progress 0.903
  LTP_scale_ctrl_FLP.c    0 MB       0s  (336s)
@@progress 0.904
  LPC_analysis_filter_FLP.c    0 MB       0s  (336s)
@@progress 0.904
  LTP_analysis_filter_FLP.c    0 MB       0s  (336s)
@@progress 0.904
  regularize_correlations_FLP.c    0 MB       0s  (336s)
@@progress 0.904
  process_gains_FLP.c    0 MB       0s  (336s)
@@progress 0.904
  residual_energy_FLP.c    0 MB       0s  (336s)
@@progress 0.904
  noise_shape_analysis_FLP.c    0 MB       0s  (336s)
@@progress 0.905
  warped_autocorrelation_FLP.c    0 MB       0s  (336s)
@@progress 0.905
  autocorrelation_FLP.c    0 MB       0s  (336s)
@@progress 0.905
  wrappers_FLP.c      0 MB       0s  (336s)
@@progress 0.905
  bwexpander_FLP.c    0 MB       0s  (336s)
@@progress 0.905
  energy_FLP.c        0 MB       0s  (336s)
@@progress 0.906
  burg_modified_FLP.c    0 MB       0s  (336s)
@@progress 0.906
  inner_product_FLP.c    0 MB       0s  (336s)
@@progress 0.906
  k2a_FLP.c           0 MB       0s  (336s)
@@progress 0.906
  LPC_inv_pred_gain_FLP.c    0 MB       0s  (336s)
@@progress 0.906
  scale_copy_vector_FLP.c    0 MB       0s  (336s)
@@progress 0.907
  scale_vector_FLP.c    0 MB       0s  (336s)
@@progress 0.907
  schur_FLP.c         0 MB       0s  (336s)
@@progress 0.907
  sort_FLP.c          0 MB       0s  (336s)
@@progress 0.907
  pitch_analysis_core_FLP.c    0 MB       0s  (336s)
@@progress 0.907
  opus.c              0 MB       0s  (336s)
@@progress 0.908
  opus_multistream.c    0 MB       0s  (336s)
@@progress 0.908
  extensions.c        0 MB       0s  (336s)
@@progress 0.908
  opus_decoder.c      0 MB       0s  (337s)
@@progress 0.908
  opus_multistream_decoder.c    0 MB       0s  (337s)
@@progress 0.908
  repacketizer.c      0 MB       0s  (337s)
@@progress 0.909
  opus_projection_decoder.c    0 MB       0s  (337s)
@@progress 0.909
  opus_projection_encoder.c    0 MB       0s  (337s)
@@progress 0.909
  opus_multistream_encoder.c    0 MB       0s  (337s)
@@progress 0.909
  mapping_matrix.c    0 MB       0s  (337s)
@@progress 0.909
  mlp.c               0 MB       0s  (337s)
@@progress 0.910
  opus_encoder.c      0 MB       0s  (337s)
@@progress 0.910
  mlp_data.c          0 MB       0s  (337s)
@@progress 0.910
  analysis.c          0 MB       0s  (337s)
@@progress 0.910
  code_hot_5.c        7 MB     337s  (337s)
@@progress 0.936
  code_021.c          4 MB     104s  (339s)
@@progress 0.939
  code_022_1.c        4 MB      40s  (344s)
@@progress 0.941
  code_054.c         10 MB      15s  (346s)
@@progress 0.947
  code_000.c         11 MB      25s  (348s)
@@progress 0.953
  code_hot_4.c        6 MB     350s  (350s)
@@progress 0.975
  code_021_2.c        2 MB      30s  (351s)
@@progress 0.977
  code_021_3.c        3 MB      92s  (352s)
@@progress 0.978
  code_017_1.c       13 MB      63s  (353s)
@@progress 0.986
  code_021_4.c        3 MB      82s  (354s)
@@progress 0.987
  code_023_2.c       12 MB      28s  (358s)
@@progress 0.994
  code_018_1.c       11 MB      49s  (363s)
@@progress 1.000
FAILED hos_main.c (0 MB, 0s, alone too):
/tmp/.mount_HookshfebHCL/usr/share/hookshot/nx2/../host/hos_main.c:14:10: fatal error: '../gpu/vk/oot_cheat_items.h' file not found
   14 | #include "../gpu/vk/oot_cheat_items.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

compiled in 363s, 1 failed
@@error build.py stopped (exit status 1): /tmp/.mount_HookshfebHCL/usr/share/hookshot/nx2/../host/hos_main.c:14:10: fatal error: '../gpu/vk/oot_cheat_items.h' file not found

Visual Studio or Build Tools version, and Windows SDK version

No response

Operating system and free space on the output drive

Arch 100GB

Before you send it

  • I'm on the newest release, or it still fails on it.
  • I searched the open issues for this error.
  • I'm not attaching game files or anything built from them.
### Builder version v2.0.6 ### How you built Linux AppImage ### Game files given to it romfs and exefs folders ### The error ```text build: up to 16 compilers at once (one per CPU thread), as the memory allows; HOOKSHOT_JOBS=<n> to change @@stage read Reading your game files @@stage lift Translating the game to PC code host/ defines 3 imp_ functions for symbols no module has (unused): _ZN2nn2os11SystemEventC2ENS0_14EventClearModeEb _ZN2nn2os11SystemEventD2Ev _ZN2nn5audio29SetVoiceBiquadFilterParameterEPNS0_9VoiceTypeEiRKNS0_21BiquadFilterParameterE standalone: 511 HLE functions in host/, 230 OS-facing imports stubbed image: rtld@0x80000000+0x20000, main@0x80020000+0x4ea0000, subsdk0@0x84ec0000+0xe0000, sdk@0x84fa0000+0x1080000; 295178 entries, 0 trampolines (0 unresolved non-weak imports) (2s) ADR / ADRP+ADD code addresses outside the 284387 unwind-covered functions: 14083, 79 of them new entries widescreen: 10 of 10 sites occlusion off: 6 of 6 sites discovered 294529 functions (20s) module functions complete leaf instructions untranslated BLR BR(not table) main 249484 100.00% 87939 15379565 0 166923 10691 sdk 43498 100.00% 23560 2131960 0 15068 12294 subsdk0 1503 100.00% 789 132606 0 774 543 rtld 44 100.00% 19 2370 0 26 6 all 294529 100.00% 112307 17646501 0 182791 23534 undefined encodings reached (UDF, unallocated: trap, as on the hardware): 18533 sites translated instructions: 100.0000% of 17646501 (shared tails counted once per function) jump tables 1475 (bounded 1385, bounded by function 58, ADR table 1), BR without a table 0, PLT stubs 9917 jump tables whose table register is reused before the br: 7 hot functions (A64_HOT_FUNCS): 849 of 849 listed found, in code_hot.c chunks: code_006.c (42 MB, cost 53 MB) in 3 parts chunks: code_013.c (23 MB, cost 44 MB) in 2 parts chunks: code_017.c (42 MB, cost 55 MB) in 3 parts chunks: code_018.c (22 MB, cost 36 MB) in 2 parts chunks: code_020.c (23 MB, cost 40 MB) in 2 parts chunks: code_021.c (18 MB, cost 112 MB) in 5 parts chunks: code_022.c (25 MB, cost 154 MB) in 5 parts chunks: code_023.c (22 MB, cost 191 MB) in 3 parts chunks: 73, boundaries kept oot_native_resolution: scene base scale (f_806702e0) in code_005.c oot_native_resolution: scene scale check (f_831f3200) in code_038.c oot_patches: player heart protection in code_004.c oot_patches: player flight rotation in code_005.c oot_patches: dynamic resolution switch in code_006_1.c oot_patches: text speed scale in code_008.c oot_patches: the fixed path's scale in code_038.c oot_patches: player flight in code_hot.c oot_patches: free camera in code_hot.c oot_patches: player flight in code_hot_1.c oot_patches: free camera in code_hot_7.c oot_patches: WARNING: the player flight was found 2 times oot_patches: WARNING: the free camera was found 2 times oot_patches: output size in code_008.c oot_patches: output size in code_010.c oot_patches: output size in code_012.c oot_patches: output size in code_013_1.c oot_patches: output size in code_042.c oot_patches: output size in code_046.c standalone: hos_image.c (thread hooks 0x85e5dc40, 0x85e5dc48), 230 import stubs standalone: nvn2_exports.c (22 sdk NVN functions routed to host/nvn2.c) functions 294529, instructions 17646501 (with shared tails), jump tables 1475, indirect BR 13266 of 25017, PLT stubs 9917, unhandled words 16 (18533 sites), bad targets 0 jump tables: 1385 bounded, 58 bounded by the function, 3 rejected (target outside), 0 table not found br to a code constant: 1; br with adr candidates: 39 interrupt polls: 440364 loop headers in 113685 functions wrote 73 code files to /home/bibi/.cache/hookshot-builder/sa/gen (50s) done (50s) split_hot: piece 0: 51 functions, 10 MB, cost 32 MB split_hot: piece 1: 49 functions, 10 MB, cost 25 MB split_hot: piece 2: 163 functions, 11 MB, cost 21 MB split_hot: piece 3: 168 functions, 13 MB, cost 21 MB split_hot: piece 4: 78 functions, 6 MB, cost 21 MB split_hot: piece 5: 85 functions, 7 MB, cost 21 MB split_hot: piece 6: 83 functions, 6 MB, cost 21 MB split_hot: piece 7: 172 functions, 12 MB, cost 21 MB split_hot: 2033 of 2984 calls stay in one group @@stage compile Compiling version: v2.0.6 (source deea8db5) object keys: game-code headers 89aa47421f, flags 86b0a719c0, hot flags c2eabc0ec8, lifted code 57c0c94be5 (80 files) the Vulkan back end: /tmp/.mount_HookshfebHCL/usr/lib/hookshot/hookshot_vk.so, as built 258 files, 16 jobs, -O1 -DA64_POLLING -DA64_WRITE_TRACK code_050.c 24 MB 54s (54s) @@progress 0.013 code_015.c 23 MB 57s (57s) @@progress 0.025 code_022_2.c 3 MB 64s (65s) @@progress 0.027 code_045.c 23 MB 69s (69s) @@progress 0.040 code_023_1.c 4 MB 78s (79s) @@progress 0.042 code_049.c 24 MB 90s (90s) @@progress 0.055 code_hot_1.c 11 MB 107s (107s) @@progress 0.094 code_hot_7.c 12 MB 117s (117s) @@progress 0.140 code_hot_3.c 13 MB 117s (117s) @@progress 0.188 code_008.c 23 MB 49s (118s) @@progress 0.201 code_047.c 24 MB 54s (118s) @@progress 0.213 code_022_4.c 4 MB 63s (120s) @@progress 0.216 code_023.c 6 MB 127s (127s) @@progress 0.219 code_043.c 24 MB 56s (134s) @@progress 0.232 code_040.c 24 MB 49s (139s) @@progress 0.244 code_037.c 24 MB 43s (150s) @@progress 0.257 code_hot_2.c 11 MB 151s (151s) @@progress 0.299 code_046.c 23 MB 45s (163s) @@progress 0.312 code_022.c 10 MB 111s (165s) @@progress 0.317 code_041.c 23 MB 55s (173s) @@progress 0.330 code_021_1.c 5 MB 174s (174s) @@progress 0.332 code_016.c 24 MB 48s (176s) @@progress 0.345 code_034.c 23 MB 44s (178s) @@progress 0.357 code_025.c 23 MB 65s (182s) @@progress 0.370 code_010.c 24 MB 44s (184s) @@progress 0.382 code_024.c 23 MB 74s (191s) @@progress 0.395 code_039.c 23 MB 44s (194s) @@progress 0.407 code_hot_0.c 11 MB 200s (200s) @@progress 0.447 code_030.c 23 MB 50s (201s) @@progress 0.459 code_051.c 24 MB 40s (203s) @@progress 0.472 code_019.c 20 MB 84s (205s) @@progress 0.483 code_035.c 23 MB 43s (208s) @@progress 0.495 code_052.c 24 MB 42s (216s) @@progress 0.508 code_027.c 24 MB 40s (218s) @@progress 0.520 code_053.c 23 MB 49s (223s) @@progress 0.533 code_007.c 23 MB 48s (224s) @@progress 0.545 code_036.c 23 MB 42s (226s) @@progress 0.557 code_028.c 24 MB 41s (232s) @@progress 0.570 code_026.c 23 MB 53s (235s) @@progress 0.582 code_044.c 24 MB 43s (237s) @@progress 0.595 code_011.c 24 MB 41s (242s) @@progress 0.608 code_014.c 24 MB 42s (243s) @@progress 0.620 code_031.c 23 MB 45s (248s) @@progress 0.633 code_012.c 23 MB 35s (251s) @@progress 0.646 code_009.c 23 MB 44s (252s) @@progress 0.658 code_042.c 24 MB 55s (260s) @@progress 0.670 code_013.c 6 MB 18s (260s) @@progress 0.674 code_048.c 24 MB 42s (261s) @@progress 0.687 code_033.c 23 MB 40s (264s) @@progress 0.699 code_022_3.c 2 MB 40s (266s) @@progress 0.701 code_004.c 19 MB 49s (272s) @@progress 0.711 code_029.c 23 MB 43s (276s) @@progress 0.724 code_038.c 23 MB 38s (276s) @@progress 0.736 code_032.c 23 MB 36s (279s) @@progress 0.748 code_hot_6.c 6 MB 290s (290s) @@progress 0.773 code_002.c 15 MB 41s (294s) @@progress 0.781 code_005.c 20 MB 49s (297s) @@progress 0.792 code_003.c 19 MB 48s (299s) @@progress 0.802 code_013_1.c 16 MB 40s (305s) @@progress 0.810 code_020.c 17 MB 54s (314s) @@progress 0.820 code_001.c 15 MB 40s (316s) @@progress 0.828 a64_table.c 16 MB 5s (321s) @@progress 0.828 code_020_1.c 6 MB 62s (323s) @@progress 0.831 code_018.c 11 MB 64s (330s) @@progress 0.838 code_006_2.c 13 MB 34s (331s) @@progress 0.845 code_006.c 14 MB 39s (333s) @@progress 0.852 code_006_1.c 14 MB 34s (333s) @@progress 0.860 a64_hooks.c 0 MB 0s (333s) @@progress 0.860 a64_stubs.c 0 MB 0s (333s) @@progress 0.860 a64_rt.c 0 MB 0s (333s) @@progress 0.861 nvn2_exports.c 0 MB 0s (333s) @@progress 0.861 hos_image.c 0 MB 0s (333s) @@progress 0.861 a64_suyu.c 0 MB 0s (333s) @@progress 0.861 hos_hostcall.c 0 MB 0s (333s) @@progress 0.861 not compiled yet: hos_main.c (0 MB, 0s), tried again alone at the end: /tmp/.mount_HookshfebHCL/usr/share/hookshot/nx2/../host/hos_main.c:14:10: fatal error: '../gpu/vk/oot_cheat_items.h' file not found 14 | #include "../gpu/vk/oot_cheat_items.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. hos_mem.c 0 MB 0s (333s) @@progress 0.862 hos_sdl.c 0 MB 0s (333s) @@progress 0.862 hos_setjmp.c 0 MB 0s (333s) @@progress 0.862 hos_svc.c 0 MB 0s (334s) @@progress 0.862 hos_update.c 0 MB 0s (334s) @@progress 0.862 mingw_msvc_shims.c 0 MB 0s (334s) @@progress 0.863 hos_thread.c 0 MB 0s (334s) @@progress 0.863 mkw_glue.c 0 MB 0s (334s) @@progress 0.863 mods.c 0 MB 0s (334s) @@progress 0.863 msvc_oldnames.c 0 MB 0s (334s) @@progress 0.863 mouse_native.c 0 MB 0s (334s) @@progress 0.864 nn_applet.c 0 MB 0s (334s) @@progress 0.864 nn_codec.c 0 MB 0s (334s) @@progress 0.864 nn_diag.c 0 MB 0s (334s) @@progress 0.864 code_017_2.c 13 MB 55s (334s) @@progress 0.871 nn_gs.c 0 MB 0s (334s) @@progress 0.872 nn_fs.c 0 MB 0s (334s) @@progress 0.872 nn_libc.c 0 MB 0s (334s) @@progress 0.872 nn_hid.c 0 MB 0s (334s) @@progress 0.872 nn_audio.c 0 MB 0s (334s) @@progress 0.872 nn_syncpt.c 0 MB 0s (334s) @@progress 0.873 nn_vi.c 0 MB 0s (334s) @@progress 0.873 nn_os_sync.c 0 MB 0s (334s) @@progress 0.873 nvdrv.c 0 MB 0s (334s) @@progress 0.873 nn_video.c 0 MB 0s (334s) @@progress 0.873 nvn_layout.c 0 MB 0s (334s) @@progress 0.874 pad_sdl.c 0 MB 0s (334s) @@progress 0.874 rx_backend.c 0 MB 0s (334s) @@progress 0.874 display_sdl.c 0 MB 0s (335s) @@progress 0.874 linux_stubs.c 0 MB 0s (335s) @@progress 0.874 win32_posix.c 0 MB 0s (335s) @@progress 0.875 prof.c 0 MB 0s (335s) @@progress 0.875 celt.c 0 MB 0s (335s) @@progress 0.875 nvn_native.c 0 MB 1s (335s) @@progress 0.875 bands.c 0 MB 0s (335s) @@progress 0.875 cwrs.c 0 MB 0s (335s) @@progress 0.876 entcode.c 0 MB 0s (335s) @@progress 0.876 entdec.c 0 MB 0s (335s) @@progress 0.876 entenc.c 0 MB 0s (335s) @@progress 0.876 celt_encoder.c 0 MB 0s (335s) @@progress 0.876 celt_decoder.c 0 MB 0s (335s) @@progress 0.877 code_017.c 15 MB 59s (335s) @@progress 0.885 mathops.c 0 MB 0s (335s) @@progress 0.885 laplace.c 0 MB 0s (335s) @@progress 0.885 modes.c 0 MB 0s (335s) @@progress 0.885 mdct.c 0 MB 0s (335s) @@progress 0.886 pitch.c 0 MB 0s (335s) @@progress 0.886 celt_lpc.c 0 MB 0s (335s) @@progress 0.886 quant_bands.c 0 MB 0s (335s) @@progress 0.886 rate.c 0 MB 0s (335s) @@progress 0.886 CNG.c 0 MB 0s (335s) @@progress 0.887 vq.c 0 MB 0s (335s) @@progress 0.887 init_decoder.c 0 MB 0s (335s) @@progress 0.887 code_signs.c 0 MB 0s (335s) @@progress 0.887 decode_frame.c 0 MB 0s (335s) @@progress 0.887 decode_parameters.c 0 MB 0s (335s) @@progress 0.887 decode_indices.c 0 MB 0s (335s) @@progress 0.888 decode_pulses.c 0 MB 0s (335s) @@progress 0.888 decode_core.c 0 MB 0s (335s) @@progress 0.888 decoder_set_fs.c 0 MB 0s (335s) @@progress 0.888 encode_indices.c 0 MB 0s (335s) @@progress 0.888 dec_API.c 0 MB 0s (335s) @@progress 0.889 encode_pulses.c 0 MB 0s (336s) @@progress 0.889 enc_API.c 0 MB 0s (336s) @@progress 0.889 gain_quant.c 0 MB 0s (336s) @@progress 0.889 interpolate.c 0 MB 0s (336s) @@progress 0.889 LP_variable_cutoff.c 0 MB 0s (336s) @@progress 0.890 NLSF_decode.c 0 MB 0s (336s) @@progress 0.890 PLC.c 0 MB 0s (336s) @@progress 0.890 NSQ.c 0 MB 0s (336s) @@progress 0.890 tables_gain.c 0 MB 0s (336s) @@progress 0.890 shell_coder.c 0 MB 0s (336s) @@progress 0.891 NSQ_del_dec.c 0 MB 0s (336s) @@progress 0.891 tables_LTP.c 0 MB 0s (336s) @@progress 0.891 tables_NLSF_CB_NB_MB.c 0 MB 0s (336s) @@progress 0.891 tables_other.c 0 MB 0s (336s) @@progress 0.891 tables_NLSF_CB_WB.c 0 MB 0s (336s) @@progress 0.892 tables_pitch_lag.c 0 MB 0s (336s) @@progress 0.892 tables_pulses_per_block.c 0 MB 0s (336s) @@progress 0.892 control_audio_bandwidth.c 0 MB 0s (336s) @@progress 0.892 quant_LTP_gains.c 0 MB 0s (336s) @@progress 0.892 VAD.c 0 MB 0s (336s) @@progress 0.893 VQ_WMat_EC.c 0 MB 0s (336s) @@progress 0.893 HP_variable_cutoff.c 0 MB 0s (336s) @@progress 0.893 NLSF_VQ.c 0 MB 0s (336s) @@progress 0.893 NLSF_encode.c 0 MB 0s (336s) @@progress 0.893 NLSF_unpack.c 0 MB 0s (336s) @@progress 0.894 process_NLSFs.c 0 MB 0s (336s) @@progress 0.894 kiss_fft.c 0 MB 1s (336s) @@progress 0.894 NLSF_del_dec_quant.c 0 MB 0s (336s) @@progress 0.894 check_control_input.c 0 MB 0s (336s) @@progress 0.894 stereo_MS_to_LR.c 0 MB 0s (336s) @@progress 0.895 control_SNR.c 0 MB 0s (336s) @@progress 0.895 stereo_LR_to_MS.c 0 MB 0s (336s) @@progress 0.895 init_encoder.c 0 MB 0s (336s) @@progress 0.895 ana_filt_bank_1.c 0 MB 0s (336s) @@progress 0.895 control_codec.c 0 MB 0s (336s) @@progress 0.896 biquad_alt.c 0 MB 0s (336s) @@progress 0.896 debug.c 0 MB 0s (336s) @@progress 0.896 A2NLSF.c 0 MB 0s (336s) @@progress 0.896 bwexpander_32.c 0 MB 0s (336s) @@progress 0.896 bwexpander.c 0 MB 0s (336s) @@progress 0.897 lin2log.c 0 MB 0s (336s) @@progress 0.897 inner_prod_aligned.c 0 MB 0s (336s) @@progress 0.897 decode_pitch.c 0 MB 0s (336s) @@progress 0.897 log2lin.c 0 MB 0s (336s) @@progress 0.897 table_LSF_cos.c 0 MB 0s (336s) @@progress 0.898 LPC_analysis_filter.c 0 MB 0s (336s) @@progress 0.898 LPC_inv_pred_gain.c 0 MB 0s (336s) @@progress 0.898 NLSF2A.c 0 MB 0s (336s) @@progress 0.898 NLSF_VQ_weights_laroia.c 0 MB 0s (336s) @@progress 0.898 NLSF_stabilize.c 0 MB 0s (336s) @@progress 0.899 pitch_est_tables.c 0 MB 0s (336s) @@progress 0.899 resampler.c 0 MB 0s (336s) @@progress 0.899 resampler_private_AR2.c 0 MB 0s (336s) @@progress 0.899 resampler_down2.c 0 MB 0s (336s) @@progress 0.899 resampler_down2_3.c 0 MB 0s (336s) @@progress 0.900 resampler_rom.c 0 MB 0s (336s) @@progress 0.900 resampler_private_up2_HQ.c 0 MB 0s (336s) @@progress 0.900 resampler_private_IIR_FIR.c 0 MB 0s (336s) @@progress 0.900 sigm_Q15.c 0 MB 0s (336s) @@progress 0.900 resampler_private_down_FIR.c 0 MB 0s (336s) @@progress 0.901 sum_sqr_shift.c 0 MB 0s (336s) @@progress 0.901 sort.c 0 MB 0s (336s) @@progress 0.901 stereo_encode_pred.c 0 MB 0s (336s) @@progress 0.901 stereo_decode_pred.c 0 MB 0s (336s) @@progress 0.901 stereo_quant_pred.c 0 MB 0s (336s) @@progress 0.902 stereo_find_predictor.c 0 MB 0s (336s) @@progress 0.902 LPC_fit.c 0 MB 0s (336s) @@progress 0.902 apply_sine_window_FLP.c 0 MB 0s (336s) @@progress 0.902 corrMatrix_FLP.c 0 MB 0s (336s) @@progress 0.902 find_LTP_FLP.c 0 MB 0s (336s) @@progress 0.903 find_LPC_FLP.c 0 MB 0s (336s) @@progress 0.903 encode_frame_FLP.c 0 MB 0s (336s) @@progress 0.903 find_pitch_lags_FLP.c 0 MB 0s (336s) @@progress 0.903 find_pred_coefs_FLP.c 0 MB 0s (336s) @@progress 0.903 LTP_scale_ctrl_FLP.c 0 MB 0s (336s) @@progress 0.904 LPC_analysis_filter_FLP.c 0 MB 0s (336s) @@progress 0.904 LTP_analysis_filter_FLP.c 0 MB 0s (336s) @@progress 0.904 regularize_correlations_FLP.c 0 MB 0s (336s) @@progress 0.904 process_gains_FLP.c 0 MB 0s (336s) @@progress 0.904 residual_energy_FLP.c 0 MB 0s (336s) @@progress 0.904 noise_shape_analysis_FLP.c 0 MB 0s (336s) @@progress 0.905 warped_autocorrelation_FLP.c 0 MB 0s (336s) @@progress 0.905 autocorrelation_FLP.c 0 MB 0s (336s) @@progress 0.905 wrappers_FLP.c 0 MB 0s (336s) @@progress 0.905 bwexpander_FLP.c 0 MB 0s (336s) @@progress 0.905 energy_FLP.c 0 MB 0s (336s) @@progress 0.906 burg_modified_FLP.c 0 MB 0s (336s) @@progress 0.906 inner_product_FLP.c 0 MB 0s (336s) @@progress 0.906 k2a_FLP.c 0 MB 0s (336s) @@progress 0.906 LPC_inv_pred_gain_FLP.c 0 MB 0s (336s) @@progress 0.906 scale_copy_vector_FLP.c 0 MB 0s (336s) @@progress 0.907 scale_vector_FLP.c 0 MB 0s (336s) @@progress 0.907 schur_FLP.c 0 MB 0s (336s) @@progress 0.907 sort_FLP.c 0 MB 0s (336s) @@progress 0.907 pitch_analysis_core_FLP.c 0 MB 0s (336s) @@progress 0.907 opus.c 0 MB 0s (336s) @@progress 0.908 opus_multistream.c 0 MB 0s (336s) @@progress 0.908 extensions.c 0 MB 0s (336s) @@progress 0.908 opus_decoder.c 0 MB 0s (337s) @@progress 0.908 opus_multistream_decoder.c 0 MB 0s (337s) @@progress 0.908 repacketizer.c 0 MB 0s (337s) @@progress 0.909 opus_projection_decoder.c 0 MB 0s (337s) @@progress 0.909 opus_projection_encoder.c 0 MB 0s (337s) @@progress 0.909 opus_multistream_encoder.c 0 MB 0s (337s) @@progress 0.909 mapping_matrix.c 0 MB 0s (337s) @@progress 0.909 mlp.c 0 MB 0s (337s) @@progress 0.910 opus_encoder.c 0 MB 0s (337s) @@progress 0.910 mlp_data.c 0 MB 0s (337s) @@progress 0.910 analysis.c 0 MB 0s (337s) @@progress 0.910 code_hot_5.c 7 MB 337s (337s) @@progress 0.936 code_021.c 4 MB 104s (339s) @@progress 0.939 code_022_1.c 4 MB 40s (344s) @@progress 0.941 code_054.c 10 MB 15s (346s) @@progress 0.947 code_000.c 11 MB 25s (348s) @@progress 0.953 code_hot_4.c 6 MB 350s (350s) @@progress 0.975 code_021_2.c 2 MB 30s (351s) @@progress 0.977 code_021_3.c 3 MB 92s (352s) @@progress 0.978 code_017_1.c 13 MB 63s (353s) @@progress 0.986 code_021_4.c 3 MB 82s (354s) @@progress 0.987 code_023_2.c 12 MB 28s (358s) @@progress 0.994 code_018_1.c 11 MB 49s (363s) @@progress 1.000 FAILED hos_main.c (0 MB, 0s, alone too): /tmp/.mount_HookshfebHCL/usr/share/hookshot/nx2/../host/hos_main.c:14:10: fatal error: '../gpu/vk/oot_cheat_items.h' file not found 14 | #include "../gpu/vk/oot_cheat_items.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. compiled in 363s, 1 failed @@error build.py stopped (exit status 1): /tmp/.mount_HookshfebHCL/usr/share/hookshot/nx2/../host/hos_main.c:14:10: fatal error: '../gpu/vk/oot_cheat_items.h' file not found ``` ### Visual Studio or Build Tools version, and Windows SDK version _No response_ ### Operating system and free space on the output drive Arch 100GB ### Before you send it - [x] I'm on the newest release, or it still fails on it. - [x] I searched the open issues for this error. - [x] I'm not attaching game files or anything built from them.
MattDev-974 commented 2026-11-09 06:22:21 +00:00 (Migrated from github.com)

fix and workaround here:

#990

fix and workaround here: https://git.magicbean.dev/MagicBeanDev/Hookshot/issues/990
bibigurl-yum commented 2026-11-09 07:10:36 +00:00 (Migrated from github.com)

The packaging bug is only half the story. The builder assembles ~/.local/share/hookshot/builder/versions/<tag> from the hookshot-linux.txt manifest of the latest release, and releases/latest still points to v2.0.6 — its usr/share/hookshot part is HookshotLinux-usr-share-hookshot-eecf57f64738.zip, which contains gpu/vk/vk_api.h but lacks gpu/vk/oot_cheat_items.h. So v2.0.7-rc.1 ships the same broken zip and fixes nothing.

Worse: when running an rc build, hookshot_builder.py (begin_update()) compares the running AppImage's VERSION (v2.0.7-rc.1) against the manifest tag (v2.0.6), and on mismatch it reinstalls versions/v2.0.6 from the zip every time the AppImage starts — which wipes any manually added header before the build runs. That is why the curl workaround above appears "not working": the next launch deletes it again.

Workaround A (only requires re-running the build in the already-open builder window — no relaunch, so no wipe):

V=$(cat ~/.local/share/hookshot/builder/current)
D=~/.local/share/hookshot/builder/versions/$V/usr/share/hookshot
mkdir -p "$D/gpu/vk"
curl -fL https://raw.githubusercontent.com/NotRexed/Hookshot/$V/gpu/vk/oot_cheat_items.h -o "$D/gpu/vk/oot_cheat_items.h"

Workaround B (survives AppImage relaunches): use the builder's own HOOKSHOT_LINUX_LIST override with a locally patched zip:

F=~/.local/share/hookshot/fix; mkdir -p $F
curl -fL -o $F/parts.zip https://github.com/NotRexed/Hookshot/releases/download/linux-parts/HookshotLinux-usr-share-hookshot-eecf57f64738.zip
curl -fL -o /tmp/oot_cheat_items.h https://raw.githubusercontent.com/NotRexed/Hookshot/v2.0.6/gpu/vk/oot_cheat_items.h
python3 -c 'import hashlib,os,zipfile,sys
f,z=sys.argv[1],sys.argv[2]+"/parts.zip"
with zipfile.ZipFile(z) as i, zipfile.ZipFile(z.replace(".zip","-fixed.zip"),"w",zipfile.ZIP_DEFLATED) as o:
 [o.writestr(x,i.read(x)) for x in i.infolist()]
 zi=zipfile.ZipInfo("gpu/vk/oot_cheat_items.h",(2026,1,1,0,0,0)); zi.external_attr=0o644<<16; o.writestr(zi,open(f,"rb").read())
p=z.replace(".zip","-fixed.zip"); print("part %s %d usr/share/hookshot file://%s"%(hashlib.sha256(open(p,"rb").read()).hexdigest(),os.path.getsize(p),p))' \
  /tmp/oot_cheat_items.h $F | { echo "tag v2.0.6"; cat; echo tree; } > $F/hookshot-linux.txt
HOOKSHOT_LINUX_LIST=$F/hookshot-linux.txt ./Hookshot.AppImage

(Verified: the builder's own linux_update.install() unpacks the patched zip into a complete tree with the header included.)

The real fix: add cp -a gpu/vk/oot_cheat_items.h "$T/gpu/vk/" to scripts/linux/appimage.sh and regenerate the linux-parts zip + hookshot-linux.txt on the latest release — every build that re-downloads the broken part keeps failing until that zip is rebuilt.
@MattDev-974

The packaging bug is only half the story. The builder assembles `~/.local/share/hookshot/builder/versions/<tag>` from the `hookshot-linux.txt` manifest of the **latest release**, and `releases/latest` still points to v2.0.6 — its `usr/share/hookshot` part is `HookshotLinux-usr-share-hookshot-eecf57f64738.zip`, which contains `gpu/vk/vk_api.h` but **lacks `gpu/vk/oot_cheat_items.h`**. So v2.0.7-rc.1 ships the same broken zip and fixes nothing. Worse: when running an rc build, `hookshot_builder.py` (`begin_update()`) compares the running AppImage's VERSION (`v2.0.7-rc.1`) against the manifest tag (`v2.0.6`), and on mismatch it **reinstalls `versions/v2.0.6` from the zip every time the AppImage starts** — which wipes any manually added header before the build runs. That is why the curl workaround above appears "not working": the next launch deletes it again. **Workaround A** (only requires re-running the build in the already-open builder window — no relaunch, so no wipe): ```sh V=$(cat ~/.local/share/hookshot/builder/current) D=~/.local/share/hookshot/builder/versions/$V/usr/share/hookshot mkdir -p "$D/gpu/vk" curl -fL https://raw.githubusercontent.com/NotRexed/Hookshot/$V/gpu/vk/oot_cheat_items.h -o "$D/gpu/vk/oot_cheat_items.h" ``` **Workaround B** (survives AppImage relaunches): use the builder's own `HOOKSHOT_LINUX_LIST` override with a locally patched zip: ```sh F=~/.local/share/hookshot/fix; mkdir -p $F curl -fL -o $F/parts.zip https://github.com/NotRexed/Hookshot/releases/download/linux-parts/HookshotLinux-usr-share-hookshot-eecf57f64738.zip curl -fL -o /tmp/oot_cheat_items.h https://raw.githubusercontent.com/NotRexed/Hookshot/v2.0.6/gpu/vk/oot_cheat_items.h python3 -c 'import hashlib,os,zipfile,sys f,z=sys.argv[1],sys.argv[2]+"/parts.zip" with zipfile.ZipFile(z) as i, zipfile.ZipFile(z.replace(".zip","-fixed.zip"),"w",zipfile.ZIP_DEFLATED) as o: [o.writestr(x,i.read(x)) for x in i.infolist()] zi=zipfile.ZipInfo("gpu/vk/oot_cheat_items.h",(2026,1,1,0,0,0)); zi.external_attr=0o644<<16; o.writestr(zi,open(f,"rb").read()) p=z.replace(".zip","-fixed.zip"); print("part %s %d usr/share/hookshot file://%s"%(hashlib.sha256(open(p,"rb").read()).hexdigest(),os.path.getsize(p),p))' \ /tmp/oot_cheat_items.h $F | { echo "tag v2.0.6"; cat; echo tree; } > $F/hookshot-linux.txt HOOKSHOT_LINUX_LIST=$F/hookshot-linux.txt ./Hookshot.AppImage ``` (Verified: the builder's own `linux_update.install()` unpacks the patched zip into a complete tree *with* the header included.) **The real fix**: add `cp -a gpu/vk/oot_cheat_items.h "$T/gpu/vk/"` to `scripts/linux/appimage.sh` **and regenerate the linux-parts zip + `hookshot-linux.txt` on the latest release** — every build that re-downloads the broken part keeps failing until that zip is rebuilt. @MattDev-974
bibigurl-yum commented 2026-11-09 07:43:18 +00:00 (Migrated from github.com)

Filed PR: #1039

Filed PR: https://git.magicbean.dev/MagicBeanDev/Hookshot/pulls/1039
metroid98 commented 2026-11-09 08:57:19 +00:00 (Migrated from github.com)

Confirming v2.0.7 builds on Linux from a .nup with none of the oot_cheat_items.h errors from this issue.

  • Hardware and OS: Bazzite 45 (Fedora KDE Wayland), RTX 3060 12 GB, NVIDIA 615.78, Ryzen 12 threads, 15 GB RAM.
  • Command: Hookshot-v2.0.7-x86_64.AppImage --cli --nup <dump>.nup --out ~/Games/Hookshot --language en-US. I updated an existing v2.0.5 game folder in place.
  • Result: exit 0. The build took 9:23, of which 7:09 was compiling ("compiled in 421s, 0 failed"). hookshot_shaders.bin came to 514 MB.
  • Version check: hookshot_version.txt now says v2.0.7. ./bin/hookshot --prepare-shaders also finished with exit 0 (10316 compute pipelines precompiled in 9.8 s).
  • Warnings, not errors: oot_patches: WARNING: the player flight was found 2 times and the same for the free camera.
  • Existing saves and hookshot_options.ini were identical before and after (md5 match).
  • Not tested: I did not launch the game in this run, so I have no in-game fps or stability numbers for v2.0.7. My earlier v2.0.5 numbers are in #227.

AI-assisted: run and collected by Claude Code on my behalf.

Confirming v2.0.7 builds on Linux from a `.nup` with none of the `oot_cheat_items.h` errors from this issue. - Hardware and OS: Bazzite 45 (Fedora KDE Wayland), RTX 3060 12 GB, NVIDIA 615.78, Ryzen 12 threads, 15 GB RAM. - Command: `Hookshot-v2.0.7-x86_64.AppImage --cli --nup <dump>.nup --out ~/Games/Hookshot --language en-US`. I updated an existing v2.0.5 game folder in place. - Result: exit 0. The build took 9:23, of which 7:09 was compiling ("compiled in 421s, 0 failed"). `hookshot_shaders.bin` came to 514 MB. - Version check: `hookshot_version.txt` now says `v2.0.7`. `./bin/hookshot --prepare-shaders` also finished with exit 0 (10316 compute pipelines precompiled in 9.8 s). - Warnings, not errors: `oot_patches: WARNING: the player flight was found 2 times` and the same for the free camera. - Existing saves and `hookshot_options.ini` were identical before and after (md5 match). - Not tested: I did not launch the game in this run, so I have no in-game fps or stability numbers for v2.0.7. My earlier v2.0.5 numbers are in #227. AI-assisted: run and collected by Claude Code on my behalf.
NotRexed commented 2026-11-09 09:18:13 +00:00 (Migrated from github.com)

Fixed in v2.0.7: the Linux AppImage now ships every gpu/vk header the host includes, including oot_cheat_items.h (issue #990). Others have confirmed v2.0.7 builds on Linux from a .nup without this error. Please update to v2.0.7 (or v2.0.8, out shortly) and rebuild; if it still fails, comment with the builder log and we'll reopen. Thanks for the report!

Fixed in v2.0.7: the Linux AppImage now ships every gpu/vk header the host includes, including oot_cheat_items.h (issue #990). Others have confirmed v2.0.7 builds on Linux from a .nup without this error. Please update to v2.0.7 (or v2.0.8, out shortly) and rebuild; if it still fails, comment with the builder log and we'll reopen. Thanks for the report!
Commenting is not possible because the repository is archived.
No milestone
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/Hookshot#1020
No description provided.