Modify the files the way you want.cfg files are trival, just open them and edit the values. Textures, models and the like are harder to work with, as you need to cook the files once they are extracted in an empty UE project to generate uasset cooked files. Without the cooking, certain files won't be loaded by the game (if you find an uasset file in a pak, the file in your mod needs to be an uasset file, even though that uasset file might only contain a single png).Repak the files
Make a folder namedMyModName_P
Copy the modified files in there with the full folder structure starting fromStalker2orEngine
Your mod should thus look likeMyModName_P/Stalker2/GameLite/GameData...
Drag and drop that folder on the unrealpakUnrealPak-With-Compression.batit will generate a .pak file.
Loading the mod
Add the pak file in the S.T.A.L.K.E.R. 2 Heart of Chornobyl\Stalker2\Content\Paks\~mods (create the ~mods folder if it doesn't exist).
if anyone has issues getting Fmodel explorer to work
then you can use repak instead to extact the main game data pak file.
don't need Fmodel.
this explains the process more, he uses or unrealpak but, when you get the AES key using AESDumpster you can use repak to extract the pak files instead. https://github.com/BitlyTwiser/Stalker2Mods
repak link https://github.com/trumank/repak repak.exe --aes-key AES_KEY_HERE unpack "pakchunk0.pak"
Hi, thanks nice mod. Is it possible to add the capability to sell these yellow and red weapons/armor to NPC's in the field as well? (There is another mod which enables selling to anybody but it freeze/crashes the game)
works with the latest patch, just need to add _P at the end to make it work, atleast that what i did, the reason why you need to do that its easy to explain but i kinda suck at explaining so just try and add a _P at the end of the name, and make sure there are no spaces. (what i mean is, the mod its called SellBroken.pak what you need to do its rename it to SellBroken_P.pak , you will only see the .pak at the end if you activated that option on your folder.)
Hi! I was looking for which files you edited (which I have since found in the comments) but before that I tried to unpack the pak, which for some reason didnt work. Any reason why that would be? Havent run into this with any other mods.
217 comments
Get the tools:
- Fmodel: https://github.com/4sval/FModel/releases
- unrealpak: https://github.com/btwOreO/unrealpak/archive/refs/heads/main.zip
Hack stuff:
- Get the AES key (google the tutorials, not sure it's legal).
- Get the usmap file (google the tutorials, not sure it's legal).
Extracting files
- Boot Fmodel
- Go to Directory at the top > AES key, write down the AES key.
- Go to Settings > Set Local Mapping File Enabled, and browse the mapping file there, point to the usmap file.
- In Settings, set the game UE version to UE5_1.
- Start browsing the paks files and using FModel: https://github.com/Dmgvol/UE_Modding/blob/main/TheBasics/UsingFModel.md
- Extract files you desire.
Modify the files the way you want.cfg files are trival, just open them and edit the values. Textures, models and the like are harder to work with, as you need to cook the files once they are extracted in an empty UE project to generate uasset cooked files. Without the cooking, certain files won't be loaded by the game (if you find an uasset file in a pak, the file in your mod needs to be an uasset file, even though that uasset file might only contain a single png).Repak the files
- Make a folder named
- Copy the modified files in there with the full folder structure starting from
- Your mod should thus look like
- Drag and drop that folder on the unrealpak
Loading the modMyModName_P
Stalker2
orEngine
MyModName_P/Stalker2/GameLite/GameData...
UnrealPak-With-Compression.bat
it will generate a .pak file.S.T.A.L.K.E.R. 2 Heart of Chornobyl\Stalker2\Content\Paks\~mods
(create the~mods
folder if it doesn't exist).then you can use repak instead to extact the main game data pak file.
don't need Fmodel.
this explains the process more, he uses or unrealpak but, when you get the AES key using AESDumpster you can use repak to extract the pak files instead.
https://github.com/BitlyTwiser/Stalker2Mods
repak link
https://github.com/trumank/repak
repak.exe --aes-key AES_KEY_HERE unpack "pakchunk0.pak"
i want to use the mod and thank you for making it but damn, i ain't doing all this just to sell broken things to a vendor.
It can't be illegal, when the developer wants, that we generate mods to keep the game long time alive.
Is it possible to add the capability to sell these yellow and red weapons/armor to NPC's in the field as well? (There is another mod which enables selling to anybody but it freeze/crashes the game)
Any reason why that would be? Havent run into this with any other mods.