Difference between revisions of "PSUnreal Programming"

From PSwiki
Jump to navigation Jump to search
m (Alternative Update Unreal Engine using Tortoise Git GUI)
(4 intermediate revisions by the same user not shown)
Line 67: Line 67:
 
To update to a newer UE version, In windows explorer right click on folder containing Unreal engine then:
 
To update to a newer UE version, In windows explorer right click on folder containing Unreal engine then:
  
 +
* Delete all files contained in PSUnreal\Intermediate and UnrealEngine\Engine\Intermediate
 
* select > TortoiseGit > fetch. (make sure in window that opens "tags" is selected under options
 
* 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 > revert (to discard local changes in case you have)
 
* TortoiseGit > switch/checkout
 
* TortoiseGit > switch/checkout
** Then select tag and choose 4.24.3-release from dropdown
+
** Then select tag and choose 4.25.2-release from dropdown
 
** Under options only have "overwrite working tree changes (force)" selected
 
** Under options only have "overwrite working tree changes (force)" selected
 
** Press "ok" and allow it to update.
 
** Press "ok" and allow it to update.
 +
* Copy files in PSUnreal\UESource > to the appropriate folder in UnrealEngine\Engine\Source.
 
* launch Setup.bat to update dependencies
 
* launch Setup.bat to update dependencies
 
* launch GenerateProjectFiles.bat
 
* launch GenerateProjectFiles.bat
* Delete all files contained in PSUnreal\Intermediate
 
 
* Clean the UE4 project from VS
 
* Clean the UE4 project from VS
 
* Rebuild
 
* Rebuild

Revision as of 22:44, 28 July 2020

Installation of Unreal Engine

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

windows_icon.png linux_icon.png mac_icon.png
Building PSUnreal on Windows Building PSUnreal on Linux Building PSUnreal on macOS


Errors Unreal Compile

Errors in Running the client

Engine

Best tutorials to start with UE

Packing and shipping a project

CS Code convertion

PSUnreal Classes

Engine inner working

List of all Unreal Engine Log categories

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 checkout 4.25.2-release --force
  • (OPTIONAL to check if you have the right version now) git status
  • (OPTIONAL if things go bad) Delete all files contained in PSUnreal\Intermediate
  • launch Setup.bat to update dependencies
  • launch GenerateProjectFiles.bat
  • Clean the UE4 project from VS
  • Rebuild UE from VS


To see tags:

  • 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)

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:

  • Delete all files contained in PSUnreal\Intermediate and UnrealEngine\Engine\Intermediate
  • 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.25.2-release from dropdown
    • Under options only have "overwrite working tree changes (force)" selected
    • Press "ok" and allow it to update.
  • Copy files in PSUnreal\UESource > to the appropriate folder in UnrealEngine\Engine\Source.
  • launch Setup.bat to update dependencies
  • launch GenerateProjectFiles.bat
  • Clean the UE4 project from VS
  • Rebuild