Git Product home page Git Product logo

Comments (28)

lat9nq avatar lat9nq commented on July 21, 2024 1

Oh I see what I did, wasn't copying to PATH
Yeah it works now

from filediver.

xypwn avatar xypwn commented on July 21, 2024

It should try to look for the game files in the "Helldivers 2/data" directory. Could you please post the output of ls "/home/lat9nq/.local/share/Steam/steamapps/common/Helldivers 2/data"

from filediver.

lat9nq avatar lat9nq commented on July 21, 2024

data.txt
This might be a slightly old version of the game as I haven't started Steam in a few days.

from filediver.

xypwn avatar xypwn commented on July 21, 2024

I just updated the code to include the "Steam" portion of the steam path. Can you see if it detects your game directory correctly now?

from filediver.

xypwn avatar xypwn commented on July 21, 2024

lol I found why it didn't find any files. You wrote "wise_stream" instead of "wwise_stream".
It should work if you change it wwise_stream :)

from filediver.

lat9nq avatar lat9nq commented on July 21, 2024

lol I found why it didn't find any files. You wrote "wise_stream" instead of "wwise_stream". It should work if you change it wwise_stream :)

Apologies, the provided example is indeed incorrect. I have also tried copy-pasting the file name to no effect.

from filediver.

lat9nq avatar lat9nq commented on July 21, 2024

I just updated the code to include the "Steam" portion of the steam path. Can you see if it detects your game directory correctly now?

It detects the game directory automatically now.

$ filediver -c "audio:format=source" -i 747204275.wwise_stream
INFO Using game found at: "/home/lat9nq/.local/share/Steam/steamapps/common/Helldivers 2"
INFO Output directory: "extracted"
INFO Reading metadata...
INFO Extracting files...
INFO Extracted 0/0 matching files

from filediver.

lat9nq avatar lat9nq commented on July 21, 2024

Oh and also, sorry I haven't been of much help with providing patches to the source: Go is completely foreign to me.

from filediver.

xypwn avatar xypwn commented on July 21, 2024

Oh and also, sorry I haven't been of much help with providing patches to the source: Go is completely foreign to me.

No need to apologize :)

from filediver.

xypwn avatar xypwn commented on July 21, 2024

I just updated the code to include the "Steam" portion of the steam path. Can you see if it detects your game directory correctly now?

It detects the game directory automatically now.

$ filediver -c "audio:format=source" -i 747204275.wwise_stream
INFO Using game found at: "/home/lat9nq/.local/share/Steam/steamapps/common/Helldivers 2"
INFO Output directory: "extracted"
INFO Reading metadata...
INFO Extracting files...
INFO Extracted 0/0 matching files

You need to specify the full path. If you want to match the file in any path, you need to use filediver -c "audio:format=source" -i "**747204275.wwise_stream"

from filediver.

lat9nq avatar lat9nq commented on July 21, 2024

You need to specify the full path. If you want to match the file in any path, you need to use filediver -c "audio:format=source" -i "**747204275.wwise_stream"

Does the extracted data need to be in a specific location for this to work? Or is it extracting from the game files directly?

The suggestion did not solve the issue.

from filediver.

xypwn avatar xypwn commented on July 21, 2024

It doesn't matter where you extract it to. The program should automatically detect where the game is installed and extract it to the "extracted" folder in your current folder.

Maybe I misremembered the specific glob library's syntax. Can you try filediver -c "audio:format=source" -i "**/747204275.wwise_stream"?
Did the full path not work btw?

from filediver.

lat9nq avatar lat9nq commented on July 21, 2024

I'm not seeing any combination of relative, absolute, or glob directories that work here.

filediver -c "audio:format=source" -i "*/747204275.wwise_stream"
filediver -c "audio:format=source" -i "**/747204275.wwise_stream"
filediver -c "audio:format=source" -i $(readlink -e 747204275.wwise_stream) -- expands to filediver -c "audio:format=source" -i /home/lat9nq/Games/hd2/content/audio/747204275.wwise_stream

from filediver.

xypwn avatar xypwn commented on July 21, 2024

Ohh, I misunderstood what you were trying to do.
I thought you wanted to extract the audio from the game files. Filediver doesn't support converting files that are already ripped from the game. It rips the files itself, optionally converting them. Converting files is what vgmstream etc. are for.

from filediver.

xypwn avatar xypwn commented on July 21, 2024

