Jagged Alliance 3

Jagged Alliance 3

データを表示:
hpk file
how do i edit *hpk file? i want to translate on my own
< >
1-10 / 10 のコメントを表示
ivanassen  [開発者] 2023年7月14日 9時34分 
Localization via mod is coming with the modding update, which is not announced but will be Soon. Enjoy the game until then, play it to learn a bit about the world - that will make the translation better.
thanks!
you can unpack them with HPK archiver

after download use

for %%g in (*.hpk) do mkdir "%%~ng"
for %%g in (*.hpk) do hpk.exe extract "%%g" "%%~ng"
@echo All Done!
pause
ivanassen の投稿を引用:
....Enjoy the game...
Just played 6 hours straight, having a small break before jumping back in. Thank You so much for making the game.
Vendaar の投稿を引用:
you can unpack them with HPK archiver

after download use

for %%g in (*.hpk) do mkdir "%%~ng"
for %%g in (*.hpk) do hpk.exe extract "%%g" "%%~ng"
@echo All Done!
pause
and for repack?
according to this thread on Surviving Mars board https://steamcommunity.com/sharedfiles/filedetails/?id=1470006983
To create hpk archives use: hpk.exe create FolderContainingFiles ModContent.hpk
Which I tried.
I unpacked the UI.hpk, replaced one merc portrait and repacked it.

But I guess the hpk structure changed because I am getting CTD when trying to load the loading screen:
[ResManager Error] Cannot load metadata for path: UI/Inventory/T_Backpack_Slot_Small_2
Could not load image UI/Inventory/T_Backpack_Slot_Small_2!
[ResManager Error] Cannot load metadata for path: UI/Hud/radar
Could not load image UI/Hud/radar!
[ResManager Error] Cannot load metadata for path: UI/SplashScreen
Could not load image UI/SplashScreen!
Lua time 0:00:04:042
[ResManager Error] Cannot load metadata for path: UI/Logos/SplashScreen_Logo_THQN
Could not load image UI/Logos/SplashScreen_Logo_THQN!
Lua time 0:00:08:572
[ResManager Error] Cannot load metadata for path: UI/Logos/SplashScreen_Logo_HM
Could not load image UI/Logos/SplashScreen_Logo_HM!
Lua time 0:00:13:172
[ResManager Error] Cannot load metadata for path: UI/LoadingScreens/LoadingScreen
Could not load image UI/LoadingScreens/LoadingScreen!

Edit:
Actually, there is an issue on the hpk github, where they said use the 'dont compress files' option when creating the archive:
hpk.exe create FolderContainingFiles ModContent.hpk --dont-compress-files

And that seems to fix the CTD.
However I am now stuck on the loading screen of the savegame, I can click around and somehow the Merc responded, so it still does not work properly

Edit 2:
The filenames are case sensitive, I spelled the portrait IMP_Fixer.dds, when it should have been IMP_FIxer.dds

Edit3:
It works!
The merc portraits need to be in a specific dds format so that they come out as 119kB.
The settings I found working in paint.net are BC7 (Linear, DX 11+)
Generate Mip Maps
the rest are default settings
最近の変更はSledge Hammerが行いました; 2023年7月15日 10時40分
Sledge Hammer の投稿を引用:
according to this thread on Surviving Mars board https://steamcommunity.com/sharedfiles/filedetails/?id=1470006983
To create hpk archives use: hpk.exe create FolderContainingFiles ModContent.hpk
Which I tried.
I unpacked the UI.hpk, replaced one merc portrait and repacked it.

But I guess the hpk structure changed because I am getting CTD when trying to load the loading screen:
[ResManager Error] Cannot load metadata for path: UI/Inventory/T_Backpack_Slot_Small_2
Could not load image UI/Inventory/T_Backpack_Slot_Small_2!
[ResManager Error] Cannot load metadata for path: UI/Hud/radar
Could not load image UI/Hud/radar!
[ResManager Error] Cannot load metadata for path: UI/SplashScreen
Could not load image UI/SplashScreen!
Lua time 0:00:04:042
[ResManager Error] Cannot load metadata for path: UI/Logos/SplashScreen_Logo_THQN
Could not load image UI/Logos/SplashScreen_Logo_THQN!
Lua time 0:00:08:572
[ResManager Error] Cannot load metadata for path: UI/Logos/SplashScreen_Logo_HM
Could not load image UI/Logos/SplashScreen_Logo_HM!
Lua time 0:00:13:172
[ResManager Error] Cannot load metadata for path: UI/LoadingScreens/LoadingScreen
Could not load image UI/LoadingScreens/LoadingScreen!

Edit:
Actually, there is an issue on the hpk github, where they said use the 'dont compress files' option when creating the archive:
hpk.exe create FolderContainingFiles ModContent.hpk --dont-compress-files

And that seems to fix the CTD.
However I am now stuck on the loading screen of the savegame, I can click around and somehow the Merc responded, so it still does not work properly

Edit 2:
The filenames are case sensitive, I spelled the portrait IMP_Fixer.dds, when it should have been IMP_FIxer.dds

Edit3:
It works!
The merc portraits need to be in a specific dds format so that they come out as 119kB.
The settings I found working in paint.net are BC7 (Linear, DX 11+)
Generate Mip Maps
the rest are default settings
Really cool. That’s the spirit. Can’t wait for official mod tools and what community can do with it.
for repack use

hpk.exe create --dont-compress-files UI UI.hpk"
@echo All Done!
replace UI and UI.hpk with your desired folder name
Vendaar の投稿を引用:
for repack use

hpk.exe create --dont-compress-files UI UI.hpk"
@echo All Done!
Ty
< >
1-10 / 10 のコメントを表示
ページ毎: 1530 50

投稿日: 2023年7月14日 9時32分
投稿数: 10