شعار Ue Packaging And Deployment

Ue Packaging And Deployment

المجتمع
kevinpbuckley
ue-packaging-and-deployment

Cook, package, and ship an Unreal project — the cook process (by-the-book vs on-the-fly, cook rules, always/never cook directories, shader sharing), build configurations (Debug/DebugGame/Development/Test/Shipping) and build targets (Game/Client/Server/Editor) declared in *.Target.cs files, UAT BuildCookRun command-line pipeline, pak files and the modern IoStore (.utoc/.ucas) container format, asset chunking and Primary Asset Rules for DLC/patching, ProjectPackagingSettings (bUseIoStore, bGenerateChunks, bCompressed, DirectoriesToAlwaysCook/NeverCook), platform targets, content-on-demand / IoStore On-Demand, and shipping-vs-development behavioral differences (WITH_EDITOR, stripped checks/logs). Use when producing a runnable build, automating cook/package in CI, diagnosing packaging failures, configuring what ships, or setting up chunked DLC delivery.

نظرة عامة

الناشرkevinpbuckley
المستودعunreal-engine-skills
اسم المهارةue-packaging-and-deployment
النجوم
89
التفريعات
9
الملفات المرفقة
4
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 4

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها kevinpbuckley على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Ue Packaging And Deployment في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/kevinpbuckley/unreal-engine-skills/tree/master/skills/core/ue-packaging-and-deployment
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/kevinpbuckley/unreal-engine-skills.git /tmp/unreal-engine-skills
mkdir -p .claude/skills
cp -r /tmp/unreal-engine-skills/skills/core/ue-packaging-and-deployment .claude/skills/ue-packaging-and-deployment
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Ue Packaging And Deployment في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Ue Packaging And Deployment تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Ue Packaging And Deployment بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Packaging & deployment

