Compare commits

...

6 Commits

Author SHA1 Message Date
46e8f2509d soft value variables
For performance effect. I changed all static meshes to soft value.
2025-03-26 01:10:32 +03:00
e2044f3ca5 Merge branch 'main' of https://luckyrobots.com/luckyrobots/luckyworld 2025-03-25 17:25:34 +03:00
Goran Lazarevski
38667ff92f MacOS build
Some checks failed
Unreal Engine Build / macos-build (push) Failing after 9m28s
2025-03-25 15:19:32 +01:00
594f665c63 Merge branch 'main' of https://luckyrobots.com/luckyrobots/luckyworld 2025-03-25 07:48:35 +03:00
Goran Lazarevski
abb3396dc9 Merge branches 'main' and 'main' of ssh://luckyrobots.com:2222/luckyrobots/luckyworld
Some checks failed
Unreal Engine Build / macos-build (push) Failing after 1h0m47s
2025-03-24 23:15:03 +01:00
Goran Lazarevski
67b10e4790 Merge branches 'main' and 'main' of ssh://luckyrobots.com:2222/luckyrobots/luckyworld
Some checks failed
Unreal Engine Build / macos-build (push) Failing after 9m35s
2025-03-24 22:02:08 +01:00
414 changed files with 5379 additions and 3818 deletions

View File

@ -68,7 +68,83 @@ jobs:
# Set environment variable with the correct Engine path
echo "UE_ROOT=$UE_PATH/Engine" >> $GITHUB_ENV
echo "Using Unreal Engine 5.5"
echo "UE_PATH=$UE_PATH" >> $GITHUB_ENV
source $GITHUB_ENV
echo "Unreal Engine paths:"
echo "UE_ROOT=$UE_ROOT"
echo "UE_PATH=$UE_PATH"
# Set up MuJoCo library
MUJOCO_LIB_DIR="Plugins/LuckyMujoco/Source/ThirdParty/Mujoco/lib"
mkdir -p "$MUJOCO_LIB_DIR"
# Try to find mujoco.dylib in the repository
if [ -f "Plugins/UEMujoco.rar" ]; then
echo "Found UEMujoco.rar, attempting to extract..."
mkdir -p /tmp/mujoco_extract
unrar x "Plugins/UEMujoco.rar" /tmp/mujoco_extract || echo "Failed to extract UEMujoco.rar"
# Look for mujoco.dylib in extracted files
DYLIB_PATH=$(find /tmp/mujoco_extract -name "mujoco.dylib" | head -1)
if [ -n "$DYLIB_PATH" ]; then
echo "Found mujoco.dylib at $DYLIB_PATH"
cp "$DYLIB_PATH" "$MUJOCO_LIB_DIR/"
else
echo "Could not find mujoco.dylib in extracted files"
fi
fi
# If still no dylib, try to download it
if [ ! -f "$MUJOCO_LIB_DIR/mujoco.dylib" ]; then
echo "Attempting to download mujoco.dylib..."
curl -L -o "$MUJOCO_LIB_DIR/mujoco.dylib" "https://github.com/deepmind/mujoco/releases/download/2.3.7/mujoco-2.3.7-macos-universal2.dmg"
fi
# Verify the library exists
if [ ! -f "$MUJOCO_LIB_DIR/mujoco.dylib" ]; then
echo "ERROR: Failed to set up mujoco.dylib"
exit 1
fi
# Make sure the library is executable
chmod +x "$MUJOCO_LIB_DIR/mujoco.dylib"
# Try multiple locations for the mujoco library
# 1. Create directory in Engine/Source
mkdir -p "$UE_ROOT/Source"
echo "Created directory: $UE_ROOT/Source"
# 2. Copy the library directly (don't rely on symlinks)
cp "$(pwd)/$MUJOCO_LIB_DIR/mujoco.dylib" "$UE_ROOT/Source/"
echo "Copied library to: $UE_ROOT/Source/mujoco.dylib"
# 3. Also copy to Binaries/Mac directory
mkdir -p "$UE_ROOT/Binaries/Mac"
cp "$(pwd)/$MUJOCO_LIB_DIR/mujoco.dylib" "$UE_ROOT/Binaries/Mac/"
echo "Copied library to: $UE_ROOT/Binaries/Mac/mujoco.dylib"
# 4. Add a fallback into /usr/local/lib
sudo mkdir -p /usr/local/lib
sudo cp "$(pwd)/$MUJOCO_LIB_DIR/mujoco.dylib" /usr/local/lib/
echo "Copied library to: /usr/local/lib/mujoco.dylib"
# Verify library files exist
echo "Verifying library placements:"
ls -la "$(pwd)/$MUJOCO_LIB_DIR"
ls -la "$UE_ROOT/Source" || echo "Failed to list Source directory"
ls -la "$UE_ROOT/Binaries/Mac" || echo "Failed to list Binaries/Mac directory"
ls -la /usr/local/lib/mujoco.dylib || echo "Failed to list library in /usr/local/lib"
# Set up environment for the build
export DYLD_LIBRARY_PATH="$(pwd)/Plugins/LuckyMujoco/Source/ThirdParty/Mujoco/lib:$UE_ROOT/Source:$UE_ROOT/Binaries/Mac:/usr/local/lib:$DYLD_LIBRARY_PATH"
export DYLD_FRAMEWORK_PATH="$UE_ROOT/Binaries/Mac:$DYLD_FRAMEWORK_PATH"
export DYLD_FALLBACK_LIBRARY_PATH="$UE_ROOT/Binaries/Mac:$UE_ROOT/Source:/usr/local/lib:$DYLD_FALLBACK_LIBRARY_PATH"
echo "Build environment:"
echo "DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH"
echo "DYLD_FRAMEWORK_PATH=$DYLD_FRAMEWORK_PATH"
echo "DYLD_FALLBACK_LIBRARY_PATH=$DYLD_FALLBACK_LIBRARY_PATH"
- name: Build Unreal Project
run: |
@ -110,6 +186,28 @@ jobs:
# Run the build using absolute paths
chmod +x "$UE_ROOT/Build/BatchFiles/RunUAT.sh"
# Source environment variables again to ensure they are properly set
source $GITHUB_ENV
# Set up runtime environment for the build
export DYLD_LIBRARY_PATH="$(pwd)/Plugins/LuckyMujoco/Source/ThirdParty/Mujoco/lib:$UE_ROOT/Source:$UE_ROOT/Binaries/Mac:/usr/local/lib:$DYLD_LIBRARY_PATH"
export DYLD_FRAMEWORK_PATH="$UE_ROOT/Binaries/Mac:$DYLD_FRAMEWORK_PATH"
export DYLD_FALLBACK_LIBRARY_PATH="$UE_ROOT/Binaries/Mac:$UE_ROOT/Source:/usr/local/lib:$DYLD_FALLBACK_LIBRARY_PATH"
echo "Final build environment:"
echo "UE_ROOT=$UE_ROOT"
echo "UE_PATH=$UE_PATH"
echo "DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH"
echo "Checking for mujoco.dylib in key locations:"
ls -l "$UE_ROOT/Source/mujoco.dylib" || echo "Library not found in $UE_ROOT/Source"
ls -l "$UE_ROOT/Binaries/Mac/mujoco.dylib" || echo "Library not found in $UE_ROOT/Binaries/Mac"
ls -l "/usr/local/lib/mujoco.dylib" || echo "Library not found in /usr/local/lib"
# Run the build with additional debug output
echo "Running build command..."
"$UE_ROOT/Build/BatchFiles/RunUAT.sh" BuildCookRun \
-project="$UPROJECT_ABSOLUTE_PATH" \
-noP4 \

77
.gitignore vendored
View File

