Windows 10 doesn't like localize munge?

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Jedi
User avatar
Posts: 1155
Joined: Wed Aug 21, 2013 3:55 pm
Location: San Diego
Projects :: SWBF2 PSP+PS2 Conversion

Windows 10 doesn't like localize munge?

Postby AnthonyBF2 » Wed Jul 11, 2018 1:38 pm

Greetings. I have an issue that I have never experienced. I recently got a different computer with Windows 10 and the entire SWBF2 mod tools works as it should except for the localize munge.

If I am munging a PC mod map, the core.lvl comes out empty at (1kb)
If I am munging a stock core.lvl, everything in the core.req gets munged except for the localize files.
There are no errors in the munge logs.

I suspect this has something to do with Windows 10 because I have never experienced this problem with other computers or Windows versions. Anyone know of a fix?

Resistance Leader
User avatar
Posts: 5177
Joined: Tue Feb 09, 2010 8:43 pm
Location: Edinburgh, UK
Projects :: EVERYWHERE + Zero Munge + TCW
Games I'm Playing :: Day of Defeat Source
xbox live or psn: Marth8880

Re: Windows 10 doesn't like localize munge?

Postby Marth8880 » Wed Jul 11, 2018 7:22 pm

Could you paste the munge output?

Also, what directory does your BF2_modtools live in?

Jedi
User avatar
Posts: 1155
Joined: Wed Aug 21, 2013 3:55 pm
Location: San Diego
Projects :: SWBF2 PSP+PS2 Conversion

Re: Windows 10 doesn't like localize munge?

Postby AnthonyBF2 » Thu Jul 12, 2018 11:56 am

Marth8880 wrote:Could you paste the munge output?

Also, what directory does your BF2_modtools live in?


There was nothing in the munge log.
Standard directory where the install puts it.

Resistance Leader
User avatar
Posts: 5177
Joined: Tue Feb 09, 2010 8:43 pm
Location: Edinburgh, UK
Projects :: EVERYWHERE + Zero Munge + TCW
Games I'm Playing :: Day of Defeat Source
xbox live or psn: Marth8880

Re: Windows 10 doesn't like localize munge?

Postby Marth8880 » Thu Jul 12, 2018 3:35 pm

As in the normal text that's outputted when you run a munge. ;)

If you're munging manually, you can use Zero Munge to get the output.

Jedi
User avatar
Posts: 1155
Joined: Wed Aug 21, 2013 3:55 pm
Location: San Diego
Projects :: SWBF2 PSP+PS2 Conversion

Re: Windows 10 doesn't like localize munge?

Postby AnthonyBF2 » Wed Aug 01, 2018 2:26 am

I used VM and I think this is the important bit of information:

Hidden/Spoiler:
Merging ..\..\Common\Localize\Comments.cfg...
Merging ..\..\Common\Localize\english.cfg...
Merging ..\..\Common\Localize\french.cfg...
Too many arguments in command line.
Too many arguments in command line.
Merging ..\..\Common\Localize\german.cfg...
Merging ..\..\Common\Localize\italian.cfg...
Too many arguments in command line.
Too many arguments in command line.
Merging ..\..\Common\Localize\japanese.cfg...
Too many arguments in command line.
Too many arguments in command line.
Merging ..\..\Common\Localize\spanish.cfg...
Merging ..\..\Common\Localize\uk_english.cfg...
Too many arguments in command line.
Too many arguments in command line.

Munging Comments.cfg
Munging english.cfg
Munging french.cfg
Munging german.cfg
Munging italian.cfg
Munging japanese.cfg
Munging spanish.cfg
Munging uk_english.cfg

Resistance Leader
User avatar
Posts: 5177
Joined: Tue Feb 09, 2010 8:43 pm
Location: Edinburgh, UK
Projects :: EVERYWHERE + Zero Munge + TCW
Games I'm Playing :: Day of Defeat Source
xbox live or psn: Marth8880

Re: Windows 10 doesn't like localize munge?

Postby Marth8880 » Wed Aug 01, 2018 2:49 am

AnthonyBF2 wrote:Standard directory where the install puts it.

And what directory is that? (there could be a chance it put it somewhere else)

Jedi
User avatar
Posts: 1155
Joined: Wed Aug 21, 2013 3:55 pm
Location: San Diego
Projects :: SWBF2 PSP+PS2 Conversion

Re: Windows 10 doesn't like localize munge?