I also fixed a bug related to glob evaluation recently. Can you try the previous command again after a git pull and rebuild?

from filediver.

lat9nq avatar lat9nq commented on July 21, 2024

I'm not seeing any change, unfortunately.

from filediver.

xypwn avatar xypwn commented on July 21, 2024

I see now. It's because the path to your file is not present in my hash list.
If you can give me a link to the hash list you got the file path from, I'd be happy to add these hashes to my hash list.

from filediver.

lat9nq avatar lat9nq commented on July 21, 2024

If that's the case, **/**.wwise_stream would work, wouldn't it? I had tried and got nothing.

FWIW whichever of the appropriate .txt files on the root directory of https://github.com/Xaymar/Hellextractor would be where it came from.

from filediver.

xypwn avatar xypwn commented on July 21, 2024

I did also take the strings from hellextractor, but apparently I haven't kept them entirely up to date, so I'll add them.
While selecting all wwise_stream files will also extract the file you're after, filediver won't know the name of the file since all that is present in the actual game files is the name's hash.

from filediver.

lat9nq avatar lat9nq commented on July 21, 2024

For sake of clarity I only randomly picked that file out of the Hellextractor output. I don't know what any of these are, and I don't really have any way of telling what any of it is or if it's even valid data.

from filediver.

xypwn avatar xypwn commented on July 21, 2024

Alright, I merged the new hellextractor hashes. It should have the name you mentioned among others that were missing now. Thanks for pointing that out.

from filediver.

lat9nq avatar lat9nq commented on July 21, 2024

Okay, my issue seems that the hashes file needs to be specified if I'm running filediver from a different location. Once I specified --hashes_file I got usable output.

This seems like an opportunity for the program to error out if there are no hashes, since I'm not sure what it can do without them. If this was a CMake/C++ project I'd offer to help integrating the hashes into the executable, so it's just there all the time but optionally a user could specify their own hashes file.

from filediver.

xypwn avatar xypwn commented on July 21, 2024

It already embeds the hashes.txt file in the current directory when filediver is built.

from filediver.

xypwn avatar xypwn commented on July 21, 2024

Maybe you forgot to git pull and/or rebuild

from filediver.

lat9nq avatar lat9nq commented on July 21, 2024

Unless go build isn't the command to rebuild it, I'm fairly certain I've been rebuilding the executable before I used it.

from filediver.

xypwn avatar xypwn commented on July 21, 2024

It works for me. Again, make sure you're using the newest version
Or tell me which file isn't working so I can see if maybe it's not present in the database for whatever reason

from filediver.

lat9nq avatar lat9nq commented on July 21, 2024
[lat9nq@qykopi ~]$ filediver -c "audio:format=source" -i "content/audio/**"
INFO Using game found at: "/home/lat9nq/.local/share/Steam/steamapps/common/Helldivers 2"
INFO Output directory: "extracted"
INFO Reading metadata...
INFO Extracting files...
INFO Extracted 6/6 matching files
[lat9nq@qykopi ~]$ filediver --hashes_file /home/lat9nq/repos/filediver/hashes.txt -c "audio:format=source" -i "content/audio/**"
INFO Using game found at: "/home/lat9nq/.local/share/Steam/steamapps/common/Helldivers 2"
INFO Output directory: "extracted"
INFO Reading metadata...
INFO Extracting files...
INFO Extracted 10492/10492 matching files

from filediver.

lat9nq avatar lat9nq commented on July 21, 2024
[lat9nq@qykopi ~]$ cd repos/filediver/
[lat9nq@qykopi filediver]$ go build
[lat9nq@qykopi filediver]$ cd
[lat9nq@qykopi ~]$ filediver -c "audio:format=source" -i "content/audio/**"
INFO Using game found at: "/home/lat9nq/.local/share/Steam/steamapps/common/Helldivers 2"
INFO Output directory: "extracted"
INFO Reading metadata...
INFO Extracting files...
INFO Extracted 6/6 matching files
[lat9nq@qykopi ~]$ filediver --hashes_file /home/lat9nq/repos/filediver/hashes.txt -c "audio:format=source" -i "content/audio/**"
INFO Using game found at: "/home/lat9nq/.local/share/Steam/steamapps/common/Helldivers 2"
INFO Output directory: "extracted"
INFO Reading metadata...
INFO Extracting files...
INFO Extracted 10492/10492 matching files

from filediver.

Related Issues (5)

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.