Results 1 to 8 of 8

Thread: Using unpacked files?

  1. #1

    Default Using unpacked files?

    III. BASICS OF USING THE UNPACKER
    ______________________________________________________________________


    - The Unpacker should be placed in the 'tools\unpacker' folder of your
    Medieval II: Total War installation folder

    - To unpack all files and place them in your 'data' directory run
    the batch file 'unpack_all.bat'

    NOTE: To use this batch file the Unpacker and the batch file must
    be in the 'tools\unpacker' folder for Medieval II: Total War

    - To create a text file with a list of all files within the packs
    run the batch file 'list_contents.bat'. This will create a file
    'pack_contents.txt' in the 'tools\unpacker' folder;

    NOTE: To use this batch file the Unpacker and the batch file must
    be in the 'tools\unpacker' folder for Medieval II: Total War

    ______________________________________________________________________

    IV. ADVANCED UNPACKING
    ______________________________________________________________________


    - The Unpacker can be used manually from a commmand prompt. The
    Unpacker is called by typing:

    unpacker [options]

    Where [options] is one or more of the command line options
    described in the next section.

    - The following command line options are required:

    --source=[pack file(s)]

    Where [pack file(s)] is the path to one or more pack files.

    --destination=[file/folder]

    Where [file/folder] is the path to the folder to extract the pack
    contents or the file to write the list of pack file contents to.

    - The following command line options are optional:

    --filter=[filter]

    Where [filter] describes which files to extract from the packs.
    The default is *.* which will extract all files;

    NOTE: The & character cannot be used in the filter. If you use
    a ? instead it will extract the file. Alternatively wrap the
    filename in quotation marks.

    --verbosity=[verbosity]

    Where [verbosity] is either 0 (low) or 1 (high) for the amount
    of information that will be displayed on screen during unpacking.

    --mode=[mode]

    Where [mode] configures the Unpacker to either extract files. Set
    this to 0 to extract files from the packs, or set to 1 to list the
    contents of the packs.

    - Example command lines:

    This will extract all .txt files from the packs to the c:\packs folder
    unpacker --source=..\packs\*.pack --destination=c:\packs\ --filter=*.txt

    This will extract a list of all files in the packs to list.txt
    unpacker --source=..\packs\*.pack --destination=list.txt --mode=1

    ______________________________________________________________________

    V. USING MODIFIED FILES
    ______________________________________________________________________


    - To use the modified files create a batch file in your
    Medieval II: Total War folder

    - In the batch file add the following line

    medieval2.exe --io.file_first

    - NOTE: Due to a timestamp check, the following unpacked files will
    cause the game to crash and must be deleted before the game is
    launched:

    data\descr_geography_new.txt
    data\descr_geography_new.db

    - Save the batch file and then launch Medieval II: Total War using the
    newly created batch file.

    ^
    1. How do I batch file?
    2. Do need to if I just want to mod the stats?

  2. #2
    Village special needs person Member Kobal2fr's Avatar
    Join Date
    Nov 2006
    Location
    Paris, France
    Posts
    914

    Default Re: Unpacking the game?

    Quote Originally Posted by s_tabikha
    1. How do I batch file?
    2. Do need to if I just want to mod the stats?
    1. Create a Windows shortcut to Medieval2.exe. Right click on it, open Properties. Open the "Shortcut" tab. Find the "Target" line. Should read "Whatever:\Medieval2\Medieval2.exe". Change it to "Whatever:\Medieval2\Medieval2.exe --io.file_first". Apply and close the window. Then use that shortcut to launch the game.

    2. No, you can just extract the export_descr_units.txt file, mod it to your leasure, put it in your Medieval\data folder, and run with your 1. shortcut.

    Only I have no idea about the command to enter to do this (dunno which packed file it is in), I just extracted all, picked the files I wanted, then uninstalled/reinstalled

    Yeah, well, brute force ain't so bad once you get used to it
    Last edited by TosaInu; 06-03-2007 at 13:39.
    Anything wrong ? Blame it on me. I'm the French.

  3. #3
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: Unpacking the game?

    I changed the thread title. Please don't use swearwords in thread titles (or at all for that matter)

    To create a batch file, right-click into your explorer window, select new, text document and name it somename.bat
    You can then right-click the file (it should have an MS-DOS icon) and select edit to write your commands into it.
    Last edited by alpaca; 06-01-2007 at 16:39.

  4. #4

    Default Re: Unpacking the game?

    alright which one?
    kobal it told me i couldnt because it was in specified or somthing and pathname somthing

    and alpaca you make no sense at all
    what explorer?
    what kind if moderator are you

  5. #5
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: Unpacking the game?

    Quote Originally Posted by s_tabikha
    alright which one?
    kobal it told me i couldnt because it was in specified or somthing and pathname somthing

    and alpaca you make no sense at all
    what explorer?
    what kind if moderator are you
    Windows explorer...
    I'll just memorize your nick and stop answering to your questions anyways...

    A last warning though, you're dangerously close to trolling, and I've been very patient with you. I won't tolerate the next comment on those lines, or any more aggressive attack.
    Last edited by alpaca; 06-05-2007 at 18:57.

  6. #6

    Default Re: Unpacking the game?

    dont even man
    its not my fault your a horribile morderator
    LOL!
    Last edited by s_tabikha; 06-05-2007 at 20:10.

  7. #7

    Default Re: Unpacking the game?

    BTW
    I like how you say DANGEROUSLY
    haha





    queer

  8. #8

    Default Re: Using unpacked files?

    I am slightly less tolerant than Alpaca.

    The fact that you did not understand the advice, have not searched the forum for the tutorials that explain the subject, and haven't been able to work it out doesn't give you the right to Troll.

    Thread Locked.
    Careless Orc Costs Lives!

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