Feedback #1 update #10

Merged
oleg.petruny merged 2 commits from feedback1 into master 2025-01-16 12:40:00 +00:00
3 changed files with 15 additions and 13 deletions
Showing only changes of commit 80e3091f85 - Show all commits

View File

@ -19,11 +19,11 @@ Lost_Edge/ \
# Building your own project copy
Building a copy of the game requires only [UnrealProject/LostEdge/](UnrealProject/Lost_Edge) directory. \
For that purposes you can download the directory as archive or do a sparse checkout via commands below.
- git clone --no-checkout https://pixelyfier.com/git/Pixelyfier/Lost_Edge.git
- cd Lost_Edge/
- git sparse-checkout init
- git sparse-checkout set UnrealProject/Lost_Edge
- git checkout master
- `git clone --no-checkout https://pixelyfier.com/git/Pixelyfier/Lost_Edge.git`
- `cd Lost_Edge/`
- `git sparse-checkout init`
- `git sparse-checkout set UnrealProject/Lost_Edge`
- `git checkout master`
# Git lfs common issues
The download can be sometimes too long which makes git lfs drop the connection with error \

View File

@ -1,5 +1,7 @@
# How to compile
It's recommended to work in Unreal Engine 5.4 and to install Visual Studio with the necessary packages as it described in the [official documentation](https://dev.epicgames.com/documentation/en-us/unreal-engine/setting-up-visual-studio-development-environment-for-cplusplus-projects-in-unreal-engine) (recommended settings aren't needed). \
After repo cloning, the Visual Studio project files needs to be generated. It can be done in the explorer RMB context menu of file "UnrealProject/Lost_Edge/Lost_Edge.uproject". Or by typing "%UE5PATH%\Engine\Build\BatchFiles\GenerateProjectFiles.bat" "%REPOPATH%\UnrealProject\Lost_Edge\Lost_Edge.uproject". \
After generating, "Lost_Edge.sln" can be opened and project can start building for the first time, which will fail. This is because of using OpenCV plugin that together with UnrealEngine implement their own "check()" function. This error can be used to determine that in the file "%UE5PATH%\Engine\Plugins\Runtime\OpenCV\Source\ThirdParty\OpenCV\include\opencv2\core\utility.hpp" it is necessary to comment out the warning macro on lines 52-54 and rename the function itself on line 957 to, for example, "checkcv()".
After this modification, the build should run fine and it is possible to open the project in UnrealEngine.
It's recommended to work in Unreal Engine 5.5 and to install Visual Studio with the necessary packages as it described in the [official documentation](https://dev.epicgames.com/documentation/en-us/unreal-engine/setting-up-visual-studio-development-environment-for-cplusplus-projects-in-unreal-engine) (recommended settings aren't needed). \
After repo cloning, the Visual Studio project files needs to be generated. It can be done in the explorer RMB context menu of file `UnrealProject/Lost_Edge/Lost_Edge.uproject` - option `Generate project files`. Or by running `%UE5_PATH%\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.exe -game "%REPO_PATH%\Lost_Edge\UnrealProject\Lost_Edge\Lost_Edge.uproject" -VSCode`. \
After generating, appears the `Lost_Edge.sln`. Opent it and start building for the first time, which will fail. This is because of using OpenCV plugin that together with UnrealEngine implement their own `check()` function. The error can be used to determine that in the file `%UE5_PATH%\Engine\Plugins\Runtime\OpenCV\Source\ThirdParty\OpenCV\include\opencv2\core\utility.hpp` it is necessary to:
- comment out the warning macro on lines 52-54,
- and rename the function itself on line 957 to, for example, `checkcv()`.
After opencv library modification, the build should run fine and it is possible to open the `Lost_Edge.uproject` in UnrealEngine.

View File

@ -8,8 +8,8 @@ Edit voice name in `GenerateDialogue.py` script.
# System requirements
OS: Windows 10 or 11 \
GPU: NVIDIA \
Storage: ~15GB
Storage: ~15GB \
It's preffered to have NVIDIA CUDA GPU. (Render times: 1070ti - 3min, i7700k - 18min )
# Install.ps1
By executing the PowerShell script `Install.ps1` the following packages are installed:
@ -19,7 +19,7 @@ By executing the PowerShell script `Install.ps1` the following packages are inst
- [CUDA Toolkit](https://developer.nvidia.com/cuda-downloads) 12.4.1
- [PyTorch CUDA](https://pytorch.org/get-started/locally/) 12.4
- [Coqui TTS](https://github.com/idiap/coqui-ai-TTS) 0.25.1
- [Suno-ai/bark](https://github.com/suno-ai/bark)
- [Suno-ai/bark](https://github.com/suno-ai/bark) \
It's recommended to run installation script as administrator and restart machine after install completion.
# Uninstall.ps1
@ -28,5 +28,5 @@ The following packages/data aren't removed:
- Python
- Visual Studio Installer
- voices/
- _Something will of course left_
- _Something will of course left_ \
It's recommended to run uninstallat script as administrator and restart machine after uninstall completion.