PSUnreal Programming: Difference between revisions

From PSwiki
Jump to navigation Jump to search
Added Update Unreal with GUI
Venalan (talk | contribs)
No edit summary
Line 18: Line 18:
* Step 6:  Run GenerateProjectFiles.bat to make project files
* Step 6:  Run GenerateProjectFiles.bat to make project files
** if it complains about windows 8.1 sdk, just install it from [https://developer.microsoft.com/en-us/windows/downloads/windows-8-1-sdk here]
** if it complains about windows 8.1 sdk, just install it from [https://developer.microsoft.com/en-us/windows/downloads/windows-8-1-sdk here]
** If you get the error "The reference assemblies for framework ".NETFramework,Version=v4.6.2" were not found." just install it from [https://www.microsoft.com/en-us/download/details.aspx?id=53321 here]
* Step 7:  If you dont have it yet, you need to make an account to login to Visual Studio.
* Step 7:  If you dont have it yet, you need to make an account to login to Visual Studio.
* Step 8:  Launch Visual Studio, open UE4.sln and Build Unreal Engine 4 with Development Editor configuration and Win64 Platform
* Step 8:  Launch Visual Studio, open UE4.sln and Build Unreal Engine 4 with Development Editor configuration and Win64 Platform

Revision as of 11:13, 27 March 2020

The overall process begins by installing Unreal Engine and building from source, then follows through the PSUnreal setup page.

Install Unreal Engine from sources on windows

A reasonably simple guide: http://www.hybridsyntax.com/en/blog/building-unreal-engine-4-on-windows.html

High level steps:

  • Step 1: Register an account at UnrealEngine and GitHub
  • Step 2: Add your GitHub username to in your UnrealEngine profile under your dashboard
  • Step 3: Download the source code from UE4 Repo
  • Step 4: Install Visual Studio 2017, follow these instructions to get the right components in your Visual Studio
  • Step 5: Run Setup.bat to download and install the prerequisites
  • Step 6: Run GenerateProjectFiles.bat to make project files
    • if it complains about windows 8.1 sdk, just install it from here
    • If you get the error "The reference assemblies for framework ".NETFramework,Version=v4.6.2" were not found." just install it from here
  • Step 7: If you dont have it yet, you need to make an account to login to Visual Studio.
  • Step 8: Launch Visual Studio, open UE4.sln and Build Unreal Engine 4 with Development Editor configuration and Win64 Platform
  • Step 9: Copy F:\UnrealEngine\Engine\Source\ThirdParty\zlib\v1.2.8\lib\Win64\VS2015\zlib.dll to F:\Unreal Projects\MyProject2\PSUnreal\Binaries\Win64
  • Step 10: Run the UE4Editor.exe from Engine\Binaries\Win64\ subdirectory

Building UEEditor on Linux

Next go here if you want to build UE for PlaneShift:

Building PSUnreal on Windows

Errors Unreal Compile

Errors in Running the client

Engine

Best tutorials to start with UE

Packing and shipping a project

CS Code convertion

Engine inner working


Check this article if you are suffering from slow Intellisense parsing: https://forums.unrealengine.com/development-discussion/c-gameplay-programming/65252-for-those-who-suffer-from-visual-studio-intellisense-slowness

PS Unreal Engine

Put here the notes of our architecture for Unreal.

PSUECharacter setup

Update Unreal Engine and Git commands

If you messed up your repository, try: git reset --hard

If you miss files try : git checkout .

To update to a newer UE version:

  • git fetch
  • git reset --hard (to discard local changes in case you have)
  • git tag --list (to list all available new tags)
  • git log --tags --simplify-by-decoration --pretty="format:%ai %d" (to see all tags with dates)
  • git checkout 4.24.1-release --force
  • launch Setup.bat to update dependencies
  • launch GenerateProjectFiles.bat
  • Delete all files contained in PSUnreal\Intermediate
  • Clean the UE4 project from VS
  • Rebuild

Alternative Update Unreal Engine using Tortoise Git GUI

Get TortoiseGit here.

To update to a newer UE version, In windows explorer right click on folder containing Unreal engine then:

  • select > TortoiseGit > fetch. (make sure in window that opens "tags" is selected under options
  • TortoiseGit > revert (to discard local changes in case you have)
  • TortoiseGit > switch/checkout
    • Then select tag and choose 4.24.1-release from dropdown
    • Under options only have "overwrite working tree changes (force)" selected
    • Press "ok" and allow it to update.
  • launch Setup.bat to update dependencies
  • launch GenerateProjectFiles.bat
  • Delete all files contained in PSUnreal\Intermediate
  • Clean the UE4 project from VS
  • Rebuild