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

Thread: How Do I use the PAK extractor?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Zephyrus's Avatar Protector Domesticus
    Join Date
    Mar 2007
    Location
    New York
    Posts
    4,598

    Icon5 How Do I use the PAK extractor?

    I looked at the information concerning that application, and I still haven't the foggiest idea of what to do with it. Any step by step explanations?
    SEMPER FIDELIS Remember Constantinople Κωνσταντινούπολη


  2. #2

    Default Re: How Do I use the PAK extractor?

    You put the 3 files (Pack.bat, Unpack.bat and xpak.exe) inside your data/packs folder.
    Then you edit the unpack.bat to read:

    Code:
    xpak.exe -mkdir pakname.pak
    xpak.exe  pakname.pak
    where packname is the .pak file you are trying to unpack. For example, if you are trying to unpack the mod_0.pak, the code should be:

    Code:
    xpak.exe -mkdir mod_0.pak
    xpak.exe  mod_0.pak
    That will "extract" the contents of the mod_0.pak file into your data/packs directory, in a new folder.

    When you wat to re-peack your things, you need to do two things:
    a) All the files you are trying to pack must exist inside a "data" folder (which in turn will exist inside your data/packs folder) or one of its subfolders, that correspond to the structure of RTW's data diretcory. For example: data/packs/data/loading_screen/loading_bar.tga All your files that are about to be repacked should be inside that bolded data folder.
    b) You create a new .txt file, let's say my_pack.txt, in which you make a list of the files your .pak includes, along with their relative paths to the data folder mentioned before. At the top of the list, you include the name of the pak file you are trying to create (eg: mod_0.pak), like that:

    Code:
    ui_0.pak
    DATA\LOADING_SCREEN\LOADING_BAR.TGA
    DATA\SKY\CLOUDS\HEAVY\CLOUD_01-02_11.TGA.DDS
    DATA\SKY\CLOUDS\HEAVY\CLOUD_01-02_12.TGA.DDS
    DATA\SKY\CLOUDS\HEAVY\CLOUD_01-02_13.TGA.DDS
    DATA\SKY\CLOUDS\HEAVY\CLOUD_01-02_14.TGA.DDS
    DATA\SKY\CLOUDS\HEAVY\CLOUD_01-02_15.TGA.DDS
    [...]
    Then you edit the Pack.bat file, to read:

    Code:
    xpak.exe -v -pf text-file_name.txt
    where text-file_name is the name of your .txt file where you listed the contents of the .pak.

    For example:

    Code:
    xpak.exe -v -pf my_pack.txt
    Hope this helps.

  3. #3
    Zephyrus's Avatar Protector Domesticus
    Join Date
    Mar 2007
    Location
    New York
    Posts
    4,598

    Default Re: How Do I use the PAK extractor?

    Thx! I'll attempt this later tonight and let you know if it works.
    SEMPER FIDELIS Remember Constantinople Κωνσταντινούπολη


  4. #4

    Default Re: How Do I use the PAK extractor?

    Do the changes automatically take place for instance if I modded the UI folder in packs/data? :hmmm:

    Formerly Tyrtaeus



  5. #5

    Default Re: How Do I use the PAK extractor?

    No, you have to move the modded files in the data/UI/ folder, not the data/packs/data/UI/ one.

  6. #6

    Default Re: How Do I use the PAK extractor?

    But there is no data/UI folder, there is just a data/packs/data/UI one. Should I have move the UI in data/packs/data/ to just the regular data file? :hmmm:

    Formerly Tyrtaeus



  7. #7

    Default Re: How Do I use the PAK extractor?

    Yep, either create the folder yourself or move the unpacked one like you said.

  8. #8

    Default Re: How Do I use the PAK extractor?

    It still doesn't work, all the things I edit in the moved folder are still the same in game Not sure if it's relevant, but I modding the Roman interface in UI folder.

    Formerly Tyrtaeus



  9. #9

    Default Re: How Do I use the PAK extractor?

    Have you renamed the .pak files?

  10. #10

    Default Re: How Do I use the PAK extractor?

    No, but I'm guessing now I should . If I'm only editing UI, are the UI packs the only ones I should rename?

    Formerly Tyrtaeus



  11. #11

    Default Re: How Do I use the PAK extractor?

    Yep.

  12. #12

    Default Re: How Do I use the PAK extractor?

    Now I've renamed them, RTW won't even come up It goes to the startup page, then CTD's. What have I done wrong?

    Formerly Tyrtaeus



  13. #13

    Default Re: How Do I use the PAK extractor?

    Have you put *all* the extracted contents in their proper locations, even those you didn't change?

  14. #14

    Default Re: How Do I use the PAK extractor?

    No, but I only renamed the UI packs, do I still have to move all of them? And if so, where do they go? I know where 'Models_Unit' and 'UI' go, but after that, do they all go directly into the data file?

    Formerly Tyrtaeus



  15. #15

    Default Re: How Do I use the PAK extractor?

    No, I meant if you have moved all of the files contained in the extracted .pak files (not all the files contained in all the .pak files).

    K, try sth else. make the modifications you want in the extracted files, and then re-pack, so that your new files are included in the .paks. That should definitely work.

  16. #16

    Default Re: How Do I use the PAK extractor?

    How do I do that again?( - me)

    Formerly Tyrtaeus



  17. #17

    Default Re: How Do I use the PAK extractor?

    Read the first post.

  18. #18

    Default Re: How Do I use the PAK extractor?

    Do I list every single file that goes into it? Which files go into UI_1, and which go into UI_0???

    Formerly Tyrtaeus



  19. #19

    Default Re: How Do I use the PAK extractor?

    I'm afraid you gotta unpack them one by one, list the files in each one (there's gotta be a quick application that does that for you, search the web) and then re-pack...

  20. #20

    Default Re: How Do I use the PAK extractor?

    I get here, "C:\Program Files\The Creative Assembly\Rome - Total War\data\packs\DATA\MODELS_UNIT\TEXTURES" but when I click on the unit that I want to change it's skin, it says, "Windows cannot open this file."

Page 1 of 3 123 LastLast

Posting Permissions

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