Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reboot support #5

Merged
merged 12 commits into from
Nov 15, 2019
Merged

Reboot support #5

merged 12 commits into from
Nov 15, 2019

Conversation

poppolopoppo
Copy link

Allow building the rebooted Unreal repository :

  • Use env.ue4_dir instead of env.root_dir
  • Use UBT+UAT+xbuild instead of devenv.com+xbuild
  • Updated tool targets to match UE4.22
  • Add support for VS2019

Support for legacy repositories should be intact (diverging with env.is_dne_legacy_ue4).

def _ue4_run_ubt(env, target, build_platform, build_configuration, vs_version=None, flags=None):
if nimp.sys.platform.is_windows():
command = ['cmd', '/c', 'Build.bat']
command = ['cmd', '/c', 'Engine\\Build\\BatchFiles\\Build.bat']
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

En pcipe cwd tape dans root_dir, donc /game et pas /ue4 (qui est dans ue4_dir), il me semble que le path ne vas pas être bon ?

_ue4_build_ps4_tools_workaround(env, solution, vs_version)

# this is DNE specific
if os.path.exists(nimp.system.sanitize_path(env.format('{root_dir}/Engine/Source/Programs/DNEAssetRegistryQuery/DNEAssetRegistryQuery.Build.cs'))):
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Du coup ce path est faux aussi, mon mauvais :/ ça devrait être qq chose comme root_dir/tools/dneassetregistry, en même temps le projet n'est pas encore importé ^^;

Prefer {ue4_dir} instead of {root_dir},
And use Engine/* paths instead of Game/* specific aliases to DNE reboot.
Also run prebuild after GenerateProjetFiles.bat for >= ue4.22.
@jasugun jasugun merged commit c98695e into master Nov 15, 2019
@tdesveaux tdesveaux deleted the reboot_support branch February 15, 2023 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants