Is there anyone Know How to Put Nexus Mod on Kingdom Come Deliverance v.1.96H Nintendo switch? Or Is Kingdom Come Deliverance can use MOD..Thank you
so you saying that the PC MOD not working or different header with the switch.....and about put the PC mods..so i must unpack the PC mod...and copy the inside of it in folder "mods" and "data"...is that it...I Will try it..Hope some MOD works with switch game..Thank you so much for your tips and guidance.....and also how do you get pak headers on pc MOD so that i can see what match the switch pak headers?I don't know much about this game modding, but from what I read mods must be adjusted to newest version of game, otherwise mods can be refused to load.
And based on pak headers in hex editor from unlimited save vs Switch files, pak files headers differ
Mod:
View attachment 427595
Switch
data/developer.pak
View attachment 427596
localizations/polish_xml.pak
View attachment 427597
data/_fastload/startup_animations.pak
View attachment 427598
All Switch pak files follow certain pattern that is not matching mod.
You can try to open up pak files with 7zip, but Switch ones are using different compression unsupported by default 7zip, so you cannot even unpack it.
Plus few tips: it must be "mods" and "data" folder, not "Mods" and "Data". Filesystem in Switch is case sensitive and they are hardcoded with lower case.
my guessso you saying that the PC MOD not working or different header with the switch.
nomod...and copy the inside of it in folder "mods" and "data"...is that it...
Oke thank you so much for your tips and hard work..i really want to mod the switch...have been try to put the PC Mod in mods then data folder...and it is not working at all..I'll wait for you if you succes to put the mod or how to convert the PC mods so it will work on switch too..Thank you so much for your replay...and If anybody or anyone have been success to convert the PC Mod..please share it in this forum..Thank youmy guess
no
You can't do anything. Would be nice to figure out what compression did they use on Switch and implement it to 7-zip. But first I would try to check if PC paks are working by putting one of language paks and replacing the one on Switch to see if it's working at all.
i try with winrar too..and it still the same..cannot extract the fileHave you tried with WinRAR too? At least for old mudrunner on PC I use WinRAR to Open the .Pak files, who knows if with luck it could open the switch ones...
I'm sorry but i'm new in this kind of converting mods..so how can i use the quickbms script for ZIP files to unpack the .pak files.......Nevermind I have been found the way..Thank you so muchOk, confirmed it's Oodle. I had issues because I read wrongly decompressed size.
Now would be nice to incorporate it into 7-zip source code.
You can use quickbms script for ZIP files to unpack pak files, since it has incorporated ID 15 as Oodle, because it was used for few other games the same way.
https://aluigi.altervista.org/bms/zip.bms
What I have noticed for now:
- Textures are swizzled by default, so any texture/model mod must be converted to support Switch specifically.
- Repacked whole ui.pak with Windows built-in zip packer that uses Deflate method, game crashed.
python Unpack_PAK.py [pak_file] [folder_out]
python Unpack_PAK.py ui.pak ui
In where do you put the .pak file mod on nintendo switch to make the mod works?Switch game has precompiled XMLs that they call "CryXml" in comparison to PC that has them in readable format.
Post automatically merged:
https://pypi.org/project/scdatatools/
It can convert them to readable format, but not back to CryXML. HappyXML doesn't work.
For now I'm writing Python scripts that can pack to zip files compressed with Oodle. I want to replicate ui.pak 1:1 if possible.
Post automatically merged:
It seems like QuickBMS script doesn't extract all files. This is why game was crashing with repacked ui.pak
So game supports normally zip files packed with Windows builtin zip compressor.
You can find my script that perfectly fine unpacks whole PAK here:
https://github.com/masagrator/NXGameScripts/tree/main/KingdomComeDeliverance
Tested with Python 3.10
You must download "Unpack_PAK.py", "zipfileKC.py" and "Oodle.exe".
in cmd you must use
For exampleCode:python Unpack_PAK.py [pak_file] [folder_out]
Code:python Unpack_PAK.py ui.pak ui
I have added there also Pack_PAK.py if somebody would like to use Oodle for compression.
Post automatically merged:
Replaced xml files in ui.pak with files from UnlimitedSavingNS mod without converting it to CryXml format.
And they work fine
So only issue comes from the fact that game doesn't load additional pak files.
and can you help how to make the mods works perfectly..is it mody the .xml file...or just copy and replace the xml file the xml file...Thank you for your great works and guidanceIn where do you put the .pak file mod on nintendo switch to make the mod works?
Nowhere. As I said, any additional PAK is not detected. And I cannot debug this for next weeks because for some reason GDBstub refuses working with my phone hotspot.In where do you put the .pak file mod on nintendo switch to make the mod works?
1. Unpack ui.pak with my scriptsand can you help how to make the mods works perfectly..is it mody the .xml file...or just copy and replace the xml file the xml file...