Page 1 of 3 123 LastLast
Results 1 to 20 of 49

Thread: Unpacking Files Step-By-Step

  1. #1

    Default Unpacking Files Step-By-Step

    Vercingetorex's "xpak" program allows us to change many of the 2D aspects of RTW which we normally could not. While there are instructions included in his readme, I have seen enough people post asking for directions in this process that it warrants a walkthrough. And now, we begin:

    1) Download XPAK.

    2) Extract these files (Right Click, extract).

    3) Open extracted files


    4) Create a New Folder here


    5) Go to your C:\Program Files\Activision\Rome - Total War\Data\Packs folder. Find the file that is titled "ui_1.pak" and copy it.

    6) Paste this file into the New Folder which you created earlier.


    7) Copy the two files shown below

    and paste them into the New Folder you created before


    8) Double click on the icon shown below

    When this is complete a folder "DATA" should appear. Copy this and paste it into C:\Program Files\Activision\Rome - Total War. Click "Yes to All" If it asks you to overwrite.

    9) Return to the C:\Program Files\Activision\Rome - Total War\Data\Packs folder. Create a new text file (right-click, new, text document) and name it "ui_1.pak" Leave it empty

    10) Find the file named ui_1.pak here and delete it (Always remember to back-up files!!!). Now you should be left with just a text file (highlighted) which has the same name as the original .pak file


    11) You have successfully unpacked files! Go to C:\Program Files\Activision\Rome - Total War\Data\UI and you will see all of the files now available for you to change. In the folder entitled "Unit_Info" you will find the larger unit information cards for each faction. In the "Units" file you will find the smaller unit cards for each faction.


    Enjoy!
    Last edited by Frunk; April 27, 2020 at 06:31 AM. Reason: Link updated.



  2. #2
    Hader's Avatar Things are very seldom what they seem. In my experience, they’re usually a damn sight worse.
    Administrator Emeritus

    Join Date
    Mar 2006
    Posts
    13,132

    Default Re: Unpacking Files Step-By-Step

    Very nice Publius, this will be a big help to me.
    [CENTER][IMG]https://i.imgur.com/VG3Sdhz.png[/IMG][/CENTER]
    [CENTER][/CENTER]

  3. #3

    Default Re: Unpacking Files Step-By-Step

    Glad I could help



  4. #4

    Default Re: Unpacking Files Step-By-Step

    Awesome tutorial Publius, Thanx a ton!!!

  5. #5

    Default Re: Unpacking Files Step-By-Step

    I don't have a "packs folder"

  6. #6

    Default Re: Unpacking Files Step-By-Step

    Do you have a UI folder? (in other words, are the .pak files extracted)

  7. #7

    Default Re: Unpacking Files Step-By-Step

    I believe so, I have RTW and BI separately not the eras or gold editions, but where to extract them?

  8. #8

    Default Re: Unpacking Files Step-By-Step

    Well, the .pak files are inside the "packs" folder and when you extract them a new folder named "data" will be created inside "packs" and that's where the extracted files will go.

    The version of RTW is irrelevant btw, I can't understand how can the packs folder be missing, you wouldn't be able to play RTW if it was and the files had not been extracted...

  9. #9

    Default

    How do you put the unpacked file back into the game, I changed a portrait file but how do I make it appear in the game?

    I have a load of unpacked files but don't know how to add them back inside the game

    I just extracted the data file and changed the pictures inside it, how do you put everything back into the game.

    I need to re Pack so I see my groovy pics in the game
    Last edited by Aradan; December 29, 2008 at 01:15 PM.

  10. #10

    Default Re: Unpacking Files Step-By-Step

    The unpacked files are in data/packs/data/UI/etc/etc folder, right? You need to take the bolded UI folder and put it inside the underlined data folder. Then, you must re-name the .pak file, so that the game doesn't read it. Alternatively, you can re-pack the files, after editing them.

  11. #11

    Default Re: Unpacking Files Step-By-Step

    Instead of repacking all the files from the original pak you could just make a new pak named mod_0.pak and only include in it the portrait you`ve edited(inside the corresponding folders-check Aradan`s post). The engine will first read this one and only then the original/vanilla pak so it will load your file instead of the old one.
    Check the downloads sections of twc. There is a small tool(fileperser) made for vercongetorix`s unpacker that will make it more user friendly.

  12. #12

    Default

    Thanks mate

    Quote Originally Posted by Aradan View Post
    The unpacked files are in data/packs/data/UI/etc/etc folder, right? You need to take the bolded UI folder and put it inside the underlined data folder. Then, you must re-name the .pak file, so that the game doesn't read it. Alternatively, you can re-pack the files, after editing them.
    Re name the pack file that I extracted and leave the portraits i changed into the Ui that's already in the game. Got yah !

    Do you change the ui_0 or ui_1 ?

    Ehhhr woops, that crashed it.

    I think I might give up and stick to maps it's easier
    Last edited by Aradan; December 29, 2008 at 02:47 PM.

  13. #13

    Default

    I tried fileparser, it made a gimp file from the portrait card I edited in the UI folder.

    Test.pak thingy, mmm it's all alien to me.

    Right it made a gimp file that I can't access, comes up as :

    Opening 'C:\Program Files\Activision\Rome - Total War\Data\packs\face.pak' failed: TarGA image plug-In could not open image

    What do I do with the file it made, I'm all new to this :_(

    I followed the advice from Publius's tutorial to the letter and things are starting to work, I deleted the crown for the Parthians and it now comes up as a black circle thanks to Publius for the tutorial.

    Took a while for me to understand that i don't have to repack anything, duh I'm a big dumbo !

    Everything seems so easy now :-)
    Last edited by Aradan; December 29, 2008 at 05:56 PM.

  14. #14
    JorisofHolland's Avatar Primicerius
    Join Date
    Jan 2009
    Location
    In a house
    Posts
    3,779

    Default Re: Unpacking Files Step-By-Step

    The link is old or whatever, it doesn't work. Can anyone post a new one?
    The Enemy of Human Souls
    Sat grieving at the cost of coals;
    For Hell had been annexed of late,
    And was a sovereign Southern State.

  15. #15

    Default Re: Unpacking Files Step-By-Step

    Big "Diadochi:Total War" fan! Click HERE to download the full game, and the latest patch!

    Quote Originally Posted by Mythos_Ruler View Post
    "Lesbians" are people from Lesbos. The reason we call homosexual women "lesbians" today was because of the famous poet Sapho from Lesbos who extolled the virtues of female love. Just some FYI.

  16. #16
    Hakomar's Avatar Ordinarius
    Join Date
    May 2009
    Location
    England.
    Posts
    776

    Default Re: Unpacking Files Step-By-Step

    Never mind.
    Last edited by Hakomar; September 24, 2009 at 10:50 AM.

  17. #17
    Joar's Avatar - Now You Know -
    Join Date
    Apr 2005
    Location
    Sweden
    Posts
    7,386

    Default Re: Unpacking Files Step-By-Step

    Very helpful.
    Last edited by Joar; September 23, 2009 at 12:47 AM.

  18. #18

    Default Re: Unpacking Files Step-By-Step

    I discovered that you can use to extract with this command
    for example mod_1.pak
    for pack

    echo mod_1.pak >pak_files.txt
    dir data /a:-D /s /b >>pak_files.txt
    echo packing the mod_1.pak

    echo y |xpak.exe -v -pf pak_files.txt

    for unpack
    xpak.exe -v -mkdir mod_1.pak
    xpak.exe mod_1.pak

  19. #19
    Petroniu's Avatar Domesticus
    Join Date
    Dec 2009
    Location
    Romania
    Posts
    2,317

    Default Re: Unpacking Files Step-By-Step

    It is very helpful! Big thanks!
    Total War: Rome II -> Sigh...
    Total War: Rome II - EE -> Meh...

  20. #20

    Default Re: Unpacking Files Step-By-Step

    My pack files are called data_0.pack, and data_1.pack.

    This method does not create "DATA" folder when i try to execute the xpac.bat with the data pack in the folder.

    I'm very illiterate with modding tools and such. So please, use simple terms.

Page 1 of 3 123 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •