(SWBF2) Batch files and Win7 [Solved]
Moderator: Moderators
- Fiodis
- Master of the Force
- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
(SWBF2) Batch files and Win7 [Solved]
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?
-
- Master Bounty Hunter
- Posts: 1570
- Joined: Wed Dec 10, 2008 7:48 pm
Re: (SWBF2) Batch files and Win7
I dont have that problem, maybe try replacing them with a new copy?
- Fiodis
- Master of the Force
- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: (SWBF2) Batch files and Win7
Perhaps, but look at this:
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.![Smile :)](./images/smilies/icon_smile.gif)
Code: Select all
cd common\localize
..\..\..\ToolsFL\Bin\MultiLanguageTool.exe
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.
![Smile :)](./images/smilies/icon_smile.gif)