Kingdom Come Deliverance Nswitch MOD

Gueorgui

New Member
Newbie
Joined
May 19, 2022
Messages
3
Trophies
0
Age
30
Location
Hetzner
XP
77
Country
Germany
Then use 7-zip/Windows zip packer as I have stated before.



That's possible since I couldn't figure out exact original compression settings.
Thanks for the reply!

Tried it and got the same error.

Zip; all compression levels: fast, normal, ultra. Deflate and Deflate.64 types. None of the options were successful.

Too bad, because tables.pak gives the biggest scope for modding the game.
 

masagrator

The patches guy
Developer
Joined
Oct 14, 2018
Messages
6,307
Trophies
3
XP
12,100
Country
Poland
Thanks for the reply!

Tried it and got the same error.

Zip; all compression levels: fast, normal, ultra. Deflate and Deflate.64 types. None of the options were successful.

Too bad, because tables.pak gives the biggest scope for modding the game.
Open both original switch pak and new pak with 7-zip, show me what you see first when you open those files, then go to Info menu and show me how many files each pak has.
 

Gueorgui

New Member
Newbie
Joined
May 19, 2022
Messages
3
Trophies
0
Age
30
Location
Hetzner
XP
77
Country
Germany
Open both original switch pak and new pak with 7-zip, show me what you see first when you open those files, then go to Info menu and show me how many files each pak has.

Done. Info differs only in packed size and physical size respectively. Besides, unmodified file has characteristic : "Unsorted_CD" in file properties
Post automatically merged:

Open both original switch pak and new pak with 7-zip

For clarity, I have not made any edits to the original switch file. I only unpacked and packed it with your scripts. A clean environment for testing!
 

Attachments

  • IMG_20240408_220213_982.png
    IMG_20240408_220213_982.png
    21.3 KB · Views: 15
  • IMG_20240408_220214_080.png
    IMG_20240408_220214_080.png
    20.3 KB · Views: 16

guily6669

GbaTemp is my Drug
Member
Joined
Jun 3, 2013
Messages
2,349
Trophies
1
Age
34
Location
Doomed Island
XP
2,143
Country
United States
This is a MUST HAVE MOD (BOW RETICLE):

(click the image to see well the middle reticle). It's stupid that the game has a reticle but as soon as you equip bow it's gone...

I have added below 2 versions of it, one is direct from PC it only has 1 single line in the user.cfg and added a 2nd one with the user.cfg I took from the game update but I don't know if the data inside will be the same as for you, anyway both work fine and the data inside the switch user.cfg seems kinda irrelevant for me.

This is what's inside the game latest update user.cfg:
Code:
r_ShadersAllowCompilation = 0
r_ShadersRemoteCompiler = 0
r_ShaderCompilerDontCache = 0
r_ShaderCompilerServer = 192.168.13.5
r_ShaderCompilerPort = 61456
r_ShadersAsyncCompiling = 0
r_ShadersUserFolder = 0
r_ShadersDebug = 0
wh_pl_showfirecursor=1 (My added line to have the bow reticle)

And this is what the PC user.cfg has:
Code:
wh_pl_showfirecursor=1
(just the code to have the reticle and nothing more).

ps: I have no clue which version should be used and which would be better, but both work...
 

Attachments

  • PC version config.rar
    369 bytes · Views: 11
  • Switch updated config.rar
    507 bytes · Views: 13
Last edited by guily6669,
  • Like
Reactions: WiduraGoez

Gominam1

Member
Newcomer
Joined
Jan 23, 2022
Messages
8
Trophies
0
Age
24
XP
62
Country
United States
1. Unpack ui.pak with my scripts
2. Unpack pak file from mod with 7-zip
3. Copy unpacked files from mod's pak and paste them to unpacked ui.pak files, replacing original ones
4. Pack all unpacked ui.pak files and folders to new ZIP, rename just generated archive back to ui.pak
5. Put new ui.pak to atmosphere/contents/0100650018FE0000/romfs/data
6. Launch game
[/QUOTE]
Sir where I get ui.pak
 

Gominam1

Member
Newcomer
Joined
Jan 23, 2022
Messages
8
Trophies
0
Age
24
XP
62
Country
United States
You may need to use nxdumptool to extraxt the romfs data...I use nxdumptool
Thanks bro, i get the ui.pak now try to mod
Post automatically merged:

This is not a place where game files are stored, it's where mods are stored.
Sorry, its my firtstime try to mod game.
Post automatically merged:

[/QUOTE]
1. Unpack ui.pak with my scripts
2. Unpack pak file from mod with 7-zip
3. Copy unpacked files from mod's pak and paste them to unpacked ui.pak files, replacing original ones
4. Pack all unpacked ui.pak files and folders to new ZIP, rename just generated archive back to ui.pak
5. Put new ui.pak to atmosphere/contents/0100650018FE0000/romfs/data
6. Launch game
[/QUOTE]
Thanks for your guide, i can use mod for my KCD
 
Last edited by Gominam1,
  • Like
Reactions: WiduraGoez

Megoag

Member
Newcomer
Joined
Mar 18, 2024
Messages
7
Trophies
0
Age
28
XP
13
Country
Philippines
This is a MUST HAVE MOD (BOW RETICLE):

(click the image to see well the middle reticle). It's stupid that the game has a reticle but as soon as you equip bow it's gone...

I have added below 2 versions of it, one is direct from PC it only has 1 single line in the user.cfg and added a 2nd one with the user.cfg I took from the game update but I don't know if the data inside will be the same as for you, anyway both work fine and the data inside the switch user.cfg seems kinda irrelevant for me.

This is what's inside the game latest update user.cfg:
Code:
r_ShadersAllowCompilation = 0
r_ShadersRemoteCompiler = 0
r_ShaderCompilerDontCache = 0
r_ShaderCompilerServer = 192.168.13.5
r_ShaderCompilerPort = 61456
r_ShadersAsyncCompiling = 0
r_ShadersUserFolder = 0
r_ShadersDebug = 0
wh_pl_showfirecursor=1 (My added line to have the bow reticle)

And this is what the PC user.cfg has:
Code:
wh_pl_showfirecursor=1
(just the code to have the reticle and nothing more).

ps: I have no clue which version should be used and which would be better, but both work...
where did you put the mod file?
 

Megoag

Member
Newcomer
Joined
Mar 18, 2024
Messages
7
Trophies
0
Age
28
XP
13
Country
Philippines
atmosphere/contents/0100650018FE0000/romfs
one thing when i put the mod ui.pak (unlimited save) in atmosphere/contents/0100650018FE0000/romfs/data and launch the game it chrash( the software was closed because an error occured. but the bow dot reticle works

edit: nevermind, i just figure it out
 
Last edited by Megoag,

Gominam1

Member
Newcomer
Joined
Jan 23, 2022
Messages
8
Trophies
0
Age
24
XP
62
Country
United States
one thing when i put the mod ui.pak (unlimited save) in atmosphere/contents/0100650018FE0000/romfs/data and launch the game it chrash( the software was closed because an error occured. but the bow dot reticle works

edit: nevermind, i just figure it out
Check your ui.pak mod, you must pack all files correctly. Use original ui.pak to compare with
 

guily6669

GbaTemp is my Drug
Member
Joined
Jun 3, 2013
Messages
2,349
Trophies
1
Age
34
Location
Doomed Island
XP
2,143
Country
United States
one thing when i put the mod ui.pak (unlimited save) in atmosphere/contents/0100650018FE0000/romfs/data and launch the game it chrash( the software was closed because an error occured. but the bow dot reticle works

edit: nevermind, i just figure it out
LOL, the mod I posted is already fully ready with the right folders, don't need to do anything at all...

My self I'm using the PC config one and 0 issues so far with it...
 

HoTuan

New Member
Newbie
Joined
Apr 11, 2022
Messages
3
Trophies
0
Age
30
Location
ha noi
XP
28
Country
Vietnam
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.


1. Unpack ui.pak with my scripts
2. Unpack pak file from mod with 7-zip
3. Copy unpacked files from mod's pak and paste them to unpacked ui.pak files, replacing original ones
4. Pack all unpacked ui.pak files and folders to new ZIP, rename just generated archive back to ui.pak
5. Put new ui.pak to atmosphere/contents/0100650018FE0000/romfs/data
6. Launch game
"1. Unpack ui.pak with my scripts "
i don't know how ?, You can help me step by step
thank.
 

masagrator

The patches guy
Developer
Joined
Oct 14, 2018
Messages
6,307
Trophies
3
XP
12,100
Country
Poland
"1. Unpack ui.pak with my scripts "
i don't know how ?, You can help me step by step
thank.
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
Code:
python Unpack_PAK.py [pak_file] [folder_out]
For example
Code:
python Unpack_PAK.py ui.pak ui
 

HoTuan

New Member
Newbie
Joined
Apr 11, 2022
Messages
3
Trophies
0
Age
30
Location
ha noi
XP
28
Country
Vietnam
Then use 7-zip/Windows zip packer as I have stated before.



That's possible since I couldn't figure out exact original compression settings.
1713530757800.png

C:\Users\Dell>python G:\mot\ui\Unpack_PAK.py G:\mot\ui\ui.pak G:\mot\ui\UI
Traceback (most recent call last):
File "G:\mot\ui\Unpack_PAK.py", line 6, in <module>
zf = zipfileKC.ZipFile(sys.argv[1], "r", print_names = True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "G:\mot\ui\zipfileKC.py", line 1325, in __init__
self._RealGetContents()
File "G:\mot\ui\zipfileKC.py", line 1392, in _RealGetContents
raise BadZipFile("File is not a zip file")
zipfileKC.BadZipFile: File is not a zip file

I got error like this
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • SylverReZ @ SylverReZ:
    @mthrnite, Cheetah Girls, the sequel to Action 52's Cheetah Men.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Pokemon Black I played that one a lot
  • K3Nv2 @ K3Nv2:
    Honestly never messed with Pokémon on ds much
  • mthrnite @ mthrnite:
    I played pokemon once, was bored, never tried again
  • Psionic Roshambo @ Psionic Roshambo:
    Oh Dragon Quest IX
  • K3Nv2 @ K3Nv2:
    Spent like 5 hours on switch one never touched it again
  • Psionic Roshambo @ Psionic Roshambo:
    Sentinel of the stary skies
  • K3Nv2 @ K3Nv2:
    Ds is 20 years old this year
  • Psionic Roshambo @ Psionic Roshambo:
    So MJ no longer wants to play with it?
  • K3Nv2 @ K3Nv2:
    He put it down when the 3ds came out
  • SylverReZ @ SylverReZ:
    @K3Nv2, RIP Felix does great videos on the PS3 yellow-light-of-death.
  • Jayro @ Jayro:
    Eventhough the New 3DS XL is more powerful, I still feel like the DS Lite was a more polished system. It's a real shame that it never got an XL variant keeping the GBA slot. You'd have to go on AliExpress and buy an ML shell to give a DS phat the unofficial "DS Lite" treatment, and that's the best we'll ever get I'm afraid.
    +1
  • Jayro @ Jayro:
    The phat model had amazingly loud speakers tho.
    +1
  • SylverReZ @ SylverReZ:
    @Jayro, I don't see whats so special about the DS ML, its just a DS lite in a phat shell. At least the phat model had louder speakers, whereas the lite has a much better screen.
    +1
  • SylverReZ @ SylverReZ:
    They probably said "Hey, why not we combine the two together and make a 'new' DS to sell".
  • Veho @ Veho:
    It's a DS Lite in a slightly bigger DS Lite shell.
    +1
  • Veho @ Veho:
    It's not a Nintendo / iQue official product, it's a 3rd party custom.
    +1
  • Veho @ Veho:
    Nothing special about it other than it's more comfortable than the Lite
    for people with beefy hands.
    +1
  • Jayro @ Jayro:
    I have yaoi anime hands, very lorge but slender.
  • Jayro @ Jayro:
    I'm Slenderman.
  • Veho @ Veho:
    I have hands.
    Veho @ Veho: +1