Giter Site home page Giter Site logo

open-goal / launcher Goto Github PK

View Code? Open in Web Editor NEW
59.0 59.0 12.0 185.12 MB

A launcher for the OpenGOAL Project to simplify usage and installation

License: ISC License

HTML 0.28% JavaScript 3.18% Rust 40.73% Svelte 38.51% CSS 0.82% TypeScript 16.48%

launcher's People

Contributors

dallmeyer avatar dependabot[bot] avatar fabjan avatar hazzydevil avatar neofoxxo avatar opengoalbot avatar qurious-pixel avatar samantatarun avatar trippjoe avatar xtvaser avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

launcher's Issues

Linux error running tauri dev

I am getting this error running npm run tauri dev

  vite v2.9.14 dev server running at:

  > Local: http://localhost:3000/
  > Network: use `--host` to expose

  ready in 276ms.

        Info Watching /home/helias/Documenti/sources/OpenGoal/launcher/src-tauri for changes...
   Compiling gdk-pixbuf v0.15.11
   Compiling soup2 v0.2.1
   Compiling opengoal-launcher v1.5.2 (/home/helias/Documenti/sources/OpenGoal/launcher/src-tauri)
   Compiling fs_extra v1.2.0
error: failed to run custom build command for `opengoal-launcher v1.5.2 (/home/helias/Documenti/sources/OpenGoal/launcher/src-tauri)`

Caused by:
  process didn't exit successfully: `/home/helias/Documenti/sources/OpenGoal/launcher/src-tauri/target/debug/build/opengoal-launcher-6ccaa64899a3a154/build-script-build` (exit status: 1)
  --- stdout
  cargo:rerun-if-env-changed=TAURI_CONFIG
  cargo:rerun-if-changed=tauri.conf.json
  cargo:rustc-cfg=desktop
  cargo:rustc-cfg=dev
  path matching bin/extractor-x86_64-unknown-linux-gnu not found.
warning: build failed, waiting for other jobs to finish...

๐Ÿš€ A new version of Tauri CLI is available! [1.2.0]
npm ERR! code ELIFECYCLE
npm ERR! errno 101
npm ERR! [email protected] tauri: `tauri "dev"`
npm ERR! Exit status 101
npm ERR! 
npm ERR! Failed at the [email protected] tauri script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/helias/.npm/_logs/2022-11-22T00_00_03_620Z-debug.log

is it because Linux is not supported in the last version yet?

image

[mods] Some ideas for an OpenGOAL Mod Manager.

This is more or less an extension of open-goal/jak-project#386 but will be helpful for keeping track of ideas related to this feature specifically. I've been doing some thinking on this and here's what I've got so far:

The overall goal with this should be to make modifications to OpenGOAL easy and accessible for end-users. I'm looking to programs like Nexus Mod Manager and Mod Organizer for inspiration on approaching OpenGOAL modding.

For the purposes of this program, I'm considering "mods" as any sort of changes to textures, 3D assets and models, code, audio, etc.

I want it to have a certain set of capabilities:

  • It needs to support both Windows and Linux, with the ability to port to macOS once the macOS port is complete. This means I can't use an MFC GUI and will likely need to use a cross-platform GUI lib like Electron or Qt.

  • Broad support for a range of different file types. Whether it's a .txt, .gc, .png, .p3d, etc, our mod manager should be able to support and hotpatch the modded files on top of the vanilla, while also preserving an original copy of the vanilla files so they can be swapped back later.

  • Whether a mod simply consists of a single texture swap, or a complete "overhaul", e.g. many different types of modifications to both gameplay code and other assets, it should be as easy as clicking a button to activate a mod, and as easy as another click to deactivate that mod and go back to the vanilla gameplay.

  • Conflict detection is a MUST. If you are trying to activate two mods that change the same file, there should be a set of options the user is given to resolve that conflict.

We could create an archive format for packing these changes up, something like *.gomod.

Once a mod creator has finished their modifications, they should be able to use our packer to create a .gomod file containing their changes, which our mod manager then recognizes and lists as an activatable mod. We could create some sort of file that parses metadata about the mod, so that it has a nice clean name, a description of what the mod does, and maybe even a cover image.

I've started work on this and once I have a semi-functioning GUI I will push the repository to the organization to figure out what's next.

Custom background ideas

Some ideas I've got regarding the background of the app.

  • Use a random image from the games screenshots folder.
  • Choose the background based on the latest user save location in game.
  • Disabling background video (use still image)
  • Let users upload their own backgrounds images / videos.

Can't seem to get the launcher open

