Xaymar / Hellextractor

A simple tool to extract things from Helldivers 2 for your 3D printing needs.
BSD 3-Clause "New" or "Revised" License
32 stars 5 forks source link

[Help]: Cannot extract files (and cannot run hellextractor.exe) #16

Closed 1rone closed 6 months ago

1rone commented 6 months ago

Describe the Bug

C:\Users\User 1\Hellextractor>hellextractor.exe 'hellextractor.exe' is not recognized as an internal or external command, operable program or batch file.

Did all Building steps, but receiving this stuff everytime.

And, because of it:

Executing: extract -o ./output "c:\program files (x86)\steam\steamapps\common\Helldivers 2\data" Start-Process : This command cannot be run due to the error: The system cannot find the file specified. At C:\Users\User 1\Hellextractor\hellextractor.ps1:113 char:5

Last known working version

No response

Xaymar commented 6 months ago

Works just fine here. Make sure that Hellextractor.exe is actually in the place you are running the command from. As for the .ps1/.cmd file, Hellextractor.exe needs to be in the same directory as them.

1rone commented 6 months ago

It looks like hellextractor.exe is not on computer. Here are my directory with project:

Screenshot 2024-02-29 130859

What I did:

1) Git clone 2) cd to project 3) cmake -S. -Bbuild 4) cmake --build build 4.5) PowerShell - as admin, "Set-ExecutionPolicy RemoteSigned" 5) trying to use any commands with hellextractor.exe - there is no such file

Xaymar commented 6 months ago

If you build it yourself, Hellextractor.exe will end up in {BUILDDIR}/{CONFIGTYPE}. You need to move it to the directory you want to use it from.

1rone commented 6 months ago

Understood. Found it. Thank you very much!