Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
after download use
for %%g in (*.hpk) do mkdir "%%~ng"
for %%g in (*.hpk) do hpk.exe extract "%%g" "%%~ng"
@echo All Done!
pause
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
hpk.exe create --dont-compress-files UI UI.hpk"
@echo All Done!