As the title says, can't open the launcher by double clicking on both shortcut and the exe, tried uninstalling and reinstalling but still nothing, how can I fix this? Any replies are greatly appreciated

Launcher won't open

Launcher does not open at all, both from the desktop shortcut and from the exe file in the directory itself. I tried installing it on every disk but it still won't open. How do I install it so it can run?

Translation support

Make it easy to translate the strings / select a language. If we are going to this much effort to make the games translatable, makes sense to do the same for the launcher.

Look into some collaborative translation tool,s we only have a few strings here so should be able to find something

Launcher only supports ISO files

Not really a priority, but as far as making it as easy as possible to obtain the game legally, the launcher should support reading/copying the data directly from the disc.

On a side note: It should also support copying directly from a folder, the other day I had to obtain my ISO again because I couldn't use the extracted data I already had from the main project.

Detect Vulkan support

Further down the road, if the games ever end up supporting Vulkan, the user's GPU should be checked for Vulkan support in addition to OpenGL.

Launcher on the steam deck is not detecting system information correctly

Right now when running the launcher on SteamDeck, it does claims the device does not support the appropriate OpenGL version, despite the game running fine on the platform if built from the main repo. Perhaps an 'ignore compatability warning' option could help as a work around for now?

Throw nice understandable error if provided unexpected junk.

Apparently the launcher can take in files other than .iso and the play button will appear.

If provided a zip or anything other than an iso it should display a message to the user saying they provided X but we expected to receive Y. Maybe even run some checks on the iso contents to verify it's a valid iso?

Open Folder buttons not working

imagen
The "open saves folder" and "open settings folder" of the 2.0.0/2.0.1 launcher are not working. The "Open folder" buttons of the settings>version management do work.

I'm in Windows 11 and the launcher and the game installation directory are in diferent disk (The launcher is on C:\ the installation directory is on D:\ ). The rest of the launcher seems to be working fine.

custom install path settings

Think we should be able to set the install path of the games in the UI of the launcher and the settings.json file.
We should be able to set either a base path where all games default too or set the path per game like other launchers.

Currently the game gets installed in the roaming appdata directory.

[Feature request] Add a REPL button between "Compile" and "uninstall" buttons

A few ideas that might make things more clear for end users who are tinkering with openGOAL on the launcher version.

  • when installing, copy goalc.exe to %appdata%\OpenGOAL-Launcher\goalc.exe and have the button launch it there, so it can find the appropriate data folder.

  • Have this REPL button open the REPL that is in the %appdata% directory.

  • After install/copying process is complete remove C:\Program Files\opengoal-launcher\data directory and C:\Program Files\opengoal-launcher\goalc.exe as they are both confusing to end users tinkering with things.

Any way to change OpenGOAL-Launcher extraction data folder?

Currently extracted iso data is stored only in c:\Users\my user name\AppData\Roaming\OpenGOAL-Launcher\ but i don't wanna clog precious free ssd space with this..Why it can't be stored in the actual installation folder of OpenGOAL-Launcher?

Enhanced log display system

"Might be good to have a button that just pops up a text box to copy the latest log from or something of the sort" - Hat Kid

Remove data directory in program files after install.

Remove C:\Program Files\OpenGOAL-Launcher\data after install. This data folder is unused the launcher actually uses the install at C:\Users\NinjaPC\AppData\Roaming\OpenGOAL-Launcher\data via passing the proj-path flag to gk.exe

launcher wont launch and no log file created

Acknowledgements

  • I have searched for duplicate or closed bug reports
  • I understand that I am supposed to provide my own legitimately obtained copy of the game
  • If possible, I've attached the support package zip file to the issue see how here

Attach Support Package / Log Files (drag and drop)

There arent any log files to put here. I know if they were it would be extremely easy to fix this

Screenshot (18)

It should appear when searched like this and it does not.
I followed user/me/appdata/roaming but it was not there

Describe the Bug

I am also facing this issue. I also couldn't find a log file after following xTVaser instructions in #117 and could not find a log folder where it was specified
This worked I think a month after Jak was fully released and now the launcher does not want to load anything.
It didn't work prior to wiping my drives and giving my pc a new boot.
I proceeded to do the following:
I followed the youtube link https://www.youtube.com/watch?v=p8I9NfuZOgE on the OpenGOAL website and followed it 1:10 where all I need to do is double click the application for the launcher to launch and it did not, been searching for a solution for about 20mins and I'm lost. Any help will be appreciated

How To Reproduce

