Page 1 of 1
(SWBF2) Batch files and Win7 [Solved]
Posted: Fri Feb 19, 2010 10:27 pm
by Fiodis
This is sort've modding-related. A lot of my bat files aren't working. Someone released a fix for the maing Visual Munge utility, but not for everything else. For example, my editlocalize.bat crashes upon startup. What is it about Win7 and the Mod Tools that causes .bat files to fail? And how can I fix it?
Re: (SWBF2) Batch files and Win7
Posted: Sun Feb 21, 2010 12:55 am
by 501st_commander
I dont have that problem, maybe try replacing them with a new copy?
Re: (SWBF2) Batch files and Win7
Posted: Sun Feb 21, 2010 10:53 am
by Fiodis
Perhaps, but look at this:
Code: Select all
cd common\localize
..\..\..\ToolsFL\Bin\MultiLanguageTool.exe
That's the contents of my stock editlocalize.bat in data_MED. You'll note that there's three spaces before "ToolsFL" (that is, three ".."). I'm not much of a programmer, but the proper path to MultiLanguageTool.exe is C:\BF2_ModTools\ToolsFL\bin\MultiLanguageTool.exe. There's only two directories before "ToolsFL". So I edited it to reflect the new path, and instead of popping up and vanishing like it used to, it comes up with the Localize utility, but without any tree heirarchy to edit.
So I tried
not running it as an administrator, and would you believe it, it worked. Odd. I have yet to see if it made any changes in-game, though.
Edit: works. Solved.
