A launcher for the OpenGOAL Project to simplify usage and installation
Go to file
dependabot[bot] fe3f0c9210
build(deps): bump the backend-deps group in /src-tauri with 2 updates (#574)
Bumps the backend-deps group in /src-tauri with 2 updates:
[thiserror](https://github.com/dtolnay/thiserror) and
[ts-rs](https://github.com/Aleph-Alpha/ts-rs).

Updates `thiserror` from 1.0.63 to 1.0.64
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/dtolnay/thiserror/releases">thiserror's
releases</a>.</em></p>
<blockquote>
<h2>1.0.64</h2>
<ul>
<li>Exclude derived impls from coverage instrumentation (<a
href="https://redirect.github.com/dtolnay/thiserror/issues/322">#322</a>,
thanks <a
href="https://github.com/oxalica"><code>@​oxalica</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="84484bc75c"><code>84484bc</code></a>
Release 1.0.64</li>
<li><a
href="023f036de4"><code>023f036</code></a>
Merge pull request <a
href="https://redirect.github.com/dtolnay/thiserror/issues/322">#322</a>
from oxalica/feat/mark-auto-derived</li>
<li><a
href="ae1f47e3e5"><code>ae1f47e</code></a>
Mark #[automatically_derived] for generated impls</li>
<li><a
href="ab5b5e375b"><code>ab5b5e3</code></a>
Upload CI Cargo.lock for reproducing failures</li>
<li><a
href="00b3c1405e"><code>00b3c14</code></a>
Work around new dead code warning in test</li>
<li>See full diff in <a
href="https://github.com/dtolnay/thiserror/compare/1.0.63...1.0.64">compare
view</a></li>
</ul>
</details>
<br />

Updates `ts-rs` from 9.0.1 to 10.0.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/Aleph-Alpha/ts-rs/releases">ts-rs's
releases</a>.</em></p>
<blockquote>
<h2>v10.0.0</h2>
<p>While v10.0.0 is a technically breaking change, <strong>we expect it
to be a drop-in replacement for almost all users</strong>.</p>
<h2>Changes to <code>HashMap&lt;K, V&gt;</code> (&amp; friends)</h2>
<p>In this release, we've changed how <code>HashMap&lt;K, V&gt;</code>
is represented in TypeScript.<br />
Before v10, ts-rs generated <code>{ [key: K]: V }</code>. This was never
technically correct, resulting in <code>tsc</code> accepting some code
which it should not have. Additionally, this resulted in issues when e.g
trying to use an <code>enum</code> as key.<br />
With v10, we now generate <code>{ [key in K]?: V }</code> instead.</p>
<h2>What's New?</h2>
<ul>
<li>Multiple types can be exported to the same file using
<code>#[ts(export_to = &quot;..&quot;)]</code></li>
<li><code>#[ts(as = &quot;..&quot;)]</code> and <code>#[ts(type =
&quot;..&quot;)]</code> now also work on enum variants</li>
<li>Support for more crates (<code>bson</code>,
<code>smol_str</code>)</li>
</ul>
<h2>Full changelog</h2>
<ul>
<li>Change <code>HashMap</code> to export mapped types by <a
href="https://github.com/gustavo-shigueo"><code>@​gustavo-shigueo</code></a>
in <a
href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/339">Aleph-Alpha/ts-rs#339</a></li>
<li>feat: add bson ObjectId impl by <a
href="https://github.com/ShaunSHamilton"><code>@​ShaunSHamilton</code></a>
in <a
href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/340">Aleph-Alpha/ts-rs#340</a></li>
<li>Fix JSDoc formatting for Rust block comments by <a
href="https://github.com/gustavo-shigueo"><code>@​gustavo-shigueo</code></a>
in <a
href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/342">Aleph-Alpha/ts-rs#342</a></li>
<li>Fix error in internally tagged enums with flattened fields by <a
href="https://github.com/gustavo-shigueo"><code>@​gustavo-shigueo</code></a>
in <a
href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/344">Aleph-Alpha/ts-rs#344</a></li>
<li>feat: Allow multiple types to set <code>#[ts(export_to =
&quot;...&quot;)]</code> to the same file by <a
href="https://github.com/escritorio-gustavo"><code>@​escritorio-gustavo</code></a>
in <a
href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/316">Aleph-Alpha/ts-rs#316</a></li>
<li>Always use forward slash on import paths by <a
href="https://github.com/gustavo-shigueo"><code>@​gustavo-shigueo</code></a>
in <a
href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/346">Aleph-Alpha/ts-rs#346</a></li>
<li>feature: support smol_str by <a
href="https://github.com/corvusrabus"><code>@​corvusrabus</code></a> in
<a
href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/350">Aleph-Alpha/ts-rs#350</a></li>
<li>Support <code>#[ts(as = &quot;...&quot;)]</code> and <code>#[ts(type
= &quot;...&quot;)]</code> on enum variants by <a
href="https://github.com/escritorio-gustavo"><code>@​escritorio-gustavo</code></a>
in <a
href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/284">Aleph-Alpha/ts-rs#284</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/ShaunSHamilton"><code>@​ShaunSHamilton</code></a>
made their first contribution in <a
href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/340">Aleph-Alpha/ts-rs#340</a></li>
<li><a
href="https://github.com/corvusrabus"><code>@​corvusrabus</code></a>
made their first contribution in <a
href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/350">Aleph-Alpha/ts-rs#350</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/Aleph-Alpha/ts-rs/blob/main/CHANGELOG.md">ts-rs's
changelog</a>.</em></p>
<blockquote>
<h1>master</h1>
<h3>Breaking</h3>
<ul>
<li>Change how <code>HashMap&lt;K, V&gt;</code> is represented in
TypeScript. The resulting bindings (<code>{ [key in K]?: V }</code>
instead of <code>{ [key: K]: V }</code>) are more accurate and
flexible.</li>
</ul>
<h3>Features</h3>
<ul>
<li>Allow multile types to have the same <code>#[ts(export_to =
&quot;...&quot;)]</code> attribute and be exported to the same file (<a
href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/316">#316</a>)</li>
<li>The <code>bson-uuid-impl</code> feature now supports
<code>bson::oid::ObjectId</code> as well (<a
href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/340">#340</a>)</li>
<li>Add support for types from <code>smol_str</code> behind cargo
feature <code>smol_str-impl</code> (<a
href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/350">#350</a>)</li>
<li>Support <code>#[ts(as = &quot;...&quot;)]</code> and <code>#[ts(type
= &quot;...&quot;)]</code> on enum variants (<a
href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/384">#384</a>)</li>
</ul>
<h3>Fixes</h3>
<ul>
<li>Properly handle block doc comments (<a
href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/342">#342</a>)</li>
<li>Fix error in internally tagged enums with flattened fields (<a
href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/344">#344</a>)</li>
<li>Always use forward slash on import paths (<a
href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/346">#346</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="0d92a2bb7e"><code>0d92a2b</code></a>
release v10.0</li>
<li><a
href="9763ca0195"><code>9763ca0</code></a>
Support <code>#[ts(as = &quot;...&quot;)]</code> and <code>#[ts(type =
&quot;...&quot;)]</code> on enum variants (<a
href="https://redirect.github.com/Aleph-Alpha/ts-rs/issues/284">#284</a>)</li>
<li><a
href="6651d920cb"><code>6651d92</code></a>
Fix smol_str-impl feature name in lib.rs</li>
<li><a
href="fb47428d23"><code>fb47428</code></a>
Fix smol_str-impl feature name in test</li>
<li><a
href="61a6d6a1fd"><code>61a6d6a</code></a>
Fix smol_str-impl feature name</li>
<li><a
href="7577aca5d2"><code>7577aca</code></a>
feature: support smol_str (<a
href="https://redirect.github.com/Aleph-Alpha/ts-rs/issues/350">#350</a>)</li>
<li><a
href="78591a2831"><code>78591a2</code></a>
Always use forward slash on import paths (<a
href="https://redirect.github.com/Aleph-Alpha/ts-rs/issues/346">#346</a>)</li>
<li><a
href="5cbc7405d8"><code>5cbc740</code></a>
feat: Allow multiple types to set <code>#[ts(export_to =
&quot;...&quot;)]</code> to the same file...</li>
<li><a
href="5c3b8c9457"><code>5c3b8c9</code></a>
Fix error in internally tagged enums with flattened fields (<a
href="https://redirect.github.com/Aleph-Alpha/ts-rs/issues/344">#344</a>)</li>
<li><a
href="7ee0cbc570"><code>7ee0cbc</code></a>
Update CHANGELOG</li>
<li>Additional commits viewable in <a
href="https://github.com/Aleph-Alpha/ts-rs/compare/v9.0.1...v10.0.0">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-26 20:38:54 -04:00
.github ci: enable verbose logs for tauri build to resolve macOS intermittent failures (#564) 2024-09-18 20:31:24 -04:00
.tauri release: update release metadata to latest 2024-09-19 00:21:43 +00:00
.vscode ci: update to macos-12 and node-20 (#466) 2024-04-14 15:25:58 -04:00
docs help: add a reference sheet for the game's default keyboard binds (#569) 2024-09-21 22:12:13 -04:00
fixtures prettier mods.json fixture (#547) 2024-08-31 11:27:27 -07:00
metadata release: bump to version - v2.5.0 2024-09-17 04:41:07 +00:00
public/images/jak1 Dynamically change game background based on user's game completion (#298) 2023-08-29 22:01:56 -04:00
scripts release: fix appimage release asset link 2023-07-31 17:03:32 -04:00
src help: allow launching the game with a one-off gk executable (#570) 2024-09-22 18:39:15 -04:00
src-tauri build(deps): bump the backend-deps group in /src-tauri with 2 updates (#574) 2024-09-26 20:38:54 -04:00
.gitignore Add mod support to the launcher (#476) 2024-04-28 15:27:34 -04:00
.prettierignore frontend: fix frontend styling (#269) 2023-07-08 18:01:47 -04:00
.prettierrc.json build(deps): bump the frontend-deps group with 16 updates (#427) 2024-01-30 21:58:48 -05:00
crowdin.yml i18n: make the app translatable (#196) 2023-05-06 13:10:54 -04:00
index.html build(deps-dev): bump the frontend-deps group with 8 updates (#289) 2023-07-24 18:38:03 -04:00
LICENSE Add mod support to the launcher (#476) 2024-04-28 15:27:34 -04:00
package-lock.json Add mod support to the launcher (#476) 2024-04-28 15:27:34 -04:00
package.json build(deps-dev): bump execa from 9.3.1 to 9.4.0 in the frontend-deps group across 1 directory (#562) 2024-09-18 20:16:21 -04:00
postcss.config.cjs UI Overhaul (#35) 2022-09-27 20:40:13 -04:00
README.md advanced: attempt to open a REPL on linux/macOS (#571) 2024-09-22 13:47:37 -04:00
svelte.config.js UI Overhaul (#35) 2022-09-27 20:40:13 -04:00
tailwind.config.cjs UI Overhaul (#35) 2022-09-27 20:40:13 -04:00
tsconfig.json build(deps): bump the frontend-deps group with 5 updates (#435) 2024-02-10 15:48:48 -05:00
tsconfig.node.json renamed files and updated config files accordingly 2022-05-30 10:20:24 -04:00
vite.config.ts build(deps-dev): bump the frontend-deps group with 8 updates (#289) 2023-07-24 18:38:03 -04:00
vitest.config.ts tests: Start writing tests, Splash and some of the lib/ functions (#280) 2023-07-22 00:07:23 -04:00
yarn.lock build(deps-dev): bump execa from 9.3.1 to 9.4.0 in the frontend-deps group across 1 directory (#562) 2024-09-18 20:16:21 -04:00

OpenGOAL Launcher

Crowdin

Our attempt at distributing the OpenGOAL releases in a cross-platform and easy to use and update way. It also is a place for features involving the games, such as texture pack or mod management.

The launcher uses the Tauri framework.

Usage

See the documentation on our website for hopefully up to date instructions on how to use it.

Asking for help

When asking for help, please download the support package which includes logs to help someone diagnose the problem.

If you cannot do this (for example, the bug relates to making the package / the application won't launch) then you can find the application logs in the following folders:

  • Windows C://Users/<YOUR_USER_NAME>/AppData/Roaming/OpenGOAL-Launcher/logs
  • Linux /home/<YOUR_USER_NAME>/.config/OpenGOAL-Launcher/logs

Note that both AppData and .config are hidden folders.

Development

Tauri requires a valid Rust installation, as well as a valid NodeJS installation.

For installing Rust, it's recommended to follow the instructions here https://www.rust-lang.org/tools/install

Windows

scoop install nodejs
npm install -g yarn

Linux (Ubuntu 22.04)

sudo apt install libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev # tauri deps, see - https://tauri.app/v1/guides/getting-started/prerequisites#setting-up-linux
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash # installs Node Version Manager (ubuntus package is woefully out of date)
source ~/.bashrc
nvm install lts/hydrogen # installs latest nodejs 18.X
npm install -g yarn

macOS

npm install -g yarn

Building and Running

To build and run the application locally, all you have to do is run:

yarn install
yarn tauri dev