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?
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?
Can someone explain to me in a better way how to make the modswitcher, and create the new .cfg file? I am completely lost![]()
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?
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.
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 !!!!
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.
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.
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
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.
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.
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.
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
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
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??
Nevermind I got it to work!
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.
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!