• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

unmerged(29318)

The Pie-Eater Tiger
May 19, 2004
917
0
Problem with PTI is not loaded from map files in moddir was solved by matteli
matteli said:
Ok i 'll try to be more precise. If you want to use Mymap-AGCEEP like a mod as AGCEEP, you can use batch file.

Batch files are file with .BAT extension. To create it use notepad and give a name with .BAT extension like AGCEEP.BAT

The only thing you need is to copy your file of the mod in a directory like a mod with the name of the mod AND to copy the file with the problem (incgrid.tbl) in the map's directory of he vanilla with an other name like "incgrid_agceep.tbl".

After you use your notepad and copy the line command i post before and save it in the mod directory with an extension .BAT

You can play the mod by clicking on the new file .BAT

The line command automaticly rename the vanilla file "incgrid.tbl" by "incgrid_vanilla.tbl", rename "incgrid_agceep.tbl" by "incgrid.tbl" and launch the game with the mod. When you quit the game, you only have to press a key to rename the file like original.

Code:
@echo off
cd..
cd map
rename incgrid.tbl incgrid_vanilla.tbl
rename incgrid_mymap.tbl incgrid.tbl
cd..
[COLOR=DarkOrange]MyMAP/eu2.exe mymap[/COLOR]
echo Press any key to keep your game in vanilla mod
pause
cd map
rename incgrid.tbl incgrid_mymap.tbl
rename incgrid_vanilla.tbl incgrid.tbl
cd..
echo ok ...
and we can run eu2 path 1.09 in moddir. put EU2 1.09 in mod directory

Code:
MyMAP/eu2.exe mymap
So we can play vanilla mod with original path and modified map with EU2 1.09

Matteli GOD bless you ;)
 
Last edited:
It's nicer to do it like this (which I've been doing, but too lazy to share until spurred :) ):

Create a single batch file called, say, neweu2.bat. It should contain:

Code:
copy map\incgridcopy%1.tbl map\incgrid.tbl
eu2 %1

Then run that batch file with whatever moddir directory you need as the argument (you also need to create map\incgridcopymoddir.tbl files, and a map\incgridcopy.tbl file which is a copy for vanilla. Then, to run vanilla, just run that batch file without any arguments)