Jump to content

Combining Mods


Recommended Posts

So after some more searching and digging, I was able to find a solution to this problem! It's a post by SzyjeCzapki on The Witcher sub-Reddit. :dance:

Ugh, it's a bit of a hassle seeing how you need to know exactly what files inside the base_scripts.dzip each mod modifies.

But the general process goes like this:

  1. Get Gibbed Red Tools from here

  2. Unpack, you end up with 4 .exe files IIRC.

  3. Drag base_scripts onto Gibbed unpack.exe

  4. It unpacks, and you get the base_scripts folder.

  5. Find the file that you want, edit it, you can use something like Notepad++, makes it really easy to see what you're doing.

  6. Save your changes you made in Notepad++, drag the base_scripts folder onto the Gibbed packing.exe

  7. You get a new base_scripts.dzip, replace the old one with the one you just got.

It's really easy but the hard part is actually finding out which files you need to modify.

 

https://www.reddit.com/r/witcher/comments/32utnc/witcher_2_modding_base_script_conflicts_galore/cqetx6b

 

So yes, the hardest part of combining will be finding what files are altered. I found it to be do-able with Notepad++ with the "Compare" Plugin that you have to download from SourceForge.

 

1. After unpacking "base_scripts.dzip" of the ORIGINAL base_scripts and the modded base_scripts, open two windows explorers for both of the base_scripts directory.

 

2. Going down through the "core" and "engine" folders, then through the "game" folders, compare the sizes of the folders between the original and modded base_scripts. You can do this by [right click>Properties] or [alt+enter]. The slightest change in size indicates a modded file.

Edit: Forget this method. I just got into it and I already feel like it's gonna take ages to get this done with several mods!

 

2. New improved method: Download "TreeCompare", or any other program that can compare directories, and simply compare the original base_scripts and the modded base_scripts folder directories. In TreeCompare, go to Option>Miscellaneous>uncheck "File Size". Leave Time>Modification checked; this is what we need. Just click "Compare" and BAM! you now have all the modded files!

 

3. Once you find the modded WS file, open in Notepad++ both the modded file and the same file from the base_scripts IN WHICH YOU ARE COMBINING ALL THE MODS. (You can start from scratch with the original or build on top of a modded base_script.)

 

4. If you installed the "Compare" plugin, go to the [menu bar>Compare>Compare] or press [alt+D]. The panel on the right side will show you the overall script list with locations of the differences between those two files.

 

5. After you find the differences, make changes in the file in which you are combining all the mods. This will require you to use your head as different mods may make changes to the same things (eg. "player.ws" is a common modded file).

 

6. After you are done combining all the mods, simply repack with Gibb's RED Tools and drop it into CookedPC. Of course, make sure to include any additional files that a mod may include together with the base_scripts.dzip. What I did is add the "base_script.dzip" and any other files that came with the mods to a RAR file and put it in my NMM mod folder and installed the mod that way. I recommend that NMM should always be used because things can get really messy without it.

 

I did my best to describe the process, but I have not combined the mods I want in my game, so I can't tell you how long or how difficult it is. If you are still confused about the process, I can't help you. Sorry. Anyways, blessings on combining mods! :thumbsup:

 

Edit: Notepad++ with Compare Plugin and TreeCompare greatly simplifies the dzip combining process! I combined several mods that use the "base_scripts.dzip" within a few hours. I also combined several mods that use the same ".xml" files. Once you get into the flow it's pretty straightforward.

Edited by Object279
Link to comment
Share on other sites

  • 6 months later...

So after some more searching and digging, I was able to find a solution to this problem! It's a post by SzyjeCzapki on The Witcher sub-Reddit. :dance:

(...)

 

First time I log in to the Nexus forums in nearly a year, just so that I can express my most sincere gratitude to you, Object279, and the previous other kind souls who provided help.

 

I followed the explanations, it worked, splendid, thank you! ^_^

 

(And, for the context, I combined the mods to have more than one talent per level, with the mod removing the dark visual effect from Dark swords - I was ending up resorting to Cat potions in every cave otherwise.)

 

If the link may help, as Gibbed's original mod has disappeared from the Nexus, the new link would be:

http://www.nexusmods.com/witcher2/mods/768/

 

It's really great there's a community like that, when we need help. Thanks to everyone :)

Link to comment
Share on other sites

  • 3 weeks later...
Link to comment
Share on other sites

  • 6 months later...

I just started getting into modding and i know how to work red tools, only to unpack and repack it. Does anyone know of a step by step explanation or video of how to combine serveral mods that use the base_scripts file?

 

These are the Mods i want to combine

Extra talent points per lvl (3): http://www.nexusmods.com/witcher2/mods/657/?

Dice poker and Arm wrestling auto win: http://www.nexusmods.com/witcher2/mods/646/?

5000 orens dice poker: http://www.nexusmods.com/witcher2/mods/706/?

and the minimal section of this mod: http://www.nexusmods.com/witcher2/mods/696/?

Link to comment
Share on other sites

  • 1 year later...

 

So after some more searching and digging, I was able to find a solution to this problem! It's a post by SzyjeCzapki on The Witcher sub-Reddit. http://forums.nexusmods.com/public/style_emoticons/dark/dance.gif

Thank you so much, works like a charm, although the compare plugin for Notepad++ is outdated, but you can find the 2.0 version on GitHub!

 

 

If the link may help, as Gibbed's original mod has disappeared from the Nexus, the new link would be...

And thank you for the link!

 

You guys are awesome, thanks for the help! :thumbsup: :wink:

Link to comment
Share on other sites

  • 1 month later...

hi everyone,

and thanks for the guide here!
I have now spend 3 days combining mods which alter base_scripts.dzip, pack0.dzip and abetterui.dzip.

Here are the Mods i combined:

 

 

.

10 sec wrist-wrestling timer
all items added to innkeeper
better texture enviroment
blocking without vigor drain
comfycouch v09 with dynamic hud v12-272-0-9 included
conversation skills always succeed
extra talents and dice poker always win
geralt carry weight 766-1-0
geralts tattoo
german crash fix
(some changes from "god mode" but not all)
high texture weapons
icons for new items
lore friendly gerald with small striga scar
medallion cooldown timer reduced (to 1 instead of 10s)
meliteles heart fix by dilla
naked gerald is naked (with optional file: no belt)
oil and shrine and potion decrease timer removal
plentiful herbs
queen endregea pheromones fix
radovid persuation fix
real golden dragon
story ability bug fixes
true encumbrance remover
vigor cicly power bug fix
whirl hotfix

.

 

 

 

it all went well with treecompare, gibbed tools and a lot of coffee

I took care that when possible the files kept the same structure so same amount of lines and characters of the file (altough at def_shops that wasnt possible) in hope it would

prevent the errors i got after 1 day of modding: "errors compiling scripts. Unable to run game."

So i tried again, changing less. And again ....
Now I have tried it 3 full days long (yes i have holidays and thats what i do with my time: modding) and im at the end of my force, so very very PLEASE HELP!

 

I still get errors in the player.ws file telling me some things would have been already defined or already exported, but I didn't touch any of these arguments!

and I have extracted the files of every mod and manually combined everything in notepad++ so i know what i have changed!

 

Now the question:

what can i do to make my game run?

(Enhanced version on Steam)

 

EDIT:

I managed to get the game running by :

-not installing "icons for new items" and
-leaving "comfycouch v09 with dynamic hud v12-272-0-9 included" as a separate dzip in CookedPC (without merging it into abetterui).

 

 

here is the link to my merged base_scripts.dzip: https://drive.google.com/open?id=1v7l2qhPhL8EB725v-yO6m3_zSxjhTAuc

here is the link to my merged player.ws: https://drive.google.com/open?id=1aZpQJGdlshGK_1ezjAOhmaOG3E5kXU-9

 

Edited by Kundy
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...