Quote:
Endoperez said:
Would it be possible to do a shortcut for Dominions that first replaces guiborder2.tga with some other tga file, then launches Dom with a --postexec command that somehow replaces the new guiborder2.tga with the original? Or copy of the original, actually, but you know what I mean. It would enable one Dom directory to be used for both normal games AND for ultra-quick screen-grabbing of units, with the only difference being in the shortcut used to launch Dom.
I'm pretty sure it could be done with two .bat files, but I can't write those.
|
Something along the lines of
Code:
@echo off
ren "<path to file>\guiborder2.tga" guiborder2.old
ren "<path to file>\guiborder2.new" guiborder2.tga
"<path>\dom3.exe"
ren "<path to file>\guiborder2.tga" guiborder2.new
ren "<path to file>\guiborder2.old" guiborder2.tga
Batch files are like shell scripts, just a collection of commands that you would type into the command line window.