Shipping an Unreal project involves three distinct stages that run in sequence: build (compile the game executable), cook (convert assets to the target platform's runtime format), and package (assemble the cooked assets and executable into a distributable build, typically inside pak/IoStore containers). Each stage can fail independently; diagnosing a failure means identifying which stage it belongs to.

When to use this skill

  • Producing a runnable build for a platform (automated CI or manual).
  • Diagnosing a cook or package failure, or a build that works in PIE but breaks packaged.
  • Configuring what content ships: always-cook directories, never-cook exclusions, shader sharing.
  • Setting up pak chunking for streaming installs, patching, or DLC.
  • Choosing the right build configuration and target for a given deployment scenario.

Build configurations and targets

Target types — defined by *.Target.cs files, one per target:

TargetProducesUse for
GameCooked, monolithic game executableShipping, QA, end-user builds
EditorModular editor + DLL setDevelopment only; never packaged for end users
ClientGame executable, no server codeClient-only in a client/server split
ServerHeadless game server, no client renderingDedicated server for multiplayer
ProgramStandalone program (e.g. ShaderCompileWorker)Engine tooling

Source: TargetType enum — Engine/Source/Programs/UnrealBuildTool/Configuration/Rules/TargetRules.cs:21.

Build configurations — controls optimization and what debugging/logging facilities are compiled in:

ConfigurationOptimized?check/ensure?Logging?Use for
DebugNoYesFullFull engine+game debug (slow)
DebugGameEngine yes, game noYesFullDebug game modules only
DevelopmentYesYesFullDaily iteration; editor default
TestYesSomeSomePerformance test; shipping-like
ShippingMaxNoMinimalRelease builds

Source: UnrealTargetConfiguration enum — Engine/Source/Programs/UnrealBuildTool/Configuration/UEBuildTarget.cs:1147.

The packaging UI (EProjectPackagingBuildConfigurations) mirrors these five values as PPBC_Debug … PPBC_Shipping — see ProjectPackagingSettings.h:18.

Key rule: always test the Shipping (or Test) configuration before release. check() macros, most UE_LOG calls, and the console are stripped or limited in Shipping — never put logic inside a check or rely on console state in packaged builds. See ue-logging-and-assertions.

The cook process

Cooking converts editor assets (.uasset, textures, audio) into the target platform's runtime format. The cooker is invoked as a special commandlet mode of UnrealEditor-cmd.

What gets cooked: assets reachable via hard or soft references from the startup map and any "always cook" directories/entries. Unreferenced content is not cooked. This is why a purely string-loaded asset (soft path with no reference) silently disappears unless you declare it via the Asset Manager or DirectoriesToAlwaysCook.

Cook modes:

  • By-the-book (CBTB): entire cook runs up front; produces the full set of cooked packages before packaging. Required for final/CI builds.
  • Cook on the fly (COTF): a cook server on the host machine serves packages on demand as a connected device requests them. Faster iteration, but not suitable for final builds.

Cook rules (per primary asset, set via Asset Manager or DefaultGame.ini):

  • AlwaysCook — include regardless of reference.
  • NeverCook — exclude even if referenced (e.g. editor-only test assets).
  • Unknown — follow reference graph (default).

Shader code can be shared across materials via bShareMaterialShaderCode in UProjectPackagingSettings — reduces duplication at a small load-time cost.

UAT BuildCookRun — the canonical pipeline

The Unreal Automation Tool (RunUAT.bat / RunUAT.sh) orchestrates the full pipeline via its BuildCookRun command:

Engine/Build/BatchFiles/RunUAT.bat BuildCookRun \
  -project=D:/MyGame/MyGame.uproject \
  -noP4 \
  -platform=Win64 \
  -clientconfig=Shipping \
  -build \
  -cook \
  -allmaps \
  -stage \
  -pak \
  -archive \
  -archivedirectory=D:/Builds/MyGame_Shipping

Each flag maps to a stage: -build compiles the target, -cook runs the cooker, -stage copies to a staging directory, -pak wraps cooked content into .pak/IoStore containers, -archive copies the final build to the output path. Omit any stage to skip it (e.g. skip -build when the executable is already built by a separate CI step).

Add -iostore to enable IoStore container output (.utoc/.ucas) instead of classic .pak-only output. This matches enabling bUseIoStore in Project Settings.

UAT script path (C#): Engine/Source/Programs/AutomationTool/Scripts/BuildCookRun.Automation.cs.

Full BuildCookRun flag reference: references/buildcookrun-and-uat.md.

Pak files and the IoStore container format

After cooking, content is packaged into containers for distribution:

  • Classic pak (.pak): a simple archive format; a single monolithic file or one per chunk. Still fully supported; adequate for many projects.
  • IoStore (.utoc + .ucas): the modern default. .utoc is the table of contents; .ucas holds the bulk payload. Offers faster I/O via the IoDispatcher because packages are addressed by hash ID rather than path. Enabled via bUseIoStore = true in Project Settings (or -iostore flag to UAT).

Both formats support compression (bCompressed, PackageCompressionFormat) and encryption (configured via the crypto key system, not the deprecated ini flags).

Chunking splits content across multiple pak/IoStore containers for streaming installs, DLC, or patching. Each chunk maps to a numbered .pak / .ucas file (e.g. pakchunk1-Windows.pak). Chunk 0 is the base install; chunks 1+ are downloaded separately. Configure via bGenerateChunks = true and Primary Asset Rules.

Details: references/pak-iostore-and-chunking.md.

ProjectPackagingSettings — what ships

UProjectPackagingSettings (UCLASS(config=Game, defaultconfig)) persists to Config/DefaultGame.ini under section [/Script/UnrealEd.ProjectPackagingSettings]. Key properties (verified in Engine/Source/Developer/DeveloperToolSettings/Classes/Settings/ProjectPackagingSettings.h):

PropertyEffect
BuildConfiguration (PPBC_*)Which configuration to build
bUseIoStoreUse .utoc/.ucas IoStore containers
bUseZenStoreUse Zen Server as cooked data store (requires bUseIoStore)
bGenerateChunksSplit content into numbered chunks
bGenerateNoChunksOverride all platforms to disable chunking
bChunkHardReferencesOnlyOnly hard-reference dependencies follow their chunk
bCompressedCompress cooked packages
PackageCompressionFormatComma-separated list (e.g. Oodle)
bShareMaterialShaderCodeDeduplicate shader bytecode across materials
DirectoriesToAlwaysCookForce-cook these content paths regardless of references
DirectoriesToNeverCookExclude these paths even if referenced
MapsToCookExplicit map list when not using -allmaps
bCookAllCook every asset in the content directory
bSkipEditorContentExclude /Game/Editor* folders from the cook

Access in code: GetDefault<UProjectPackagingSettings>() (editor only).

Platforms, Device Profiles, and scalability

Each platform target (Win64, Android, iOS, console) requires its SDK and platform files. Platform-specific packaging overrides live in Config/[Platform]/[Platform]Game.ini.

Device Profiles (DeviceProfiles.ini) set per-platform CVars and scalability groups — the correct way to vary rendering quality per platform. Never hardcode r.* CVars in C++ or Blueprint; use Device Profiles so the cooker and runtime can select them correctly.

A Client/Server split (Game + Server targets built separately) is the standard multiplayer packaging pattern; the server binary runs headless and ships without rendering modules. See ue-networking-and-replication.

Content-on-demand / IoStore On-Demand

The IoStore On-Demand system (Runtime/Experimental/IoStore/OnDemand/) allows a shipped game to fetch content from a CDN at runtime rather than requiring it to be installed upfront. The IOnDemandIoStore interface (IoStoreOnDemand.h) manages requests with statuses Pending / Ok / Cancelled / Error. This is the foundation for streaming installs, live-service content drops, and large-world on-demand streaming beyond what the base chunk system handles.

Shipping vs. development (mind the gap)

BehaviorDevelopmentShipping
check() / ensure()Fire, assertCompiled out (DO_CHECK=0)
UE_LOG(...)All categoriesMost stripped; use sparingly
Console commandsAvailableRemoved
WITH_EDITOR codeIncludedExcluded
Editor modulesLoadedNot present

Always smoke-test a packaged Shipping build before release — PIE and Development builds mask many of these gaps. Guard editor-only code with #if WITH_EDITOR so it compiles out of runtime targets. See ue-logging-and-assertions for verify vs check.

Gotchas

  • Editor-only API in runtime code — cook/link errors; gate with #if WITH_EDITOR.
  • Content not reachable — not cooked → missing at runtime. Hard-ref or add to DirectoriesToAlwaysCook. Use the Asset Audit window to inspect chunk assignments.
  • Works in PIE, broken packaged — typically editor-only deps, uncooked assets, or absolute file paths.
  • check/ensure/UE_LOG used for logic — silently does nothing in Shipping; never put required side-effects inside them.
  • Hardcoded r.* CVars — bypass Device Profiles and platform-specific scalability.
  • Forgot -iostore flag with IoStore settings — UAT and Project Settings must agree.
  • bUseZenStore without bUseIoStore — Zen Store is a no-op unless IoStore is enabled.
  • Wrong target cooked — cooking the Editor target instead of Game produces an unrunnable result; confirm the BuildTarget in ProjectPackagingSettings.
  • Cook time blowup — enable iterative cooking (-iterate flag to UAT) during iteration; disable for final CI builds to guarantee a clean output.

Version notes

  • IoStore as modern default: bUseIoStore defaults to true for new projects as of UE5. Classic .pak-only builds still work. Console platforms often require IoStore.
  • Zen Store (bUseZenStore): introduced in UE5, off by default, used by some large first-party titles to centralize cooked data.
  • Blueprint nativization is deprecated (removed in UE5, UE_DEPRECATED(5.0, ...)); do not rely on it.

References & source material

Engine source (UE 5.8):

  • UProjectPackagingSettings (properties, enums, cook rules) — Engine/Source/Developer/DeveloperToolSettings/Classes/Settings/ProjectPackagingSettings.h:179. EProjectPackagingBuildConfigurations:18, EAssetRegistryWritebackMethod:106, bUseIoStore:250, bGenerateChunks:265, bCompressed:323, DirectoriesToAlwaysCook:568.
  • TargetType enum — Engine/Source/Programs/UnrealBuildTool/Configuration/Rules/TargetRules.cs:21.
  • UnrealTargetConfiguration enum (Debug…Shipping) — Engine/Source/Programs/UnrealBuildTool/Configuration/UEBuildTarget.cs:1147.
  • BuildCookRun UAT command class — Engine/Source/Programs/AutomationTool/Scripts/BuildCookRun.Automation.cs:24.
  • IoStore container format (EIoStoreTocVersion, FIoStoreTocHeader) — Engine/Source/Runtime/Core/Internal/IO/IoStore.h:25.
  • IoStore On-Demand (IOnDemandIoStore:647, FOnDemandRequest:46) — Engine/Source/Runtime/Experimental/IoStore/OnDemandCore/Public/IO/IoStoreOnDemand.h.
  • WITH_EDITOR, WITH_EDITORONLY_DATA preprocessor guards — Engine/Source/Runtime/Core/Public/Misc/Build.h:66.

Official docs (UE 5.8, all fetched and confirmed live):

Deep-dive references in this skill:

Related skills: ue-module-and-build-system, ue-asset-management, ue-logging-and-assertions, ue-networking-and-replication, ue-project-structure.

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Ue Packaging And Deployment؟

Cook, package, and ship an Unreal project — the cook process (by-the-book vs on-the-fly, cook rules, always/never cook directories, shader sharing), build configurations (Debug/DebugGame/Development/Test/Shipping) and build targets (Game/Client/Server/Editor) declared in *.Target.cs files, UAT BuildCookRun command-line pipeline, pak files and the modern IoStore (.utoc/.ucas) container format, asset chunking and Primary Asset Rules for DLC/patching, ProjectPackagingSettings (bUseIoStore, bGenerateChunks, bCompressed, DirectoriesToAlwaysCook/NeverCook), platform targets, content-on-demand / I...

لماذا تستخدم Ue Packaging And Deployment على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Ue Packaging And Deployment عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Ue Packaging And Deployment في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/kevinpbuckley/unreal-engine-skills/tree/master/skills/core/ue-packaging-and-deployment. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Ue Packaging And Deployment؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Ue Packaging And Deployment؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Ue Packaging And Deployment معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Ue Packaging And Deployment مجانية؟

نشرها kevinpbuckley على GitHub. راجع المستودع للاطلاع على شروط الترخيص. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