I installed PowerShell version 7.4.1 and it worked find for extracting the info from 'Stranded Alien Dawn". For the other PowerShell rookies besides me this is a clear guide to getting PS to run: https://stackoverflow.com/questions/2035193/how-to-run-a-powershell-script. Many thanks to the OP and all those that have commented. Now I just need to find a beginner LUA guide!
As a note, the title text is overwriting the image instructions in the OP. I had to copy the image to a image editor to be able to read steps 2 thru 5.
If anyone can provide free tools to reliably convert the DDS to png, please post in comments.
https://github.com/microsoft/DirectXTex/releases
texconv.exe *.dds -ft tga
(or png)
quote from devs about the dds files
For the UI images shipped with the game we switched to BC7 compression format, which we store in DDS files. We use Intel's ispc_texcomp conversion library (on GitHub). Because BC7 works on 4x4 blocks of pixels, and thus requires image dimensions to be multiples of 4; we internally pad the images to 4x4, but still store the "real" dimensions in the header, because we need the exact original size to do UI layout. This probably makes them look corrupted to some tools.
(I've mentioned this on my extract hpk files guide)
Hi mate. Sorry to bother you, but as you have said you got it to work, I thought i'd ask a question in case i'm missing something simple, Powershell7 keeps coming back with error: hpk.exe missing and error: unluac.jar missing despite both being in the same folder. Did you experience anything like this when you ran the unpackall.ps1 script?
13 comments
As a note, the title text is overwriting the image instructions in the OP. I had to copy the image to a image editor to be able to read steps 2 thru 5.
texconv.exe *.dds -ft tga
(or png)
quote from devs about the dds files
(I've mentioned this on my extract hpk files guide)
You're the best!
Haemimont Games the Stranded Alien Dawn, but so far no one has mod or cheated it.
Thanks for the tool.
C:\Program Files (x86)\Steam\steamapps\common\Surviving Mars\UnpackAll.ps1:64 sign:20+ ... $hpkList | ForEach-Object -ThrottleLimit $throttleLimit -Parallel {+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : MetadataError: (:) [ForEach-Object], ParameterBindingException + FullyQualifiedErrorId : AmbiguousParameterSet,Microsoft.PowerShell.Commands.ForEachObjectCommand
Maybe you should add a warning on the front page that this will not work with Power Shell 5.x
Seems to work fine on 7.1.5. Haven't tested any version between those two.