Skip to content

Commit 1ddaad1

Browse files
committed
delete gen emu config
1 parent c2d4807 commit 1ddaad1

29 files changed

Lines changed: 1 addition & 4265 deletions

‎.github/workflows/gen_emu_config-build-linux.yml‎

Lines changed: 0 additions & 52 deletions
This file was deleted.

‎.github/workflows/gen_emu_config-build-win.yml‎

Lines changed: 0 additions & 68 deletions
This file was deleted.

‎.github/workflows/gen_emu_config-pull-request.yml‎

Lines changed: 0 additions & 22 deletions
This file was deleted.

‎.github/workflows/release.yml‎

Lines changed: 0 additions & 112 deletions
Original file line numberDiff line numberDiff line change
@@ -186,118 +186,6 @@ jobs:
186186
compression-level: 0
187187
retention-days: 7
188188

189-
gen_emu_script-win:
190-
name: "Gen emu config win"
191-
if: ${{ !cancelled() }}
192-
uses: "./.github/workflows/gen_emu_config-build-win.yml"
193-
194-
gen_emu_script-win-prep:
195-
needs: ["gen_emu_script-win"]
196-
runs-on: "windows-2022"
197-
steps:
198-
# on Windows Git will auto change line ending to CRLF, not preferable
199-
- name: "Ensure LF line ending"
200-
shell: "cmd"
201-
working-directory: "${{ github.workspace }}"
202-
run: |
203-
git config --local core.autocrlf false
204-
git config --system core.autocrlf false
205-
git config --global core.autocrlf false
206-
207-
# we need branch because it has package scripts
208-
- name: "Checkout branch"
209-
uses: actions/checkout@v4
210-
211-
- name: "Clone third-party deps (deps/win)"
212-
uses: actions/checkout@v4
213-
with:
214-
ref: "third-party/deps/win"
215-
path: "${{env.THIRD_PARTY_BASE_DIR}}/deps/win"
216-
217-
# download artifacts
218-
- name: "Download script build artifacts (Win)"
219-
uses: actions/download-artifact@v4
220-
with:
221-
path: "tools/generate_emu_config/bin/win"
222-
pattern: "generate_emu_config-win-*"
223-
merge-multiple: true
224-
225-
# package
226-
- name: "Package script"
227-
shell: "cmd"
228-
working-directory: "tools/generate_emu_config"
229-
run: package_win.bat
230-
231-
# release tag
232-
- name: "Release"
233-
if: startsWith(github.ref, 'refs/tags/')
234-
uses: softprops/action-gh-release@v2
235-
with:
236-
files: "tools/generate_emu_config/bin/package/win/**/*"
237-
238-
# upload artifact/package if this is a manual run
239-
- name: "Upload release package"
240-
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
241-
uses: actions/upload-artifact@v4
242-
with:
243-
name: "release-generate_emu_config-win-${{ github.sha }}"
244-
path: "tools/generate_emu_config/bin/package/win/**/*"
245-
if-no-files-found: "error"
246-
compression-level: 9
247-
retention-days: 7
248-
249-
gen_emu_script-linux:
250-
name: "Gen emu config linux"
251-
if: ${{ !cancelled() }}
252-
uses: "./.github/workflows/gen_emu_config-build-linux.yml"
253-
254-
gen_emu_script-linux-prep:
255-
needs: ["gen_emu_script-linux"]
256-
runs-on: "ubuntu-20.04"
257-
steps:
258-
# we need branch because it has package scripts
259-
- name: "Checkout branch"
260-
uses: actions/checkout@v4
261-
262-
# download artifacts
263-
- name: "Download script build artifacts (linux)"
264-
uses: actions/download-artifact@v4
265-
with:
266-
path: "tools/generate_emu_config/bin/linux"
267-
pattern: "generate_emu_config-linux-*"
268-
merge-multiple: true
269-
270-
# fix folder permissions! not sure why this fails
271-
# nested subdirs "build/linux/release" cause permission problems
272-
- name: "Give all permissions to repo folder"
273-
shell: "bash"
274-
working-directory: "${{ github.workspace }}"
275-
run: sudo chmod -R 777 "${{ github.workspace }}"
276-
277-
# package
278-
- name: "Package script"
279-
shell: "bash"
280-
working-directory: "tools/generate_emu_config"
281-
run: sudo chmod 777 package_linux.sh && sudo ./package_linux.sh
282-
283-
# release tag
284-
- name: "Release"
285-
if: startsWith(github.ref, 'refs/tags/')
286-
uses: softprops/action-gh-release@v2
287-
with:
288-
files: "tools/generate_emu_config/bin/package/linux/**/*"
289-
290-
# upload artifact/package if this is a manual run
291-
- name: "Upload release package"
292-
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
293-
uses: actions/upload-artifact@v4
294-
with:
295-
name: "release-generate_emu_config-linux-${{ github.sha }}"
296-
path: "tools/generate_emu_config/bin/package/linux/**/*"
297-
if-no-files-found: "error"
298-
compression-level: 9
299-
retention-days: 7
300-
301189
migrate_gse_script-win:
302190
name: "Migrate GSE win"
303191
if: ${{ !cancelled() }}

‎README.md‎

Lines changed: 1 addition & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ This project depends on many third-party libraries and tools, credits to them fo
3030

3131
# How to use the emu
3232
* **Always generate the interfaces file using the `generate_interfaces` tool.**
33-
* **Generate the proper app configuration using the `generate_emu_config` tool.**
3433
* **If things don't work, try the `ColdClientLoader` setup.**
3534

3635
You can find helper guides, scripts, and tools here:
3736

3837
**(These guides, scripts, and tools are maintained by their authors.)**
3938

39+
* **[GBE Fork Tools](https://github.com/Detanup01/gbe_fork_tools)**
4040
* **[GBE-Autoconfigurator](https://github.com/daci12345/GBE-Autoconfigurator)**
4141
* **[Semuexec](https://gitlab.com/detiam/Semuexec)**
4242
* **[Steam Emu Utility](https://github.com/turusudiro/SteamEmuUtility)**
@@ -276,42 +276,6 @@ An example script `build_linux_premake.sh` is available, check it out
276276

277277
---
278278

279-
## **Building the tool `generate_emu_config`**
280-
Navigate to the folder `tools/generate_emu_config/` then
281-
282-
### On Windows:
283-
Open CMD then:
284-
1. Create python virtual environemnt and install the required packages/dependencies
285-
```batch
286-
recreate_venv_win.bat
287-
```
288-
2. Build the tool using `pyinstaller`
289-
```batch
290-
rebuild_win.bat
291-
```
292-
293-
This will build the tool inside `bin\win`
294-
295-
### On Linux:
296-
Open bash terminal then:
297-
1. Create python virtual environemnt and install the required packages/dependencies
298-
```shell
299-
sudo ./recreate_venv_linux.sh
300-
```
301-
You might need to edit this script to use a different python version.
302-
Find this line and change it:
303-
```shell
304-
python_package="python3.12"
305-
```
306-
2. Build the tool using `pyinstaller`
307-
```shell
308-
./rebuild_linux.sh
309-
```
310-
311-
This will build the tool inside `bin/linux`
312-
313-
---
314-
315279
## **Using Github CI as a builder**
316280

317281
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.

‎tools/generate_emu_config/README.md‎

Lines changed: 0 additions & 64 deletions
This file was deleted.

0 commit comments

Comments
 (0)