Results 1 to 30 of 54

Thread: xpak Tutorial

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Shaidar Haran Senior Member SAM Site Champion Myrddraal's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    5,752

    Default Re: xpak Tutorial Request

    Are u using an account with full priviliges, like not a limited account?

    And welcome to the forum
    Last edited by Myrddraal; 04-24-2005 at 21:45.

  2. #2

    Default Re: xpak Tutorial Request

    Hey I was wondering after I unpack the pak. file how am I going to repack them again? Thank for the answer first!
    Lord of Lucius
    No Matter what Pathes You Take All Lead To Death!

  3. #3
    Shaidar Haran Senior Member SAM Site Champion Myrddraal's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    5,752

    Default Re: xpak Tutorial Request


  4. #4

    Default Re: xpak Tutorial Request

    Well thank you for your time, yes I had read the the in the link you showed me before; however, to save space won't I needs to repack it in order to make the game run much more smoother?
    Lord of Lucius
    No Matter what Pathes You Take All Lead To Death!

  5. #5
    Forever British Member King Ragnar's Avatar
    Join Date
    Mar 2005
    Location
    The only place that matters: Britain
    Posts
    749

    Default Re: xpak Tutorial Request

    Is there any other place to get the extractor apart from twcenter? it isnt on the downlods page.
    Vote For The British nationalist Party.
    Say no to multi-culturalism.

  6. #6
    Shaidar Haran Senior Member SAM Site Champion Myrddraal's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    5,752

    Default Re: xpak Tutorial Request

    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...

    Ragnar, try google?

  7. #7
    CeltiberoRamiroI Member Monkwarrior's Avatar
    Join Date
    Apr 2004
    Location
    Salduie/Caesaraugusta/ Sarakusta/Saragossa
    Posts
    828

    Default Re: xpak Tutorial Request

    Quote 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.

  8. #8
    CeltiberoRamiroI Member Monkwarrior's Avatar
    Join Date
    Apr 2004
    Location
    Salduie/Caesaraugusta/ Sarakusta/Saragossa
    Posts
    828

    Default Re: xpak Tutorial Request

    Quote Originally Posted by King Ragnar
    Is there any other place to get the extractor apart from twcenter? it isnt on the downlods page.
    Try this link:
    http://www.twcenter.net/downloads/db/index.php?mod=43

  9. #9
    CeltiberoRamiroI Member Monkwarrior's Avatar
    Join Date
    Apr 2004
    Location
    Salduie/Caesaraugusta/ Sarakusta/Saragossa
    Posts
    828

    Default Re: xpak Tutorial

    Another example of the use of patch_1.pak.
    In the case of a reskinned faction, the unit cards were those of the original faction and the only possibility to show the new unit cards was to rename all the units.
    Now those new unit cards can be included in patch_1.pak and this is the result:

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO