Modtools not munging localization [Solved]

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

Post Reply
User avatar
Delta-1035
Sith Master
Sith Master
Posts: 2651
Joined: Mon Aug 04, 2008 10:32 am
Projects :: TOR GCWII GCW1035 BF1035
xbox live or psn: Johnny_Sciroppo
Location: Pizza Land

Modtools not munging localization [Solved]

Post by Delta-1035 »

Hey guys,

I'm using the mod tools on a new PC, I had to use the Win7 munge fix, because I had that fast munging\no munging glitch and everything seems to work fine now, exept for the localization. Even if you do not make any changes, in game there is no localization, for the map name is still %XXX%, teams are [NULL], units, weapons and pause menu are not localized.

Any idea on how to fix that?
Last edited by Delta-1035 on Mon Jan 07, 2019 6:39 pm, edited 1 time in total.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11079
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Modtools not munging localization

Post by Teancum »

Just posting to say mine does this too, and so I haven't released my maps on PC.
User avatar
Havoc 526
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 317
Joined: Sat Apr 04, 2009 6:24 pm
Projects :: Something
Games I'm Playing :: Xenoblade Splatoon
Location: Howling at the Moon

Re: Modtools not munging localization

Post by Havoc 526 »

Replying to say I'm getting this as well. I just jumped back in after a break, reinstalled my game and patches, munged a mod from where I left it a year ago with the munge fixes Delta mentioned, and the only issue is the localization, with the same issue. This is getting a little weird...I'm noticing the Core.lvl file is almost non existant at a single kilobyte.

Edit: I even went so far as to create a new Map from scratch just to see, and yeah, the issue still lingers.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11079
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Modtools not munging localization

Post by Teancum »

I remember this being something about Win 10 1803 and up, but I could be wrong. I need to dig through some old topics.........
User avatar
AnthonyBF2
Sith
Sith
Posts: 1254
Joined: Wed Aug 21, 2013 3:55 pm
Projects :: PS2+PSP Overhaul

Re: Modtools not munging localization

Post by AnthonyBF2 »

I had this issue before. I'm using Windows 10. A format+reinstall of the OS fixed it.
User avatar
Havoc 526
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 317
Joined: Sat Apr 04, 2009 6:24 pm
Projects :: Something
Games I'm Playing :: Xenoblade Splatoon
Location: Howling at the Moon

Re: Modtools not munging localization

Post by Havoc 526 »

I dunno, that sort of solution sounds a little extreme...
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11079
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Modtools not munging localization

Post by Teancum »

Try editing \data_[MY MAP NAME]\_BUILD\Common\munge.bat\ in a text editor.

Find this line

Code: Select all

more "%%i" >>  "%TempDir%\%%~ni%%~xi"
and change it to this

Code: Select all

more /E "%%i" >>  "%TempDir%\%%~ni%%~xi"
In Windows 10 1803 and up the Perl more command behaves differently. Dunno what the /E switch does exactly, but that was the fix posted online.
User avatar
Delta-1035
Sith Master
Sith Master
Posts: 2651
Joined: Mon Aug 04, 2008 10:32 am
Projects :: TOR GCWII GCW1035 BF1035
xbox live or psn: Johnny_Sciroppo
Location: Pizza Land

Re: Modtools not munging localization

Post by Delta-1035 »

Can't find that line in my data_***\_BUILD\Common\munge.bat
User avatar
Havoc 526
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 317
Joined: Sat Apr 04, 2009 6:24 pm
Projects :: Something
Games I'm Playing :: Xenoblade Splatoon
Location: Howling at the Moon

Re: Modtools not munging localization

Post by Havoc 526 »

I'm not finding that line either...where should it be?
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11079
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Modtools not munging localization

Post by Teancum »

Correction, it's

SWBF2_Modtools\data_[MY MAP]\_BUILD\Common\mergelocalize.bat
User avatar
Havoc 526
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 317
Joined: Sat Apr 04, 2009 6:24 pm
Projects :: Something
Games I'm Playing :: Xenoblade Splatoon
Location: Howling at the Moon

Re: Modtools not munging localization

Post by Havoc 526 »

Well, that solves it on my end! Delta, how are you faring?
User avatar
Delta-1035
Sith Master
Sith Master
Posts: 2651
Joined: Mon Aug 04, 2008 10:32 am
Projects :: TOR GCWII GCW1035 BF1035
xbox live or psn: Johnny_Sciroppo
Location: Pizza Land

Re: Modtools not munging localization

Post by Delta-1035 »

Eh, I'm not sure, it seems that the visualmunge stops when it's trying to merge localizations. I'll have to try again.

EDIT: The problem is now solved, I had to remove the "quotes", thanks Tean!
Soupyy
Posts: 2
Joined: Tue Feb 12, 2019 10:02 am
Projects :: The Battlefront Unleashed
Games I'm Playing :: BF4 BF2EA BF2 BF1
xbox live or psn: No gamertag set
Location: Toronto, ON

Re: Modtools not munging localization [Solved]

Post by Soupyy »

What do I press when I munge? Just Localize?
User avatar
Delta-1035
Sith Master
Sith Master
Posts: 2651
Joined: Mon Aug 04, 2008 10:32 am
Projects :: TOR GCWII GCW1035 BF1035
xbox live or psn: Johnny_Sciroppo
Location: Pizza Land

Re: Modtools not munging localization [Solved]

Post by Delta-1035 »

Flag Common and Localize on the VisualMunge.
Post Reply