Git Product home page Git Product logo

Comments (16)

nbusseneau avatar nbusseneau commented on May 30, 2024

Hi,

Is the /home/deck/Games/Heroic/Prefixes/Hades/pfx/drive_c/users/steamuser/Documents/Saved Games/Hades/ path static, i.e. is it the same for all Heroic users, or is it something you configured yourself?

If it's a static path, I'd rather have Hephaistos support it rather than provide an additional flag for it.

from hephaistos.

chloegix avatar chloegix commented on May 30, 2024

~/Games/Heroic/Prefixes is the default location for prefixes... However on any game install, the launcher allows the user to set the prefix location to be anywhere they want

from hephaistos.

nbusseneau avatar nbusseneau commented on May 30, 2024

I suppose Heroic exposes this prefix in a configuration file that could be read by Hephaistos. Would you know where that is?

from hephaistos.

nbusseneau avatar nbusseneau commented on May 30, 2024

Maybe in ~/.config/heroic/GamesConfig/Hades.json? (I'm reading the launcher's code and it seems to be where the game config is stored)

from hephaistos.

nbusseneau avatar nbusseneau commented on May 30, 2024

Can you also check if maybe the install path of your game is listed in there? Or maybe in the Epic metadata? (I think it should be at ~/.config/legendary/metadata from the code) Or maybe .config/legendary/installed.json?

from hephaistos.

chloegix avatar chloegix commented on May 30, 2024

It took a bit of digging but I found the game config. It was in this location for me
/home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/GamesConfig/Min.json (The app name is "min" I guess, not "Hades")

Additionally, I found where the install path is located. All Heroic install paths are in the same json file located here

/home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/lib-cache/installInfo.json

I believe these locations may correspond to the flatpak version of heroic, which is what I am using.

installInfo.json: https://pastebin.com/ytLnfVaC

Min.json: https://pastebin.com/xnFiyvdx

from hephaistos.

nbusseneau avatar nbusseneau commented on May 30, 2024

Thanks. Interesting, why does it uses heroic and not legendary even though you are using Epic Games? 🤔

from hephaistos.

chloegix avatar chloegix commented on May 30, 2024

Not totally sure. It may be in the legendary metadata as well somewhere. But as far as I could see the legendary metadata just had general info of the game pulled from the epic store

from hephaistos.

nbusseneau avatar nbusseneau commented on May 30, 2024

Can you run this command to try and see if you find more stuff in the config?

grep -ri "hades" /home/deck/.var/app/com.heroicgameslauncher.hgl/config/

from hephaistos.

chloegix avatar chloegix commented on May 30, 2024

Here you go: https://pastebin.com/SyTqTWuy

In particular I notice this line:
/home/deck/.var/app/com.heroicgameslauncher.hgl/config/legendary/installed.json: "install_path": "/run/media/mmcblk0p1/Heroic/Hades",

from hephaistos.

nbusseneau avatar nbusseneau commented on May 30, 2024

Thanks. Can you upload these files as well? I think that should cover everything and then I can think on how to integrate Heroic to the supported launchers.

  • /home/deck/.var/app/com.heroicgameslauncher.hgl/config/legendary/installed.json
  • /home/deck/.var/app/com.heroicgameslauncher.hgl/config/legendary/metadata/Min.json
  • /home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/store/config.json

(Also, for future reference, you don't need to use pastebin, you can upload the files as attachments to GitHub comments as well)

from hephaistos.

nbusseneau avatar nbusseneau commented on May 30, 2024

Also, where is Hades actually installed on your system? Is it /run/media/mmcblk0p1/Heroic/Hades as stated above?

from hephaistos.

chloegix avatar chloegix commented on May 30, 2024

installed.json.txt
Min.json.txt
config.json.txt

For whatever reason, Github is saying it does not support json file uploads here, so they are in txt file format.

Also, yes I have it installed in /run/media/mmcblk0p1/Heroic/Hades
/run/media/mmcblk0p1/ is where the steamdeck mounts the sd card.

from hephaistos.

nbusseneau avatar nbusseneau commented on May 30, 2024

Working on implementation in branch pr/heroic. Here is a test build for Linux: hephaistos-linux.zip

Can you please run it from outside the Hades directory, to check if it properly detects your Hades installation path from Heroic configuration files, and suggests you to move it there? And then you can run it from the Hades directory "as usual" to patch the game: it should be able to pick up your save file location from Heroic configuration files.

from hephaistos.

chloegix avatar chloegix commented on May 30, 2024

Seems to be good! Ran it both out of and in the Hades directory.

Here's the output from both runs if you are interested

heroicTest.txt

from hephaistos.

nbusseneau avatar nbusseneau commented on May 30, 2024

Perfect, thanks. Released in v1.7.4.

from hephaistos.

Related Issues (20)

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.