[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-114701":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":14,"contributorsCount":13,"subscribersCount":13,"size":13,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":13,"forks30d":13,"starsTrendScore":18,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":23,"topics":24,"createdAt":10,"pushedAt":30,"updatedAt":31,"readmeContent":32,"aiSummary":33,"trendingCount":13,"starSnapshotCount":13,"syncStatus":15,"lastSyncTime":34,"discoverSource":35},114701,"nup-extractor","SPIN0ZAi\u002Fnup-extractor","SPIN0ZAi","A modern, high-performance native desktop GUI for inspecting, exploring, verifying, packing, and extracting Nintendo Switch 1 & 2 clean-room (.nup) container archives.","https:\u002F\u002Fspin0zai.github.io\u002Fnup-extractor\u002F",null,"C#",75,0,1,2,14,18,8,52.8,"MIT License",false,"main",true,[25,26,27,28,29],"extractor","nintendo-switch-homebrew","nup","switch-2","switch2","2026-11-16 17:12:12","2026-11-23 05:43:43","# NUP Extractor\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"app_icon.ico\" alt=\"NUP Extractor Logo\" width=\"96\" height=\"96\">\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Cstrong>A high-performance native desktop tool for inspecting, browsing, verifying, and extracting Nintendo Switch 1 & 2 clean-room \u003Ccode>.nup\u003C\u002Fcode> container archives.\u003C\u002Fstrong>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  🌐 \u003Cstrong>Official Showcase &amp; Live Web Page:\u003C\u002Fstrong> \u003Ca href=\"https:\u002F\u002Fspin0zai.github.io\u002Fnup-extractor\u002F\">\u003Cstrong>spin0zai.github.io\u002Fnup-extractor\u003C\u002Fstrong>\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fspin0zai.github.io\u002Fnup-extractor\u002F\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FWebsite-spin0zai.github.io%2Fnup--extractor-ff2a44?style=for-the-badge&logo=googlechrome&logoColor=white\" alt=\"Live Website\">\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FSPIN0ZAi\u002Fnup-extractor\u002Freleases\u002Flatest\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FRelease-Latest-00d4ff.svg?style=flat-square\" alt=\"Release\">\u003C\u002Fa>\n  \u003Ca href=\"LICENSE\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-MIT-green.svg?style=flat-square\" alt=\"License\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fdotnet.microsoft.com\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F.NET-10.0-purple.svg?style=flat-square\" alt=\".NET 10\">\u003C\u002Fa>\n  \u003Ca href=\"#\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FPlatform-Windows%20x64-0078D6.svg?style=flat-square\" alt=\"Platform\">\u003C\u002Fa>\n  \u003Ca href=\"#\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FTests-19%20Passing-success.svg?style=flat-square\" alt=\"Tests\">\u003C\u002Fa>\n\u003C\u002Fp>\n\n---\n\n## 📸 Screenshots\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"pictures\u002Fextractor-main-UI.png\" alt=\"NUP Extractor Main UI\" width=\"95%\">\n  \u003Cbr>\n  \u003Cem>Container Workspace — Embedded game artwork, metadata, Title\u002FBuild IDs, multi-package tabs, interactive file tree, and extraction controls.\u003C\u002Fem>\n\u003C\u002Fp>\n\n\u003Cbr>\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"pictures\u002Fmain-UI.png\" alt=\"Welcome Dropzone\" width=\"48%\">\n  &nbsp;&nbsp;\n  \u003Cimg src=\"pictures\u002Fextractor-progress-UI.png\" alt=\"Extraction Progress\" width=\"48%\">\n\u003C\u002Fp>\n\u003Cp align=\"center\">\n  \u003Cem>Left: Initial welcome dropzone screen &bull; Right: High-speed extraction modal with live progress & activity log.\u003C\u002Fem>\n\u003C\u002Fp>\n\n---\n\n## ⚡ Overview\n\n**NUP Extractor** is a standalone 64-bit Windows GUI utility built to handle **NX Package (`.nup`)** containers—a modern clean-room specification designed by [a55uka](https:\u002F\u002Fgithub.com\u002Fa55uka\u002Fnup) for archiving unencrypted Nintendo Switch (1 and 2) game dumps.\n\nRather than relying on console scripts or heavy web runtimes, NUP Extractor is engineered as a **pure native Windows application (`WinExe`)** featuring:\n- **Zero Command Prompt Window**: Launches directly into a sleek, hardware-accelerated desktop window.\n- **Zero UI Freezing (\"Not Responding\")**: Employs 64-bit memory-mapped file I\u002FO (`MemoryMappedFile`) and asynchronous background workers (`Task.Run`), ensuring the UI stays completely fluid at 60+ FPS even when extracting 30GB game dumps.\n- **SIMD-Accelerated Streaming Decompression**: High-throughput Zstandard (`ZstdSharp`) pipeline with 128KB buffered writes.\n- **In-Memory IPC (No Localhost \u002F Sockets)**: Zero network ports, zero socket binding, and no Windows Firewall alerts.\n\n---\n\n## ✨ Features\n\n- **🎨 Modern Switch Glassmorphic UI**: High-contrast obsidian theme with iconic Nintendo Joy-Con neon red and cyan accents, collapsible folder tree, and animated progress gauges.\n- **🖼️ Rich Embedded Metadata**: Displays game icons (PNG\u002FJPEG), Title Name, Publisher, Display Version, Title ID, and Build ID (NSO ModuleId) with 1-click clipboard copy buttons.\n- **📦 Multi-Package Support**: Inspects all packages bundled inside the container:\n  - **Base Game** (`base\u002F`)\n  - **Updates & Patches** (`updates\u002F\u003Cversion>\u002F`)\n  - **DLC & Add-ons** (`dlc\u002F\u003Ctitle_id>\u002F\u003Cindex>\u002F`)\n- **📂 Interactive File Explorer**:\n  - Live directory tree navigation with file counters and size badges.\n  - Per-file compression codec badges (**RAW** vs **Zstd**) and compression ratio stats.\n  - Sub-millisecond instant search across thousands of files.\n- **⚡ Flexible Extraction Engine**:\n  - **Full Game Dump**: Reconstructs the complete game directory hierarchy.\n  - **Package Mode**: Extracts only the selected package tab.\n  - **Subtree Mode**: Extracts specific folders (e.g. only `romfs\u002F` or `exefs\u002F`).\n  - Native Windows File Explorer folder pickers with auto-open upon completion.\n- **🛡️ Integrity Verification**:\n  - Validates Superblock structure and Table of Contents (TOC) SHA-256 hash.\n  - Deep-verifies individual SHA-256 checksums across every file extent.\n- **🔄 In-Place Auto-Updater**:\n  - Automatic background checks on startup or on-demand via the **Updates** button.\n  - User controls: **Update Now**, **Remind Me Later**, or **Skip This Version**.\n  - High-speed streaming download with live MB\u002Fs progress telemetry.\n  - Seamless in-place replacement and automatic restart without leaving behind temporary files or modifying install directories.\n\n---\n\n## 🚀 Download & Installation\n\n### Option 1: Direct Download (Recommended)\nDownload the latest pre-compiled standalone executable from the [Releases](https:\u002F\u002Fgithub.com) page:\n\n1. Download **`NUP_Extractor-v1.0.0-windows-x64.zip`**.\n2. Extract the ZIP anywhere (e.g. Desktop).\n3. Double-click **`NUP_Extractor.exe`** to run.\n\n*(No .NET SDK or Python installation required—everything is self-contained!)*\n\n---\n\n## 🛠️ Building from Source\n\n### Prerequisites\n- Windows 10 \u002F 11 (64-bit)\n- [.NET 10 SDK](https:\u002F\u002Fdotnet.microsoft.com\u002Fdownload)\n\n### 1. Clone the Repository\n```powershell\ngit clone https:\u002F\u002Fgithub.com\u002F\u003Cyour-username>\u002Fnup-extractor.git\ncd nup-extractor\n```\n\n### 2. Run Automated Tests\n```powershell\ndotnet test NupExtractor.slnx\n```\n\n### 3. Build & Publish Standalone Executable\nYou can run the one-click build script:\n```powershell\n.\\build_native.bat\n```\n\nOr run the .NET CLI command:\n```powershell\ndotnet publish src_native\u002FNupExtractorApp.csproj `\n  -c Release `\n  -r win-x64 `\n  --self-contained `\n  -p:PublishSingleFile=true `\n  -p:IncludeNativeLibrariesForSelfExtract=true `\n  -p:EnableCompressionInSingleFile=true `\n  -o dist_native\n```\n\nThe resulting `NUP_Extractor.exe` will be generated in `dist_native\u002F` (or the project root).\n\n---\n\n## 🧪 Automated Test Suite\n\nThe solution includes an extensive **xUnit** automated regression test suite (`tests_native\u002F`):\n\n| Test Case | Scope |\n| :--- | :--- |\n| `Test_Superblock_Parsing_ValidContainer` | Verifies Superblock fields, versioning, and file size alignment |\n| `Test_Superblock_Validation_RejectsBadMagic` | Enforces fail-closed validation on invalid\u002Fcorrupted magic bytes |\n| `Test_TOC_Parsing_PackagesAndNodes` | Validates package table, directory indices, and file nodes |\n| `Test_Metadata_Extraction` | Verifies Title Name, Publisher, Version, Build ID, and Icon extraction |\n| `Test_Inspect_ReturnsCompleteContract` | Validates full DTO contract structure for frontend consumption |\n| `Test_Tree_Children_Resolution` | Tests lazy-loaded folder hierarchy traversal |\n| `Test_File_Search` | Validates sub-millisecond file search engine |\n| `Test_Decompression_RawAndZstd` | Verifies SHA-256 checksum matches on RAW and Zstd decompressed extents |\n| `Test_Full_Extraction_AllPackages` | End-to-end multi-package extraction and directory reconstruction |\n| `Test_Package_Mode_Extraction` | Validates isolated single package extraction |\n| `Test_Subtree_Mode_Extraction` | Validates subtree directory extraction |\n| `Test_Integrity_Verification` | Validates Fast TOC and Deep SHA-256 verification modes |\n| `Test_Serialization_Contract_ProducesCamelCase` | Enforces camelCase JSON contract between C# backend and UI |\n| `Test_Extraction_ThrowsOnEmptyPath` | Validates defensive argument checking |\n| `Test_GetDirChildren_OutOfBoundsThrows` | Validates boundary verification on directory indices |\n\n---\n\n## 👥 Engineering & Contributing\n\nTo maintain high engineering standards, all development follows a Kanban board and Git Flow:\n- **Git Flow Guide**: See [docs\u002FWORKFLOW.md](docs\u002FWORKFLOW.md) for branch naming, PR checklist, and release cycles.\n- **Kanban Board**: Tasks and bugs are tracked via [GitHub Projects](https:\u002F\u002Fgithub.com\u002FSPIN0ZAi\u002Fnup-extractor\u002Fprojects).\n- **Automated CI**: Pull Requests targeting the `develop` branch are automatically built, packaged, and verified across all 19 unit tests before merging.\n\n---\n\n## 🏛️ Architecture\n\n```\nnup-extractor\u002F\n├── src_native\u002F                    # C# .NET 10 Native Application\n│   ├── NupFormat.cs               # Binary layout, records, and constants\n│   ├── NupReader.cs               # 64-bit MemoryMappedFile reader & stream decompressor\n│   ├── NupEngine.cs               # Core extraction, search, inspection, and verification engine\n│   ├── MainWindow.xaml            # Native WPF Window hosting WebView2\n│   └── MainWindow.xaml.cs         # Direct in-process IPC message dispatcher\n├── tests_native\u002F                  # xUnit automated test suite (15 tests)\n│   └── NupTests.cs                # Test specifications & test cases\n├── static\u002F                        # Embedded UI Assets (HTML5, CSS3, JS)\n│   ├── index.html                 # Joy-Con themed responsive UI layout\n│   ├── styles.css                 # Glassmorphic dark styling & animations\n│   └── app.js                     # IPC event handling & reactive UI controller\n├── pictures\u002F                      # Screenshots showcase\n│   ├── main-UI.png                # Dropzone welcome screen\n│   ├── extractor-main-UI.png      # Workspace with loaded game container\n│   └── extractor-progress-UI.png  # Live extraction modal with progress log\n├── docs\u002F                          # Format specifications\n│   └── SPEC.md                    # Official NUP container format specification\n├── .github\u002Fworkflows\u002F             # GitHub Actions CI\u002FCD\n│   └── build-and-release.yml      # Automated testing, building, and GitHub release pipeline\n├── release\u002F                       # Pre-packaged release bundles\n│   ├── NUP_Extractor-v1.0.0-windows-x64.zip\n│   └── SHA256SUMS.txt\n├── build_native.bat               # 1-Click CI Build & Test script\n├── NupExtractor.slnx              # Modern .NET solution file\n├── LICENSE                        # MIT License\n└── README.md                      # Project documentation\n```\n\n---\n\n## 📄 License & Legal Notice\n\n- **Software License**: Distributed under the [MIT License](LICENSE).\n- **Format Specification**: NUP format specification by [a55uka](https:\u002F\u002Fgithub.com\u002Fa55uka\u002Fnup) (MIT License).\n- **Disclaimer**: This is a clean-room interoperability archive extraction tool. It does **not** contain cryptographic keys (`prod.keys`), proprietary Nintendo code, or copyrighted game files. All game dumps must be legally acquired and unencrypted before use.\n","NUP Extractor 是一款面向 Nintendo Switch（含 Switch 1 和 Switch 2）游戏存档分析与处理的原生 Windows 桌面 GUI 工具，专用于 inspecting、browsing、verifying、packing 和 extracting 清洁室规范的 .nup 容器文件。其核心功能包括内存映射式大文件 I\u002FO、SIMD 加速的 Zstandard 流式解压、无命令行窗口的纯 WinExe 架构，以及支持多包标签、嵌入式资源预览和实时进度日志的响应式界面。适用于 Switch 主机游戏备份验证、ROM 管理、Homebrew 开发调试及本地化资源提取等离线桌面场景。","2026-11-24 04:49:27","CREATED_QUERY"]