Comments (9)
Is the second parameter [1] a directory?
[1] D:\Works\Tools\hpk-v0.3.9-x86_64-pc-windows-msvc\extracted
The hpk create
command expects a filename as last parameter for the new archive.
USAGE:
hpk create [FLAGS] [OPTIONS] <dir> <file>
from hpk.
Yes, this is the folder where the archive was extracted
from hpk.
You have to use it like this: hpk create packed Language.hpk
where packed
contains the content for the new archive.
from hpk.
Ooh, I'm a fool. Thanks for the help. But now the problem is that the game seems to see the file, but cannot read it and takes data from the original.
from hpk.
And I think I figured out what the problem is.
Does it depend on the order of the indexes?
Also the encoder is different.
from hpk.
So that I understand it correct, you copied the Russian.hpk
into the games folder [1], the game loads fine but you don't see any effect?
[1] steamapps/common/Stranded Alien Dawn/Local/Russian.hpk
Do you see an effect when you keep the localization files extracted in Local/Russian/CurrentLanguage/..
?
Or what happens when you replace the English.hpk
with your Russian.hpk
?
Does it depend on the order of the indexes?
Also the encoder is different.
The different index shouldn't matter.
I didn't implement other encoders except zlib
because Victor Vran and Surviving Mars would crash with lz4
compressed chunks. I don't know the difference between the lz4 library the games are using and the one I'm using.
The zlib
compressed chunks worked for previous games.
You could try the --dont-compress-files
parameter to pack the files uncompressed.
Usage hpk create --dont-compress-files <dir> <file>
from hpk.
So that I understand it correct, you copied the
Russian.hpk
into the games folder [1], the game loads fine but you don't see any effect?
yes, the game sees the file, but nothing happens when applying settings in the game
Or what happens when you replace the
English.hpk
with yourRussian.hpk
?
nothing
Do you see an effect when you keep the localization files extracted in
Local/Russian/CurrentLanguage/..
?
nothing, it just doesn't work
You could try the
--dont-compress-files
parameter to pack the files uncompressed.Usage
hpk create --dont-compress-files <dir> <file>
d:\Works\Tools\hpk-v0.3.9-x86_64-pc-windows-msvc>hpk create --dont-compress-files --chunk-size 131072 D:\Works\Tools\hpk-v0.3.9-x86_64-pc-windows-msvc\extracted Russian.hpk
error: Found argument '--dont-compress-files' which wasn't expected, or isn't valid in this context
from hpk.
HURRAH!
I downloaded the latest version of the archiver and it all worked!
And packed without compression. Maybe this was the problem.
In any case, thanks!
from hpk.
HURRAH! I downloaded the latest version of the archiver and it all worked!
Nice. 👍
Maybe I can find some time to look into zstd
compression and get it working with the newer games.
from hpk.
Related Issues (19)
- Support _filedates file
- Surviving Mars zstd compression HOT 8
- FYI: For OSX, upgrade to zstd required HOT 3
- error: Could not compile `hpk` HOT 5
- SIGSEGV: invalid memory reference while cargo build --release HOT 8
- Help with offsets HOT 5
- Repacked `.hpk` does not work in Surviving Mars (loads forever) HOT 8
- Add option to switch between zlib and lz4 for compressing chunks
- The First Templar HOT 9
- Jagged Alliance 3 hpk archiving issue HOT 3
- Inject file into package HOT 5
- Stranded Alien Dawn : UnexpectedEof
- Texture Files missing from extract..
- Add option to specify file extensions for compressing files
- Add option to compress the whole hpk file
- Victor Vran crashes with newly created files and lz4 compressed chunks HOT 1
- This does not properly extract Surviving Mars files HOT 2
- Surviving mars corrupt extraction HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hpk.