Skip to content
Draft
Changes from 1 commit
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
de2d8fd
Add experimental Windows build port (win/)
zenvyzenshiro Oct 25, 2026
17488d6
Check out every file without line-ending conversion
zenvyzenshiro Oct 25, 2026
10abeeb
Windows port: Metal tools 6.x, Xcode 27 SDK extraction, compile check
zenvyzenshiro Oct 25, 2026
6d4dc89
Windows port: first IPA from an NSP, LÖVE shaders without the Mac host
zenvyzenshiro Oct 25, 2026
902d379
love_shaders: keep the shader files' CRLF line ends
zenvyzenshiro Oct 25, 2026
efa1811
Windows builds default to org.nxnativewindows.<title ID>
zenvyzenshiro Oct 25, 2026
2502c35
Default bundle ID org.nxnativewindows.<title ID> in every build path
zenvyzenshiro Oct 25, 2026
be92d14
Add a Windows GUI: pick game files and prod.keys, Build IPA File
zenvyzenshiro Oct 25, 2026
94de003
GUI: modern redesign with the pipeline's defaults only
zenvyzenshiro Oct 25, 2026
7b38793
TUTORIAL: fix a path broken by an escape
zenvyzenshiro Oct 25, 2026
b24a211
Launcher: the SwiftUI Form look, and the four core settings for every…
zenvyzenshiro Oct 25, 2026
21ef3ea
SDK 8.3.1 address-region cuts; heap estimate when no Mac host can run
zenvyzenshiro Oct 25, 2026
61c5260
Find address-region cuts in unregistered sdk builds (Windows driver)
zenvyzenshiro Oct 25, 2026
c2e3d19
README for NXNative for Windows; upstream README kept as README.nxnat…
zenvyzenshiro Oct 25, 2026
562128a
BC textures on GPUs without BC (A16 and older); LF text from the Wind…
zenvyzenshiro Oct 25, 2026
413e8ca
Faster Windows builds and BC decoding
zenvyzenshiro Oct 26, 2026
1647696
Run the game's Oodle / LZ5 decoder in an emulated ARM64 machine on Wi…
zenvyzenshiro Oct 26, 2026
c1be582
Windows: RELR relocations, CommonCrypto AES on CNG, run-time shader c…
zenvyzenshiro Oct 26, 2026
a7f1911
Skip the Mac shader libraries on Windows (half the shader stage)
zenvyzenshiro Oct 26, 2026
a7d0b5c
README: Octopath Traveler 0 and Portal built on Windows
zenvyzenshiro Oct 26, 2026
c18b9f8
Translate returning bounded image atomics; add fork copyright
zenvyzenshiro Oct 26, 2026
0cda450
README: add a legal notice and neutral wording
zenvyzenshiro Oct 26, 2026
0c6f673
Split builds, Octopath Traveler 0 v0 allocator cut, calmer GUI
zenvyzenshiro Oct 26, 2026
f027d21
Merge seedds/nxnative main (46 commits) into NXNative for Windows
zenvyzenshiro Oct 26, 2026
5311aa3
Octopath Traveler 0 v0: t.MaxFPS / rhi.SyncInterval addresses for the…
zenvyzenshiro Oct 26, 2026
28fb14f
Octopath Traveler 0 v0 is version 1.0.1
zenvyzenshiro Oct 26, 2026
4db2dd9
README: the builder window with the Package card
zenvyzenshiro Oct 26, 2026
f278f5f
iOS: a step-by-step screen for a split build's data folder
zenvyzenshiro Oct 26, 2026
38ce083
Shader tools: RomFS paths with '/' on every host
zenvyzenshiro Oct 26, 2026
dfcc7d7
build_app.py: pso_mtl4 defaults to off (derived and most profiles hav…
zenvyzenshiro Oct 26, 2026
d1ac44c
Capture IPA message: name the data folder of a split build
zenvyzenshiro Oct 26, 2026
03f84e2
Tutorial: split builds and Tears of the Kingdom; GLSLC in the emulato…
zenvyzenshiro Oct 26, 2026
e136754
Launcher: memory-light defaults on 6 GB devices
zenvyzenshiro Oct 26, 2026
f06fbdc
Split builds: list once, hard-link on threads, keep an unchanged data…
zenvyzenshiro Oct 26, 2026
fc02efe
iOS: Import ZIP for a split build's data, in the background with a Li…
zenvyzenshiro Oct 26, 2026
131fc87
Launcher: 30 fps default on 6 GB devices for games with a 60 fps patch
zenvyzenshiro Oct 26, 2026
546ebd1
Import ZIP: a ZIP in the app's own folder imports with one tap; sturd…
zenvyzenshiro Oct 26, 2026
0a9ecf4
Texture memory saver and a working performance HUD on iOS
zenvyzenshiro Oct 26, 2026
926f3ef
Launcher: Increased Memory Limit status (On green / Off orange)
zenvyzenshiro Oct 26, 2026
1b7df5f
Sign the app executable ad hoc with the entitlements it needs (Increa…
zenvyzenshiro Oct 26, 2026
7f8747e
Entitlement signature opt-in (--entitlements): the signed app did not…
zenvyzenshiro Oct 26, 2026
c09b9e5
macho_sign: write __LINKEDIT's vmsize and filesize at their own offsets
zenvyzenshiro Oct 26, 2026
f76e5f7
Sign the executable with Increased Memory Limit by default; texture m…
zenvyzenshiro Oct 26, 2026
25dcc63
Launcher: Tile memory optimizations (DM_NVN_TBDR) as an experimental …
zenvyzenshiro Oct 26, 2026
4112b1a
Mods: the emulators' layout (exefs IPS / pchtxt, romfs) from a mods f…
zenvyzenshiro Oct 26, 2026
c3a46b0
Texture memory saver: Automatic (the default) turns it on when under …
zenvyzenshiro Oct 26, 2026
37e60fd
README: games run with NXNative for Windows apart from upstream's tes…
zenvyzenshiro Oct 26, 2026
c318282
GUI: Increased Memory Limit on/off choice in the Package card
zenvyzenshiro Oct 26, 2026
4db15a3
Lighter on 6 GB devices: BC to ASTC 4x4, memory guard, no pipeline pr…
zenvyzenshiro Oct 26, 2026
fcfc0f8
Merge seedds/nxnative main (135 commits)
amansingh909 Oct 27, 2026
5fe14c1
win: build on Linux, and with current upstream
amansingh909 Oct 27, 2026
dbbf5d2
Shader chain lock: upstream's translator with the Windows tools
amansingh909 Oct 28, 2026
7548aba
Docs: building on Linux
amansingh909 Oct 28, 2026
5486de2
gl_shaders.py: keep the source paths with forward slashes on Windows
amansingh909 Oct 28, 2026
d0a4911
Merge pull request #1 from amansingh909/linux-support
zenvyzenshiro Oct 28, 2026
b54e7da
Merge seedds/nxnative main (48 commits)
zenvyzenshiro Oct 28, 2026
8310cb1
Windows: rebuild dmsh_xlate.dll for AnyCPU, update the lock and chain…
zenvyzenshiro Oct 28, 2026
0383905
Merge pull request #2 from zenvyzenshiro/sync-upstream
zenvyzenshiro Oct 28, 2026
18c54ea
Merge seedds/nxnative main (4 commits)
zenvyzenshiro Oct 28, 2026
c2c09a8
Merge pull request #3 from zenvyzenshiro/sync-upstream-2
zenvyzenshiro Oct 28, 2026
269d61f
fix: read RomFS image entries on Windows
seedds Oct 29, 2026
82cc2f3
Merge NXNativeWindows port into latest NXNative
KillingStalking Nov 12, 2026
da7efaf
Add CoreMotion gyro and RomFS image split-build support
KillingStalking Nov 12, 2026
ff2d941
Order motion setting with controller controls
KillingStalking Nov 12, 2026
d20d6fe
Feed phone CoreMotion samples into the live motion history
KillingStalking Nov 12, 2026
2872dbc
Keep motion control with the other controller settings
KillingStalking Nov 12, 2026
5f2f554
Document the CoreMotion Split View frame caveat
KillingStalking Nov 12, 2026
f1f906d
gfx: use shared integer BC1-3 to ASTC transcoder
KillingStalking Nov 12, 2026
a48756c
gfx: transcode BC1-3 to ASTC on the upload GPU path
KillingStalking Nov 12, 2026
18a101c
gfx: zero-fill ASTC-backed BC textures
KillingStalking Nov 12, 2026
e8e257e
gfx: keep BC 3D textures on the uncompressed fallback
KillingStalking Nov 12, 2026
38ac947
gfx: preserve BC6H packing in 3D fallback
KillingStalking Nov 12, 2026
86f3af0
gfx: fix serial 3D BC fallback decoding
KillingStalking Nov 12, 2026
71e4430
docs: describe BC fallback on older Apple GPUs
KillingStalking Nov 12, 2026
074574e
fix(windows-gui): keep build logs visible and make file list scrollable
KillingStalking Nov 12, 2026
a0dc52a
fix(windows-gui): dock logs and bound file list height
KillingStalking Nov 12, 2026
889f363
docs: mark low-memory guard as not yet ported
KillingStalking Nov 12, 2026
4779ace
Document the existing iOS low-memory guard
KillingStalking Nov 12, 2026
f5d6075
Document opt-in tile-based Metal optimizations
KillingStalking Nov 12, 2026
b76f651
Start memory guard as soon as the game launches
KillingStalking Nov 12, 2026
9cc8a9b
Add Compact and Full Apple Metal HUD modes
KillingStalking Nov 12, 2026
1ec4e8f
Configure full Apple Metal HUD metrics before device creation
KillingStalking Nov 12, 2026
83c861e
Add selectable full Apple Metal Performance HUD
KillingStalking Nov 12, 2026
b7a0ba8
Document Compact and Full Metal HUD modes
KillingStalking Nov 12, 2026
b29b57e
Test the Performance HUD mode choices
KillingStalking Nov 12, 2026
4e8c168
Clarify compact and full HUD frontend behavior
KillingStalking Nov 12, 2026
60f3d83
Make tree_tar locking work on Windows
KillingStalking Nov 12, 2026
86d3a77
Fix Windows tree_tar lock byte initialization
KillingStalking Nov 12, 2026
4f9c332
Handle Windows lock contention without swallowing other errors
KillingStalking Nov 12, 2026
3fc6bb8
Make shader cache locking work on Windows
KillingStalking Nov 12, 2026
46fd0ae
Make stop signal handling portable to Windows
KillingStalking Nov 12, 2026
5655fd9
Add Windows subprocess tree supervision
KillingStalking Nov 12, 2026
b38a1bb
Test Windows subprocess group supervision
KillingStalking Nov 12, 2026
367637a
Expose host tools to Windows tests
KillingStalking Nov 12, 2026
ee88cbe
Sync Windows host sources with Makefile
KillingStalking Nov 12, 2026
3b6163e
Make BC software decoder test freestanding on Windows
KillingStalking Nov 12, 2026
6167f81
Simplify freestanding BC test runtime shim
KillingStalking Nov 12, 2026
3dcb1c8
Build nx_extract as a Windows executable
KillingStalking Nov 12, 2026
8baf6b7
Disable lingering MSBuild servers for Windows nx_extract
KillingStalking Nov 12, 2026
988bfb5
Run NSO scans sequentially on Windows
KillingStalking Nov 12, 2026
3b6ab2d
Support Windows-built shader translator in tool checks
KillingStalking Nov 12, 2026
17b24a7
Run Windows shader translator through dotnet DLL
KillingStalking Nov 12, 2026
3d76582
Build shader translator for Windows
KillingStalking Nov 12, 2026
29b7d3b
Use the configured Windows translator for lock checks
KillingStalking Nov 12, 2026
88f60d8
Resolve the Windows shader translator in every child Python
KillingStalking Nov 12, 2026
8fd35b3
Keep Windows translator source validation against the current tree
KillingStalking Nov 12, 2026
ba56a18
Write shader keys into split package records
KillingStalking Nov 12, 2026
6ca8fb4
Fix shader package reads on Windows without os.pread
KillingStalking Nov 12, 2026
12ac873
Use shader finishing threads on Windows without fork
KillingStalking Nov 12, 2026
4c3dd46
Report malformed shader records and fix Windows exception handling
KillingStalking Nov 12, 2026
95764bc
Fix shader package record indexing by declared lengths
KillingStalking Nov 12, 2026
81bb93a
Read complete shader records on Windows
KillingStalking Nov 12, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Write shader keys into split package records
  • Loading branch information
KillingStalking committed Nov 12, 2026
commit ba56a183fd69254b6fc00a06bf1d8de99cc9d15b
2 changes: 1 addition & 1 deletion dm/gfx/tools/shader_split.py
Original file line number Diff line number Diff line change
Expand Up @@ -2347,7 +2347,7 @@ def main():
for key in sorted(keys, key=lambda k: (group(keys[k][0]), keys[k][0], k)): # the same input gives byte-identical output
where, st, ctl, code = keys[key]
name = f'{st}_{group(where)}.bin'
rec = bytearray(b'BTCDBTCD' + bytes(0x30)); struct.pack_into('<2I', rec, 0x28, len(ctl), len(code)); rec += code + ctl
rec = bytearray(b'BTCDBTCD' + bytes(0x30)); rec[8:16] = bytes.fromhex(key); struct.pack_into('<2I', rec, 0x28, len(ctl), len(code)); rec += code + ctl
if rec.find(CTL_MAGIC) != 0x38 + len(code): red(f'key {key}: the control magic appears in the code area, dmsh_build would split the record wrongly')
if rec.count(b'BTCDBTCD') != 1: red(f'key {key}: the record separator appears inside the record')
rows.append((name, len(recs[name]), STAGE_NAME[st], key, where)); recs[name].append(bytes(rec)); stat[st] += 1
Expand Down