-
Notifications
You must be signed in to change notification settings - Fork 4
249 lines (240 loc) · 8.45 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
name: CI
on: [push, pull_request]
jobs:
rb1_xbox:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Build ARK
run: |
cd rb1/
chmod +x dependencies/python/configure_build.py
chmod +x dependencies/python/gen_version.py
chmod +x dependencies/python/png_list.py
chmod +x dependencies/linux/ninja
chmod +x dependencies/linux/arkhelper
chmod +x dependencies/linux/dtab
chmod +x dependencies/linux/dtacheck
chmod +x dependencies/linux/superfreq
chmod +x dependencies/linux/swap_art_bytes
dependencies/python/configure_build.py xbox
dependencies/linux/ninja
- name: Remove .gitkeep
run: |
find . -name ".gitkeep" -type f -delete
- name: Upload result
uses: actions/upload-artifact@v4
with:
name: RB1-Patch-Xbox
path: rb1/out/xbox
rb1_ps3:
runs-on: windows-2019
steps:
- uses: actions/checkout@v4
- uses: GuillaumeFalourd/[email protected]
with:
command_line: echo InstallDirectory = BLUS30050
output_file_name: rb1/ps3_package.conf
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Build ARK
run: |
cd rb1/
python dependencies/python/configure_build.py ps3
dependencies/windows/ninja.exe
- name: Build PKG
run: |
cd rb1/
$sha_short="$(git rev-parse --short HEAD)".ToUpper()
$content="UP1018-BLUS30050_00-RB1PATCHH"
$packageversion="1.07"
dependencies/windows/make_package_npdrm_retail.exe --k-licensee 0x00000000000000000000000000000000 --drm-type Local --package-version $packageversion --content-type GameData --content-id ($content + $sha_short) dependencies/package.conf out/ps3
- name: Upload result
uses: actions/upload-artifact@v4
with:
name: RB1-Patch-PS3
path: 'rb1/*.pkg'
lrb_xbox:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Build ARK
run: |
cd lrb/
chmod +x dependencies/python/configure_build.py
chmod +x dependencies/python/gen_version.py
chmod +x dependencies/python/png_list.py
chmod +x dependencies/linux/ninja
chmod +x dependencies/linux/arkhelper
chmod +x dependencies/linux/dtab
chmod +x dependencies/linux/dtacheck
chmod +x dependencies/linux/superfreq
chmod +x dependencies/linux/swap_art_bytes
dependencies/python/configure_build.py xbox
dependencies/linux/ninja
- name: Remove .gitkeep
run: |
find . -name ".gitkeep" -type f -delete
- name: Upload result
uses: actions/upload-artifact@v4
with:
name: LRB-Patch-Xbox
path: lrb/out/xbox
lrb_ps3:
runs-on: windows-2019
steps:
- uses: actions/checkout@v4
- uses: GuillaumeFalourd/[email protected]
with:
command_line: echo InstallDirectory = BLUS30050
output_file_name: lrb/ps3_package.conf
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Build ARK
run: |
cd lrb/
python dependencies/python/configure_build.py ps3
dependencies/windows/ninja.exe
- name: Build PKG
run: |
cd lrb/
$sha_short="$(git rev-parse --short HEAD)".ToUpper()
$content="UP1018-BLUS30382_00-LRBPATCHH"
$packageversion="1.01"
dependencies/windows/make_package_npdrm_retail.exe --k-licensee 0x00000000000000000000000000000000 --drm-type Local --package-version $packageversion --content-type GameData --content-id ($content + $sha_short) dependencies/package.conf out/ps3
- name: Upload result
uses: actions/upload-artifact@v4
with:
name: LRB-Patch-PS3
path: 'lrb/*.pkg'
tbrb_xbox:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Build ARK
run: |
cd tbrb/
chmod +x dependencies/python/configure_build.py
chmod +x dependencies/python/gen_version.py
chmod +x dependencies/python/png_list.py
chmod +x dependencies/linux/ninja
chmod +x dependencies/linux/arkhelper
chmod +x dependencies/linux/dtab
chmod +x dependencies/linux/dtacheck
chmod +x dependencies/linux/superfreq
chmod +x dependencies/linux/swap_art_bytes
dependencies/python/configure_build.py xbox
dependencies/linux/ninja
- name: Remove .gitkeep
run: |
find . -name ".gitkeep" -type f -delete
- name: Upload result
uses: actions/upload-artifact@v4
with:
name: TBRB-Patch-Xbox
path: tbrb/out/xbox
tbrb_ps3:
runs-on: windows-2019
steps:
- uses: actions/checkout@v4
- uses: GuillaumeFalourd/[email protected]
with:
command_line: echo InstallDirectory = BLUS30050
output_file_name: tbrb/ps3_package.conf
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Build ARK
run: |
cd tbrb/
python dependencies/python/configure_build.py ps3
dependencies/windows/ninja.exe
- name: Build PKG
run: |
cd tbrb/
$sha_short="$(git rev-parse --short HEAD)".ToUpper()
$content="UP0006-BLUS30282_00-TBRBPATCH"
$packageversion="1.00"
dependencies/windows/make_package_npdrm_retail.exe --k-licensee 0x00000000000000000000000000000000 --drm-type Local --package-version $packageversion --content-type GameData --content-id ($content + $sha_short) dependencies/package.conf out/ps3
- name: Upload result
uses: actions/upload-artifact@v4
with:
name: TBRB-Patch-PS3
path: 'tbrb/*.pkg'
gdrb_xbox:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Build ARK
run: |
cd gdrb/
chmod +x dependencies/python/configure_build.py
chmod +x dependencies/python/gen_version.py
chmod +x dependencies/python/png_list.py
chmod +x dependencies/linux/ninja
chmod +x dependencies/linux/arkhelper
chmod +x dependencies/linux/dtab
chmod +x dependencies/linux/dtacheck
chmod +x dependencies/linux/superfreq
chmod +x dependencies/linux/swap_art_bytes
dependencies/python/configure_build.py xbox
dependencies/linux/ninja
- name: Remove .gitkeep
run: |
find . -name ".gitkeep" -type f -delete
- name: Upload result
uses: actions/upload-artifact@v4
with:
name: GDRB-Patch-Xbox
path: gdrb/out/xbox
gdrb_ps3:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Build ARK
run: |
cd gdrb/
chmod +x dependencies/python/configure_build.py
chmod +x dependencies/python/gen_version.py
chmod +x dependencies/python/png_list.py
chmod +x dependencies/linux/ninja
chmod +x dependencies/linux/arkhelper
chmod +x dependencies/linux/dtab
chmod +x dependencies/linux/dtacheck
chmod +x dependencies/linux/superfreq
chmod +x dependencies/linux/swap_art_bytes
dependencies/python/configure_build.py ps3
dependencies/linux/ninja
- name: Remove .gitkeep
run: |
find . -name ".gitkeep" -type f -delete
- name: Upload result
uses: actions/upload-artifact@v4
with:
name: GDRB-Patch-PS3
path: gdrb/out/ps3