Postby AnthonyBF2 » Wed Aug 01, 2018 2:53 am

Mod Tools were installed in the standard directory as I said already, in C:\

Resistance Leader
User avatar
Posts: 5177
Joined: Tue Feb 09, 2010 8:43 pm
Location: Edinburgh, UK
Projects :: EVERYWHERE + Zero Munge + TCW
Games I'm Playing :: Day of Defeat Source
xbox live or psn: Marth8880

Re: Windows 10 doesn't like localize munge?

Postby Marth8880 » Wed Aug 01, 2018 3:04 am

"Standard directory" could mean anything if it's the wrong directory to start with - just wanted to be sure. ;)

Could you try running 'data_***\_BUILD\Common\munge.bat' manually and see what happens?

Jedi
User avatar
Posts: 1155
Joined: Wed Aug 21, 2013 3:55 pm
Location: San Diego
Projects :: SWBF2 PSP+PS2 Conversion

Re: Windows 10 doesn't like localize munge?

Postby AnthonyBF2 » Wed Aug 01, 2018 3:06 am

Marth8880 wrote:"Standard directory" could mean anything if it's the wrong directory to start with - just wanted to be sure. ;)

Could you try running 'data_***\_BUILD\Common\munge.bat' manually and see what happens?


This what I have been doing forever, for all of my projects (the issue is happening in all project folders) I never ever use VM lol.
I just now tried VM to see what information it would show which I wrote above.

Resistance Leader
User avatar
Posts: 5177
Joined: Tue Feb 09, 2010 8:43 pm
Location: Edinburgh, UK
Projects :: EVERYWHERE + Zero Munge + TCW
Games I'm Playing :: Day of Defeat Source
xbox live or psn: Marth8880

Re: Windows 10 doesn't like localize munge?

Postby Marth8880 » Wed Aug 01, 2018 3:09 am

Honestly I couldn't imagine why it'd be doing this. Do you ever run CCleaner by any chance? If not, you might wanna use it to clean the registry or something.

Also found this after a bit of digging. https://www.computerhope.com/issues/ch000257.htm You might wanna try editing MergeLocalize.bat and wrap all file paths in quotations. You never know. ¯\_(ツ)_/¯

Jedi
User avatar
Posts: 1155
Joined: Wed Aug 21, 2013 3:55 pm
Location: San Diego
Projects :: SWBF2 PSP+PS2 Conversion

Re: Windows 10 doesn't like localize munge?

Postby AnthonyBF2 » Wed Aug 01, 2018 3:12 am

Marth8880 wrote:Honestly I couldn't imagine why it'd be doing this. Do you ever run CCleaner by any chance? If not, you might wanna use it to clean the registry or something.

Also found this after a bit of digging. https://www.computerhope.com/issues/ch000257.htm You might wanna try editing MergeLocalize.bat and wrap all file paths in quotations. You never know. ¯\_(ツ)_/¯


Yes I use CCLeaner but not recently.
I do not understand what to change in MergeLocalize.bat, can you do this and paste the new batch file here?

Resistance Leader
User avatar
Posts: 5177
Joined: Tue Feb 09, 2010 8:43 pm
Location: Edinburgh, UK
Projects :: EVERYWHERE + Zero Munge + TCW
Games I'm Playing :: Day of Defeat Source
xbox live or psn: Marth8880

Re: Windows 10 doesn't like localize munge?

Postby Marth8880 » Thu Aug 02, 2018 10:08 pm

Try this (I guess)
Code: Select all
@echo off

:: //-----------------------------------------------------------
:: // Create some cleaner variable names
:: //-----------------------------------------------------------

if "%3"=="" (
   ECHO.
   Echo Format: MergeLocalize.Bat InputDir1 InputDir2 TempDir
   ECHO.
   GOTO DONE
)

setlocal ENABLEDELAYEDEXPANSION

set Source1Dir=%1
set Source2Dir=%2
set TempDir=%3

:: //-----------------------------------------------------------
:: //   Copy and merge the two text files for each language
:: //-----------------------------------------------------------

if NOT EXIST "%TempDir%" mkdir "%TempDir%"

FOR %%i IN ("%Source1Dir%\*.cfg" "%Source2Dir%\*.cfg") DO (
   echo Merging "%%i"...
   more "%%i" >>  "%TempDir%\%%~ni%%~xi"
)

ECHO.

endlocal

