Skip to content

Instantly share code, notes, and snippets.

View LucienZhang's full-sized avatar

Lucien LucienZhang

View GitHub Profile
@LucienZhang
LucienZhang / UE4-build.bat
Created March 13, 2022 08:02 — forked from drewsberry/UE4-build.bat
UE4 Windows command line building
:: Build client
RunUAT BuildCookRun -project="full_path.uproject"^
-noP4 -platform=Win64^
-clientconfig=Development -serverconfig=Development^
-cook -allmaps -build -stage^
-pak -archive -archivedirectory="Output Directory"
:: Cook client
RunUAT BuildCookRun -project="full_project_path_and_project_name".uproject^
-noP4 -platform=Win64^
@LucienZhang
LucienZhang / README.md
Created March 13, 2022 08:01 — forked from zhiguangwang/README.md
Building Unreal Engine Game Client and Dedicated Server on Linux.

Building Unreal Engine Game Client and Dedicated Server on Linux

Because the build tools of UE4 works across platforms (Windows, Mac OS, Linux), steps in this article can be applied to Mac OS and Windows as well.

On Windows, You need to replace RunUAT.sh with RunUAT.bat though.

Prerequisites

First, get Unreal Engine 4 sourcecode and export the following environment variables:

@LucienZhang
LucienZhang / 关于二进制计算.md
Last active June 24, 2021 08:17
How to learn Python 3

现在要聊的是:Python位运算符,地址:https://www.runoob.com/python3/python3-basic-operators.html#ysf5

& | ^ ~ 都不用管,从来都用不到

左移和右移也很少用,但解释一下,以左移为例:

左移运算符:<<,理解这个运算符要知道数字的二进制存储方式,比如数字 5, 以二进制方式表示为 101 (为什么呢?以下这个例子展示为什么5等于101):

十进制数字 二进制表示