
Originally Posted by
Myrddraal
vale, you don't need to repack the files, it won't run any smoother for it. In fact if you want to distribute you mod it saves space not to repack as you can upload only the files you edited...
It is true that you don't need to repack the files, but if you modify the files included in the packs, those files won't work for the users of the mod having the paks still packed.
This is the case, for example, of the faction symbols appearing in the ui interface.
However, I've just found something really interesting (sorry if this was already known). We can easily make new patches for the game
. I asked some time ago about a method for this purpose. But it was too complicated and required several software programs.
I thought: let's try easier! This is the step-by-step procedure:
1) New folder in the desktop (I named it: test) with a copy of xpak.exe, a copy of samplePak.bat, a new txt file named patch_1.txt and another folder named patch_1.
In this folder I put the data subdirectory with the required structure. In my case the test was only: data\ui\captain banners and data\ui\roman\interface.
2) This is the content of patch_1.txt:
Code:
patch_1.pak
patch_1\data\ui\captain banners\captain_card_armenia.tga
patch_1\data\ui\captain banners\captain_card_britons.tga
patch_1\data\ui\captain banners\captain_card_carthage.tga
patch_1\data\ui\captain banners\captain_card_germans.tga
patch_1\data\ui\captain banners\captain_card_pontus.tga
patch_1\data\ui\captain banners\captain_card_spain.tga
patch_1\data\ui\captain banners\captain_card_thrace.tga
patch_1\data\ui\roman\interface\sharedpage_01.tga
patch_1\data\ui\roman\interface\stratpage_02.tga
3) I opened samplePak.bat with notepad (I don't know any other method
) and I changed it to this content:
Code:
xpak.exe -v -pf patch_1.txt
4) I run samplePak.bat (simply by clicking on it) and patch_1.pak was created almost inmediately.
5) I copied this file in Data\packs and the symbols are now visible in all the user interface positions.
I hope this will be of help to include more easily modifications in the files contained in the packs.
Bookmarks