Page 1 of 2 12 LastLast
Results 1 to 30 of 54

Thread: xpak Tutorial

  1. #1

    Default xpak Tutorial

    Hope I don't sound like a complete newb, but I can't figure out how to make Vercingetorix's xpak tool work. Will some kind person write a quick tutorial for me, and others like me, that could be pinned here or something?

    Thanks very much guys.
    PS. If you do it, could you make it as Idiot Friendly as possible!?

  2. #2
    J-23 Member Hans Kloss's Avatar
    Join Date
    Oct 2003
    Location
    Richmond upon Thames
    Posts
    245

    Default Re: xpak Tutorial Request

    There is read me files in xpack.Simply extract files to relevent directory and run it

  3. #3

    Default Re: xpak Tutorial Request

    No, the readme doesn't help me. It's not Idiot Friendly enough!

  4. #4
    Modding Godfather Member Vercingetorix's Avatar
    Join Date
    Oct 2004
    Location
    I am but a figment of your imagination
    Posts
    453

    Default Re: xpak Tutorial Request

    1) Download xpak.zip
    2) Open xpak.zip with winzip
    3) Open explorer
    4) Goto the harddrive you installed RTW to (c:\ or d:\)
    5) Goto Program Files
    6) Goto Activision
    7) Goto Rome - Total War
    8) Goto data
    9) Goto packs
    10) Select from the winzip window: xpax.exe and xpak.bat
    11) Drag those files to the Rome -Total War\data\packs folder you have open in explorer
    12) Double click xpak.bat
    13) Wait for it do it's stuff
    14) Done.

    Doesn't get any idiot friendlier
    Last edited by Epistolary Richard; 08-02-2005 at 00:42. Reason: Added link
    I have found God.

  5. #5

    Default Re: xpak Tutorial Request

    Ok, thanks, that's got me a hell of a lot further than I did before..... but ( ) where does it put the files once it's finished doing it's stuff?

    again.

  6. #6
    Modding Godfather Member Vercingetorix's Avatar
    Join Date
    Oct 2004
    Location
    I am but a figment of your imagination
    Posts
    453

    Default Re: xpak Tutorial Request

    In data\packs. Are you looking for certain files?
    I have found God.

  7. #7

    Default Re: xpak Tutorial Request

    Yeah, I was hoping to do a bit of texture editing. I can see a bunch of files in Data/packs, but they're all .pak.

    Please bear with me here - and thanks for the help!

  8. #8
    J-23 Member Hans Kloss's Avatar
    Join Date
    Oct 2003
    Location
    Richmond upon Thames
    Posts
    245

    Default Re: xpak Tutorial Request

    I remember vaugly having to move these decompressed files as they were in different folder

  9. #9
    Modding Godfather Member Vercingetorix's Avatar
    Join Date
    Oct 2004
    Location
    I am but a figment of your imagination
    Posts
    453

    Default Re: xpak Tutorial Request

    Once you have extracted the packs the textures for the units will be data\packs\data\models_unit\textures
    I have found God.

  10. #10

    Default Re: xpak Tutorial Request

    Brilliant! Thanks very much, really.

    Now I need to work out how to get the DDS Plugin to work for Paint Shop Pro!

  11. #11
    Research Fiend Technical Administrator Tetris Champion, Summer Games Champion, Snakeman Champion, Ms Pacman Champion therother's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    2,631

    Default Re: xpak Tutorial Request

    Go here:

    http://developer.nvidia.com/object/n...ure_tools.html

    There are simple instructions there.
    Nullius addictus iurare in uerba magistri -- Quintus Horatius Flaccus

    History is a pack of lies about events that never happened told by people who weren't there -- George Santayana

  12. #12

    Default Re: xpak Tutorial Request

    Thanks all!

  13. #13

    Default Re: xpak Tutorial Request

    Thx to, but now I have done it, I cant open .tga files, a window pops up and says paint couldnt read it :s

    (sry bout my english)

  14. #14
    J-23 Member Hans Kloss's Avatar
    Join Date
    Oct 2003
    Location
    Richmond upon Thames
    Posts
    245

    Default Re: xpak Tutorial Request

    MS Paint or even older version of Paint Shop can not handle TGA files.You really need Photoshop if you are thinking of editing RTW textures

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

    Default Re: xpak Tutorial Request

    You can use a free program you can download.

    Here is Irfanview

  16. #16

    Default Re: xpak Tutorial Request

    Where do you download the tool from?

  17. #17
    J-23 Member Hans Kloss's Avatar
    Join Date
    Oct 2003
    Location
    Richmond upon Thames
    Posts
    245

  18. #18
    Member Member Malachus's Avatar
    Join Date
    Jul 2004
    Location
    Flint, MI
    Posts
    212

    Default Re: xpak Tutorial Request

    I followed the instructions above as to how to unpack the PAK files, and it worked, except that the newly created directories within the Data/packs folder do not contain the files im looking for. I want to edit some unit cards, but there is nothing there for me to select. Anyone know what i did wrong?

  19. #19
    Member Member Malachus's Avatar
    Join Date
    Jul 2004
    Location
    Flint, MI
    Posts
    212

    Default Re: xpak Tutorial Request

    Nevermind guys, I figured out what I did wrong.

  20. #20
    is not a senior Member Meneldil's Avatar
    Join Date
    Aug 2004
    Location
    France
    Posts
    3,074

    Default Re : xpak Tutorial Request

    Another question : how do I repack unpacked files ? How do I use the -pf program argument ?
    Last edited by Meneldil; 03-19-2005 at 07:10.

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

    Default Re: xpak Tutorial Request

    Sorry if this is a silly question, but...how can I unpack the patch_0.pak file?
    I successfully unpacked the packs in 1.1, but when I try to unpack the 1.2 packs the name of patch_0.pak file does not appear.

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

    Default Re: Re : xpak Tutorial Request

    Quote Originally Posted by Meneldil
    Another question : how do I repack unpacked files ? How do I use the -pf program argument ?
    Perhaps you finally have the solution. In any case I think that finally I have understood the whole thing (my knowledge about computers is too much limited )

    In xpak.bat with mouse right click you have a menu. The second option is edit. Then you have something like this:
    Code:
    xpak.exe -mkdir  models_building_textures.pak battle_open.pak game_init.pak sprites_1.pak ui_0.pak ui_1.pak models_unit_textures.pak sprites_0.pak
    xpak.exe  models_building_textures.pak battle_open.pak game_init.pak sprites_1.pak ui_0.pak ui_1.pak models_unit_textures.pak sprites_0.pak
    In red it is the argument you have to change in order to pak the files. But remember you need to create a txt file with the directory structure.
    My problem is solved by substitution of all the paks in there by only patch_0.pak, in this way:
    Code:
    xpak.exe -mkdir patch_0.pak
    xpak.exe  patch_0.pak
    Sorry again if everybody knew this.

  23. #23
    Member Member Ragnor_Lodbrok's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland(that's near Norway :D )
    Posts
    121

    Default Re: xpak Tutorial Request

    Hi,
    I didn't know where to post this so I searched a thread about xpak.
    I got a problem, when I try to start xpak.bat, I get an error "The access on this device, path or file was denied".:/

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

  25. #25

    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!

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

    Default Re: xpak Tutorial Request


  27. #27

    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!

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

  29. #29
    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?

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

Page 1 of 2 12 LastLast

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