@ -1,2 +1,77 @@
BP_Puralink
BP_Revolute
BP_Revolute
# Visual Studio 2015 user specific files
.vs/
# Compiled Object files
*.slo
*.lo
*.o
*.obj
# Precompiled Headers
*.gch
*.pch
# Compiled Dynamic libraries
*.so
*.dylib
*.dll
# Fortran module files
*.mod
# Compiled Static libraries
*.lai
*.la
*.a
*.lib
# Executables
*.exe
*.out
*.app
*.ipa
# These project files can be generated by the engine
*.xcodeproj
*.xcworkspace
*.sln
*.suo
*.opensdf
*.sdf
*.VC.db
*.VC.opendb
# Precompiled Assets
SourceArt/**/*.png
SourceArt/**/*.tga
# Binary Files
Binaries/*
Plugins/**/Binaries/*
# Builds
Build/*
# Whitelist PakBlacklist-<BuildConfiguration>.txt files
!Build/*/
Build/*/**
!Build/*/PakBlacklist*.txt
# Don't ignore icon files in Build
!Build/**/*.ico
# Built data for maps
*_BuiltData.uasset
# Configuration files generated by the Editor
Saved/*
# Compiled source files for the engine to use
Intermediate/*
Plugins/**/Intermediate/*
# Cache files for the editor to use
DerivedDataCache/*

15
.vsconfig Normal file
View File

@ -0,0 +1,15 @@
{
"version": "1.0",
"components": [
"Microsoft.Net.Component.4.6.2.TargetingPack",
"Microsoft.VisualStudio.Component.Unreal.Workspace",
"Microsoft.VisualStudio.Component.VC.14.38.17.8.ATL",
"Microsoft.VisualStudio.Component.VC.14.38.17.8.x86.x64",
"Microsoft.VisualStudio.Component.VC.Tools.x86.x64",
"Microsoft.VisualStudio.Component.Windows11SDK.22621",
"Microsoft.VisualStudio.Workload.CoreEditor",
"Microsoft.VisualStudio.Workload.ManagedDesktop",
"Microsoft.VisualStudio.Workload.NativeDesktop",
"Microsoft.VisualStudio.Workload.NativeGame"
]
}

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

View File

@ -1,5 +1,5 @@
{
"BuildId": "3DA13EC1-4E26-42D4-D22C-198304AE847E",
"BuildId": "37670630",
"Modules":
{
"Luckyrobots": "UnrealEditor-Luckyrobots.dll"

View File

@ -248,7 +248,7 @@ GameDefaultMap=/Game/Map/SelectLevel.SelectLevel
GlobalDefaultGameMode=/Game/Blueprint/Game/BP_LuckyRobots.BP_LuckyRobots_C
GlobalDefaultServerGameMode=/Game/luckyBot/blueprint/gameBP/luckycar.luckycar_C
GameInstanceClass=/Game/Blueprint/Game/BP_LuckyGameinstanceMode.BP_LuckyGameinstanceMode_C
EditorStartupMap=/Game/Levels/House05/Maps/AIUE_vol8_04.AIUE_vol8_04
EditorStartupMap=/Game/Map/Test_Level.Test_Level
[/Script/LinuxTargetPlatform.LinuxTargetSettings]
SpatializationPlugin=

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
Content/Blueprint/Core/BP_RoomWall.uasset (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -44,6 +44,15 @@
{
"Name": "HDRIBackdrop",
"Enabled": true
},
{
"Name": "BlueprintJson",
"Enabled": true,
"MarketplaceURL": "com.epicgames.launcher://ue/marketplace/content/f837e4835fbc434a853fe1ead2410b84"
}
],
"TargetPlatforms": [
"Windows",
"Linux"
]
}

View File

@ -1,5 +1,5 @@
{
"BuildId": "3DA13EC1-4E26-42D4-D22C-198304AE847E",
"BuildId": "37670630",
"Modules":
{
"AsyncLoadingScreen": "UnrealEditor-AsyncLoadingScreen.dll"

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,5 +1,5 @@
{
"BuildId": "3DA13EC1-4E26-42D4-D22C-198304AE847E",
"BuildId": "37670630",
"Modules":
{
"FileHelper": "UnrealEditor-FileHelper.dll"

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,5 +1,5 @@
{
"BuildId": "3DA13EC1-4E26-42D4-D22C-198304AE847E",
"BuildId": "37670630",
"Modules":
{
"LuckyMujoco": "UnrealEditor-LuckyMujoco.dll",

Binary file not shown.

Binary file not shown.

View File

@ -1,5 +1,5 @@
{
"BuildId": "3DA13EC1-4E26-42D4-D22C-198304AE847E",
"BuildId": "37670630",
"Modules":
{
"LuckyTextWrite": "UnrealEditor-LuckyTextWrite.dll"

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More