Initial commit

This commit is contained in:
2024-07-11 08:57:22 +00:00
commit b914df0c92
158 changed files with 611 additions and 0 deletions

12
.gitattributes vendored Normal file
View File

@@ -0,0 +1,12 @@
# UE file types
*.uasset filter=lfs diff=lfs merge=lfs -text
*.umap filter=lfs diff=lfs merge=lfs -text
# Raw Content types
*.fbx filter=lfs diff=lfs merge=lfs -text
*.3ds filter=lfs diff=lfs merge=lfs -text
*.psd filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.mp3 filter=lfs diff=lfs merge=lfs -text
*.wav filter=lfs diff=lfs merge=lfs -text
*.xcf filter=lfs diff=lfs merge=lfs -text
*.jpg filter=lfs diff=lfs merge=lfs -text

88
.gitignore vendored Normal file
View File

@@ -0,0 +1,88 @@
# MacOS cache file
.DS_Store
# Visual Studio user specific files
.vs/
.vscode/
.vsconfig
# 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/*
# Generated Project files
Makefile
*.code-workspace
# Obsidian documentation markup configuration files
.obsidian
!.obsidian/plugins/*

3
.gitmodules vendored Normal file
View File

@@ -0,0 +1,3 @@
[submodule "Plugins/LibAmasson"]
path = Plugins/LibAmasson
url = https://github.com/amasson42/LibAmasson-unreal-plugin.git

7
Cmd/build.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
cd "$(dirname "$0")/.."
PROJECT_NAME=$(find . -name "*.uproject" -exec basename {} .uproject \;)
Build.sh ${PROJECT_NAME}Editor Linux Development /home/amasson/Documents/Work/TalentH/$PROJECT_NAME/$PROJECT_NAME.uproject -waitmutex

12
Cmd/compile_plugin.md Normal file
View File

@@ -0,0 +1,12 @@
```sh
./RunUAT.sh BuildPlugin -Plugin="/path/to/MyPlugin.uplugin" -Package="/path/to/build_dir" -TargetPlatforms=Linux
```
/!\ the directory `build_dir` will be erased
Enable the plugin by default by adding to the .uplugin
```json
"EnabledByDefault": true,
```

16
Cmd/regenerate.sh Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
cd "$(dirname "$0")/.."
PROJECT_NAME=$(find . -name "*.uproject" -exec basename {} .uproject \;)
sh Cmd/remove_binaries.sh
rm -rf $PROJECT_NAME.code-workspace\
Makefile\
Saved\
.vscode
GenerateProjectFiles.sh -project="$PWD/$PROJECT_NAME.uproject" -game
rm .ignore

11
Cmd/remove_binaries.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
cd "$(dirname "$0")/.."
rm -rf Binaries\
DerivedDataCache\
Intermediate
rm -rf Plugins/*/Binaries\
Plugins/*/DerivedDataCache\
Plugins/*/Intermediate

13
Cmd/resize_images.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
# example:
# sh resize_images.sh ./Game "*.PNG" 50%
IMAGES=$(find $1 -type f -name $2)
for image in $IMAGES
do
echo $image
magick $image -resize $3 $image
done

View File

Binary file not shown.

Binary file not shown.

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