Tired with deleting folders and generating a .sln file afterward. I googled some solutions, but didn't find any ready-made ones, so I made my own at short notice. From this you need to make a .bat file in the root folder of the project, and and set an environment variable called UE_BUILD_TOOL_PATH that leads to UnrealBuildTool.exe, mine was C:\Program Files\Epic Games\UE_5.4\Engine\Binaries\DotNET\UnrealBuildTool. !!! Don't forget to change the file and projectFile fields !!!
@echo off
:: Check if the UE_BUILD_TOOL_PATH environment variable is set
if not defined UE_BUILD_TOOL_PATH (
echo Environment variable UE_BUILD_TOOL_PATH is not set. Exiting script.
pause
exit /b
)
:: List of folders to delete
set folders=Binaries DerivedDataCache Intermediate Saved
:: Name of the file to delete (CHANGE HERE)
set file=<your_game_name>.sln
:: Path to your .uproject file (CHANGE HERE)
set projectFile=<your_game_name>.uproject
:: Deleting folders
for %%F in (%folders%) do (
if exist "%%F" (
rmdir /s /q "%%F"
echo Folder "%%F" successfully deleted.
) else (
echo Folder "%%F" not found.
)
)
:: Deleting the file
if exist "%file%" (
del /f /q "%file%"
echo File "%file%" successfully deleted.
) else (
echo File "%file%" not found.
)
:: Check if UnrealBuildTool.exe exists in the provided path
if exist "%UE_BUILD_TOOL_PATH%\UnrealBuildTool.exe" (
echo Generating new .sln file from "%projectFile%"...
"%UE_BUILD_TOOL_PATH%\UnrealBuildTool.exe" -projectfiles -project="%cd%\%projectFile%" -game -engine
echo .sln file generated successfully.
) else (
echo UnrealBuildTool.exe not found in the specified path: "%UE_BUILD_TOOL_PATH%\UnrealBuildTool.exe"
)
pause
#gamedev #indiedev #indiehorror #UE5 #madewithunreal #shooter
Oh boy, migrating a project from UE 5.1 to UE 5.4 is really hard. When porting code, it's natural to want to rewrite the whole damn thing. And you realize in your heart that porting everything is a good time to look at everything again and fix things you don't like. But damn, refactoring a year of work is not an easy task....
To be honest I also don't see any ads related to deadlock, however I have all my friends playing it and I myself recently started. And the game is a bit raw, but with a lot of potential, it's fun to play. It was the same with helldivers 2, it just popped up and that's it. I think it's not just their advertising campaign after all.
@Zoroarts I think it’s very clichéd and the first thing that comes to mind. It would be cool to use both hands for tasks usually done with one or to have different actions to speed up the mechanics 🥹