I don't really know how it occurred to reproduce it. I followed the guide (https://www.youtube.com/watch?v=p8I9NfuZOgE) and got to 1:10 and it simply won't launch.

Operating System

Windows 10 Home VER 22H2 OS build 19045.2728

Launcher Version

v2.0.4

Tooling Version

N/A

Ability to rescan for requirements

There are situations where people are going to change hardware / update drivers / etc and they may need to recheck the requirements that may have failed and now may pass.

Adding texture packs

It would be neat to have a feature where you can drag a texture pack zip file into the launcher and it can automatically unzip and place the files in the texture_replacements folder.

The zip file's directory layout will already be structured so it just has to be "dragged" into the main 'out' folder. The files will populate where necessary.

image

Switch from `npm` to `yarn`

yarn is better and faster -- but this isn't a huge priority. The scary part is breaking a part of the somewhat complicated release strategy that depends on npm.

[Bug With Launcher (2.0.8)] Runs in Background When the Launcher is Closed.

Acknowledgements

  • I have searched for duplicate or closed bug reports
  • I understand that I am supposed to provide my own legitimately obtained copy of the game

Describe the Bug

Trying to move the OpenGoal folder (containg the data folder) from Desktop to another hard drive, I can not because it says the program is still running, even though the app is closed.

Here is a picture of what it looks like:
Screenshot 2023-04-02 160132

How To Reproduce

  1. Download and install the latest version of the OpenGoal Launcher (2.0.8 from https://opengoal.dev/).
  2. Set up everything: the game and launcher up in a Desktop folder.
  3. Close the launcher.
  4. Move the opengoal folder where all data is held from Desktop to another hard drive, you will get this error.

Does this problem occur on original hardware or PCSX2?

Yes, it's unique to OpenGOAL

Expected Behavior

When the OpenGoal Launcher closes, there should be no lingering background processes. Everything should be terminated, nothing to slow down my computer or drain battery :).

Operating System

Windows 11, Latest Insider Beta Version

OpenGOAL Version

2.0.8

Game Version

NTSC Greatest Hits version (red label)

Are you using a high refresh-rate monitor (>60Hz)

Yes

A button that restores settings to their default state for the specific game.

Potentially a good idea to add somewhere if someones game isn't running anymore. Just delete the pc-settings.gc file and let the game remake it as a potential troubleshooting step.

Though doing so might cause other bad side-effects -- like how the settings file tracks more than just settings, it also tracks completions / secrets / etc. Are these properly restored from a default state? No idea.

TODO: dev/new-ui

  • Fonts
  • Better UI when copying data files
  • General/Misc. error handling screen
    • Revise Reinstall & Outdated to use general error screen
  • Connect release notes to F.E
  • User Testing

[bug fix] launcher does not work offline

Can easily just say an internet connection is required during initial setup.

But maybe it would be possible to bundle the installer with a "baseline" release so the launcher could at least setup something offline, even if it isn't the latest version.

[User Error]Compile button does not compile after updating to 1.0.2

Acknowledgements

I have searched for duplicate or closed bug reports
I understand that I am supposed to provide my own legitimately obtained copy of the game

Describe the Bug

the game cannot be compiled using the provided compile button from the launcher,

however, the game was correctly setup, as hitting the play button works, and the decompile button works.
i have in addation also tried: uninstalling jak and re running the setup, same result
uninstalling, deleting all files left in the /programfiles/ that were left behind, and installing fresh, same result

Steps to reproduce:

  • One: launch the launcher
  • B: Attempt to push the compile button
  • Tree: wait for a few secs
  • See: That the compile took only 5 seconds
  • And: Go to the logs and see only one line

Expected Behavior

recomplie action to occur. more output in logs(?) if it actually recompiled, but doubt as it took 5 seconds.

Operating System and other info

Windows 10 21H2 Build:19044.1826
OpenGOAL Version v0.1.22
OpenGOAL Launcher v1.0.2
launcher-install_0.log

Unable to download version...

Acknowledgements

  • I have searched for duplicate or closed bug reports
  • I understand that I am supposed to provide my own legitimately obtained copy of the game

Describe the Bug

Hello

After patch 2.0.0 I'm not able to play the game. When I want to download version it says Unable to download version so I downloaded it manualy but I can't open a folder either.

How To Reproduce

og1
og2

Does this problem occur on original hardware or PCSX2?

Yes, it's unique to OpenGOAL

Expected Behavior

.

Operating System

Windows 11

OpenGOAL Version

2.0.2

Game Version

NTSC 1.0 (black label)

Are you using a high refresh-rate monitor (>60Hz)

Yes

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.