:DONE

Jedi
User avatar
Posts: 1155
Joined: Wed Aug 21, 2013 3:55 pm
Location: San Diego
Projects :: SWBF2 PSP+PS2 Conversion

Re: Windows 10 doesn't like localize munge?

Postby AnthonyBF2 » Sat Aug 04, 2018 11:37 pm

The new batch file did not work, nor did running CCleaner.

Resistance Leader
User avatar
Posts: 5177
Joined: Tue Feb 09, 2010 8:43 pm
Location: Edinburgh, UK
Projects :: EVERYWHERE + Zero Munge + TCW
Games I'm Playing :: Day of Defeat Source
xbox live or psn: Marth8880

Re: Windows 10 doesn't like localize munge?

Postby Marth8880 » Sun Aug 05, 2018 1:36 pm

Hmm, try this:

In _BUILD\Common\munge.bat, locate this line:
Code: Select all
call MergeLocalize.bat %InputDir1% %InputDir2% %MungeTemp%

And replace it with this one:
Code: Select all
call MergeLocalize.bat "%InputDir1%" "%InputDir2%" "%MungeTemp%"

If that doesn't work, try putting two colons in front of 'call MergeLocalize.bat' to comment out the line and (back up and) remove (or just rename) the PC folder in data_***\Common\Localize.

Jedi
User avatar
Posts: 1155
Joined: Wed Aug 21, 2013 3:55 pm
Location: San Diego
Projects :: SWBF2 PSP+PS2 Conversion

Re: Windows 10 doesn't like localize munge?

Postby AnthonyBF2 » Sun Aug 05, 2018 8:31 pm

All of these options failed.

Resistance Leader
User avatar
Posts: 5177
Joined: Tue Feb 09, 2010 8:43 pm
Location: Edinburgh, UK
Projects :: EVERYWHERE + Zero Munge + TCW
Games I'm Playing :: Day of Defeat Source
xbox live or psn: Marth8880

Re: Windows 10 doesn't like localize munge?

Postby Marth8880 » Sun Aug 05, 2018 9:49 pm

Could you run a dxdiag and post the txt file report?
What version of Windows were you using when it worked? (full version information, e.g. "Windows 7 Home Premium 64-bit")
When you ran CCleaner did you do a normal cleanup or did you clean(/fix) the registry?

I used VM and I think this is the important bit of information

Would you mind posting the whole log?

Also, could you please filter your data_***\_BUILD\Common\Munged\PC directory for LOC files and post a screenshot showing its entire displayed contents (with file sizes) like so?

Image

Jedi
User avatar
Posts: 1155
Joined: Wed Aug 21, 2013 3:55 pm
Location: San Diego
Projects :: SWBF2 PSP+PS2 Conversion

Re: Windows 10 doesn't like localize munge?

Postby AnthonyBF2 » Mon Aug 06, 2018 1:26 am

1) I will do the dxdiag later and get back to you
2) I've used multiple versions of Windows 7 32 and 64 bits, never had any issues with any aspect of mod tools - Currently Windows 10 64 bit
3) I did a clean and a registry clean
4) I will do the entire VM log later and get back to you
5) I tossed out the PC localize folder a long time ago so that it only uses the files in the localize folder

Resistance Leader
User avatar
Posts: 5177
Joined: Tue Feb 09, 2010 8:43 pm
Location: Edinburgh, UK
Projects :: EVERYWHERE + Zero Munge + TCW
Games I'm Playing :: Day of Defeat Source
xbox live or psn: Marth8880

Re: Windows 10 doesn't like localize munge?

Postby Marth8880 » Mon Aug 06, 2018 1:29 am

5) I'm talking about in the _BUILD directory where the munged files live.

Jedi
User avatar
Posts: 1155
Joined: Wed Aug 21, 2013 3:55 pm
Location: San Diego
Projects :: SWBF2 PSP+PS2 Conversion

Re: Windows 10 doesn't like localize munge?

Postby AnthonyBF2 » Mon Aug 06, 2018 2:09 am

Searching the PS2 munged folder for loc and .loc resulted in only these results:

http://prntscr.com/kf5959

I also looked at every file in the common PS2 munged folder and no other "loc" files were found. Localize files not even getting munged?

Admins: my images aren't being embedded correctly so I had to use direct links.

Return to SWBF2 Modding

Who is online

Users browsing this forum: No registered users and 1 guest