vault backup: 2024-05-30 11:35:31
This commit is contained in:
parent
d1795b3bbc
commit
23c5192080
@ -1,4 +1,8 @@
|
||||
# NAS
|
||||
172.168.5.17
|
||||
admin
|
||||
NiceFuture0521
|
||||
|
||||
## 共享盘账号密码
|
||||
`\\172.168.5.17\NiceFutureNAS`
|
||||
用户名:dev
|
||||
|
@ -97,33 +97,26 @@ docker push blueroses/perforce-helix-p4d:2024.5
|
||||
docker push ghcr.io/blueroses/perforce-helix-p4d:2024.5
|
||||
```
|
||||
|
||||
PS. 利用GitHub Actions自动构建项目的docker镜像并发布到DockerHub https://wiki.eryajf.net/pages/5baf0a/#%E5%8F%91%E5%B8%83%E5%88%B0-ghcr
|
||||
|
||||
# UE部分操作
|
||||
- https://docs.unrealengine.com/5.1/en-US/using-perforce-as-source-control-for-unreal-engine/
|
||||
- https://zhuanlan.zhihu.com/p/414193101?utm_id=0
|
||||
|
||||
- [UE4管理多重项目-WiseeEngineering](https://zhuanlan.zhihu.com/p/364346565)
|
||||
- [UnrealEnigne源码构建&Perforce&(UnrealGameSync)开发版本控制基础部署](https://zhuanlan.zhihu.com/p/362276094)
|
||||
- [打通UE4美术资源版本控制关节](https://zhuanlan.zhihu.com/p/261692804)
|
||||
- [UE5+Perforce+阿里云ECS版本控制搭建流程与工作流程](https://zhuanlan.zhihu.com/p/640743305)
|
||||
|
||||
PS:
|
||||
1. 编码使用:UTF8-no bom
|
||||
2. Connection–>Edit Current Workspace–>Advanced,设置为`Line ending characters for text file:UNIX style linefeed`
|
||||
|
||||
## 注册源码引擎到EpicGames
|
||||
经过上面的步骤,源码引擎已经构建成功,但是在对项目就行选择引擎版本的时候,发现并没有这个版本 。这是因为,构建的引擎没有注册到EpicGames中,找到EpicGames安装目录下的注册器。复制到源码工程并且运行即可。
|
||||
```text
|
||||
Launcher\Engine\Binaries\Win64\UnrealVersionSelector.exe
|
||||
```
|
||||
|
||||
# Perforce
|
||||
- https://help.perforce.com/helix-core/quickstart-unreal/Content/quickstart/game-home-quickstart.html
|
||||
- https://www.perforce.com/manuals/p4v/Content/P4V/Home-p4v.html
|
||||
- https://www.perforce.com/manuals/p4sag/Content/P4SAG/Home-p4sag.html
|
||||
## 参考
|
||||
- 官方文档
|
||||
- https://help.perforce.com/helix-core/quickstart-unreal/Content/quickstart/game-home-quickstart.html
|
||||
- 知乎&UE官方文档
|
||||
- https://docs.unrealengine.com/5.1/en-US/using-perforce-as-source-control-for-unreal-engine/
|
||||
- https://zhuanlan.zhihu.com/p/414193101?utm_id=0
|
||||
- [UE4管理多重项目-WiseeEngineering](https://zhuanlan.zhihu.com/p/364346565)
|
||||
- [UnrealEnigne源码构建&Perforce&(UnrealGameSync)开发版本控制基础部署](https://zhuanlan.zhihu.com/p/362276094)
|
||||
- [打通UE4美术资源版本控制关节](https://zhuanlan.zhihu.com/p/261692804)
|
||||
- [UE5+Perforce+阿里云ECS版本控制搭建流程与工作流程](https://zhuanlan.zhihu.com/p/640743305)
|
||||
|
||||
## 开发目录设计
|
||||
### cmd
|
||||
- 设置默认服务器IP:`p4 set P4PORT=servername:port`
|
||||
- 设置默认用户名:`p4 set P4USER=your.username`
|
||||
- 设置typemap:p4 -P YourPassword typemap
|
||||
|
||||
|
||||
## 规划
|
||||
### 开发目录设计
|
||||
- [UE4管理多重项目-WiseeEngineering(翻译)](https://zhuanlan.zhihu.com/p/364346565)
|
||||
|
||||
- ArtSource(美术资源:引擎中相应的美术资产应该统一从ArtSource仓库导入,这样美术人员可以集中在标准资产管线下的资产迭代,可以更加集中注意力于美术资产质量,所以前提是项目初期必须构建标准稳定的渲染和审核验收流程(这一点也是国内很多项目及经常返工,开发成本极高的原因))
|
||||
@ -136,24 +129,45 @@ Example:
|
||||
- ShowRoom
|
||||
- UnrealEngine
|
||||
|
||||
## 规划
|
||||
- 用户
|
||||
- 用户组
|
||||
- 目录权限
|
||||
- 仓库
|
||||
### ASoul P4开发目录设计
|
||||
仓库:
|
||||
1. Engine(Stream Depot)
|
||||
1. 引擎源码
|
||||
2. Project(Stream Depot)
|
||||
1. 构建引擎。
|
||||
2. 项目工程。
|
||||
3. ArtSource(Local Depot)
|
||||
1. 美术资产。
|
||||
|
||||
#### 分支
|
||||
1. Release
|
||||
2. Mainline
|
||||
3. Development
|
||||
1. UE4
|
||||
2. UE5
|
||||
3. Trunk分支(主干)
|
||||
4. shiwan(线上分支)
|
||||
1. shiwanxxx
|
||||
2. shiwanpico
|
||||
3. ...
|
||||
|
||||
## 操作顺序
|
||||
使用最暴力的Mainland(主干)分支开发模式,如有试玩需求,会创建shiwan分支。
|
||||
|
||||
#### WorkSpace设置
|
||||
1. 编码使用:UTF8-no bom
|
||||
2. Connection–>Edit Current Workspace–>Advanced,设置为`Line ending characters for text file:UNIX style linefeed`
|
||||
|
||||
## 搭建p4顺序
|
||||
1. 搭建Perforce服务
|
||||
2. 创建一个Stream Depot
|
||||
2. 创建一个Stream Depot或者所有Depot。
|
||||
3. 设置 p4 typemap
|
||||
|
||||
4. 创建MainLine分支
|
||||
5. 添加.p4ignore文件
|
||||
6. 创建一个工作区,设置工作区设置后上传文件。
|
||||
|
||||
## Typemap
|
||||
typemap 的设置能够在 Perforce 中控制文件的只读和可写的形式。 然后要做这件事情,需要管理员先在命令行cmd下设置 P4 的环境变量。
|
||||
|
||||
在指定仓库上右键,点击`Open Command Windows Here`,输入`p4 -P YourPassword typemap`即可在弹出的txt文件中修改保存关闭即可。(输入UE官方推荐的内容即可)
|
||||
|
||||
```text
|
||||
# The form data below was edited by Jeff
|
||||
# Perforce File Type Mapping Specifications.
|
||||
@ -288,7 +302,7 @@ TypeMap:
|
||||
|
||||
## 相关概念
|
||||
### Workspace
|
||||
Workspace可以理解为,depot到本地的一个映射,对应本地的一个目录。
|
||||
Workspace可以理解为,depot到本地的一个映射,对应本地的一个目录,**存储了该工作区域的相关设置以及历史记录**。
|
||||
新建Workspace,在p4admin中depot查看在服务器中存放的所有Ddepot仓库
|
||||
|
||||
开发的过程中可以有多个Workspace(例如一个用来开发,一个用来更新验证保证提交没有错误),但一般只推荐有一个Workspace。
|
||||
@ -300,8 +314,6 @@ Workspace可以理解为,depot到本地的一个映射,对应本地的一个
|
||||
- https://www.perforce.com/manuals/p4vfs/Content/P4VFS/p4vfs-and-p4v.html
|
||||
- p4vfs(需要额外安装)
|
||||
- https://www.perforce.com/downloads/helix-core-virtual-file-service
|
||||
- 视频(视频里没有解决client does not have p4altsync configured, required for this workspace)
|
||||
- [How to Set Up and Use P4VFS and Helix Core Virtual File Sync](https://www.youtube.com/watch?v=43jx4Ee0V_o)
|
||||
|
||||
### P4ExcludeList
|
||||
|
||||
@ -445,8 +457,6 @@ Engine\Plugins\Runtime\**\Binaries\*
|
||||
#
|
||||
Samples\**\Saved\*
|
||||
```
|
||||
|
||||
|
||||
## Helix4Git
|
||||
- 官方文档
|
||||
- https://www.perforce.com/manuals//helix-for-git/Content/Helix4Git/install-config.install.html
|
||||
@ -455,26 +465,10 @@ Samples\**\Saved\*
|
||||
- https://zhuanlan.zhihu.com/p/545765248
|
||||
|
||||
DockerFile搞起来太麻烦……
|
||||
# ASoul P4设计
|
||||
仓库:
|
||||
1. Engine(Stream Depot)
|
||||
1. 引擎源码
|
||||
2. Project(Stream Depot)
|
||||
1. 构建引擎。
|
||||
2. 项目工程。
|
||||
3. ArtSource(Local Depot)
|
||||
1. 美术资产。
|
||||
|
||||
## 分支
|
||||
1. Release
|
||||
2. Mainline
|
||||
3. Development
|
||||
1. UE4
|
||||
2. UE5
|
||||
3. Trunk分支(主干)
|
||||
4. shiwan(线上分支)
|
||||
1. shiwanxxx
|
||||
2. shiwanpico
|
||||
3. ...
|
||||
|
||||
使用最暴力的Mainland(主干)分支开发模式,如有试玩需求,会创建shiwan分支。
|
||||
# 其他
|
||||
## 注册源码引擎到EpicGames
|
||||
经过上面的步骤,源码引擎已经构建成功,但是在对项目就行选择引擎版本的时候,发现并没有这个版本 。这是因为,构建的引擎没有注册到EpicGames中,找到EpicGames安装目录下的注册器。复制到源码工程并且运行即可。
|
||||
```text
|
||||
Launcher\Engine\Binaries\Win64\UnrealVersionSelector.exe
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user