Page 2 of 10 FirstFirst 12345678910 LastLast
Results 21 to 40 of 204

Thread: M2TW Config File How To's

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Re: M2TW Config File How To's

    One simple question. After starting the mod the dos windows pop up but it seems to be not longer necessary. Does somebody know an entry for the .bat that close the dos window again?

  2. #2

    Default Re: M2TW Config File How To's

    Can someone explain to me in a better way how to make the modswitcher, and create the new .cfg file? I am completely lost



  3. #3

    Default Re: M2TW Config File How To's

    I added this line into my preference text:

    [log]
    to = logs/system.log.txt level = * trace

    Yet whenever my game crashes, no log is saved. How do I track errors more efficently?

  4. #4

    Default Re: M2TW Config File How To's

    I downloaded a mod and I lost all the in game video. How can I get it back? There is no preference file in the mod folder.

  5. #5
    Y_filip's Avatar Tiro
    Join Date
    Mar 2008
    Location
    in the galaxy far-far away
    Posts
    212

    Default Re: M2TW Config File How To's

    Does is wor on Win Vista ?
    I have make have download modswitch V1.2 when iwant try to run it (just to test it)

    it crash !!!!!!
    and i got error log ftal error !!!!

  6. #6

    Default Re: M2TW Config File How To's

    I am not following, I know it sounds dumb, but I am trying to get it to simply run in windows mode. Here is what I have now in the .bat file (btw, it works fine with nothing, or ignores what i have and works...)

    tried

    medieval2.exe @mymod.cfg
    [video]
    windowed = true

    and

    medieval2.exe @mymod.cfg
    [video] windowed = true

    and even
    medieval2.exe @mymod.cfg [video] windowed = true

    but the last bugs my game out and wont boot. No idea what I am doing wrong.

  7. #7
    Lusted's Avatar Look to the stars
    Join Date
    Jan 2005
    Location
    Brighton, Sussex, England.
    Posts
    18,184

    Default Re: M2TW Config File How To's

    The [video] windowed = true should not be in the .bat file, i've got no idea where you are gettng that line from.
    Creator of:
    Lands to Conquer Gold for Medieval II: Kingdoms
    Terrae Expugnandae Gold Open Beta for RTW 1.5
    Proud ex-Moderator and ex-Administrator of TWC from Jan 06 to June 07
    Awarded the Rank of Opifex for outstanding contributions to the TW mod community.
    Awarded the Rank of Divus for oustanding work during my times as Administrator.

  8. #8

    Default Re: M2TW Config File How To's

    hey lusted can i place these anywhere in the medieval2.preference.cfg file?

    [log] to = logs/system.log.txt level = * error
    [log] to = logs/system.log.txt level = * trace

  9. #9

    Default Re: M2TW Config File How To's

    Fixed it. Thanks for your writeup Lusted. I had placed the new config file IN the new Mod folder, instead of the main MTWII folder.
    Last edited by Ahiga; December 06, 2006 at 08:08 PM.

  10. #10

    Default Re: M2TW Config File How To's

    How do I create a bat file?

    Everytime I try to rename it, I just get test.bat.txt

    It won't ever let me rename the extension part of it.

  11. #11
    Trajan's Avatar Capodecina
    Join Date
    Oct 2004
    Location
    USA
    Posts
    10,934

    Default Re: M2TW Config File How To's

    Quote Originally Posted by Damocles View Post
    How do I create a bat file?

    Everytime I try to rename it, I just get test.bat.txt

    It won't ever let me rename the extension part of it.
    I'm going to presume that you're using windows.

    1) Click start, then click run and type "notepad" and press ok.

    2) After notepad opens up, type what you want (medieval2.exe @mod.cfg) and click on file, save, and browse to where you want to save the file.

    3) For the file name, type the name that you want to give it and be sure that you end it with .bat. Like for example, mymod.bat.

    4 For the "save as type" option, be sure that you select "All Files" or the file will be saved as a text document.

    5) Save your new batch file and close notepad. Now, to run the batch file, double click it like an .exe.

  12. #12

    Default Re: M2TW Config File How To's

    Quote Originally Posted by Trajan View Post
    I'm going to presume that you're using windows.

    1) Click start, then click run and type "notepad" and press ok.

    2) After notepad opens up, type what you want (medieval2.exe @mod.cfg) and click on file, save, and browse to where you want to save the file.

    3) For the file name, type the name that you want to give it and be sure that you end it with .bat. Like for example, mymod.bat.

    4 For the "save as type" option, be sure that you select "All Files" or the file will be saved as a text document.

    5) Save your new batch file and close notepad. Now, to run the batch file, double click it like an .exe.

    If this doesn't work for some reason, try this:

    Save it as a text file.
    Open Tools/folder options on the top menu of your window
    Click on the "view" tab
    Find this option: "Hide extensions for known filetypes"
    Uncheck the checkmark on the left to it.
    Click "OK" and now all your files display various extentions, such as .txt or .exe etc.
    Click on the text file you saved, RightClick and select "rename", remove the last part of "txt" and replace it with ".bat". once you finished editing you will have a confirmation pop up box coming up about "once you rename the extention..blah blah blah" , just click ok.

    I also advise modders and modder-oriented people to enable the "known file extentions" to be viewed, It's just handy sometimes.

  13. #13

    Default Re: M2TW Config File How To's

    Not quite sure why my log isn't working. I copied your line exactly where it needed to go, and got the other things to work so I know I am doing it right. And with me crashing my game, I would love to know why. :-D

  14. #14

    Default Re: M2TW Config File How To's

    I have question about text files, when I make new folder with my mods I have to copy modiefied text files into data folder, is it necessary ? I ask because I use polish version of game, when I copy those files some descritpions in the game are in english and some in polish, for example: cities names, units descriptions are in english. I am not good in english and I would stay with full polish version. I am not sure if this problem depends from those files but when I removed them all texts were in polish again.

    Thx

    Thx

  15. #15

    Default

    With the mod switcher, I think it's gone wrong for me, am I right in saying that there should be no videos on start up?
    Here's a picture of the files and the dos prompt (It's abit small sorry) does it look right?
    Last edited by ocelot397; December 08, 2006 at 02:14 PM.

  16. #16

    Default Re: M2TW Config File How To's

    Quote Originally Posted by ocelot397 View Post
    With the mod switcher, I think it's gone wrong for me, am I right in saying that there should be no videos on start up?
    Here's a picture of the files and the dos prompt (It's abit small sorry) does it look right?
    looks good to me. First you should have the DOS window popping up and about 3-10 seconds later your game should start up automatically.

  17. #17

    Default Re: M2TW Config File How To's

    Hi I have a little problem, I've changed some attack & defence points in the "export_descr_unit" file and tried to place it in mymod/data folder but nothing has changed ingame, what am I doing wrong??

  18. #18

    Default Re: M2TW Config File How To's

    Nevermind I got it to work!

  19. #19

    Default Re: M2TW Config File How To's

    I made a .bat file named: "launch_mymod" and copied the .Cfg file and named it: "mymod" (not mymod.cfg), then made the "mymod" folder and inside it i copied the "world" and "sounds" folders then i made a "data" folder and a "text" folder in the "data" folder then i just filled the "text" folder with the right files and put the rest in the "data" folder then i got it to work.
    P.S make sure to put the right files in the right folder and if it doesnt work try changing the letter size in the ".bat" and the ".cfg" file name slot so that they match. "launch_mymod", "mymod"

    I think thats it
    Last edited by stofe; December 19, 2006 at 01:00 PM.

  20. #20

    Default Re: M2TW Config File How To's

    Hi there,

    just a short question concerning cfg/game pref/game.english - I want to switch my German version to English language. Value of the line is set to 1 - no result - still German - values 0, 2, 3, etc.- the same result.

    Is there any chance to switch the language or is the in-game language fixed by the localisation pack?

    If yes - is there a chance to override the German localisation? Deleting the localisation pack?

    Thanks in advance!

Posting Permissions

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