You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c1c64b4
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+62-60Lines changed: 62 additions & 60 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,36 +1,36 @@
1
1
## :large_orange_diamond:**This is a fork**
2
-
Fork of https://gitlab.com/Mr_Goldberg/goldberg_emulator
2
+
Fork of https://gitlab.com/Mr_Goldberg/goldberg_emulator
3
3
4
4
### Feel free to make a PR.
5
5
6
6
---
7
7
8
-
:red_circle:
8
+
:red_circle:
9
9
10
-
**This fork is not a takeover, not a resurrection of the original project, and not a replacement.**
11
-
**This is just a fork, don't take it seriously.**
12
-
**You are highly encouraged to fork/clone it and do whatever you want with it.**
10
+
**This fork is not a takeover, not a resurrection of the original project, and not a replacement.**
11
+
**This is just a fork, don't take it seriously.**
12
+
**You are highly encouraged to fork/clone it and do whatever you want with it.**
13
13
14
14
:red_circle:
15
15
16
16
---
17
17
18
18
## **Compatibility**
19
-
This fork is incompatible with the original repo, lots of things has changed and might be even broken.
20
-
If something doesn't work, feel free to create a pull request with the appropriate fix, otherwise ignore this fork and use the original emu.
19
+
This fork is incompatible with the original repo, lots of things has changed and might be even broken.
20
+
If something doesn't work, feel free to create a pull request with the appropriate fix, otherwise ignore this fork and use the original emu.
21
21
22
22
---
23
23
24
24
## **Credits**
25
-
Thanks to everyone contributing to this project in any way possible, we try to keep the [CHANGELOG.md](./CHANGELOG.md) updated with all the changes and their authors.
25
+
Thanks to everyone contributing to this project in any way possible, we try to keep the [CHANGELOG.md](./CHANGELOG.md) updated with all the changes and their authors.
26
26
27
-
This project depends on many third-party libraries and tools, credits to them for their amazing work, you can find their listing here in [CREDITS.md](./CREDITS.md).
27
+
This project depends on many third-party libraries and tools, credits to them for their amazing work, you can find their listing here in [CREDITS.md](./CREDITS.md).
28
28
29
29
---
30
30
31
31
# How to use the emu
32
-
***Always generate the interfaces file using the `generate_interfaces` tool.**
33
-
***If things don't work, try the `ColdClientLoader` setup.**
32
+
***Always generate the interfaces file using the `generate_interfaces` tool.**
33
+
***If things don't work, try the `ColdClientLoader` setup.**
34
34
35
35
You can find helper guides, scripts, and tools here:
36
36
@@ -45,7 +45,7 @@ You can find helper guides, scripts, and tools here:
*(Optional)* You can use `Clang` compiler instead of `GCC` by running these 2 commands in the current terminal instance
250
252
```shell
251
253
export CC="clang"
252
254
export CXX="clang++"
253
-
```
255
+
```
254
256
Then run the following
255
257
```shell
256
258
make config=release_x32 -j 8 all
257
259
make config=release_x64 -j 8 all
258
-
```
260
+
```
259
261
260
262
To see all possible build targets
261
263
```shell
262
264
make help
263
-
```
265
+
```
264
266
265
-
This will build a release version of the emu in the folder `build/linux/<toolchain>/release`
266
-
An example script `build_linux_premake.sh` is available, check it out
267
+
This will build a release version of the emu in the folder `build/linux/<toolchain>/release`
268
+
An example script `build_linux_premake.sh` is available, check it out
267
269
268
270
---
269
271
270
272
## **Using Github CI as a builder**
271
273
272
-
This is really slow and mainly intended for the CI Workflow scripts, but you can use it as another outlet if you can't build locally.
274
+
This is really slow and mainly intended for the CI Workflow scripts, but you can use it as another outlet if you can't build locally.
273
275
**You have to fork the repo first**.
274
276
275
277
### Initial setup
276
278
In your fork, open the `Settings` tab from the top, then:
277
279
* From the left side panel select `Actions` -> `General`
278
280
* In the section `Actions permissions` select `Allow all actions and reusable workflows`
279
281
* Scroll down, and in the section `Workflow permissions` select `Read and write permissions`
280
-
* *(Optional)* In the section `Artifact and log retention`, you can specify the amount of days to keep the build artifacts/archives.
281
-
It is recommended to set a reasonable number like 3-4 days, otherwise you may consume your packages storage if you use Github as a builder frequently, more details here: https://docs.github.com/en/get-started/learning-about-github/githubs-plans
282
+
* *(Optional)* In the section `Artifact and log retention`, you can specify the amount of days to keep the build artifacts/archives.
283
+
It is recommended to set a reasonable number like 3-4 days, otherwise you may consume your packages storage if you use Github as a builder frequently, more details here: https://docs.github.com/en/get-started/learning-about-github/githubs-plans
282
284
283
285
### Manual trigger
284
286
1. Go to the `Actions` tab in your fork
285
-
2. Select the emu dependencies Workflow (ex: `Emu third-party dependencies (Windows) `) and run it on the **main** branch (ex: `dev`).
287
+
2. Select the emu dependencies Workflow (ex: `Emu third-party dependencies (Windows) `) and run it on the **main** branch (ex: `dev`).
286
288
Dependencies not created on the main branch won't be recognized by other branches or subsequent runs
287
289
3. Select one of the Workflow scripts from the left side panel, for example `Build all emu variants (Windows)`
288
290
3. On the top-right, select`Run workflow` ->selectthe desired branch (for example `dev`) -> press the button `Run workflow`
289
-
4. When it's done, many packages (called build artifacts) will be created for that workflow.
291
+
4. When it's done, many packages (called build artifacts) will be created for that workflow.
290
292
Make sure to select the workflow again to view its history, then select the last run at the very top to view its artifacts
291
293
292
294
<br/>
293
295
294
296
Important note:
295
297
---
296
298
297
-
When you build the dependencies workflows, they will be cached to decrease the build times of the next triggers and avoid unnecessary/wasteful build process.
299
+
When you build the dependencies workflows, they will be cached to decrease the build times of the next triggers and avoid unnecessary/wasteful build process.
298
300
This will cause a problem if at any time the third-party dependencies were updated, in that case you need to manually delete the cache, in your fork:
299
301
1. Go to the `Actions` tab at the top
300
302
2. Select `Caches` from the left side panel
@@ -312,13 +314,13 @@ Open CMD in the repos's directory, then run this script
312
314
```batch
313
315
package_win.bat <build_folder>
314
316
```
315
-
`build_folder` is any folder inside `build\win`, for example: `vs2026\release`
317
+
`build_folder` is any folder inside `build\win`, for example: `vs2026\release`
316
318
The above example will create a `.7z` archive inside `build\package\win\`
317
319
318
320
### On Linux:
319
321
Open bash terminal in the repos's directory, then run this script
320
322
```shell
321
323
package_linux.sh <build_folder>
322
324
```
323
-
`build_folder` is any folder inside `build/linux`, for example: `gmake2/release`
325
+
`build_folder` is any folder inside `build/linux`, for example: `gmake2/release`
324
326
The above example will create a compressed `.tar` archive inside `build/package/linux/`
0 commit comments