package-carla-ue58
ما الذي تفعله
تُعدّ هذه المهارة وتجمّع خادم CARLA المبني على Unreal Engine 5.8 في ملف تستطيع شحنه أو تشغيله في مكان آخر. وهي مخصصة لمن يحتاج إلى حزمة خادم جاهزة بدلًا من بناء تطوير.
متى تستخدمها
- ✓عندما تحتاج إلى حزمة خادم CARLA قابلة للشحن لـUnreal Engine 5.8.
- ✓عندما تريد حصر الخرائط المضمّنة في الحزمة لتوفير المساحة أو الوقت.
- ✓عندما ينجح بناء الحزمة لكنك تحتاج إلى التأكد من أنها تعمل فعليًا أثناء التشغيل.
رابط المهارة
https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/ue58/package-carla-ue58/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“هل يمكنك تجميع خادم CARLA لـUnreal 5.8 مع خرائط مختارة فقط، والتحقق من أن الحزمة تعمل فعلًا؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يحدد الوكيل الخرائط المضمّنة، ويشغّل بناء الحزمة، ثم يفحص النتيجة بحثًا عن الأعطال الشائعة المخفية. فنجاح البناء وحده لا يثبت أن الحزمة تعمل، ولذلك الفحص مهم.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Package CARLA on UE 5.8
Paths.
scripts/…andreferences/…below are relative to the directory holding this SKILL.md. Your working directory is the user's project, not that directory, so prefix them with its absolute path or the command is not found.
cmake --build Build/Release --target package # = package-shipping
That is the whole command. Everything hard about packaging here is in the two things around it:
- The cook scope is a configure-time option, not a build argument.
-DCARLA_MAPS_TO_COOK=is baked into the CMake cache, so changing which maps ship means re-configuring — and re-specifying every other option at the same time. BUILD SUCCESSFULdoes not mean the package is usable. Four separate defects produce a package that builds clean and then fails at runtime. All four are detectable after the fact, which is what this skill'sinspectmode is for.
Instructions
Progress:
- [ ] Step 1: Check prerequisites (bash scripts/check_env.sh)
- [ ] Step 2: Decide the cook scope and re-configure for it
- [ ] Step 3: Package (1-2 h)
- [ ] Step 3b (optional): AdditionalMaps pack for the towns not cooked
- [ ] Step 4: Inspect the artifact — do NOT trust the exit code
- [ ] Step 5: Run it (run-carla-ue58-server)
Step 2: Cook scope
source scripts/env.sh
bash scripts/package.sh scope # what is configured right now
ROS2=1 MAPS="Town10HD_Opt,Town12,Town13,Town_C" \
bash ../build-carla-ue58/scripts/build.sh configure
Package paths, +-separated. Small maps are /Game/Carla/Maps/<Town>; large
World Partition maps are /Game/Carla/Maps/<Town>/<Town>.
Exclude Town15. Its one-file-per-actor packages each carry a serialized
reference to a MaterialInstanceDynamic that lives in the map package — MIDs are
transient and never saved, so the import can never resolve. 573 unique
LoadErrors, and the cook fails on the error count:
Failure - 573 error(s) → AutomationTool exiting with ExitCode=25. It has never
cooked on Linux or Windows. This is a content defect, not a configuration mistake.
Leaving CARLA_MAPS_TO_COOK empty does not cook everything — bCookAll=False,
so UAT falls back to DefaultGame.ini's five MapsToCook entries:
Town10HD_Opt, OpenDriveMap, TestMaps/EmptyMap, Mine_01, Town15/Town15.
Town15 is in that list, so the out-of-the-box package build fails. An explicit
scope is effectively mandatory. check_env.sh warns on both cases.
Keep OpenDriveMap in the scope unless you know you do not need it: it is the
host level for client.generate_opendrive_world(). Measured — with it excluded,
that call fails with a bare std::exception while the same call against -game
mode succeeds in 7.3 s.
Step 3: Package
bash scripts/package.sh build # shipping (default)
CONFIG=development bash scripts/package.sh build # package-development
or directly:
cmake --build Build/Release --target package # shipping
cmake --build Build/Release --target package-development
cmake --build Build/Release --target package-debug
cmake --build Build/Release --target package-test
cmake --build Build/Release --target package-debuggame
Under the hood this is UAT BuildCookRun with -pak -iostore, so the output is
an IoStore container (.ucas + .utoc) plus a .pak, not a loose file tree.
Expect 1–2 h and ~12 GB.
Delete Build/<preset>/Package/ first if you care what ends up inside. The
archive step copies over a previous archive without deleting
(Unreal/Package/RemoveUnrealPackageExtraFiles.cmake says so), so a package can
carry files from builds long past. Measured: a pre-existing package contained
Carla/Maps/Town12/OpenDrive/Town12.xodr that a clean build does not produce.
Stop any running packaged server first. It holds the pak files open; UAT then
fails to replace the .ucas, retries, and can still exit BUILD SUCCESSFUL with
a fresh .pak/.utoc beside a stale .ucas — internally inconsistent,
because the .utoc indexes the .ucas by byte offset. POSIX unlink semantics
make this less likely on Linux than on Windows, but the check costs nothing.
Step 3b: AdditionalMaps pack (optional)
The towns outside the cook scope ship as one content pack, AdditionalMaps,
cooked as DLC against this package's base release — so build it right after
Step 3, from the same tree, and ship it wit
الأسئلة الشائعة
هل أحتاج إلى إعادة ضبط البناء لتغيير الخرائط؟
نعم. تُحدَّد قائمة الخرائط أثناء الإعداد، فتغييرها يعني إعادة ضبط البناء.
لماذا لا أثق بالبناء الناجح؟
بعض المشكلات، مثل الملفات غير المتطابقة أو بيانات الطرق المفقودة، لا تظهر إلا عند تشغيل الخادم.
كم يستغرق التجميع؟
تنبه المهارة إلى أن التجميع قد يستغرق ساعة أو ساعتين.
التفاصيل
الوصف الأصلي من المؤلف
Cooks and packages a shippable CARLA server from a UE 5.8 ue58-dev checkout via the CMake `package` targets (shipping/development/debug/test), scoping the cook with CARLA_MAPS_TO_COOK, and inspects an existing package for the failures a green build hides — stale pak/ucas mismatch, missing staged OpenDrive/TM road data, missing post-process profiles, and Town15's uncookable content. Use when the user asks to "package CARLA UE5", "cook a map", "build a shipping server", "make a distributable CARLA", or a package builds but renders black / has no maps.
repo: carla-simulator/carla
الشعبية
- نجوم GitHub
- 15k
- الترتيب
- #11134
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
create-leaderboard-route
15kيساعد وكيلك على بناء ملفات مسارات CARLA Leaderboard بوضع نقاط الطريق ومحفزات السيناريوهات من كاميرا المحاكي، ثم فحصها وترتيبها.
package-leaderboard-agent
15kيساعد وكيلك على تغليف وكيل قيادة في صورة Docker لتقديمه إلى CARLA Leaderboard، مع فحص بنية المجلدات واختبار أن الصورة تحمّله.
read-leaderboard-results
15kيساعد وكيلك على قراءة ملف نتائج CARLA Leaderboard، وشرح درجة كل مسار ومخالفاته، وإعادة احتساب التشغيل بقواعد النسخة الأخرى.
run-leaderboard-evaluation
15kيساعد وكيلك على تشغيل مقيّم CARLA Leaderboard على مجموعة مسارات مع وكيل قيادتك، بفحص الإعداد أولًا وحفظ نقاط يمكن استئناف التشغيل منها.
مهارات مشابهة
openclaw-update
394kيساعد وكيلك على تحديث بوابة OpenClaw Gateway الموجودة، مع اختيار طريقة التحديث المناسبة لطريقة تثبيتها والحفاظ على جلستك.
diagnose-gateway
394kيساعد وكيلك على معرفة سبب فشل بوابة OpenClaw Gateway عبر فحص الإعدادات والقنوات والمنافذ دون تغيير أي شيء.
crabbox-apps
394kيساعد وكيلك على فتح تطبيق وتشغيله على جهاز سحابي مؤقت، ثم عرض واجهته في الشريط الجانبي للدردشة.