The tester's app sends its newest lines with each heartbeat, home folders, user and host names taken out, the last 64 KB kept.
Last line .
Fetching the build tools (tools.lock), outside the sandbox
export EMSDK=<data>/tools/longshot/builder/toolchains/dev/usr/lib/longshot/emsdk
export LONGSHOT_FFMPEG=<data>/tools/longshot/builder/toolchains/dev/usr/lib/longshot/ffmpeg
export LONGSHOT_SDL2=<data>/tools/longshot/builder/toolchains/dev/usr/lib/longshot/sdl2/libSDL2-2.0.so.0
export LONGSHOT_SYSROOT=<data>/tools/longshot/builder/toolchains/dev/usr/lib/longshot/sysroot
export RX_CPM=<data>/tools/longshot/builder/toolchains/dev/usr/share/longshot/cpm
the old base is kept (main@9dd41326e710); the new one starts from a copy of its work folder
the main base: /usr/bin/nice -n 10 <data>/python/bin/python3 -I <data>/longshot/scripts/dev.py packs base <data>/bases/main --romfs <game files>/85b08e81a2a08612f88de1063c8581fe/romfs --exefs <game files>/85b08e81a2a08612f88de1063
+ <data>/python/bin/python3 -I nx2/make_game.py --romfs <game files>/85b08e81a2a08612f88de1063c8581fe/romfs --exefs <game files>/85b08e81a2a08612f88de1063c8581fe/exefs --work <data>/bases/main/work --out <data>/bases/main/game -
build: the game is built for this PC's CPU (znver2_znver2_245cab1ce0)
Linux build prerequisites: OK
@@stage read Reading your game files
rtld not ZBIC, kept
main not ZBIC, kept
subsdk0 not ZBIC, kept
sdk not ZBIC, kept
@@progress 0.000
the game's name: none (Longshot), its icon: none
the hot list: the committed assets/profiles/hot_funcs.txt
@@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: 563 HLE functions in host/, 189 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) (7s)
ADR / ADRP+ADD code addresses outside the 284387 unwind-covered functions: 14083, 79 of them new entries
entry hooks: 6 of 6 (memcpy sdk+0x78f020, memmove sdk+0x78f040, memset sdk+0x78f300, strlen sdk+0x7a7d40, memcmp sdk+0x7bd280, strcmp sdk+0x7bd380)
widescreen: 23 of 23 sites
field of view: gameplay lens hooked
shadow resolution: sun cascades hooked
steady sun shadows: the nearest cascade's fit hooked
dlss jitter: 3 of 3 sites
locals: 21 functions with spliced code kept in the context
locals: 26 functions entered above their first block kept in the context
locals: 73 functions that hold an address the patches name kept in the context
locals: 207258 functions no play session ran kept in the context (nx2/ran_funcs.txt)
discovered 294518 functions (53s)
@@progress 0.190
module functions complete leaf instructions untranslated BLR BR(not table)
main 249484 100.00% 87939 15379565 0 166923 10691
sdk 43487 100.00% 23553 2131585 0 15068 12288
subsdk0 1503 100.00% 789 132606 0 774 543
rtld 44 100.00% 19 2370 0 26 6
all 294518 100.00% 112300 17646126 0 182791 23528
undefined encodings reached (UDF, unallocated: trap, as on the hardware): 18526 sites
translated instructions: 100.0000% of 17646126 (shared tails counted once per function)
lift: coverage in 15.5s (68s)
@@progress 0.289
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): 680 of 680 listed found, in code_hot.c
fast float regions (A64_FASTFP=1): 15293, 276917 float ops in them
lift: emit and write (2 processes) in 163.3s (232s)
@@progress 0.691
chunks: code_002.c (91 MB, cost 117 MB) in 5 parts
chunks: code_010.c (28 MB, cost 51 MB) in 2 parts
chunks: code_015.c (39 MB, cost 57 MB) in 3 parts
chunks: code_019.c (17 MB, cost 93 MB) in 3 parts
chunks: code_020.c (12 MB, cost 90 MB) in 3 parts
chunks: code_021.c (18 MB, cost 81 MB) in 4 parts
chunks: code_022.c (14 MB, cost 120 MB) in 3 parts
chunks: code_023.c (15 MB, cost 192 MB) in 3 parts
lift: big chunks split in 4.8s (236s)
@@progress 0.762
chunks: 76, boundaries kept
oot_patches: the zstd stream decode's host hook in code_000.c
oot_patches: 1 frame counter(s) with the step's whole frames in code_000.c
oot_patches: a moving floor's carry above 60 fps in code_001.c
oot_patches: the menus' focus hook in code_002.c
oot_patches: 1 frame counter(s) with the step's whole frames in code_002_1.c
oot_patches: heap-full retries of the OptimizeChangeBank allocations in code_002_2.c
oot_patches: the sound job at 60 Hz above 60 fps in code_002_2.c
oot_patches: movement speed in code_002_3.c
oot_patches: camera speed at 2 function(s) in code_002_3.c
oot_patches: 1 frame counter(s) with the step's whole frames in code_002_3.c
oot_patches: player flight rotation in code_002_4.c
oot_patches: the scene buffer's format for native HDR in code_002_4.c
oot_patches: the frame's time at 1 step divide(s) in code_002_4.c
oot_patches: dynamic resolution switch in code_003.c
oot_patches: the texture heap's compaction asked for through the host in code_003.c
oot_patches: movement speed in code_004.c
oot_patches: the Voice Language option followed after option.sav is read in code_005.c
oot_patches: 1 frame counter(s) with the step's whole frames in code_005.c
oot_patches: text speed scale and text size in code_006.c
oot_patches: save request trace in code_006.c
oot_patches: a jump's takeoff speed above 60 fps in code_006.c
oot_patches: the opening skip at 2 function(s) in code_008.c
oot_patches: the text boxes' draw hook in code_013.c
oot_patches: the text boxes' layout hook in code_013.c
oot_patches: the glyphs' hook in code_014.c
oot_patches: the cloth's time below 60 fps in code_019.c
oot_patches: the saved steering rate above 60 fps in code_030.c
oot_patches: the ocarina note wait in code_032.c
oot_patches: a horse's jump blend above 60 fps in code_035.c
oot_patches: camera speed at 2 function(s) in code_037.c
oot_patches: the fixed path's scale in code_039.c
oot_patches: 3 frame counter(s) with the step's whole frames in code_040.c
oot_patches: the preload manager's choice of a neighbouring map through the host in code_040.c
oot_patches: the song playbacks' note flag once a note above 60 fps in code_040.c
oot_patches: the solver steps rounded up above 60 fps in code_045.c
oot_patches: a moving floor's carry above 60 fps in code_045.c
oot_patches: the movie's frame count by the frames' time in code_047.c
oot_patches: the opening skip at 1 function(s) in code_047.c
oot_patches: the frame's time at 1 step divide(s) in code_047.c
oot_patches: the menus' update hook in code_hot.c
oot_patches: the shared map's scoped gameplay HUD placement in code_hot.c
oot_patches: the zstd whole-buffer decode's host hook in code_hot.c
oot_patches: 2 animation clock(s) with whole frames for a loop of one frame in code_hot.c
oot_patches: the drawn time of a loop of one frame by its start in code_hot.c
oot_patches: Sprint's link site in code_hot.c
oot_patches: Sprint's stance site in code_hot.c
oot_patches: player heart protection in code_hot.c
oot_patches: player flight in code_hot.c
oot_patches: native mouse camera in code_hot.c
oot_patches: disable camera centering switch in code_hot.c
oot_patches: free camera in code_hot.c
oot_patches: the music manager's whole step above 60 fps in code_hot.c
oot_patches: the music manager's change flags kept above 60 fps in code_hot.c
oot_patches: the job barriers' sleeps and mask ORs through the host in code_hot.c
oot_patches: the cloth's solves above 60 fps in code_hot.c
oot_patches: a moving floor's carry above 60 fps in code_hot.c
oot_patches: Link's driven body's target above 60 fps in code_hot.c
oot_patches: a jump's takeoff velocity above 60 fps in code_hot.c
lift: patches (2 processes) in 19.0s (255s)
@@progress 0.802
oot_patches: output size in code_002_2.c
oot_patches: output size in code_006.c
oot_patches: output size in code_008.c
oot_patches: output size in code_010.c
oot_patches: output size in code_011.c
oot_patches: output size in code_043.c
oot_patches: output size in code_047.c
lift: output size and page-mark groups in 26.7s (282s)
@@progress 0.954
locals: 1 functions kept in the context for the patches; 46 patched functions checked in the written C
lift: locals check in 6.5s (289s)
standalone: hos_image.c (thread hooks 0x85e5dc40, 0x85e5dc48), 189 import stubs
standalone: nvn2_exports.c (22 sdk NVN functions routed to host/nvn2.c)
lift: runtime tables and standalone files (beside the edits) in 0.0s (289s)
@@progress 1.000
functions 294518, instructions 17646126 (with shared tails), jump tables 1475, indirect BR 13260 of 25011, PLT stubs 9917, unhandled words 16 (18526 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
page marks: 91995 groups share one mark for 408958 of 600679 stores through a base register
functions with code below their entry, started at it by a goto: 26
entry hooks spliced: 6
interrupt polls: 683130 loop headers in 113681 functions
wrote 76 code files to <data>/bases/main/work/sa/gen (291s)
done (291s)
split_hot: the pieces of the last lift kept (0 functions placed anew)
split_hot: piece 0: 51 functions, 13 MB, cost 55 MB
split_hot: piece 1: 4 functions, 4 MB, cost 42 MB
split_hot: piece 2: 66 functions, 14 MB, cost 37 MB
split_hot: piece 3: 45 functions, 5 MB, cost 37 MB
split_hot: piece 4: 49 functions, 6 MB, cost 37 MB
split_hot: piece 5: 141 functions, 17 MB, cost 37 MB
split_hot: piece 6: 162 functions, 18 MB, cost 37 MB
split_hot: piece 7: 162 functions, 20 MB, cost 37 MB
split_hot: 1955 of 3137 calls stay in one piece (1955 in one group)
lift and split: 297.4s wall time
@@stage compile Compiling
build: the game is built for this PC's CPU (znver2_znver2_245cab1ce0)
version: v3.0.0-rc.7-342-ga2dc5385 (source 63363428)
build: shared A64 runtime helpers at O2 (RX_A64_RT_O2=0: cold-code level)
build: 57 lifted chunks without -O1's module passes (LONGSHOT_LIGHT_PASSES, functions under 1024 KB): code_000.c code_001.c code_002.c code_002_1.c code_002_2.c code_002_3.c code_002_4.c code_003.c code_004.c code_005.c code_006.c code_007.c code_008.c code_009.c code_010.c code_011.c code_013.c c
object keys: game-code headers 5e2c6c3841, flags 69506ec989, hot flags 523a46e363, lifted code 257eaf2eea (83 files)
the Vulkan back end: Vulkan <data>/tools/longshot/builder/toolchains/dev/usr/share/longshot/cpm/vulkanheaders/v1.4.345, SPIR-V <data>/tools/longshot/builder/toolchains/dev/usr/share/longshot/cpm/spirv-headers/vulkan-sdk-1.4.341.0, VMA <data>/tools/longshot
the Vulkan back end: built with the profile <data>/bases/main/work/longshot_vk.shipped.profdata
@@plan 384 591
@@eta 6441
591 files, 1 jobs, -DLONGSHOT_NATIVE_CPU=znver2_znver2_245cab1ce0 -O1 -DA64_POLLING -DA64_WRITE_TRACK -DA64_MARK_BITMAP
code_hot_0.c 13 MB 181s (182s)
@@progress 0.042
@@file code_hot_0.c 180.6 new
@@eta 6259
code_hot_1.c 4 MB 77s (259s)
@@progress 0.055
@@file code_hot_1.c 77.2 new
@@eta 6183
code_hot_7.c 20 MB 406s (666s)
@@progress 0.117
@@file code_hot_7.c 406.1 new
@@eta 5778
code_hot_5.c 17 MB 299s (966s)
@@progress 0.170
@@file code_hot_5.c 299.4 new
@@eta 5477
code_hot_6.c 18 MB 349s (1316s)
@@progress 0.226
@@file code_hot_6.c 349.4 new
@@eta 5129
code_hot_2.c 14 MB 211s (1527s)
@@progress 0.269
@@file code_hot_2.c 210.6 new
@@eta 4913
code_hot_4.c 6 MB 102s (1629s)
@@progress 0.288
@@file code_hot_4.c 101.7 new
@@eta 4812
code_hot_3.c 5 MB 83s (1712s)
@@progress 0.303
@@file code_hot_3.c 82.7 new
@@eta 4730
code_023.c 6 MB 99s (1812s)
@@progress 0.306
@@file code_023.c 98.8 new
@@eta 4632
code_023_1.c 4 MB 68s (1880s)
@@progress 0.308
@@file code_023_1.c 68.1 new
@@eta 4564
code_022.c 6 MB 128s (2009s)
@@progress 0.311
@@file code_022.c 128.3 new
@@eta 4436
code_020_1.c 4 MB 57s (2066s)
@@progress 0.313
@@file code_020_1.c 56.5 new
@@eta 4380
code_019_2.c 4 MB 49s (2115s)
@@progress 0.315
@@file code_019_2.c 49.2 new
@@eta 4331
code_022_2.c 4 MB 76s (2191s)
@@progress 0.317
@@file code_022_2.c 75.5 new
@@eta 4256
code_020.c 4 MB 48s (2239s)
@@progress 0.319
@@file code_020.c 48.0 new
@@eta 4208
code_044.c 24 MB 83s (2323s)
@@progress 0.330
@@file code_044.c 83.0 new
@@eta 4124
code_010_1.c 12 MB 31s (2354s)
@@progress 0.336
@@file code_010_1.c 31.3 new
@@eta 4093
code_047.c 24 MB 51s (2405s)
@@progress 0.346
@@file code_047.c 50.6 new
@@eta 4042
code_016.c 21 MB 106s (2512s)
@@progress 0.356
@@file code_016.c 105.9 new
@@eta 3936
code_012.c 24 MB 55s (2567s)
@@progress 0.367
@@file code_012.c 54.9 new
@@eta 3881
code_051.c 24 MB 68s (2636s)
@@progress 0.378
@@file code_051.c 68.3 new
@@eta 3813
code_017.c 22 MB 104s (2740s)
@@progress 0.387
@@file code_017.c 103.8 new
@@eta 3709
code_050.c 24 MB 84s (2824s)
@@progress 0.398
@@file code_050.c 83.9 new
@@eta 3625
code_004.c 25 MB 57s (2882s)
@@progress 0.409
@@file code_004.c 57.5 new
@@eta 3567
code_048.c 24 MB 49s (2932s)
@@progress 0.420
@@file code_048.c 49.3 new
@@eta 3518
code_019_1.c 3 MB 41s (2973s)
@@progress 0.422
@@file code_019_1.c 40.7 new
@@eta 3477
code_021.c 3 MB 40s (3013s)
@@progress 0.423
@@file code_021.c 40.5 new
@@eta 3437
code_006.c 24 MB 48s (3062s)
@@progress 0.434
@@file code_006.c 48.0 new
@@eta 3388
code_052.c 24 MB 49s (3111s)
@@progress 0.445
@@file code_052.c 48.8 new
@@eta 3322
code_005.c 25 MB 57s (3168s)
@@progress 0.456
@@file code_005.c 56.9 new
@@eta 3249
code_041.c 24 MB 50s (3218s)
@@progress 0.467
@@file code_041.c 49.8 new
@@eta 3196
code_038.c 24 MB 47s (3266s)
@@progress 0.478
@@file code_038.c 46.9 new
@@eta 3130
code_007.c 26 MB 52s (3318s)
@@progress 0.489
@@file code_007.c 52.1 new
@@eta 3077
code_036.c 24 MB 50s (3369s)
@@progress 0.500
@@file code_036.c 50.2 new
@@eta 3027
code_054.c 24 MB 57s (3426s)
@@progress 0.511
@@file code_054.c 57.0 new
@@eta 2969